Class AddBatchJobOperationsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
- com.google.ads.googleads.v10.services.AddBatchJobOperationsRequest.Builder
-
- All Implemented Interfaces:
AddBatchJobOperationsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- AddBatchJobOperationsRequest
public static final class AddBatchJobOperationsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder> implements AddBatchJobOperationsRequestOrBuilder
Request message for [BatchJobService.AddBatchJobOperations][google.ads.googleads.v10.services.BatchJobService.AddBatchJobOperations].
Protobuf typegoogle.ads.googleads.v10.services.AddBatchJobOperationsRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
clear
public AddBatchJobOperationsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
getDefaultInstanceForType
public AddBatchJobOperationsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AddBatchJobOperationsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AddBatchJobOperationsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AddBatchJobOperationsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
setField
public AddBatchJobOperationsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
clearField
public AddBatchJobOperationsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
clearOneof
public AddBatchJobOperationsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
setRepeatedField
public AddBatchJobOperationsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
addRepeatedField
public AddBatchJobOperationsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
mergeFrom
public AddBatchJobOperationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddBatchJobOperationsRequest.Builder>
-
mergeFrom
public AddBatchJobOperationsRequest.Builder mergeFrom(AddBatchJobOperationsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
mergeFrom
public AddBatchJobOperationsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddBatchJobOperationsRequest.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Required. The resource name of the batch job.
string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAddBatchJobOperationsRequestOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Required. The resource name of the batch job.
string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAddBatchJobOperationsRequestOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public AddBatchJobOperationsRequest.Builder setResourceName(java.lang.String value)
Required. The resource name of the batch job.
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 AddBatchJobOperationsRequest.Builder clearResourceName()
Required. The resource name of the batch job.
string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public AddBatchJobOperationsRequest.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Required. The resource name of the batch job.
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.
-
getSequenceToken
public java.lang.String getSequenceToken()
A token used to enforce sequencing. The first AddBatchJobOperations request for a batch job should not set sequence_token. Subsequent requests must set sequence_token to the value of next_sequence_token received in the previous AddBatchJobOperations response.
string sequence_token = 2;- Specified by:
getSequenceTokenin interfaceAddBatchJobOperationsRequestOrBuilder- Returns:
- The sequenceToken.
-
getSequenceTokenBytes
public com.google.protobuf.ByteString getSequenceTokenBytes()
A token used to enforce sequencing. The first AddBatchJobOperations request for a batch job should not set sequence_token. Subsequent requests must set sequence_token to the value of next_sequence_token received in the previous AddBatchJobOperations response.
string sequence_token = 2;- Specified by:
getSequenceTokenBytesin interfaceAddBatchJobOperationsRequestOrBuilder- Returns:
- The bytes for sequenceToken.
-
setSequenceToken
public AddBatchJobOperationsRequest.Builder setSequenceToken(java.lang.String value)
A token used to enforce sequencing. The first AddBatchJobOperations request for a batch job should not set sequence_token. Subsequent requests must set sequence_token to the value of next_sequence_token received in the previous AddBatchJobOperations response.
string sequence_token = 2;- Parameters:
value- The sequenceToken to set.- Returns:
- This builder for chaining.
-
clearSequenceToken
public AddBatchJobOperationsRequest.Builder clearSequenceToken()
A token used to enforce sequencing. The first AddBatchJobOperations request for a batch job should not set sequence_token. Subsequent requests must set sequence_token to the value of next_sequence_token received in the previous AddBatchJobOperations response.
string sequence_token = 2;- Returns:
- This builder for chaining.
-
setSequenceTokenBytes
public AddBatchJobOperationsRequest.Builder setSequenceTokenBytes(com.google.protobuf.ByteString value)
A token used to enforce sequencing. The first AddBatchJobOperations request for a batch job should not set sequence_token. Subsequent requests must set sequence_token to the value of next_sequence_token received in the previous AddBatchJobOperations response.
string sequence_token = 2;- Parameters:
value- The bytes for sequenceToken to set.- Returns:
- This builder for chaining.
-
getMutateOperationsList
public java.util.List<MutateOperation> getMutateOperationsList()
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutateOperationsListin interfaceAddBatchJobOperationsRequestOrBuilder
-
getMutateOperationsCount
public int getMutateOperationsCount()
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutateOperationsCountin interfaceAddBatchJobOperationsRequestOrBuilder
-
getMutateOperations
public MutateOperation getMutateOperations(int index)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutateOperationsin interfaceAddBatchJobOperationsRequestOrBuilder
-
setMutateOperations
public AddBatchJobOperationsRequest.Builder setMutateOperations(int index, MutateOperation value)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
setMutateOperations
public AddBatchJobOperationsRequest.Builder setMutateOperations(int index, MutateOperation.Builder builderForValue)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
addMutateOperations
public AddBatchJobOperationsRequest.Builder addMutateOperations(MutateOperation value)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
addMutateOperations
public AddBatchJobOperationsRequest.Builder addMutateOperations(int index, MutateOperation value)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
addMutateOperations
public AddBatchJobOperationsRequest.Builder addMutateOperations(MutateOperation.Builder builderForValue)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
addMutateOperations
public AddBatchJobOperationsRequest.Builder addMutateOperations(int index, MutateOperation.Builder builderForValue)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
addAllMutateOperations
public AddBatchJobOperationsRequest.Builder addAllMutateOperations(java.lang.Iterable<? extends MutateOperation> values)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
clearMutateOperations
public AddBatchJobOperationsRequest.Builder clearMutateOperations()
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
removeMutateOperations
public AddBatchJobOperationsRequest.Builder removeMutateOperations(int index)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
getMutateOperationsBuilder
public MutateOperation.Builder getMutateOperationsBuilder(int index)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
getMutateOperationsOrBuilder
public MutateOperationOrBuilder getMutateOperationsOrBuilder(int index)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutateOperationsOrBuilderin interfaceAddBatchJobOperationsRequestOrBuilder
-
getMutateOperationsOrBuilderList
public java.util.List<? extends MutateOperationOrBuilder> getMutateOperationsOrBuilderList()
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutateOperationsOrBuilderListin interfaceAddBatchJobOperationsRequestOrBuilder
-
addMutateOperationsBuilder
public MutateOperation.Builder addMutateOperationsBuilder()
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
addMutateOperationsBuilder
public MutateOperation.Builder addMutateOperationsBuilder(int index)
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
getMutateOperationsBuilderList
public java.util.List<MutateOperation.Builder> getMutateOperationsBuilderList()
Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group in the second operation with the campaign field also set to "customers/1234/campaigns/-1".
repeated .google.ads.googleads.v10.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];
-
setUnknownFields
public final AddBatchJobOperationsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
mergeUnknownFields
public final AddBatchJobOperationsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
-