Class ListTenantsResponse.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<ListTenantsResponse.Builder>
      • clear

        public ListTenantsResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListTenantsResponse.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<ListTenantsResponse.Builder>
      • getDefaultInstanceForType

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

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

        public ListTenantsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ListTenantsResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
      • setField

        public ListTenantsResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
      • clearField

        public ListTenantsResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
      • clearOneof

        public ListTenantsResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
      • setRepeatedField

        public ListTenantsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
      • addRepeatedField

        public ListTenantsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
      • mergeFrom

        public ListTenantsResponse.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListTenantsResponse.Builder>
      • isInitialized

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

        public ListTenantsResponse.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<ListTenantsResponse.Builder>
        Throws:
        IOException
      • setTenants

        public ListTenantsResponse.Builder setTenants​(int index,
                                                      Tenant value)
         Tenants for the current client.
         
        repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
      • addTenants

        public ListTenantsResponse.Builder addTenants​(Tenant value)
         Tenants for the current client.
         
        repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
      • addTenants

        public ListTenantsResponse.Builder addTenants​(int index,
                                                      Tenant value)
         Tenants for the current client.
         
        repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
      • clearTenants

        public ListTenantsResponse.Builder clearTenants()
         Tenants for the current client.
         
        repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
      • removeTenants

        public ListTenantsResponse.Builder removeTenants​(int index)
         Tenants for the current client.
         
        repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
      • getTenantsBuilder

        public Tenant.Builder getTenantsBuilder​(int index)
         Tenants for the current client.
         
        repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
      • addTenantsBuilder

        public Tenant.Builder addTenantsBuilder()
         Tenants for the current client.
         
        repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
      • addTenantsBuilder

        public Tenant.Builder addTenantsBuilder​(int index)
         Tenants for the current client.
         
        repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
      • getTenantsBuilderList

        public List<Tenant.Builder> getTenantsBuilderList()
         Tenants for the current client.
         
        repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token to retrieve the next page of results.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListTenantsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListTenantsResponse.Builder setNextPageToken​(String value)
         A token to retrieve the next page of results.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListTenantsResponse.Builder clearNextPageToken()
         A token to retrieve the next page of results.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListTenantsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token to retrieve the next page of results.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • hasMetadata

        public boolean hasMetadata()
         Additional information for the API invocation, such as the request
         tracking id.
         
        .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
        Specified by:
        hasMetadata in interface ListTenantsResponseOrBuilder
        Returns:
        Whether the metadata field is set.
      • getMetadata

        public ResponseMetadata getMetadata()
         Additional information for the API invocation, such as the request
         tracking id.
         
        .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
        Specified by:
        getMetadata in interface ListTenantsResponseOrBuilder
        Returns:
        The metadata.
      • setMetadata

        public ListTenantsResponse.Builder setMetadata​(ResponseMetadata value)
         Additional information for the API invocation, such as the request
         tracking id.
         
        .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      • mergeMetadata

        public ListTenantsResponse.Builder mergeMetadata​(ResponseMetadata value)
         Additional information for the API invocation, such as the request
         tracking id.
         
        .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      • clearMetadata

        public ListTenantsResponse.Builder clearMetadata()
         Additional information for the API invocation, such as the request
         tracking id.
         
        .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      • getMetadataBuilder

        public ResponseMetadata.Builder getMetadataBuilder()
         Additional information for the API invocation, such as the request
         tracking id.
         
        .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      • setUnknownFields

        public final ListTenantsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
      • mergeUnknownFields

        public final ListTenantsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTenantsResponse.Builder>