public static final class MLServerProto.Rule extends com.google.protobuf.GeneratedMessageV3 implements MLServerProto.RuleOrBuilder
lt_ml_server.Rule
Modifier and Type | Class and Description |
---|---|
static class |
MLServerProto.Rule.Builder
Protobuf type
lt_ml_server.Rule |
static class |
MLServerProto.Rule.Tag
Protobuf enum
lt_ml_server.Rule.Tag |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CATEGORY_FIELD_NUMBER |
static int |
ISPREMIUM_FIELD_NUMBER |
static int |
ISSUETYPE_FIELD_NUMBER |
static int |
SOURCEFILE_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
TEMPOFF_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
MLServerProto.RuleCategory |
getCategory()
.lt_ml_server.RuleCategory category = 4; |
MLServerProto.RuleCategoryOrBuilder |
getCategoryOrBuilder()
.lt_ml_server.RuleCategory category = 4; |
static MLServerProto.Rule |
getDefaultInstance() |
MLServerProto.Rule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsPremium()
bool isPremium = 5; |
String |
getIssueType()
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2; |
com.google.protobuf.ByteString |
getIssueTypeBytes()
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2; |
com.google.protobuf.Parser<MLServerProto.Rule> |
getParserForType() |
int |
getSerializedSize() |
String |
getSourceFile()
id, subId, description, url already in Match
string sourceFile = 1; |
com.google.protobuf.ByteString |
getSourceFileBytes()
id, subId, description, url already in Match
string sourceFile = 1; |
MLServerProto.Rule.Tag |
getTags(int index)
repeated .lt_ml_server.Rule.Tag tags = 6; |
int |
getTagsCount()
repeated .lt_ml_server.Rule.Tag tags = 6; |
List<MLServerProto.Rule.Tag> |
getTagsList()
repeated .lt_ml_server.Rule.Tag tags = 6; |
int |
getTagsValue(int index)
repeated .lt_ml_server.Rule.Tag tags = 6; |
List<Integer> |
getTagsValueList()
repeated .lt_ml_server.Rule.Tag tags = 6; |
boolean |
getTempOff()
bool tempOff = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCategory()
.lt_ml_server.RuleCategory category = 4; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MLServerProto.Rule.Builder |
newBuilder() |
static MLServerProto.Rule.Builder |
newBuilder(MLServerProto.Rule prototype) |
MLServerProto.Rule.Builder |
newBuilderForType() |
protected MLServerProto.Rule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MLServerProto.Rule |
parseDelimitedFrom(InputStream input) |
static MLServerProto.Rule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Rule |
parseFrom(byte[] data) |
static MLServerProto.Rule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Rule |
parseFrom(ByteBuffer data) |
static MLServerProto.Rule |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Rule |
parseFrom(com.google.protobuf.ByteString data) |
static MLServerProto.Rule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Rule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MLServerProto.Rule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Rule |
parseFrom(InputStream input) |
static MLServerProto.Rule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MLServerProto.Rule> |
parser() |
MLServerProto.Rule.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int SOURCEFILE_FIELD_NUMBER
public static final int ISSUETYPE_FIELD_NUMBER
public static final int TEMPOFF_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
public static final int ISPREMIUM_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public String getSourceFile()
id, subId, description, url already in Match
string sourceFile = 1;
getSourceFile
in interface MLServerProto.RuleOrBuilder
public com.google.protobuf.ByteString getSourceFileBytes()
id, subId, description, url already in Match
string sourceFile = 1;
getSourceFileBytes
in interface MLServerProto.RuleOrBuilder
public String getIssueType()
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2;
getIssueType
in interface MLServerProto.RuleOrBuilder
public com.google.protobuf.ByteString getIssueTypeBytes()
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2;
getIssueTypeBytes
in interface MLServerProto.RuleOrBuilder
public boolean getTempOff()
bool tempOff = 3;
getTempOff
in interface MLServerProto.RuleOrBuilder
public boolean hasCategory()
.lt_ml_server.RuleCategory category = 4;
hasCategory
in interface MLServerProto.RuleOrBuilder
public MLServerProto.RuleCategory getCategory()
.lt_ml_server.RuleCategory category = 4;
getCategory
in interface MLServerProto.RuleOrBuilder
public MLServerProto.RuleCategoryOrBuilder getCategoryOrBuilder()
.lt_ml_server.RuleCategory category = 4;
getCategoryOrBuilder
in interface MLServerProto.RuleOrBuilder
public boolean getIsPremium()
bool isPremium = 5;
getIsPremium
in interface MLServerProto.RuleOrBuilder
public List<MLServerProto.Rule.Tag> getTagsList()
repeated .lt_ml_server.Rule.Tag tags = 6;
getTagsList
in interface MLServerProto.RuleOrBuilder
public int getTagsCount()
repeated .lt_ml_server.Rule.Tag tags = 6;
getTagsCount
in interface MLServerProto.RuleOrBuilder
public MLServerProto.Rule.Tag getTags(int index)
repeated .lt_ml_server.Rule.Tag tags = 6;
getTags
in interface MLServerProto.RuleOrBuilder
index
- The index of the element to return.public List<Integer> getTagsValueList()
repeated .lt_ml_server.Rule.Tag tags = 6;
getTagsValueList
in interface MLServerProto.RuleOrBuilder
public int getTagsValue(int index)
repeated .lt_ml_server.Rule.Tag tags = 6;
getTagsValue
in interface MLServerProto.RuleOrBuilder
index
- The index of the value to return.public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static MLServerProto.Rule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MLServerProto.Rule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MLServerProto.Rule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MLServerProto.Rule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MLServerProto.Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MLServerProto.Rule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MLServerProto.Rule parseFrom(InputStream input) throws IOException
IOException
public static MLServerProto.Rule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MLServerProto.Rule parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MLServerProto.Rule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MLServerProto.Rule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static MLServerProto.Rule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public MLServerProto.Rule.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static MLServerProto.Rule.Builder newBuilder()
public static MLServerProto.Rule.Builder newBuilder(MLServerProto.Rule prototype)
public MLServerProto.Rule.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected MLServerProto.Rule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static MLServerProto.Rule getDefaultInstance()
public static com.google.protobuf.Parser<MLServerProto.Rule> parser()
public com.google.protobuf.Parser<MLServerProto.Rule> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public MLServerProto.Rule getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder