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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)The client-assigned labels which were provided when the operation was created.com.google.protobuf.TimestampgetEndTime()The time the operation ended, either successfully or otherwise.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()The time the operation ended, either successfully or otherwise.Map<String,String>getLabels()Deprecated.intgetLabelsCount()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.StringgetLabelsOrDefault(String key, String defaultValue)The client-assigned labels which were provided when the operation was created.StringgetLabelsOrThrow(String key)The client-assigned labels which were provided when the operation was created.OperationTypegetOperationType()The type of the operation.intgetOperationTypeValue()The type of the operation.com.google.protobuf.TimestampgetStartTime()The time that work began on the operation.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()The time that work began on the operation.CommonMetadata.StategetState()The current state of the Operation.intgetStateValue()The current state of the Operation.booleanhasEndTime()The time the operation ended, either successfully or otherwise.booleanhasStartTime()The time that work began on the operation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
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;
-
getLabelsOrDefault
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;
-
getLabelsOrThrow
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;
-
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.
-
-