Class ListBatchJobResultsRequest.Builder

  • All Implemented Interfaces:
    ListBatchJobResultsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    ListBatchJobResultsRequest

    public static final class ListBatchJobResultsRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
    implements ListBatchJobResultsRequestOrBuilder
     Request message for
     [BatchJobService.ListBatchJobResults][google.ads.googleads.v13.services.BatchJobService.ListBatchJobResults].
     
    Protobuf type google.ads.googleads.v13.services.ListBatchJobResultsRequest
    • 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<ListBatchJobResultsRequest.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<ListBatchJobResultsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public ListBatchJobResultsRequest.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<ListBatchJobResultsRequest.Builder>
      • isInitialized

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

        public ListBatchJobResultsRequest.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<ListBatchJobResultsRequest.Builder>
        Throws:
        java.io.IOException
      • getResourceName

        public java.lang.String getResourceName()
         Required. The resource name of the batch job whose results are being
         listed.
         
        string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface ListBatchJobResultsRequestOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Required. The resource name of the batch job whose results are being
         listed.
         
        string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface ListBatchJobResultsRequestOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public ListBatchJobResultsRequest.Builder setResourceName​(java.lang.String value)
         Required. The resource name of the batch job whose results are being
         listed.
         
        string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public ListBatchJobResultsRequest.Builder clearResourceName()
         Required. The resource name of the batch job whose results are being
         listed.
         
        string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public ListBatchJobResultsRequest.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the batch job whose results are being
         listed.
         
        string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • getPageToken

        public java.lang.String getPageToken()
         Token of the page to retrieve. If not specified, the first
         page of results will be returned. Use the value obtained from
         `next_page_token` in the previous response in order to request
         the next page of results.
         
        string page_token = 2;
        Specified by:
        getPageToken in interface ListBatchJobResultsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Token of the page to retrieve. If not specified, the first
         page of results will be returned. Use the value obtained from
         `next_page_token` in the previous response in order to request
         the next page of results.
         
        string page_token = 2;
        Specified by:
        getPageTokenBytes in interface ListBatchJobResultsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListBatchJobResultsRequest.Builder setPageToken​(java.lang.String value)
         Token of the page to retrieve. If not specified, the first
         page of results will be returned. Use the value obtained from
         `next_page_token` in the previous response in order to request
         the next page of results.
         
        string page_token = 2;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListBatchJobResultsRequest.Builder clearPageToken()
         Token of the page to retrieve. If not specified, the first
         page of results will be returned. Use the value obtained from
         `next_page_token` in the previous response in order to request
         the next page of results.
         
        string page_token = 2;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListBatchJobResultsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Token of the page to retrieve. If not specified, the first
         page of results will be returned. Use the value obtained from
         `next_page_token` in the previous response in order to request
         the next page of results.
         
        string page_token = 2;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         Number of elements to retrieve in a single page.
         When a page request is too large, the server may decide to
         further limit the number of returned resources.
         
        int32 page_size = 3;
        Specified by:
        getPageSize in interface ListBatchJobResultsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListBatchJobResultsRequest.Builder setPageSize​(int value)
         Number of elements to retrieve in a single page.
         When a page request is too large, the server may decide to
         further limit the number of returned resources.
         
        int32 page_size = 3;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListBatchJobResultsRequest.Builder clearPageSize()
         Number of elements to retrieve in a single page.
         When a page request is too large, the server may decide to
         further limit the number of returned resources.
         
        int32 page_size = 3;
        Returns:
        This builder for chaining.
      • getResponseContentTypeValue

        public int getResponseContentTypeValue()
         The response content type setting. Determines whether the mutable resource
         or just the resource name should be returned.
         
        .google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4;
        Specified by:
        getResponseContentTypeValue in interface ListBatchJobResultsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for responseContentType.
      • setResponseContentTypeValue

        public ListBatchJobResultsRequest.Builder setResponseContentTypeValue​(int value)
         The response content type setting. Determines whether the mutable resource
         or just the resource name should be returned.
         
        .google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4;
        Parameters:
        value - The enum numeric value on the wire for responseContentType to set.
        Returns:
        This builder for chaining.
      • setResponseContentType

        public ListBatchJobResultsRequest.Builder setResponseContentType​(ResponseContentTypeEnum.ResponseContentType value)
         The response content type setting. Determines whether the mutable resource
         or just the resource name should be returned.
         
        .google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4;
        Parameters:
        value - The responseContentType to set.
        Returns:
        This builder for chaining.
      • clearResponseContentType

        public ListBatchJobResultsRequest.Builder clearResponseContentType()
         The response content type setting. Determines whether the mutable resource
         or just the resource name should be returned.
         
        .google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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