Class Common.NamedEntityIdentifier.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Common.NamedEntityIdentifierOrBuilder, Cloneable
    Enclosing class:
    Common.NamedEntityIdentifier

    public static final class Common.NamedEntityIdentifier.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Common.NamedEntityIdentifier.Builder>
    implements Common.NamedEntityIdentifierOrBuilder
     Encapsulation of fields that identifies a Flyte resource.
     A Flyte resource can be a task, workflow or launch plan.
     A resource can internally have multiple versions and is uniquely identified
     by project, domain, and name.
     
    Protobuf type flyteidl.admin.NamedEntityIdentifier
    • Field Detail

      • bitField0_

        private int bitField0_
      • project_

        private Object project_
      • domain_

        private Object domain_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • 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<Common.NamedEntityIdentifier.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<Common.NamedEntityIdentifier.Builder>
      • getDefaultInstanceForType

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

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

        public Common.NamedEntityIdentifier 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<Common.NamedEntityIdentifier.Builder>
      • mergeFrom

        public Common.NamedEntityIdentifier.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws 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<Common.NamedEntityIdentifier.Builder>
        Throws:
        IOException
      • setProject

        public Common.NamedEntityIdentifier.Builder setProject​(String value)
         Name of the project the resource belongs to.
         
        string project = 1;
        Parameters:
        value - The project to set.
        Returns:
        This builder for chaining.
      • setProjectBytes

        public Common.NamedEntityIdentifier.Builder setProjectBytes​(com.google.protobuf.ByteString value)
         Name of the project the resource belongs to.
         
        string project = 1;
        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 = 2;
        Specified by:
        getDomain in interface Common.NamedEntityIdentifierOrBuilder
        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 = 2;
        Specified by:
        getDomainBytes in interface Common.NamedEntityIdentifierOrBuilder
        Returns:
        The bytes for domain.
      • setDomain

        public Common.NamedEntityIdentifier.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 = 2;
        Parameters:
        value - The domain to set.
        Returns:
        This builder for chaining.
      • clearDomain

        public Common.NamedEntityIdentifier.Builder clearDomain()
         Name of the domain the resource belongs to.
         A domain can be considered as a subset within a specific project.
         
        string domain = 2;
        Returns:
        This builder for chaining.
      • setDomainBytes

        public Common.NamedEntityIdentifier.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 = 2;
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • getName

        public String getName()
         User provided value for the resource.
         The combination of project + domain + name uniquely identifies the resource.
         +optional - in certain contexts - like 'List API', 'Launch plans'
         
        string name = 3;
        Specified by:
        getName in interface Common.NamedEntityIdentifierOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         User provided value for the resource.
         The combination of project + domain + name uniquely identifies the resource.
         +optional - in certain contexts - like 'List API', 'Launch plans'
         
        string name = 3;
        Specified by:
        getNameBytes in interface Common.NamedEntityIdentifierOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Common.NamedEntityIdentifier.Builder setName​(String value)
         User provided value for the resource.
         The combination of project + domain + name uniquely identifies the resource.
         +optional - in certain contexts - like 'List API', 'Launch plans'
         
        string name = 3;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Common.NamedEntityIdentifier.Builder clearName()
         User provided value for the resource.
         The combination of project + domain + name uniquely identifies the resource.
         +optional - in certain contexts - like 'List API', 'Launch plans'
         
        string name = 3;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Common.NamedEntityIdentifier.Builder setNameBytes​(com.google.protobuf.ByteString value)
         User provided value for the resource.
         The combination of project + domain + name uniquely identifies the resource.
         +optional - in certain contexts - like 'List API', 'Launch plans'
         
        string name = 3;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.