Interface ClusterMetadataOrBuilder

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

@Generated(value="protoc", comments="annotations:ClusterMetadataOrBuilder.java.pb.meta") public interface ClusterMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    gRPC address.
    com.google.protobuf.ByteString
    gRPC address.
    Id of the cluster.
    com.google.protobuf.ByteString
    Id of the cluster.
    Name of the cluster name.
    com.google.protobuf.ByteString
    Name of the cluster name.
    int
    History service shard number.
    HTTP address, if one exists.
    com.google.protobuf.ByteString
    HTTP address, if one exists.
    long
    A unique failover version across all connected clusters.
    boolean
    A flag to indicate if a connection is active.
    boolean
    A flag to indicate if replication is enabled.

    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

    • getClusterName

      String getClusterName()
       Name of the cluster name.
       
      string cluster_name = 1;
      Returns:
      The clusterName.
    • getClusterNameBytes

      com.google.protobuf.ByteString getClusterNameBytes()
       Name of the cluster name.
       
      string cluster_name = 1;
      Returns:
      The bytes for clusterName.
    • getClusterId

      String getClusterId()
       Id of the cluster.
       
      string cluster_id = 2;
      Returns:
      The clusterId.
    • getClusterIdBytes

      com.google.protobuf.ByteString getClusterIdBytes()
       Id of the cluster.
       
      string cluster_id = 2;
      Returns:
      The bytes for clusterId.
    • getAddress

      String getAddress()
       gRPC address.
       
      string address = 3;
      Returns:
      The address.
    • getAddressBytes

      com.google.protobuf.ByteString getAddressBytes()
       gRPC address.
       
      string address = 3;
      Returns:
      The bytes for address.
    • getHttpAddress

      String getHttpAddress()
       HTTP address, if one exists.
       
      string http_address = 7;
      Returns:
      The httpAddress.
    • getHttpAddressBytes

      com.google.protobuf.ByteString getHttpAddressBytes()
       HTTP address, if one exists.
       
      string http_address = 7;
      Returns:
      The bytes for httpAddress.
    • getInitialFailoverVersion

      long getInitialFailoverVersion()
       A unique failover version across all connected clusters.
       
      int64 initial_failover_version = 4;
      Returns:
      The initialFailoverVersion.
    • getHistoryShardCount

      int getHistoryShardCount()
       History service shard number.
       
      int32 history_shard_count = 5;
      Returns:
      The historyShardCount.
    • getIsConnectionEnabled

      boolean getIsConnectionEnabled()
       A flag to indicate if a connection is active.
       
      bool is_connection_enabled = 6;
      Returns:
      The isConnectionEnabled.
    • getIsReplicationEnabled

      boolean getIsReplicationEnabled()
       A flag to indicate if replication is enabled.
       
      bool is_replication_enabled = 8;
      Returns:
      The isReplicationEnabled.