public static final class EstablishVolumePeeringRequest.Builder extends GeneratedMessage.Builder<EstablishVolumePeeringRequest.Builder> implements EstablishVolumePeeringRequestOrBuilderEstablishVolumePeeringRequest establishes cluster and svm peerings between the source and destination clusters.
Protobuf type google.cloud.netapp.v1.EstablishVolumePeeringRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EstablishVolumePeeringRequest.BuilderImplements
EstablishVolumePeeringRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPeerIpAddresses(Iterable<String> values)
public EstablishVolumePeeringRequest.Builder addAllPeerIpAddresses(Iterable<String> values)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 |
values |
Iterable<String>The peerIpAddresses to add. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
addPeerIpAddresses(String value)
public EstablishVolumePeeringRequest.Builder addPeerIpAddresses(String value)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 |
value |
StringThe peerIpAddresses to add. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
addPeerIpAddressesBytes(ByteString value)
public EstablishVolumePeeringRequest.Builder addPeerIpAddressesBytes(ByteString value)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 |
value |
ByteStringThe bytes of the peerIpAddresses to add. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
build()
public EstablishVolumePeeringRequest build()| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest |
|
buildPartial()
public EstablishVolumePeeringRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest |
|
clear()
public EstablishVolumePeeringRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
|
clearName()
public EstablishVolumePeeringRequest.Builder clearName() Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
clearPeerClusterName()
public EstablishVolumePeeringRequest.Builder clearPeerClusterName()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 |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
clearPeerIpAddresses()
public EstablishVolumePeeringRequest.Builder clearPeerIpAddresses()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 |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
clearPeerSvmName()
public EstablishVolumePeeringRequest.Builder clearPeerSvmName()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 |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
clearPeerVolumeName()
public EstablishVolumePeeringRequest.Builder clearPeerVolumeName()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 |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EstablishVolumePeeringRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPeerClusterName()
public 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 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 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The peerIpAddresses at the given index. |
getPeerIpAddressesBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the peerIpAddresses at the given index. |
getPeerIpAddressesCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the peerIpAddresses. |
getPeerSvmName()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EstablishVolumePeeringRequest other)
public EstablishVolumePeeringRequest.Builder mergeFrom(EstablishVolumePeeringRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
EstablishVolumePeeringRequest |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EstablishVolumePeeringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EstablishVolumePeeringRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
|
setName(String value)
public EstablishVolumePeeringRequest.Builder setName(String value) Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public EstablishVolumePeeringRequest.Builder setNameBytes(ByteString value) Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
setPeerClusterName(String value)
public EstablishVolumePeeringRequest.Builder setPeerClusterName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe peerClusterName to set. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
setPeerClusterNameBytes(ByteString value)
public EstablishVolumePeeringRequest.Builder setPeerClusterNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for peerClusterName to set. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
setPeerIpAddresses(int index, String value)
public EstablishVolumePeeringRequest.Builder setPeerIpAddresses(int index, String value)Optional. List of IPv4 ip addresses to be used for peering.
repeated string peer_ip_addresses = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe peerIpAddresses to set. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
setPeerSvmName(String value)
public EstablishVolumePeeringRequest.Builder setPeerSvmName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe peerSvmName to set. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
setPeerSvmNameBytes(ByteString value)
public EstablishVolumePeeringRequest.Builder setPeerSvmNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for peerSvmName to set. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
setPeerVolumeName(String value)
public EstablishVolumePeeringRequest.Builder setPeerVolumeName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe peerVolumeName to set. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |
setPeerVolumeNameBytes(ByteString value)
public EstablishVolumePeeringRequest.Builder setPeerVolumeNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for peerVolumeName to set. |
| Returns | |
|---|---|
| Type | Description |
EstablishVolumePeeringRequest.Builder |
This builder for chaining. |