Interface IdempotencyOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Client-assigned timestamp when the mutation's first attempt was sent.
    com.google.protobuf.TimestampOrBuilder
    Client-assigned timestamp when the mutation's first attempt was sent.
    com.google.protobuf.ByteString
    Unique token used to identify replays of this mutation.
    boolean
    Client-assigned timestamp when the mutation's first attempt was sent.

    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

    • getToken

      com.google.protobuf.ByteString getToken()
       Unique token used to identify replays of this mutation.
       Must be at least 8 bytes long.
       
      bytes token = 1;
      Returns:
      The token.
    • hasStartTime

      boolean hasStartTime()
       Client-assigned timestamp when the mutation's first attempt was sent.
       Used to reject mutations that arrive after idempotency protection may
       have expired. May cause spurious rejections if clock skew is too high.
      
       Leave unset or zero to always accept the mutation, at the risk of
       double counting if the protection for previous attempts has expired.
       
      .google.protobuf.Timestamp start_time = 2;
      Returns:
      Whether the startTime field is set.
    • getStartTime

      com.google.protobuf.Timestamp getStartTime()
       Client-assigned timestamp when the mutation's first attempt was sent.
       Used to reject mutations that arrive after idempotency protection may
       have expired. May cause spurious rejections if clock skew is too high.
      
       Leave unset or zero to always accept the mutation, at the risk of
       double counting if the protection for previous attempts has expired.
       
      .google.protobuf.Timestamp start_time = 2;
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Client-assigned timestamp when the mutation's first attempt was sent.
       Used to reject mutations that arrive after idempotency protection may
       have expired. May cause spurious rejections if clock skew is too high.
      
       Leave unset or zero to always accept the mutation, at the risk of
       double counting if the protection for previous attempts has expired.
       
      .google.protobuf.Timestamp start_time = 2;