Class BatchJobOperation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchJobOperation.Builder>
-
- com.google.ads.googleads.v13.services.BatchJobOperation.Builder
-
- All Implemented Interfaces:
BatchJobOperationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- BatchJobOperation
public static final class BatchJobOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchJobOperation.Builder> implements BatchJobOperationOrBuilder
A single operation on a batch job.
Protobuf typegoogle.ads.googleads.v13.services.BatchJobOperation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchJobOperation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BatchJobOperation
build()
BatchJobOperation
buildPartial()
BatchJobOperation.Builder
clear()
BatchJobOperation.Builder
clearCreate()
Create operation: No resource name is expected for the new batch job.BatchJobOperation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BatchJobOperation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BatchJobOperation.Builder
clearOperation()
BatchJobOperation.Builder
clearRemove()
Remove operation: The batch job must not have been run.BatchJobOperation.Builder
clone()
BatchJob
getCreate()
Create operation: No resource name is expected for the new batch job.BatchJob.Builder
getCreateBuilder()
Create operation: No resource name is expected for the new batch job.BatchJobOrBuilder
getCreateOrBuilder()
Create operation: No resource name is expected for the new batch job.BatchJobOperation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
BatchJobOperation.OperationCase
getOperationCase()
java.lang.String
getRemove()
Remove operation: The batch job must not have been run.com.google.protobuf.ByteString
getRemoveBytes()
Remove operation: The batch job must not have been run.boolean
hasCreate()
Create operation: No resource name is expected for the new batch job.boolean
hasRemove()
Remove operation: The batch job must not have been run.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BatchJobOperation.Builder
mergeCreate(BatchJob value)
Create operation: No resource name is expected for the new batch job.BatchJobOperation.Builder
mergeFrom(BatchJobOperation other)
BatchJobOperation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BatchJobOperation.Builder
mergeFrom(com.google.protobuf.Message other)
BatchJobOperation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BatchJobOperation.Builder
setCreate(BatchJob value)
Create operation: No resource name is expected for the new batch job.BatchJobOperation.Builder
setCreate(BatchJob.Builder builderForValue)
Create operation: No resource name is expected for the new batch job.BatchJobOperation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BatchJobOperation.Builder
setRemove(java.lang.String value)
Remove operation: The batch job must not have been run.BatchJobOperation.Builder
setRemoveBytes(com.google.protobuf.ByteString value)
Remove operation: The batch job must not have been run.BatchJobOperation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
BatchJobOperation.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<BatchJobOperation.Builder>
-
clear
public BatchJobOperation.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<BatchJobOperation.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<BatchJobOperation.Builder>
-
getDefaultInstanceForType
public BatchJobOperation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchJobOperation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchJobOperation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchJobOperation.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<BatchJobOperation.Builder>
-
setField
public BatchJobOperation.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<BatchJobOperation.Builder>
-
clearField
public BatchJobOperation.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<BatchJobOperation.Builder>
-
clearOneof
public BatchJobOperation.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<BatchJobOperation.Builder>
-
setRepeatedField
public BatchJobOperation.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<BatchJobOperation.Builder>
-
addRepeatedField
public BatchJobOperation.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<BatchJobOperation.Builder>
-
mergeFrom
public BatchJobOperation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchJobOperation.Builder>
-
mergeFrom
public BatchJobOperation.Builder mergeFrom(BatchJobOperation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchJobOperation.Builder>
-
mergeFrom
public BatchJobOperation.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<BatchJobOperation.Builder>
- Throws:
java.io.IOException
-
getOperationCase
public BatchJobOperation.OperationCase getOperationCase()
- Specified by:
getOperationCase
in interfaceBatchJobOperationOrBuilder
-
clearOperation
public BatchJobOperation.Builder clearOperation()
-
hasCreate
public boolean hasCreate()
Create operation: No resource name is expected for the new batch job.
.google.ads.googleads.v13.resources.BatchJob create = 1;
- Specified by:
hasCreate
in interfaceBatchJobOperationOrBuilder
- Returns:
- Whether the create field is set.
-
getCreate
public BatchJob getCreate()
Create operation: No resource name is expected for the new batch job.
.google.ads.googleads.v13.resources.BatchJob create = 1;
- Specified by:
getCreate
in interfaceBatchJobOperationOrBuilder
- Returns:
- The create.
-
setCreate
public BatchJobOperation.Builder setCreate(BatchJob value)
Create operation: No resource name is expected for the new batch job.
.google.ads.googleads.v13.resources.BatchJob create = 1;
-
setCreate
public BatchJobOperation.Builder setCreate(BatchJob.Builder builderForValue)
Create operation: No resource name is expected for the new batch job.
.google.ads.googleads.v13.resources.BatchJob create = 1;
-
mergeCreate
public BatchJobOperation.Builder mergeCreate(BatchJob value)
Create operation: No resource name is expected for the new batch job.
.google.ads.googleads.v13.resources.BatchJob create = 1;
-
clearCreate
public BatchJobOperation.Builder clearCreate()
Create operation: No resource name is expected for the new batch job.
.google.ads.googleads.v13.resources.BatchJob create = 1;
-
getCreateBuilder
public BatchJob.Builder getCreateBuilder()
Create operation: No resource name is expected for the new batch job.
.google.ads.googleads.v13.resources.BatchJob create = 1;
-
getCreateOrBuilder
public BatchJobOrBuilder getCreateOrBuilder()
Create operation: No resource name is expected for the new batch job.
.google.ads.googleads.v13.resources.BatchJob create = 1;
- Specified by:
getCreateOrBuilder
in interfaceBatchJobOperationOrBuilder
-
hasRemove
public boolean hasRemove()
Remove operation: The batch job must not have been run. A resource name for the removed batch job is expected, in this format: `customers/{customer_id}/batchJobs/{batch_job_id}`
string remove = 4 [(.google.api.resource_reference) = { ... }
- Specified by:
hasRemove
in interfaceBatchJobOperationOrBuilder
- Returns:
- Whether the remove field is set.
-
getRemove
public java.lang.String getRemove()
Remove operation: The batch job must not have been run. A resource name for the removed batch job is expected, in this format: `customers/{customer_id}/batchJobs/{batch_job_id}`
string remove = 4 [(.google.api.resource_reference) = { ... }
- Specified by:
getRemove
in interfaceBatchJobOperationOrBuilder
- Returns:
- The remove.
-
getRemoveBytes
public com.google.protobuf.ByteString getRemoveBytes()
Remove operation: The batch job must not have been run. A resource name for the removed batch job is expected, in this format: `customers/{customer_id}/batchJobs/{batch_job_id}`
string remove = 4 [(.google.api.resource_reference) = { ... }
- Specified by:
getRemoveBytes
in interfaceBatchJobOperationOrBuilder
- Returns:
- The bytes for remove.
-
setRemove
public BatchJobOperation.Builder setRemove(java.lang.String value)
Remove operation: The batch job must not have been run. A resource name for the removed batch job is expected, in this format: `customers/{customer_id}/batchJobs/{batch_job_id}`
string remove = 4 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The remove to set.- Returns:
- This builder for chaining.
-
clearRemove
public BatchJobOperation.Builder clearRemove()
Remove operation: The batch job must not have been run. A resource name for the removed batch job is expected, in this format: `customers/{customer_id}/batchJobs/{batch_job_id}`
string remove = 4 [(.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setRemoveBytes
public BatchJobOperation.Builder setRemoveBytes(com.google.protobuf.ByteString value)
Remove operation: The batch job must not have been run. A resource name for the removed batch job is expected, in this format: `customers/{customer_id}/batchJobs/{batch_job_id}`
string remove = 4 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for remove to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchJobOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchJobOperation.Builder>
-
mergeUnknownFields
public final BatchJobOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchJobOperation.Builder>
-
-