public static final class MLServerProto.Rule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder> implements MLServerProto.RuleOrBuilder
lt_ml_server.Rule
Modifier and Type | Method and Description |
---|---|
MLServerProto.Rule.Builder |
addAllTags(Iterable<? extends MLServerProto.Rule.Tag> values)
repeated .lt_ml_server.Rule.Tag tags = 6; |
MLServerProto.Rule.Builder |
addAllTagsValue(Iterable<Integer> values)
repeated .lt_ml_server.Rule.Tag tags = 6; |
MLServerProto.Rule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.Rule.Builder |
addTags(MLServerProto.Rule.Tag value)
repeated .lt_ml_server.Rule.Tag tags = 6; |
MLServerProto.Rule.Builder |
addTagsValue(int value)
repeated .lt_ml_server.Rule.Tag tags = 6; |
MLServerProto.Rule |
build() |
MLServerProto.Rule |
buildPartial() |
MLServerProto.Rule.Builder |
clear() |
MLServerProto.Rule.Builder |
clearCategory()
.lt_ml_server.RuleCategory category = 4; |
MLServerProto.Rule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MLServerProto.Rule.Builder |
clearIsPremium()
bool isPremium = 5; |
MLServerProto.Rule.Builder |
clearIssueType()
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2; |
MLServerProto.Rule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MLServerProto.Rule.Builder |
clearSourceFile()
id, subId, description, url already in Match
string sourceFile = 1; |
MLServerProto.Rule.Builder |
clearTags()
repeated .lt_ml_server.Rule.Tag tags = 6; |
MLServerProto.Rule.Builder |
clearTempOff()
bool tempOff = 3; |
MLServerProto.Rule.Builder |
clone() |
MLServerProto.RuleCategory |
getCategory()
.lt_ml_server.RuleCategory category = 4; |
MLServerProto.RuleCategory.Builder |
getCategoryBuilder()
.lt_ml_server.RuleCategory category = 4; |
MLServerProto.RuleCategoryOrBuilder |
getCategoryOrBuilder()
.lt_ml_server.RuleCategory category = 4; |
MLServerProto.Rule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
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; |
boolean |
hasCategory()
.lt_ml_server.RuleCategory category = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MLServerProto.Rule.Builder |
mergeCategory(MLServerProto.RuleCategory value)
.lt_ml_server.RuleCategory category = 4; |
MLServerProto.Rule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MLServerProto.Rule.Builder |
mergeFrom(com.google.protobuf.Message other) |
MLServerProto.Rule.Builder |
mergeFrom(MLServerProto.Rule other) |
MLServerProto.Rule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MLServerProto.Rule.Builder |
setCategory(MLServerProto.RuleCategory.Builder builderForValue)
.lt_ml_server.RuleCategory category = 4; |
MLServerProto.Rule.Builder |
setCategory(MLServerProto.RuleCategory value)
.lt_ml_server.RuleCategory category = 4; |
MLServerProto.Rule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.Rule.Builder |
setIsPremium(boolean value)
bool isPremium = 5; |
MLServerProto.Rule.Builder |
setIssueType(String value)
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2; |
MLServerProto.Rule.Builder |
setIssueTypeBytes(com.google.protobuf.ByteString value)
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2; |
MLServerProto.Rule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MLServerProto.Rule.Builder |
setSourceFile(String value)
id, subId, description, url already in Match
string sourceFile = 1; |
MLServerProto.Rule.Builder |
setSourceFileBytes(com.google.protobuf.ByteString value)
id, subId, description, url already in Match
string sourceFile = 1; |
MLServerProto.Rule.Builder |
setTags(int index,
MLServerProto.Rule.Tag value)
repeated .lt_ml_server.Rule.Tag tags = 6; |
MLServerProto.Rule.Builder |
setTagsValue(int index,
int value)
repeated .lt_ml_server.Rule.Tag tags = 6; |
MLServerProto.Rule.Builder |
setTempOff(boolean value)
bool tempOff = 3; |
MLServerProto.Rule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MLServerProto.Rule build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.Rule buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.Rule.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule.Builder mergeFrom(MLServerProto.Rule other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public MLServerProto.Rule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MLServerProto.Rule.Builder>
IOException
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 MLServerProto.Rule.Builder setSourceFile(String value)
id, subId, description, url already in Match
string sourceFile = 1;
value
- The sourceFile to set.public MLServerProto.Rule.Builder clearSourceFile()
id, subId, description, url already in Match
string sourceFile = 1;
public MLServerProto.Rule.Builder setSourceFileBytes(com.google.protobuf.ByteString value)
id, subId, description, url already in Match
string sourceFile = 1;
value
- The bytes for sourceFile to set.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 MLServerProto.Rule.Builder setIssueType(String value)
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2;
value
- The issueType to set.public MLServerProto.Rule.Builder clearIssueType()
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2;
public MLServerProto.Rule.Builder setIssueTypeBytes(com.google.protobuf.ByteString value)
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2;
value
- The bytes for issueType to set.public boolean getTempOff()
bool tempOff = 3;
getTempOff
in interface MLServerProto.RuleOrBuilder
public MLServerProto.Rule.Builder setTempOff(boolean value)
bool tempOff = 3;
value
- The tempOff to set.public MLServerProto.Rule.Builder clearTempOff()
bool tempOff = 3;
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.Rule.Builder setCategory(MLServerProto.RuleCategory value)
.lt_ml_server.RuleCategory category = 4;
public MLServerProto.Rule.Builder setCategory(MLServerProto.RuleCategory.Builder builderForValue)
.lt_ml_server.RuleCategory category = 4;
public MLServerProto.Rule.Builder mergeCategory(MLServerProto.RuleCategory value)
.lt_ml_server.RuleCategory category = 4;
public MLServerProto.Rule.Builder clearCategory()
.lt_ml_server.RuleCategory category = 4;
public MLServerProto.RuleCategory.Builder getCategoryBuilder()
.lt_ml_server.RuleCategory category = 4;
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 MLServerProto.Rule.Builder setIsPremium(boolean value)
bool isPremium = 5;
value
- The isPremium to set.public MLServerProto.Rule.Builder clearIsPremium()
bool isPremium = 5;
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 MLServerProto.Rule.Builder setTags(int index, MLServerProto.Rule.Tag value)
repeated .lt_ml_server.Rule.Tag tags = 6;
index
- The index to set the value at.value
- The tags to set.public MLServerProto.Rule.Builder addTags(MLServerProto.Rule.Tag value)
repeated .lt_ml_server.Rule.Tag tags = 6;
value
- The tags to add.public MLServerProto.Rule.Builder addAllTags(Iterable<? extends MLServerProto.Rule.Tag> values)
repeated .lt_ml_server.Rule.Tag tags = 6;
values
- The tags to add.public MLServerProto.Rule.Builder clearTags()
repeated .lt_ml_server.Rule.Tag tags = 6;
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 MLServerProto.Rule.Builder setTagsValue(int index, int value)
repeated .lt_ml_server.Rule.Tag tags = 6;
index
- The index of the value to return.public MLServerProto.Rule.Builder addTagsValue(int value)
repeated .lt_ml_server.Rule.Tag tags = 6;
value
- The enum numeric value on the wire for tags to add.public MLServerProto.Rule.Builder addAllTagsValue(Iterable<Integer> values)
repeated .lt_ml_server.Rule.Tag tags = 6;
values
- The enum numeric values on the wire for tags to add.public final MLServerProto.Rule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>
public final MLServerProto.Rule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Rule.Builder>