Class ListCompaniesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListCompaniesResponse.Builder>
com.google.cloud.talent.v4.ListCompaniesResponse.Builder
All Implemented Interfaces:
ListCompaniesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListCompaniesResponse

public static final class ListCompaniesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListCompaniesResponse.Builder> implements ListCompaniesResponseOrBuilder
 The List companies response object.
 
Protobuf type google.cloud.talent.v4.ListCompaniesResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListCompaniesResponse.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.GeneratedMessage.Builder<ListCompaniesResponse.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.GeneratedMessage.Builder<ListCompaniesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public ListCompaniesResponse.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<ListCompaniesResponse.Builder>
      Throws:
      IOException
    • getCompaniesList

      public List<Company> getCompaniesList()
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
      Specified by:
      getCompaniesList in interface ListCompaniesResponseOrBuilder
    • getCompaniesCount

      public int getCompaniesCount()
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
      Specified by:
      getCompaniesCount in interface ListCompaniesResponseOrBuilder
    • getCompanies

      public Company getCompanies(int index)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
      Specified by:
      getCompanies in interface ListCompaniesResponseOrBuilder
    • setCompanies

      public ListCompaniesResponse.Builder setCompanies(int index, Company value)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • setCompanies

      public ListCompaniesResponse.Builder setCompanies(int index, Company.Builder builderForValue)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • addCompanies

      public ListCompaniesResponse.Builder addCompanies(Company value)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • addCompanies

      public ListCompaniesResponse.Builder addCompanies(int index, Company value)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • addCompanies

      public ListCompaniesResponse.Builder addCompanies(Company.Builder builderForValue)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • addCompanies

      public ListCompaniesResponse.Builder addCompanies(int index, Company.Builder builderForValue)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • addAllCompanies

      public ListCompaniesResponse.Builder addAllCompanies(Iterable<? extends Company> values)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • clearCompanies

      public ListCompaniesResponse.Builder clearCompanies()
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • removeCompanies

      public ListCompaniesResponse.Builder removeCompanies(int index)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • getCompaniesBuilder

      public Company.Builder getCompaniesBuilder(int index)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • getCompaniesOrBuilder

      public CompanyOrBuilder getCompaniesOrBuilder(int index)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
      Specified by:
      getCompaniesOrBuilder in interface ListCompaniesResponseOrBuilder
    • getCompaniesOrBuilderList

      public List<? extends CompanyOrBuilder> getCompaniesOrBuilderList()
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
      Specified by:
      getCompaniesOrBuilderList in interface ListCompaniesResponseOrBuilder
    • addCompaniesBuilder

      public Company.Builder addCompaniesBuilder()
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • addCompaniesBuilder

      public Company.Builder addCompaniesBuilder(int index)
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • getCompaniesBuilderList

      public List<Company.Builder> getCompaniesBuilderList()
       Companies for the current client.
       
      repeated .google.cloud.talent.v4.Company companies = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListCompaniesResponseOrBuilder
      Returns:
      The nextPageToken.
    • 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 ListCompaniesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListCompaniesResponse.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 ListCompaniesResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListCompaniesResponse.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.v4.ResponseMetadata metadata = 3;
      Specified by:
      hasMetadata in interface ListCompaniesResponseOrBuilder
      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.v4.ResponseMetadata metadata = 3;
      Specified by:
      getMetadata in interface ListCompaniesResponseOrBuilder
      Returns:
      The metadata.
    • setMetadata

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

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

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

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

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

      public ResponseMetadataOrBuilder getMetadataOrBuilder()
       Additional information for the API invocation, such as the request
       tracking id.
       
      .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      Specified by:
      getMetadataOrBuilder in interface ListCompaniesResponseOrBuilder