Class ListBatchJobResultsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsResponse.Builder>
com.google.ads.googleads.v18.services.ListBatchJobResultsResponse.Builder
All Implemented Interfaces:
ListBatchJobResultsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListBatchJobResultsResponse

public static final class ListBatchJobResultsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsResponse.Builder> implements ListBatchJobResultsResponseOrBuilder
 Response message for
 [BatchJobService.ListBatchJobResults][google.ads.googleads.v18.services.BatchJobService.ListBatchJobResults].
 
Protobuf type google.ads.googleads.v18.services.ListBatchJobResultsResponse
  • Method Details

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListBatchJobResultsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ListBatchJobResultsResponse.Builder>
    • setField

      public ListBatchJobResultsResponse.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<ListBatchJobResultsResponse.Builder>
    • clearField

      public ListBatchJobResultsResponse.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<ListBatchJobResultsResponse.Builder>
    • clearOneof

      public ListBatchJobResultsResponse.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<ListBatchJobResultsResponse.Builder>
    • setRepeatedField

      public ListBatchJobResultsResponse.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<ListBatchJobResultsResponse.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

      public ListBatchJobResultsResponse.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<ListBatchJobResultsResponse.Builder>
      Throws:
      IOException
    • getResultsList

      public List<BatchJobResult> getResultsList()
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
      Specified by:
      getResultsList in interface ListBatchJobResultsResponseOrBuilder
    • getResultsCount

      public int getResultsCount()
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
      Specified by:
      getResultsCount in interface ListBatchJobResultsResponseOrBuilder
    • getResults

      public BatchJobResult getResults(int index)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
      Specified by:
      getResults in interface ListBatchJobResultsResponseOrBuilder
    • setResults

      public ListBatchJobResultsResponse.Builder setResults(int index, BatchJobResult value)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • setResults

      public ListBatchJobResultsResponse.Builder setResults(int index, BatchJobResult.Builder builderForValue)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • addResults

       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • addResults

      public ListBatchJobResultsResponse.Builder addResults(int index, BatchJobResult value)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • addResults

      public ListBatchJobResultsResponse.Builder addResults(BatchJobResult.Builder builderForValue)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • addResults

      public ListBatchJobResultsResponse.Builder addResults(int index, BatchJobResult.Builder builderForValue)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • addAllResults

      public ListBatchJobResultsResponse.Builder addAllResults(Iterable<? extends BatchJobResult> values)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • clearResults

      public ListBatchJobResultsResponse.Builder clearResults()
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • removeResults

      public ListBatchJobResultsResponse.Builder removeResults(int index)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • getResultsBuilder

      public BatchJobResult.Builder getResultsBuilder(int index)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • getResultsOrBuilder

      public BatchJobResultOrBuilder getResultsOrBuilder(int index)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
      Specified by:
      getResultsOrBuilder in interface ListBatchJobResultsResponseOrBuilder
    • getResultsOrBuilderList

      public List<? extends BatchJobResultOrBuilder> getResultsOrBuilderList()
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
      Specified by:
      getResultsOrBuilderList in interface ListBatchJobResultsResponseOrBuilder
    • addResultsBuilder

      public BatchJobResult.Builder addResultsBuilder()
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • addResultsBuilder

      public BatchJobResult.Builder addResultsBuilder(int index)
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • getResultsBuilderList

      public List<BatchJobResult.Builder> getResultsBuilderList()
       The list of rows that matched the query.
       
      repeated .google.ads.googleads.v18.services.BatchJobResult results = 1;
    • getNextPageToken

      public String getNextPageToken()
       Pagination token used to retrieve the next page of results.
       Pass the content of this string as the `page_token` attribute of
       the next request. `next_page_token` is not returned for the last
       page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListBatchJobResultsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Pagination token used to retrieve the next page of results.
       Pass the content of this string as the `page_token` attribute of
       the next request. `next_page_token` is not returned for the last
       page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListBatchJobResultsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListBatchJobResultsResponse.Builder setNextPageToken(String value)
       Pagination token used to retrieve the next page of results.
       Pass the content of this string as the `page_token` attribute of
       the next request. `next_page_token` is not returned for the last
       page.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListBatchJobResultsResponse.Builder clearNextPageToken()
       Pagination token used to retrieve the next page of results.
       Pass the content of this string as the `page_token` attribute of
       the next request. `next_page_token` is not returned for the last
       page.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListBatchJobResultsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Pagination token used to retrieve the next page of results.
       Pass the content of this string as the `page_token` attribute of
       the next request. `next_page_token` is not returned for the last
       page.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListBatchJobResultsResponse.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<ListBatchJobResultsResponse.Builder>
    • mergeUnknownFields

      public final ListBatchJobResultsResponse.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<ListBatchJobResultsResponse.Builder>