Interface AppProfile.SingleClusterRoutingOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AppProfile.SingleClusterRouting, AppProfile.SingleClusterRouting.Builder
Enclosing class:
AppProfile

public static interface AppProfile.SingleClusterRoutingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile.
    The cluster to which read/write requests should be routed.
    com.google.protobuf.ByteString
    The cluster to which read/write requests should be routed.

    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

    • getClusterId

      String getClusterId()
       The cluster to which read/write requests should be routed.
       
      string cluster_id = 1;
      Returns:
      The clusterId.
    • getClusterIdBytes

      com.google.protobuf.ByteString getClusterIdBytes()
       The cluster to which read/write requests should be routed.
       
      string cluster_id = 1;
      Returns:
      The bytes for clusterId.
    • getAllowTransactionalWrites

      boolean getAllowTransactionalWrites()
       Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
       allowed by this app profile. It is unsafe to send these requests to
       the same table/row/column in multiple clusters.
       
      bool allow_transactional_writes = 2;
      Returns:
      The allowTransactionalWrites.