Interface OperationMetadataOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    OperationMetadata, OperationMetadata.Builder

    public interface OperationMetadataOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Timestamp getCreateTime()
      The time when the batch request was received.
      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
      The time when the batch request was received.
      OperationMetadata.State getState()
      Current state of the batch operation.
      int getStateValue()
      Current state of the batch operation.
      com.google.protobuf.Timestamp getUpdateTime()
      The time when the operation result was last updated.
      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
      The time when the operation result was last updated.
      boolean hasCreateTime()
      The time when the batch request was received.
      boolean hasUpdateTime()
      The time when the operation result was last updated.
      • 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 Detail

      • getStateValue

        int getStateValue()
         Current state of the batch operation.
         
        .google.cloud.vision.v1.OperationMetadata.State state = 1;
        Returns:
        The enum numeric value on the wire for state.
      • getState

        OperationMetadata.State getState()
         Current state of the batch operation.
         
        .google.cloud.vision.v1.OperationMetadata.State state = 1;
        Returns:
        The state.
      • hasCreateTime

        boolean hasCreateTime()
         The time when the batch request was received.
         
        .google.protobuf.Timestamp create_time = 5;
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         The time when the batch request was received.
         
        .google.protobuf.Timestamp create_time = 5;
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The time when the batch request was received.
         
        .google.protobuf.Timestamp create_time = 5;
      • hasUpdateTime

        boolean hasUpdateTime()
         The time when the operation result was last updated.
         
        .google.protobuf.Timestamp update_time = 6;
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         The time when the operation result was last updated.
         
        .google.protobuf.Timestamp update_time = 6;
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         The time when the operation result was last updated.
         
        .google.protobuf.Timestamp update_time = 6;