Interface ReplicaSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReplicaSpec,ReplicaSpec.Builder
@Generated(value="protoc",
comments="annotations:ReplicaSpecOrBuilder.java.pb.meta")
public interface ReplicaSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the region where the replica should be placed.com.google.protobuf.ByteStringThe id of the region where the replica should be placed.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
-
getRegion
String getRegion()The id of the region where the replica should be placed. The GetRegions API can be used to get the list of valid region ids. All the replicas must adhere to the region's max_in_region_replicas limit and connectable_region_ids. Required. Immutable. Example: "aws-us-west-2".
string region = 1;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()The id of the region where the replica should be placed. The GetRegions API can be used to get the list of valid region ids. All the replicas must adhere to the region's max_in_region_replicas limit and connectable_region_ids. Required. Immutable. Example: "aws-us-west-2".
string region = 1;- Returns:
- The bytes for region.
-