public static final class EstablishPeeringRequest.Builder extends GeneratedMessageV3.Builder<EstablishPeeringRequest.Builder> implements EstablishPeeringRequestOrBuilder
EstablishPeeringRequest establishes cluster and svm peerings between the source and the destination replications.
Protobuf type google.cloud.netapp.v1.EstablishPeeringRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EstablishPeeringRequest.BuilderImplements
EstablishPeeringRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPeerIpAddresses(Iterable<String> values)
public EstablishPeeringRequest.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 |
EstablishPeeringRequest.Builder |
This builder for chaining. |
addPeerIpAddresses(String value)
public EstablishPeeringRequest.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 |
String The peerIpAddresses to add. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
addPeerIpAddressesBytes(ByteString value)
public EstablishPeeringRequest.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 |
ByteString The bytes of the peerIpAddresses to add. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EstablishPeeringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
build()
public EstablishPeeringRequest build()
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest |
buildPartial()
public EstablishPeeringRequest buildPartial()
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest |
clear()
public EstablishPeeringRequest.Builder clear()
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public EstablishPeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
clearName()
public EstablishPeeringRequest.Builder clearName()
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 |
EstablishPeeringRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public EstablishPeeringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
clearPeerClusterName()
public EstablishPeeringRequest.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 |
EstablishPeeringRequest.Builder |
This builder for chaining. |
clearPeerIpAddresses()
public EstablishPeeringRequest.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 |
EstablishPeeringRequest.Builder |
This builder for chaining. |
clearPeerSvmName()
public EstablishPeeringRequest.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 |
EstablishPeeringRequest.Builder |
This builder for chaining. |
clearPeerVolumeName()
public EstablishPeeringRequest.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 |
EstablishPeeringRequest.Builder |
This builder for chaining. |
clone()
public EstablishPeeringRequest.Builder clone()
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
getDefaultInstanceForType()
public EstablishPeeringRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public 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 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 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 |
int The 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 |
int The 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(EstablishPeeringRequest other)
public EstablishPeeringRequest.Builder mergeFrom(EstablishPeeringRequest other)
Parameter | |
---|---|
Name | Description |
other |
EstablishPeeringRequest |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EstablishPeeringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EstablishPeeringRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EstablishPeeringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public EstablishPeeringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
setName(String value)
public EstablishPeeringRequest.Builder setName(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public EstablishPeeringRequest.Builder setNameBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
setPeerClusterName(String value)
public EstablishPeeringRequest.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 |
String The peerClusterName to set. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
setPeerClusterNameBytes(ByteString value)
public EstablishPeeringRequest.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 |
ByteString The bytes for peerClusterName to set. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
setPeerIpAddresses(int index, String value)
public EstablishPeeringRequest.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 |
int The index to set the value at. |
value |
String The peerIpAddresses to set. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
setPeerSvmName(String value)
public EstablishPeeringRequest.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 |
String The peerSvmName to set. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
setPeerSvmNameBytes(ByteString value)
public EstablishPeeringRequest.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 |
ByteString The bytes for peerSvmName to set. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
setPeerVolumeName(String value)
public EstablishPeeringRequest.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 |
String The peerVolumeName to set. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
setPeerVolumeNameBytes(ByteString value)
public EstablishPeeringRequest.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 |
ByteString The bytes for peerVolumeName to set. |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EstablishPeeringRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final EstablishPeeringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EstablishPeeringRequest.Builder |