Package flyteidl.admin
Class MatchableResourceOuterClass.ExecutionQueueAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
- flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder,Cloneable
- Enclosing class:
- MatchableResourceOuterClass.ExecutionQueueAttributes
public static final class MatchableResourceOuterClass.ExecutionQueueAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder> implements MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder
Protobuf typeflyteidl.admin.ExecutionQueueAttributes
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private com.google.protobuf.LazyStringListtags_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchableResourceOuterClass.ExecutionQueueAttributes.BuilderaddAllTags(Iterable<String> values)Tags used for assigning execution queues for tasks defined within this project.MatchableResourceOuterClass.ExecutionQueueAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MatchableResourceOuterClass.ExecutionQueueAttributes.BuilderaddTags(String value)Tags used for assigning execution queues for tasks defined within this project.MatchableResourceOuterClass.ExecutionQueueAttributes.BuilderaddTagsBytes(com.google.protobuf.ByteString value)Tags used for assigning execution queues for tasks defined within this project.MatchableResourceOuterClass.ExecutionQueueAttributesbuild()MatchableResourceOuterClass.ExecutionQueueAttributesbuildPartial()private voidbuildPartial0(MatchableResourceOuterClass.ExecutionQueueAttributes result)private voidbuildPartialRepeatedFields(MatchableResourceOuterClass.ExecutionQueueAttributes result)MatchableResourceOuterClass.ExecutionQueueAttributes.Builderclear()MatchableResourceOuterClass.ExecutionQueueAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MatchableResourceOuterClass.ExecutionQueueAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MatchableResourceOuterClass.ExecutionQueueAttributes.BuilderclearTags()Tags used for assigning execution queues for tasks defined within this project.MatchableResourceOuterClass.ExecutionQueueAttributes.Builderclone()private voidensureTagsIsMutable()MatchableResourceOuterClass.ExecutionQueueAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetTags(int index)Tags used for assigning execution queues for tasks defined within this project.com.google.protobuf.ByteStringgetTagsBytes(int index)Tags used for assigning execution queues for tasks defined within this project.intgetTagsCount()Tags used for assigning execution queues for tasks defined within this project.com.google.protobuf.ProtocolStringListgetTagsList()Tags used for assigning execution queues for tasks defined within this project.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MatchableResourceOuterClass.ExecutionQueueAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MatchableResourceOuterClass.ExecutionQueueAttributes.BuildermergeFrom(com.google.protobuf.Message other)MatchableResourceOuterClass.ExecutionQueueAttributes.BuildermergeFrom(MatchableResourceOuterClass.ExecutionQueueAttributes other)MatchableResourceOuterClass.ExecutionQueueAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MatchableResourceOuterClass.ExecutionQueueAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MatchableResourceOuterClass.ExecutionQueueAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MatchableResourceOuterClass.ExecutionQueueAttributes.BuildersetTags(int index, String value)Tags used for assigning execution queues for tasks defined within this project.MatchableResourceOuterClass.ExecutionQueueAttributes.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
clear
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
getDefaultInstanceForType
public MatchableResourceOuterClass.ExecutionQueueAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MatchableResourceOuterClass.ExecutionQueueAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MatchableResourceOuterClass.ExecutionQueueAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(MatchableResourceOuterClass.ExecutionQueueAttributes result)
-
buildPartial0
private void buildPartial0(MatchableResourceOuterClass.ExecutionQueueAttributes result)
-
clone
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
setField
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
clearField
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
clearOneof
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
setRepeatedField
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
addRepeatedField
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
mergeFrom
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
mergeFrom
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder mergeFrom(MatchableResourceOuterClass.ExecutionQueueAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
mergeFrom
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>- Throws:
IOException
-
ensureTagsIsMutable
private void ensureTagsIsMutable()
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()
Tags used for assigning execution queues for tasks defined within this project.
repeated string tags = 1;- Specified by:
getTagsListin interfaceMatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()
Tags used for assigning execution queues for tasks defined within this project.
repeated string tags = 1;- Specified by:
getTagsCountin interfaceMatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder- Returns:
- The count of tags.
-
getTags
public String getTags(int index)
Tags used for assigning execution queues for tasks defined within this project.
repeated string tags = 1;- Specified by:
getTagsin interfaceMatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index)
Tags used for assigning execution queues for tasks defined within this project.
repeated string tags = 1;- Specified by:
getTagsBytesin interfaceMatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder setTags(int index, String value)
Tags used for assigning execution queues for tasks defined within this project.
repeated string tags = 1;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder addTags(String value)
Tags used for assigning execution queues for tasks defined within this project.
repeated string tags = 1;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder addAllTags(Iterable<String> values)
Tags used for assigning execution queues for tasks defined within this project.
repeated string tags = 1;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder clearTags()
Tags used for assigning execution queues for tasks defined within this project.
repeated string tags = 1;- Returns:
- This builder for chaining.
-
addTagsBytes
public MatchableResourceOuterClass.ExecutionQueueAttributes.Builder addTagsBytes(com.google.protobuf.ByteString value)
Tags used for assigning execution queues for tasks defined within this project.
repeated string tags = 1;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final MatchableResourceOuterClass.ExecutionQueueAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
mergeUnknownFields
public final MatchableResourceOuterClass.ExecutionQueueAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchableResourceOuterClass.ExecutionQueueAttributes.Builder>
-
-