Package com.google.datastore.admin.v1
Interface CommonMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonMetadata,CommonMetadata.Builder
public interface CommonMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) The client-assigned labels which were provided when the operation was created.com.google.protobuf.TimestampThe time the operation ended, either successfully or otherwise.com.google.protobuf.TimestampOrBuilderThe time the operation ended, either successfully or otherwise.Deprecated.intThe client-assigned labels which were provided when the operation was created.The client-assigned labels which were provided when the operation was created.getLabelsOrDefault(String key, String defaultValue) The client-assigned labels which were provided when the operation was created.getLabelsOrThrow(String key) The client-assigned labels which were provided when the operation was created.The type of the operation.intThe type of the operation.com.google.protobuf.TimestampThe time that work began on the operation.com.google.protobuf.TimestampOrBuilderThe time that work began on the operation.getState()The current state of the Operation.intThe current state of the Operation.booleanThe time the operation ended, either successfully or otherwise.booleanThe time that work began on the operation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStartTime
boolean hasStartTime()The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1; -
hasEndTime
boolean hasEndTime()The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2; -
getOperationTypeValue
int getOperationTypeValue()The type of the operation. Can be used as a filter in ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;- Returns:
- The enum numeric value on the wire for operationType.
-
getOperationType
OperationType getOperationType()The type of the operation. Can be used as a filter in ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;- Returns:
- The operationType.
-
getLabelsCount
int getLabelsCount()The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4; -
containsLabels
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4; -
getLabelsOrDefault
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4; -
getLabelsOrThrow
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4; -
getStateValue
int getStateValue()The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;- Returns:
- The enum numeric value on the wire for state.
-
getState
CommonMetadata.State getState()The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;- Returns:
- The state.
-