Class BatchJob.BatchJobMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BatchJob.BatchJobMetadata.Builder>
com.google.ads.googleads.v18.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,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 type
google.ads.googleads.v18.resources.BatchJob.BatchJobMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Output only.Output only.Output only.Immutable.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.clone()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleOutput only.longOutput only.intImmutable.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanImmutable.booleanOutput only.booleanOutput only.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) setCompletionDateTime(String value) Output only.setCompletionDateTimeBytes(com.google.protobuf.ByteString value) Output only.setCreationDateTime(String value) Output only.setCreationDateTimeBytes(com.google.protobuf.ByteString value) Output only.setEstimatedCompletionRatio(double value) Output only.setExecutedOperationCount(long value) Output only.setExecutionLimitSeconds(int value) Immutable.setOperationCount(long value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartDateTime(String value) Output only.setStartDateTimeBytes(com.google.protobuf.ByteString value) Output only.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<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
- 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<BatchJob.BatchJobMetadata.Builder>
-
setField
public BatchJob.BatchJobMetadata.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<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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchJob.BatchJobMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchJob.BatchJobMetadata.Builder>
-
mergeFrom
-
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 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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
-
hasExecutionLimitSeconds
public boolean hasExecutionLimitSeconds()Immutable. The approximate upper bound for how long a batch job can be executed, in seconds. If the job runs more than the given upper bound, the job will be canceled.
optional int32 execution_limit_seconds = 13 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasExecutionLimitSecondsin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- Whether the executionLimitSeconds field is set.
-
getExecutionLimitSeconds
public int getExecutionLimitSeconds()Immutable. The approximate upper bound for how long a batch job can be executed, in seconds. If the job runs more than the given upper bound, the job will be canceled.
optional int32 execution_limit_seconds = 13 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExecutionLimitSecondsin interfaceBatchJob.BatchJobMetadataOrBuilder- Returns:
- The executionLimitSeconds.
-
setExecutionLimitSeconds
Immutable. The approximate upper bound for how long a batch job can be executed, in seconds. If the job runs more than the given upper bound, the job will be canceled.
optional int32 execution_limit_seconds = 13 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The executionLimitSeconds to set.- Returns:
- This builder for chaining.
-
clearExecutionLimitSeconds
Immutable. The approximate upper bound for how long a batch job can be executed, in seconds. If the job runs more than the given upper bound, the job will be canceled.
optional int32 execution_limit_seconds = 13 [(.google.api.field_behavior) = IMMUTABLE];- 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>
-