Class AddBatchJobOperationsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
com.google.ads.googleads.v18.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,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.v18.services.BatchJobService.AddBatchJobOperations].Protobuf type
google.ads.googleads.v18.services.AddBatchJobOperationsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllMutateOperations(Iterable<? extends MutateOperation> values) Required.addMutateOperations(int index, MutateOperation value) Required.addMutateOperations(int index, MutateOperation.Builder builderForValue) Required.Required.addMutateOperations(MutateOperation.Builder builderForValue) Required.Required.addMutateOperationsBuilder(int index) Required.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Required.A token used to enforce sequencing.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMutateOperations(int index) Required.getMutateOperationsBuilder(int index) Required.Required.intRequired.Required.getMutateOperationsOrBuilder(int index) Required.List<? extends MutateOperationOrBuilder>Required.Required.com.google.protobuf.ByteStringRequired.A token used to enforce sequencing.com.google.protobuf.ByteStringA token used to enforce sequencing.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeMutateOperations(int index) Required.setMutateOperations(int index, MutateOperation value) Required.setMutateOperations(int index, MutateOperation.Builder builderForValue) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Required.setResourceNameBytes(com.google.protobuf.ByteString value) Required.setSequenceToken(String value) A token used to enforce sequencing.setSequenceTokenBytes(com.google.protobuf.ByteString value) A token used to enforce sequencing.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddBatchJobOperationsRequest.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
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
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
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
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
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
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.v18.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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutateOperationsCountin interfaceAddBatchJobOperationsRequestOrBuilder
-
getMutateOperations
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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutateOperationsin interfaceAddBatchJobOperationsRequestOrBuilder
-
setMutateOperations
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.v18.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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMutateOperations
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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMutateOperations
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.v18.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.v18.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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; -
addAllMutateOperations
public AddBatchJobOperationsRequest.Builder addAllMutateOperations(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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; -
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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; -
removeMutateOperations
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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; -
getMutateOperationsBuilder
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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; -
getMutateOperationsOrBuilder
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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutateOperationsOrBuilderin interfaceAddBatchJobOperationsRequestOrBuilder
-
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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutateOperationsOrBuilderListin interfaceAddBatchJobOperationsRequestOrBuilder
-
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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; -
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.v18.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; -
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.v18.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>
-