Class BatchJob.BatchJobMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchJob.BatchJobMetadata.Builder>
-
- com.google.ads.googleads.v10.resources.BatchJob.BatchJobMetadata.Builder
-
- All Implemented Interfaces:
BatchJob.BatchJobMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BatchJob.BatchJobMetadata
public static final class BatchJob.BatchJobMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchJob.BatchJobMetadata.Builder> implements BatchJob.BatchJobMetadataOrBuilder
Additional information about the batch job. This message is also used as metadata returned in batch job Long Running Operations.
Protobuf typegoogle.ads.googleads.v10.resources.BatchJob.BatchJobMetadata
-
-
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<BatchJob.BatchJobMetadata.Builder>
-
clear
public BatchJob.BatchJobMetadata.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<BatchJob.BatchJobMetadata.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<BatchJob.BatchJobMetadata.Builder>
-
getDefaultInstanceForType
public BatchJob.BatchJobMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchJob.BatchJobMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchJob.BatchJobMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchJob.BatchJobMetadata.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<BatchJob.BatchJobMetadata.Builder>
-
setField
public BatchJob.BatchJobMetadata.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<BatchJob.BatchJobMetadata.Builder>
-
clearField
public BatchJob.BatchJobMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchJob.BatchJobMetadata.Builder>
-
clearOneof
public BatchJob.BatchJobMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchJob.BatchJobMetadata.Builder>
-
setRepeatedField
public BatchJob.BatchJobMetadata.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<BatchJob.BatchJobMetadata.Builder>
-
addRepeatedField
public BatchJob.BatchJobMetadata.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<BatchJob.BatchJobMetadata.Builder>
-
mergeFrom
public BatchJob.BatchJobMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchJob.BatchJobMetadata.Builder>
-
mergeFrom
public BatchJob.BatchJobMetadata.Builder mergeFrom(BatchJob.BatchJobMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchJob.BatchJobMetadata.Builder>
-
mergeFrom
public BatchJob.BatchJobMetadata.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<BatchJob.BatchJobMetadata.Builder>- Throws:
java.io.IOException
-
hasCreationDateTime
public boolean hasCreationDateTime()
Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00"
optional string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreationDateTimein interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- Whether the creationDateTime field is set.
-
getCreationDateTime
public java.lang.String getCreationDateTime()
Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00"
optional string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationDateTimein interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The creationDateTime.
-
getCreationDateTimeBytes
public com.google.protobuf.ByteString getCreationDateTimeBytes()
Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00"
optional string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationDateTimeBytesin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The bytes for creationDateTime.
-
setCreationDateTime
public BatchJob.BatchJobMetadata.Builder setCreationDateTime(java.lang.String value)
Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00"
optional string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The creationDateTime to set.- Returns:
- This builder for chaining.
-
clearCreationDateTime
public BatchJob.BatchJobMetadata.Builder clearCreationDateTime()
Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00"
optional string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCreationDateTimeBytes
public BatchJob.BatchJobMetadata.Builder setCreationDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00"
optional string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for creationDateTime to set.- Returns:
- This builder for chaining.
-
hasStartDateTime
public boolean hasStartDateTime()
Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30"
optional string start_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartDateTimein interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- Whether the startDateTime field is set.
-
getStartDateTime
public java.lang.String getStartDateTime()
Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30"
optional string start_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartDateTimein interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The startDateTime.
-
getStartDateTimeBytes
public com.google.protobuf.ByteString getStartDateTimeBytes()
Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30"
optional string start_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartDateTimeBytesin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The bytes for startDateTime.
-
setStartDateTime
public BatchJob.BatchJobMetadata.Builder setStartDateTime(java.lang.String value)
Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30"
optional string start_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The startDateTime to set.- Returns:
- This builder for chaining.
-
clearStartDateTime
public BatchJob.BatchJobMetadata.Builder clearStartDateTime()
Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30"
optional string start_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStartDateTimeBytes
public BatchJob.BatchJobMetadata.Builder setStartDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30"
optional string start_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for startDateTime to set.- Returns:
- This builder for chaining.
-
hasCompletionDateTime
public boolean hasCompletionDateTime()
Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00"
optional string completion_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCompletionDateTimein interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- Whether the completionDateTime field is set.
-
getCompletionDateTime
public java.lang.String getCompletionDateTime()
Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00"
optional string completion_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompletionDateTimein interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The completionDateTime.
-
getCompletionDateTimeBytes
public com.google.protobuf.ByteString getCompletionDateTimeBytes()
Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00"
optional string completion_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompletionDateTimeBytesin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The bytes for completionDateTime.
-
setCompletionDateTime
public BatchJob.BatchJobMetadata.Builder setCompletionDateTime(java.lang.String value)
Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00"
optional string completion_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The completionDateTime to set.- Returns:
- This builder for chaining.
-
clearCompletionDateTime
public BatchJob.BatchJobMetadata.Builder clearCompletionDateTime()
Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00"
optional string completion_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCompletionDateTimeBytes
public BatchJob.BatchJobMetadata.Builder setCompletionDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00"
optional string completion_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for completionDateTime to set.- Returns:
- This builder for chaining.
-
hasEstimatedCompletionRatio
public boolean hasEstimatedCompletionRatio()
Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. This is empty if the job hasn't started running yet.
optional double estimated_completion_ratio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEstimatedCompletionRatioin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- Whether the estimatedCompletionRatio field is set.
-
getEstimatedCompletionRatio
public double getEstimatedCompletionRatio()
Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. This is empty if the job hasn't started running yet.
optional double estimated_completion_ratio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEstimatedCompletionRatioin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The estimatedCompletionRatio.
-
setEstimatedCompletionRatio
public BatchJob.BatchJobMetadata.Builder setEstimatedCompletionRatio(double value)
Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. This is empty if the job hasn't started running yet.
optional double estimated_completion_ratio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The estimatedCompletionRatio to set.- Returns:
- This builder for chaining.
-
clearEstimatedCompletionRatio
public BatchJob.BatchJobMetadata.Builder clearEstimatedCompletionRatio()
Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. This is empty if the job hasn't started running yet.
optional double estimated_completion_ratio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasOperationCount
public boolean hasOperationCount()
Output only. The number of mutate operations in the batch job.
optional int64 operation_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasOperationCountin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- Whether the operationCount field is set.
-
getOperationCount
public long getOperationCount()
Output only. The number of mutate operations in the batch job.
optional int64 operation_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOperationCountin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The operationCount.
-
setOperationCount
public BatchJob.BatchJobMetadata.Builder setOperationCount(long value)
Output only. The number of mutate operations in the batch job.
optional int64 operation_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The operationCount to set.- Returns:
- This builder for chaining.
-
clearOperationCount
public BatchJob.BatchJobMetadata.Builder clearOperationCount()
Output only. The number of mutate operations in the batch job.
optional int64 operation_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasExecutedOperationCount
public boolean hasExecutedOperationCount()
Output only. The number of mutate operations executed by the batch job. Present only if the job has started running.
optional int64 executed_operation_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasExecutedOperationCountin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- Whether the executedOperationCount field is set.
-
getExecutedOperationCount
public long getExecutedOperationCount()
Output only. The number of mutate operations executed by the batch job. Present only if the job has started running.
optional int64 executed_operation_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutedOperationCountin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The executedOperationCount.
-
setExecutedOperationCount
public BatchJob.BatchJobMetadata.Builder setExecutedOperationCount(long value)
Output only. The number of mutate operations executed by the batch job. Present only if the job has started running.
optional int64 executed_operation_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The executedOperationCount to set.- Returns:
- This builder for chaining.
-
clearExecutedOperationCount
public BatchJob.BatchJobMetadata.Builder clearExecutedOperationCount()
Output only. The number of mutate operations executed by the batch job. Present only if the job has started running.
optional int64 executed_operation_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchJob.BatchJobMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchJob.BatchJobMetadata.Builder>
-
mergeUnknownFields
public final BatchJob.BatchJobMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchJob.BatchJobMetadata.Builder>
-
-