Interface CommonMetadataOrBuilder (2.24.3)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface CommonMetadataOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
publicabstractbooleancontainsLabels(Stringkey)The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getEndTime()
publicabstractTimestampgetEndTime()The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeOrBuilder()
publicabstractTimestampOrBuildergetEndTimeOrBuilder()The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getLabels() (deprecated)
publicabstractMap<String,String>getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
publicabstractintgetLabelsCount()The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
publicabstractMap<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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
publicabstractStringgetLabelsOrDefault(Stringkey,StringdefaultValue)The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
publicabstractStringgetLabelsOrThrow(Stringkey)The client-assigned labels which were provided when the operation was created. May also include additional labels.
map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getOperationType()
publicabstractOperationTypegetOperationType()The type of the operation. Can be used as a filter in ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;
| Returns | |
|---|---|
| Type | Description |
OperationType |
The operationType. |
getOperationTypeValue()
publicabstractintgetOperationTypeValue()The type of the operation. Can be used as a filter in ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for operationType. |
getStartTime()
publicabstractTimestampgetStartTime()The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeOrBuilder()
publicabstractTimestampOrBuildergetStartTimeOrBuilder()The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getState()
publicabstractCommonMetadata.StategetState()The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;
| Returns | |
|---|---|
| Type | Description |
CommonMetadata.State |
The state. |
getStateValue()
publicabstractintgetStateValue()The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
hasEndTime()
publicabstractbooleanhasEndTime()The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasStartTime()
publicabstractbooleanhasStartTime()The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |