Class ListBatchJobResultsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
- com.google.ads.googleads.v13.services.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 typegoogle.ads.googleads.v13.services.ListBatchJobResultsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBatchJobResultsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ListBatchJobResultsRequest
build()
ListBatchJobResultsRequest
buildPartial()
ListBatchJobResultsRequest.Builder
clear()
ListBatchJobResultsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListBatchJobResultsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListBatchJobResultsRequest.Builder
clearPageSize()
Number of elements to retrieve in a single page.ListBatchJobResultsRequest.Builder
clearPageToken()
Token of the page to retrieve.ListBatchJobResultsRequest.Builder
clearResourceName()
Required.ListBatchJobResultsRequest.Builder
clearResponseContentType()
The response content type setting.ListBatchJobResultsRequest.Builder
clone()
ListBatchJobResultsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getPageSize()
Number of elements to retrieve in a single page.java.lang.String
getPageToken()
Token of the page to retrieve.com.google.protobuf.ByteString
getPageTokenBytes()
Token of the page to retrieve.java.lang.String
getResourceName()
Required.com.google.protobuf.ByteString
getResourceNameBytes()
Required.ResponseContentTypeEnum.ResponseContentType
getResponseContentType()
The response content type setting.int
getResponseContentTypeValue()
The response content type setting.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListBatchJobResultsRequest.Builder
mergeFrom(ListBatchJobResultsRequest other)
ListBatchJobResultsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListBatchJobResultsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListBatchJobResultsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListBatchJobResultsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ListBatchJobResultsRequest.Builder
setPageSize(int value)
Number of elements to retrieve in a single page.ListBatchJobResultsRequest.Builder
setPageToken(java.lang.String value)
Token of the page to retrieve.ListBatchJobResultsRequest.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
Token of the page to retrieve.ListBatchJobResultsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ListBatchJobResultsRequest.Builder
setResourceName(java.lang.String value)
Required.ListBatchJobResultsRequest.Builder
setResourceNameBytes(com.google.protobuf.ByteString value)
Required.ListBatchJobResultsRequest.Builder
setResponseContentType(ResponseContentTypeEnum.ResponseContentType value)
The response content type setting.ListBatchJobResultsRequest.Builder
setResponseContentTypeValue(int value)
The response content type setting.ListBatchJobResultsRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
clear
public ListBatchJobResultsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
getDefaultInstanceForType
public ListBatchJobResultsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListBatchJobResultsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListBatchJobResultsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListBatchJobResultsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
setField
public ListBatchJobResultsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
clearField
public ListBatchJobResultsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
clearOneof
public ListBatchJobResultsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
setRepeatedField
public ListBatchJobResultsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
mergeFrom
public ListBatchJobResultsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListBatchJobResultsRequest.Builder>
-
mergeFrom
public ListBatchJobResultsRequest.Builder mergeFrom(ListBatchJobResultsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceListBatchJobResultsRequestOrBuilder
- 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 interfaceListBatchJobResultsRequestOrBuilder
- 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 interfaceListBatchJobResultsRequestOrBuilder
- 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 interfaceListBatchJobResultsRequestOrBuilder
- 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 interfaceListBatchJobResultsRequestOrBuilder
- 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 interfaceListBatchJobResultsRequestOrBuilder
- 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.
-
getResponseContentType
public ResponseContentTypeEnum.ResponseContentType getResponseContentType()
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:
getResponseContentType
in interfaceListBatchJobResultsRequestOrBuilder
- Returns:
- The responseContentType.
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
mergeUnknownFields
public final ListBatchJobResultsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBatchJobResultsRequest.Builder>
-
-