Interface EstablishPeeringRequestOrBuilder (0.34.0)

public interface EstablishPeeringRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

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 = 2 [(.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 = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for peerClusterName.

getPeerIpAddresses(int index)

public abstract String getPeerIpAddresses(int index)

Optional. List of IPv4 ip addresses to be used for peering.

repeated string peer_ip_addresses = 4 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. List of IPv4 ip addresses to be used for peering.

repeated string peer_ip_addresses = 4 [(.google.api.field_behavior) = OPTIONAL];

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()

Optional. List of IPv4 ip addresses to be used for peering.

repeated string peer_ip_addresses = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of peerIpAddresses.

getPeerIpAddressesList()

public abstract List<String> getPeerIpAddressesList()

Optional. List of IPv4 ip addresses to be used for peering.

repeated string peer_ip_addresses = 4 [(.google.api.field_behavior) = OPTIONAL];

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 = 3 [(.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 = 3 [(.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for peerVolumeName.