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 TypeMethodDescriptiongRPC address.com.google.protobuf.ByteStringgRPC address.Id of the cluster.com.google.protobuf.ByteStringId of the cluster.Name of the cluster name.com.google.protobuf.ByteStringName of the cluster name.intHistory service shard number.HTTP address, if one exists.com.google.protobuf.ByteStringHTTP address, if one exists.longA unique failover version across all connected clusters.booleanA flag to indicate if a connection is active.booleanA flag to indicate if replication is enabled.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
-
getClusterIdBytes
com.google.protobuf.ByteString getClusterIdBytes()Id of the cluster.
string cluster_id = 2;- Returns:
- The bytes for clusterId.
-
getAddress
-
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.
-