Class BatchJob.BatchJobMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.BatchJob.BatchJobMetadata
- All Implemented Interfaces:
BatchJob.BatchJobMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- BatchJob
public static final class BatchJob.BatchJobMetadata
extends com.google.protobuf.GeneratedMessageV3
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAdditional information about the batch job.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.static BatchJob.BatchJobMetadatastatic final com.google.protobuf.Descriptors.DescriptordoubleOutput only.longOutput only.intImmutable.longOutput only.com.google.protobuf.Parser<BatchJob.BatchJobMetadata>intOutput only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanImmutable.inthashCode()booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(BatchJob.BatchJobMetadata prototype) protected BatchJob.BatchJobMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static BatchJob.BatchJobMetadataparseDelimitedFrom(InputStream input) static BatchJob.BatchJobMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchJob.BatchJobMetadataparseFrom(byte[] data) static BatchJob.BatchJobMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchJob.BatchJobMetadataparseFrom(com.google.protobuf.ByteString data) static BatchJob.BatchJobMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchJob.BatchJobMetadataparseFrom(com.google.protobuf.CodedInputStream input) static BatchJob.BatchJobMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchJob.BatchJobMetadataparseFrom(InputStream input) static BatchJob.BatchJobMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BatchJob.BatchJobMetadataparseFrom(ByteBuffer data) static BatchJob.BatchJobMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BatchJob.BatchJobMetadata>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CREATION_DATE_TIME_FIELD_NUMBER
public static final int CREATION_DATE_TIME_FIELD_NUMBER- See Also:
-
START_DATE_TIME_FIELD_NUMBER
public static final int START_DATE_TIME_FIELD_NUMBER- See Also:
-
COMPLETION_DATE_TIME_FIELD_NUMBER
public static final int COMPLETION_DATE_TIME_FIELD_NUMBER- See Also:
-
ESTIMATED_COMPLETION_RATIO_FIELD_NUMBER
public static final int ESTIMATED_COMPLETION_RATIO_FIELD_NUMBER- See Also:
-
OPERATION_COUNT_FIELD_NUMBER
public static final int OPERATION_COUNT_FIELD_NUMBER- See Also:
-
EXECUTED_OPERATION_COUNT_FIELD_NUMBER
public static final int EXECUTED_OPERATION_COUNT_FIELD_NUMBER- See Also:
-
EXECUTION_LIMIT_SECONDS_FIELD_NUMBER
public static final int EXECUTION_LIMIT_SECONDS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BatchJob.BatchJobMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchJob.BatchJobMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchJob.BatchJobMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchJob.BatchJobMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchJob.BatchJobMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchJob.BatchJobMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BatchJob.BatchJobMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BatchJob.BatchJobMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BatchJob.BatchJobMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BatchJob.BatchJobMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BatchJob.BatchJobMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-