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

    Modifier and Type
    Method
    Description
    boolean
    The client-assigned labels which were provided when the operation was created.
    com.google.protobuf.Timestamp
    The time the operation ended, either successfully or otherwise.
    com.google.protobuf.TimestampOrBuilder
    The time the operation ended, either successfully or otherwise.
    Deprecated.
    int
    The client-assigned labels which were provided when the operation was created.
    The client-assigned labels which were provided when the operation was created.
    getLabelsOrDefault(String key, String defaultValue)
    The client-assigned labels which were provided when the operation was created.
    The client-assigned labels which were provided when the operation was created.
    The type of the operation.
    int
    The type of the operation.
    com.google.protobuf.Timestamp
    The time that work began on the operation.
    com.google.protobuf.TimestampOrBuilder
    The time that work began on the operation.
    The current state of the Operation.
    int
    The current state of the Operation.
    boolean
    The time the operation ended, either successfully or otherwise.
    boolean
    The time that work began on the operation.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.
      Use getLabelsMap() 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

       The current state of the Operation.
       
      .google.datastore.admin.v1.CommonMetadata.State state = 5;
      Returns:
      The state.