Package flyteidl.core
Class IdentifierOuterClass.Identifier.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder>
-
- flyteidl.core.IdentifierOuterClass.Identifier.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IdentifierOuterClass.IdentifierOrBuilder,Cloneable
- Enclosing class:
- IdentifierOuterClass.Identifier
public static final class IdentifierOuterClass.Identifier.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder> implements IdentifierOuterClass.IdentifierOrBuilder
Encapsulation of fields that uniquely identifies a Flyte resource.
Protobuf typeflyteidl.core.Identifier
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private Objectdomain_private Objectname_private Objectproject_private intresourceType_private Objectversion_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierOuterClass.Identifier.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IdentifierOuterClass.Identifierbuild()IdentifierOuterClass.IdentifierbuildPartial()private voidbuildPartial0(IdentifierOuterClass.Identifier result)IdentifierOuterClass.Identifier.Builderclear()IdentifierOuterClass.Identifier.BuilderclearDomain()Name of the domain the resource belongs to.IdentifierOuterClass.Identifier.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)IdentifierOuterClass.Identifier.BuilderclearName()User provided value for the resource.IdentifierOuterClass.Identifier.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)IdentifierOuterClass.Identifier.BuilderclearProject()Name of the project the resource belongs to.IdentifierOuterClass.Identifier.BuilderclearResourceType()Identifies the specific type of resource that this identifier corresponds to.IdentifierOuterClass.Identifier.BuilderclearVersion()Specific version of the resource.IdentifierOuterClass.Identifier.Builderclone()IdentifierOuterClass.IdentifiergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDomain()Name of the domain the resource belongs to.com.google.protobuf.ByteStringgetDomainBytes()Name of the domain the resource belongs to.StringgetName()User provided value for the resource.com.google.protobuf.ByteStringgetNameBytes()User provided value for the resource.StringgetProject()Name of the project the resource belongs to.com.google.protobuf.ByteStringgetProjectBytes()Name of the project the resource belongs to.IdentifierOuterClass.ResourceTypegetResourceType()Identifies the specific type of resource that this identifier corresponds to.intgetResourceTypeValue()Identifies the specific type of resource that this identifier corresponds to.StringgetVersion()Specific version of the resource.com.google.protobuf.ByteStringgetVersionBytes()Specific version of the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()IdentifierOuterClass.Identifier.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)IdentifierOuterClass.Identifier.BuildermergeFrom(com.google.protobuf.Message other)IdentifierOuterClass.Identifier.BuildermergeFrom(IdentifierOuterClass.Identifier other)IdentifierOuterClass.Identifier.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)IdentifierOuterClass.Identifier.BuildersetDomain(String value)Name of the domain the resource belongs to.IdentifierOuterClass.Identifier.BuildersetDomainBytes(com.google.protobuf.ByteString value)Name of the domain the resource belongs to.IdentifierOuterClass.Identifier.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IdentifierOuterClass.Identifier.BuildersetName(String value)User provided value for the resource.IdentifierOuterClass.Identifier.BuildersetNameBytes(com.google.protobuf.ByteString value)User provided value for the resource.IdentifierOuterClass.Identifier.BuildersetProject(String value)Name of the project the resource belongs to.IdentifierOuterClass.Identifier.BuildersetProjectBytes(com.google.protobuf.ByteString value)Name of the project the resource belongs to.IdentifierOuterClass.Identifier.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)IdentifierOuterClass.Identifier.BuildersetResourceType(IdentifierOuterClass.ResourceType value)Identifies the specific type of resource that this identifier corresponds to.IdentifierOuterClass.Identifier.BuildersetResourceTypeValue(int value)Identifies the specific type of resource that this identifier corresponds to.IdentifierOuterClass.Identifier.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)IdentifierOuterClass.Identifier.BuildersetVersion(String value)Specific version of the resource.IdentifierOuterClass.Identifier.BuildersetVersionBytes(com.google.protobuf.ByteString value)Specific version of the resource.-
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<IdentifierOuterClass.Identifier.Builder>
-
clear
public IdentifierOuterClass.Identifier.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<IdentifierOuterClass.Identifier.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<IdentifierOuterClass.Identifier.Builder>
-
getDefaultInstanceForType
public IdentifierOuterClass.Identifier getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public IdentifierOuterClass.Identifier build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public IdentifierOuterClass.Identifier buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(IdentifierOuterClass.Identifier result)
-
clone
public IdentifierOuterClass.Identifier.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<IdentifierOuterClass.Identifier.Builder>
-
setField
public IdentifierOuterClass.Identifier.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<IdentifierOuterClass.Identifier.Builder>
-
clearField
public IdentifierOuterClass.Identifier.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder>
-
clearOneof
public IdentifierOuterClass.Identifier.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder>
-
setRepeatedField
public IdentifierOuterClass.Identifier.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<IdentifierOuterClass.Identifier.Builder>
-
addRepeatedField
public IdentifierOuterClass.Identifier.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<IdentifierOuterClass.Identifier.Builder>
-
mergeFrom
public IdentifierOuterClass.Identifier.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IdentifierOuterClass.Identifier.Builder>
-
mergeFrom
public IdentifierOuterClass.Identifier.Builder mergeFrom(IdentifierOuterClass.Identifier other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder>
-
mergeFrom
public IdentifierOuterClass.Identifier.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<IdentifierOuterClass.Identifier.Builder>- Throws:
IOException
-
getResourceTypeValue
public int getResourceTypeValue()
Identifies the specific type of resource that this identifier corresponds to.
.flyteidl.core.ResourceType resource_type = 1;- Specified by:
getResourceTypeValuein interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The enum numeric value on the wire for resourceType.
-
setResourceTypeValue
public IdentifierOuterClass.Identifier.Builder setResourceTypeValue(int value)
Identifies the specific type of resource that this identifier corresponds to.
.flyteidl.core.ResourceType resource_type = 1;- Parameters:
value- The enum numeric value on the wire for resourceType to set.- Returns:
- This builder for chaining.
-
getResourceType
public IdentifierOuterClass.ResourceType getResourceType()
Identifies the specific type of resource that this identifier corresponds to.
.flyteidl.core.ResourceType resource_type = 1;- Specified by:
getResourceTypein interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The resourceType.
-
setResourceType
public IdentifierOuterClass.Identifier.Builder setResourceType(IdentifierOuterClass.ResourceType value)
Identifies the specific type of resource that this identifier corresponds to.
.flyteidl.core.ResourceType resource_type = 1;- Parameters:
value- The resourceType to set.- Returns:
- This builder for chaining.
-
clearResourceType
public IdentifierOuterClass.Identifier.Builder clearResourceType()
Identifies the specific type of resource that this identifier corresponds to.
.flyteidl.core.ResourceType resource_type = 1;- Returns:
- This builder for chaining.
-
getProject
public String getProject()
Name of the project the resource belongs to.
string project = 2;- Specified by:
getProjectin interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Name of the project the resource belongs to.
string project = 2;- Specified by:
getProjectBytesin interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The bytes for project.
-
setProject
public IdentifierOuterClass.Identifier.Builder setProject(String value)
Name of the project the resource belongs to.
string project = 2;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
public IdentifierOuterClass.Identifier.Builder clearProject()
Name of the project the resource belongs to.
string project = 2;- Returns:
- This builder for chaining.
-
setProjectBytes
public IdentifierOuterClass.Identifier.Builder setProjectBytes(com.google.protobuf.ByteString value)
Name of the project the resource belongs to.
string project = 2;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getDomain
public String getDomain()
Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project.
string domain = 3;- Specified by:
getDomainin interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project.
string domain = 3;- Specified by:
getDomainBytesin interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The bytes for domain.
-
setDomain
public IdentifierOuterClass.Identifier.Builder setDomain(String value)
Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project.
string domain = 3;- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
public IdentifierOuterClass.Identifier.Builder clearDomain()
Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project.
string domain = 3;- Returns:
- This builder for chaining.
-
setDomainBytes
public IdentifierOuterClass.Identifier.Builder setDomainBytes(com.google.protobuf.ByteString value)
Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project.
string domain = 3;- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
getName
public String getName()
User provided value for the resource.
string name = 4;- Specified by:
getNamein interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
User provided value for the resource.
string name = 4;- Specified by:
getNameBytesin interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The bytes for name.
-
setName
public IdentifierOuterClass.Identifier.Builder setName(String value)
User provided value for the resource.
string name = 4;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public IdentifierOuterClass.Identifier.Builder clearName()
User provided value for the resource.
string name = 4;- Returns:
- This builder for chaining.
-
setNameBytes
public IdentifierOuterClass.Identifier.Builder setNameBytes(com.google.protobuf.ByteString value)
User provided value for the resource.
string name = 4;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersion
public String getVersion()
Specific version of the resource.
string version = 5;- Specified by:
getVersionin interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Specific version of the resource.
string version = 5;- Specified by:
getVersionBytesin interfaceIdentifierOuterClass.IdentifierOrBuilder- Returns:
- The bytes for version.
-
setVersion
public IdentifierOuterClass.Identifier.Builder setVersion(String value)
Specific version of the resource.
string version = 5;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public IdentifierOuterClass.Identifier.Builder clearVersion()
Specific version of the resource.
string version = 5;- Returns:
- This builder for chaining.
-
setVersionBytes
public IdentifierOuterClass.Identifier.Builder setVersionBytes(com.google.protobuf.ByteString value)
Specific version of the resource.
string version = 5;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final IdentifierOuterClass.Identifier.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder>
-
mergeUnknownFields
public final IdentifierOuterClass.Identifier.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder>
-
-