Class CheckConsistencyRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.admin.v2.CheckConsistencyRequest
All Implemented Interfaces:
CheckConsistencyRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class CheckConsistencyRequest extends com.google.protobuf.GeneratedMessageV3 implements CheckConsistencyRequestOrBuilder
 Request message for
 [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
 
Protobuf type google.bigtable.admin.v2.CheckConsistencyRequest
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CONSISTENCY_TOKEN_FIELD_NUMBER

      public static final int CONSISTENCY_TOKEN_FIELD_NUMBER
      See Also:
    • STANDARD_READ_REMOTE_WRITES_FIELD_NUMBER

      public static final int STANDARD_READ_REMOTE_WRITES_FIELD_NUMBER
      See Also:
    • DATA_BOOST_READ_LOCAL_WRITES_FIELD_NUMBER

      public static final int DATA_BOOST_READ_LOCAL_WRITES_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getModeCase

      public CheckConsistencyRequest.ModeCase getModeCase()
      Specified by:
      getModeCase in interface CheckConsistencyRequestOrBuilder
    • getName

      public String getName()
       Required. The unique name of the Table for which to check replication
       consistency. Values are of the form
       `projects/{project}/instances/{instance}/tables/{table}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface CheckConsistencyRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The unique name of the Table for which to check replication
       consistency. Values are of the form
       `projects/{project}/instances/{instance}/tables/{table}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface CheckConsistencyRequestOrBuilder
      Returns:
      The bytes for name.
    • getConsistencyToken

      public String getConsistencyToken()
       Required. The token created using GenerateConsistencyToken for the Table.
       
      string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getConsistencyToken in interface CheckConsistencyRequestOrBuilder
      Returns:
      The consistencyToken.
    • getConsistencyTokenBytes

      public com.google.protobuf.ByteString getConsistencyTokenBytes()
       Required. The token created using GenerateConsistencyToken for the Table.
       
      string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getConsistencyTokenBytes in interface CheckConsistencyRequestOrBuilder
      Returns:
      The bytes for consistencyToken.
    • hasStandardReadRemoteWrites

      public boolean hasStandardReadRemoteWrites()
       Checks that reads using an app profile with `StandardIsolation` can
       see all writes committed before the token was created, even if the
       read and write target different clusters.
       
      .google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3;
      Specified by:
      hasStandardReadRemoteWrites in interface CheckConsistencyRequestOrBuilder
      Returns:
      Whether the standardReadRemoteWrites field is set.
    • getStandardReadRemoteWrites

      public StandardReadRemoteWrites getStandardReadRemoteWrites()
       Checks that reads using an app profile with `StandardIsolation` can
       see all writes committed before the token was created, even if the
       read and write target different clusters.
       
      .google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3;
      Specified by:
      getStandardReadRemoteWrites in interface CheckConsistencyRequestOrBuilder
      Returns:
      The standardReadRemoteWrites.
    • getStandardReadRemoteWritesOrBuilder

      public StandardReadRemoteWritesOrBuilder getStandardReadRemoteWritesOrBuilder()
       Checks that reads using an app profile with `StandardIsolation` can
       see all writes committed before the token was created, even if the
       read and write target different clusters.
       
      .google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3;
      Specified by:
      getStandardReadRemoteWritesOrBuilder in interface CheckConsistencyRequestOrBuilder
    • hasDataBoostReadLocalWrites

      public boolean hasDataBoostReadLocalWrites()
       Checks that reads using an app profile with `DataBoostIsolationReadOnly`
       can see all writes committed before the token was created, but only if
       the read and write target the same cluster.
       
      .google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4;
      Specified by:
      hasDataBoostReadLocalWrites in interface CheckConsistencyRequestOrBuilder
      Returns:
      Whether the dataBoostReadLocalWrites field is set.
    • getDataBoostReadLocalWrites

      public DataBoostReadLocalWrites getDataBoostReadLocalWrites()
       Checks that reads using an app profile with `DataBoostIsolationReadOnly`
       can see all writes committed before the token was created, but only if
       the read and write target the same cluster.
       
      .google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4;
      Specified by:
      getDataBoostReadLocalWrites in interface CheckConsistencyRequestOrBuilder
      Returns:
      The dataBoostReadLocalWrites.
    • getDataBoostReadLocalWritesOrBuilder

      public DataBoostReadLocalWritesOrBuilder getDataBoostReadLocalWritesOrBuilder()
       Checks that reads using an app profile with `DataBoostIsolationReadOnly`
       can see all writes committed before the token was created, but only if
       the read and write target the same cluster.
       
      .google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4;
      Specified by:
      getDataBoostReadLocalWritesOrBuilder in interface CheckConsistencyRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CheckConsistencyRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckConsistencyRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckConsistencyRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckConsistencyRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckConsistencyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckConsistencyRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckConsistencyRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CheckConsistencyRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CheckConsistencyRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CheckConsistencyRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CheckConsistencyRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CheckConsistencyRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CheckConsistencyRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CheckConsistencyRequest.Builder newBuilder()
    • newBuilder

      public static CheckConsistencyRequest.Builder newBuilder(CheckConsistencyRequest prototype)
    • toBuilder

      public CheckConsistencyRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CheckConsistencyRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static CheckConsistencyRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CheckConsistencyRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CheckConsistencyRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public CheckConsistencyRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder