public interface HybridReplicationParametersOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Optional. Labels to be added to the replication as the key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getClusterLocation()
public abstract String getClusterLocation()
Optional. Name of source cluster location associated with the Hybrid replication. This is a free-form field for the display purpose only.
string cluster_location = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The clusterLocation. |
getClusterLocationBytes()
public abstract ByteString getClusterLocationBytes()
Optional. Name of source cluster location associated with the Hybrid replication. This is a free-form field for the display purpose only.
string cluster_location = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for clusterLocation. |
getDescription()
public abstract String getDescription()
Optional. Description of the replication.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Optional. Description of the replication.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Optional. Labels to be added to the replication as the key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Optional. Labels to be added to the replication as the key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels to be added to the replication as the key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Optional. Labels to be added to the replication as the key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getPeerClusterName()
public abstract String getPeerClusterName()
Required. Name of the user's local source cluster to be peered with the destination cluster.
string peer_cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The peerClusterName. |
getPeerClusterNameBytes()
public abstract ByteString getPeerClusterNameBytes()
Required. Name of the user's local source cluster to be peered with the destination cluster.
string peer_cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for peerClusterName. |
getPeerIpAddresses(int index)
public abstract String getPeerIpAddresses(int index)
Required. List of node ip addresses to be peered with.
repeated string peer_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The peerIpAddresses at the given index. |
getPeerIpAddressesBytes(int index)
public abstract ByteString getPeerIpAddressesBytes(int index)
Required. List of node ip addresses to be peered with.
repeated string peer_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the peerIpAddresses at the given index. |
getPeerIpAddressesCount()
public abstract int getPeerIpAddressesCount()
Required. List of node ip addresses to be peered with.
repeated string peer_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The count of peerIpAddresses. |
getPeerIpAddressesList()
public abstract List<String> getPeerIpAddressesList()
Required. List of node ip addresses to be peered with.
repeated string peer_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the peerIpAddresses. |
getPeerSvmName()
public abstract String getPeerSvmName()
Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.
string peer_svm_name = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The peerSvmName. |
getPeerSvmNameBytes()
public abstract ByteString getPeerSvmNameBytes()
Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.
string peer_svm_name = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for peerSvmName. |
getPeerVolumeName()
public abstract String getPeerVolumeName()
Required. Name of the user's local source volume to be peered with the destination volume.
string peer_volume_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The peerVolumeName. |
getPeerVolumeNameBytes()
public abstract ByteString getPeerVolumeNameBytes()
Required. Name of the user's local source volume to be peered with the destination volume.
string peer_volume_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for peerVolumeName. |
getReplication()
public abstract String getReplication()
Required. Desired Identifier (name) of the replication which will be created for this volume.
Format:
projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}
string replication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The replication. |
getReplicationBytes()
public abstract ByteString getReplicationBytes()
Required. Desired Identifier (name) of the replication which will be created for this volume.
Format:
projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}
string replication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for replication. |