- 0.57.0 (latest)
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class EstablishPeeringRequest.Builder extends GeneratedMessageV3.Builder<EstablishPeeringRequest.Builder> implements EstablishPeeringRequestOrBuilderEstablishPeeringRequest 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 |
StringThe 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 |
ByteStringThe 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 |
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 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
intThe index to set the value at. |
value |
StringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
|