public interface CommonMetadataOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract 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;
Name | Description |
key | String |
Type | Description |
boolean |
getEndTime()
public abstract Timestamp getEndTime()
The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
Timestamp | The endTime. |
getEndTimeOrBuilder()
public abstract TimestampOrBuilder getEndTimeOrBuilder()
The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
TimestampOrBuilder |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
Type | Description |
int |
getLabelsMap()
public abstract 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;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract 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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract 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;
Name | Description |
key | String |
Type | Description |
String |
getOperationType()
public abstract OperationType getOperationType()
The type of the operation. Can be used as a filter in ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;
Type | Description |
OperationType | The operationType. |
getOperationTypeValue()
public abstract int getOperationTypeValue()
The type of the operation. Can be used as a filter in ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;
Type | Description |
int | The enum numeric value on the wire for operationType. |
getStartTime()
public abstract Timestamp getStartTime()
The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Timestamp | The startTime. |
getStartTimeOrBuilder()
public abstract TimestampOrBuilder getStartTimeOrBuilder()
The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
TimestampOrBuilder |
getState()
public abstract CommonMetadata.State getState()
The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;
Type | Description |
CommonMetadata.State | The state. |
getStateValue()
public abstract int getStateValue()
The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;
Type | Description |
int | The enum numeric value on the wire for state. |
hasEndTime()
public abstract boolean hasEndTime()
The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
boolean | Whether the endTime field is set. |
hasStartTime()
public abstract boolean hasStartTime()
The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
boolean | Whether the startTime field is set. |