public interface CommonMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsLabels(String key)
The client-assigned labels which were provided when the operation was
created.
|
com.google.protobuf.Timestamp |
getEndTime()
The time the operation ended, either successfully or otherwise.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The time the operation ended, either successfully or otherwise.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The client-assigned labels which were provided when the operation was
created.
|
Map<String,String> |
getLabelsMap()
The client-assigned labels which were provided when the operation was
created.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The client-assigned labels which were provided when the operation was
created.
|
String |
getLabelsOrThrow(String key)
The client-assigned labels which were provided when the operation was
created.
|
OperationType |
getOperationType()
The type of the operation.
|
int |
getOperationTypeValue()
The type of the operation.
|
com.google.protobuf.Timestamp |
getStartTime()
The time that work began on the operation.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The time that work began on the operation.
|
CommonMetadata.State |
getState()
The current state of the Operation.
|
int |
getStateValue()
The current state of the Operation.
|
boolean |
hasEndTime()
The time the operation ended, either successfully or otherwise.
|
boolean |
hasStartTime()
The time that work began on the operation.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasStartTime()
The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
com.google.protobuf.Timestamp getStartTime()
The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
boolean hasEndTime()
The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
com.google.protobuf.Timestamp getEndTime()
The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
int getOperationTypeValue()
The type of the operation. Can be used as a filter in ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;
OperationType getOperationType()
The type of the operation. Can be used as a filter in ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;
int getLabelsCount()
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
boolean containsLabels(String key)
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
@Deprecated Map<String,String> getLabels()
getLabelsMap()
instead.Map<String,String> getLabelsMap()
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
String getLabelsOrDefault(String key, String defaultValue)
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
String getLabelsOrThrow(String key)
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
int getStateValue()
The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;
CommonMetadata.State getState()
The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;
Copyright © 2023 Google LLC. All rights reserved.