Interface CommonMetadataOrBuilder (2.24.3)

public interface CommonMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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;

Parameter
Name Description
key String
Returns
Type Description
boolean

getEndTime()

public abstract Timestamp getEndTime()

The time the operation ended, either successfully or otherwise.

.google.protobuf.Timestamp end_time = 2;

Returns
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;

Returns
Type Description
TimestampOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
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;

Returns
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;

Returns
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;

Parameters
Name Description
key String
defaultValue String
Returns
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;

Parameter
Name Description
key String
Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

The time that work began on the operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getState()

public abstract CommonMetadata.State getState()

The current state of the Operation.

.google.datastore.admin.v1.CommonMetadata.State state = 5;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
boolean

Whether the startTime field is set.