Class Common.NamedEntityListRequest.Builder

    • 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.NamedEntityListRequest.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.NamedEntityListRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public Common.NamedEntityListRequest.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.NamedEntityListRequest.Builder>
        Throws:
        IOException
      • getResourceTypeValue

        public int getResourceTypeValue()
         Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
         +required
         
        .flyteidl.core.ResourceType resource_type = 1;
        Specified by:
        getResourceTypeValue in interface Common.NamedEntityListRequestOrBuilder
        Returns:
        The enum numeric value on the wire for resourceType.
      • setResourceTypeValue

        public Common.NamedEntityListRequest.Builder setResourceTypeValue​(int value)
         Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
         +required
         
        .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 Common.NamedEntityListRequest.Builder clearResourceType()
         Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
         +required
         
        .flyteidl.core.ResourceType resource_type = 1;
        Returns:
        This builder for chaining.
      • getProjectBytes

        public com.google.protobuf.ByteString getProjectBytes()
         Name of the project that contains the identifiers.
         +required
         
        string project = 2;
        Specified by:
        getProjectBytes in interface Common.NamedEntityListRequestOrBuilder
        Returns:
        The bytes for project.
      • setProject

        public Common.NamedEntityListRequest.Builder setProject​(String value)
         Name of the project that contains the identifiers.
         +required
         
        string project = 2;
        Parameters:
        value - The project to set.
        Returns:
        This builder for chaining.
      • clearProject

        public Common.NamedEntityListRequest.Builder clearProject()
         Name of the project that contains the identifiers.
         +required
         
        string project = 2;
        Returns:
        This builder for chaining.
      • setProjectBytes

        public Common.NamedEntityListRequest.Builder setProjectBytes​(com.google.protobuf.ByteString value)
         Name of the project that contains the identifiers.
         +required
         
        string project = 2;
        Parameters:
        value - The bytes for project to set.
        Returns:
        This builder for chaining.
      • getDomainBytes

        public com.google.protobuf.ByteString getDomainBytes()
         Name of the domain the identifiers belongs to within the project.
         
        string domain = 3;
        Specified by:
        getDomainBytes in interface Common.NamedEntityListRequestOrBuilder
        Returns:
        The bytes for domain.
      • setDomain

        public Common.NamedEntityListRequest.Builder setDomain​(String value)
         Name of the domain the identifiers belongs to within the project.
         
        string domain = 3;
        Parameters:
        value - The domain to set.
        Returns:
        This builder for chaining.
      • clearDomain

        public Common.NamedEntityListRequest.Builder clearDomain()
         Name of the domain the identifiers belongs to within the project.
         
        string domain = 3;
        Returns:
        This builder for chaining.
      • setDomainBytes

        public Common.NamedEntityListRequest.Builder setDomainBytes​(com.google.protobuf.ByteString value)
         Name of the domain the identifiers belongs to within the project.
         
        string domain = 3;
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • setLimit

        public Common.NamedEntityListRequest.Builder setLimit​(int value)
         Indicates the number of resources to be returned.
         
        uint32 limit = 4;
        Parameters:
        value - The limit to set.
        Returns:
        This builder for chaining.
      • getToken

        public String getToken()
         In the case of multiple pages of results, the server-provided token can be used to fetch the next page
         in a query.
         +optional
         
        string token = 5;
        Specified by:
        getToken in interface Common.NamedEntityListRequestOrBuilder
        Returns:
        The token.
      • getTokenBytes

        public com.google.protobuf.ByteString getTokenBytes()
         In the case of multiple pages of results, the server-provided token can be used to fetch the next page
         in a query.
         +optional
         
        string token = 5;
        Specified by:
        getTokenBytes in interface Common.NamedEntityListRequestOrBuilder
        Returns:
        The bytes for token.
      • setToken

        public Common.NamedEntityListRequest.Builder setToken​(String value)
         In the case of multiple pages of results, the server-provided token can be used to fetch the next page
         in a query.
         +optional
         
        string token = 5;
        Parameters:
        value - The token to set.
        Returns:
        This builder for chaining.
      • clearToken

        public Common.NamedEntityListRequest.Builder clearToken()
         In the case of multiple pages of results, the server-provided token can be used to fetch the next page
         in a query.
         +optional
         
        string token = 5;
        Returns:
        This builder for chaining.
      • setTokenBytes

        public Common.NamedEntityListRequest.Builder setTokenBytes​(com.google.protobuf.ByteString value)
         In the case of multiple pages of results, the server-provided token can be used to fetch the next page
         in a query.
         +optional
         
        string token = 5;
        Parameters:
        value - The bytes for token to set.
        Returns:
        This builder for chaining.
      • hasSortBy

        public boolean hasSortBy()
         Specifies how listed entities should be sorted in the response.
         +optional
         
        .flyteidl.admin.Sort sort_by = 6;
        Specified by:
        hasSortBy in interface Common.NamedEntityListRequestOrBuilder
        Returns:
        Whether the sortBy field is set.
      • getSortByBuilder

        public Common.Sort.Builder getSortByBuilder()
         Specifies how listed entities should be sorted in the response.
         +optional
         
        .flyteidl.admin.Sort sort_by = 6;
      • getSortByFieldBuilder

        private com.google.protobuf.SingleFieldBuilderV3<Common.Sort,​Common.Sort.Builder,​Common.SortOrBuilder> getSortByFieldBuilder()
         Specifies how listed entities should be sorted in the response.
         +optional
         
        .flyteidl.admin.Sort sort_by = 6;
      • getFiltersBytes

        public com.google.protobuf.ByteString getFiltersBytes()
         Indicates a list of filters passed as string.
         +optional
         
        string filters = 7;
        Specified by:
        getFiltersBytes in interface Common.NamedEntityListRequestOrBuilder
        Returns:
        The bytes for filters.
      • setFilters

        public Common.NamedEntityListRequest.Builder setFilters​(String value)
         Indicates a list of filters passed as string.
         +optional
         
        string filters = 7;
        Parameters:
        value - The filters to set.
        Returns:
        This builder for chaining.
      • clearFilters

        public Common.NamedEntityListRequest.Builder clearFilters()
         Indicates a list of filters passed as string.
         +optional
         
        string filters = 7;
        Returns:
        This builder for chaining.
      • setFiltersBytes

        public Common.NamedEntityListRequest.Builder setFiltersBytes​(com.google.protobuf.ByteString value)
         Indicates a list of filters passed as string.
         +optional
         
        string filters = 7;
        Parameters:
        value - The bytes for filters to set.
        Returns:
        This builder for chaining.