Class ListBatchJobResultsResponse.Builder

  • All Implemented Interfaces:
    ListBatchJobResultsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.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.v10.services.BatchJobService.ListBatchJobResults].
     
    Protobuf type google.ads.googleads.v10.services.ListBatchJobResultsResponse
    • 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<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

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

        public ListBatchJobResultsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    int index,
                                                                    java.lang.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,
                                                                    java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsResponse.Builder>
      • 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 java.io.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:
        java.io.IOException
      • clearResults

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

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

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

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

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

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

        public java.lang.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​(java.lang.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.
      • 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>