Interface PreconditionOrBuilder

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

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

    Modifier and Type
    Method
    Description
     
    boolean
    When set to `true`, the target document must exist.
    com.google.protobuf.Timestamp
    When set, the target document must exist and have been last updated at that time.
    com.google.protobuf.TimestampOrBuilder
    When set, the target document must exist and have been last updated at that time.
    boolean
    When set to `true`, the target document must exist.
    boolean
    When set, the target document must exist and have been last updated at that time.

    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

    • hasExists

      boolean hasExists()
       When set to `true`, the target document must exist.
       When set to `false`, the target document must not exist.
       
      bool exists = 1;
      Returns:
      Whether the exists field is set.
    • getExists

      boolean getExists()
       When set to `true`, the target document must exist.
       When set to `false`, the target document must not exist.
       
      bool exists = 1;
      Returns:
      The exists.
    • hasUpdateTime

      boolean hasUpdateTime()
       When set, the target document must exist and have been last updated at
       that time. Timestamp must be microsecond aligned.
       
      .google.protobuf.Timestamp update_time = 2;
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       When set, the target document must exist and have been last updated at
       that time. Timestamp must be microsecond aligned.
       
      .google.protobuf.Timestamp update_time = 2;
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       When set, the target document must exist and have been last updated at
       that time. Timestamp must be microsecond aligned.
       
      .google.protobuf.Timestamp update_time = 2;
    • getConditionTypeCase

      Precondition.ConditionTypeCase getConditionTypeCase()