Package flyteidl.core

Class IdentifierOuterClass.Identifier.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder>
      • getDefaultInstanceForType

        public IdentifierOuterClass.Identifier getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public IdentifierOuterClass.Identifier build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public IdentifierOuterClass.Identifier buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IdentifierOuterClass.Identifier.Builder>
      • mergeFrom

        public IdentifierOuterClass.Identifier.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IdentifierOuterClass.Identifier.Builder>
        Throws:
        java.io.IOException
      • getResourceTypeValue

        public int getResourceTypeValue()
         Identifies the specific type of resource that this identifer corresponds to.
         
        .flyteidl.core.ResourceType resource_type = 1;
        Specified by:
        getResourceTypeValue in interface IdentifierOuterClass.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 identifer 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.
      • clearResourceType

        public IdentifierOuterClass.Identifier.Builder clearResourceType()
         Identifies the specific type of resource that this identifer corresponds to.
         
        .flyteidl.core.ResourceType resource_type = 1;
        Returns:
        This builder for chaining.
      • setProject

        public IdentifierOuterClass.Identifier.Builder setProject​(java.lang.String value)
         Name of the project the resource belongs to.
         
        string project = 2;
        Parameters:
        value - The project to set.
        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 java.lang.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:
        getDomain in interface IdentifierOuterClass.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:
        getDomainBytes in interface IdentifierOuterClass.IdentifierOrBuilder
        Returns:
        The bytes for domain.
      • setDomain

        public IdentifierOuterClass.Identifier.Builder setDomain​(java.lang.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.
      • setName

        public IdentifierOuterClass.Identifier.Builder setName​(java.lang.String value)
         User provided value for the resource.
         
        string name = 4;
        Parameters:
        value - The name to set.
        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.
      • setVersion

        public IdentifierOuterClass.Identifier.Builder setVersion​(java.lang.String value)
         Specific version of the resource.
         
        string version = 5;
        Parameters:
        value - The version to set.
        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.