public static final class HybridReplicationParameters.Builder extends GeneratedMessageV3.Builder<HybridReplicationParameters.Builder> implements HybridReplicationParametersOrBuilder
The Hybrid Replication parameters for the volume.
Protobuf type google.cloud.netapp.v1.HybridReplicationParameters
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HybridReplicationParameters.BuilderImplements
HybridReplicationParametersOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPeerIpAddresses(Iterable<String> values)
public HybridReplicationParameters.Builder addAllPeerIpAddresses(Iterable<String> values)
Required. List of node ip addresses to be peered with.
repeated string peer_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The peerIpAddresses to add. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
addPeerIpAddresses(String value)
public HybridReplicationParameters.Builder addPeerIpAddresses(String value)
Required. List of node ip addresses to be peered with.
repeated string peer_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The peerIpAddresses to add. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
addPeerIpAddressesBytes(ByteString value)
public HybridReplicationParameters.Builder addPeerIpAddressesBytes(ByteString value)
Required. List of node ip addresses to be peered with.
repeated string peer_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the peerIpAddresses to add. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HybridReplicationParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
build()
public HybridReplicationParameters build()
Returns | |
---|---|
Type | Description |
HybridReplicationParameters |
buildPartial()
public HybridReplicationParameters buildPartial()
Returns | |
---|---|
Type | Description |
HybridReplicationParameters |
clear()
public HybridReplicationParameters.Builder clear()
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
clearClusterLocation()
public HybridReplicationParameters.Builder clearClusterLocation()
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 |
HybridReplicationParameters.Builder |
This builder for chaining. |
clearDescription()
public HybridReplicationParameters.Builder clearDescription()
Optional. Description of the replication.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public HybridReplicationParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
clearLabels()
public HybridReplicationParameters.Builder clearLabels()
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public HybridReplicationParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
clearPeerClusterName()
public HybridReplicationParameters.Builder clearPeerClusterName()
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 |
HybridReplicationParameters.Builder |
This builder for chaining. |
clearPeerIpAddresses()
public HybridReplicationParameters.Builder clearPeerIpAddresses()
Required. List of node ip addresses to be peered with.
repeated string peer_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
clearPeerSvmName()
public HybridReplicationParameters.Builder clearPeerSvmName()
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 |
HybridReplicationParameters.Builder |
This builder for chaining. |
clearPeerVolumeName()
public HybridReplicationParameters.Builder clearPeerVolumeName()
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 |
HybridReplicationParameters.Builder |
This builder for chaining. |
clearReplication()
public HybridReplicationParameters.Builder clearReplication()
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 |
HybridReplicationParameters.Builder |
This builder for chaining. |
clone()
public HybridReplicationParameters.Builder clone()
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
containsLabels(String key)
public 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 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 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. |
getDefaultInstanceForType()
public HybridReplicationParameters getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HybridReplicationParameters |
getDescription()
public String getDescription()
Optional. Description of the replication.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the replication.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public 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 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 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 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 |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getPeerClusterName()
public 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 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 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 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 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 ProtocolStringList 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 |
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 = 4 [(.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 = 4 [(.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 = 2 [(.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 = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for peerVolumeName. |
getReplication()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(HybridReplicationParameters other)
public HybridReplicationParameters.Builder mergeFrom(HybridReplicationParameters other)
Parameter | |
---|---|
Name | Description |
other |
HybridReplicationParameters |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HybridReplicationParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HybridReplicationParameters.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HybridReplicationParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
putAllLabels(Map<String,String> values)
public HybridReplicationParameters.Builder putAllLabels(Map<String,String> values)
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 |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
putLabels(String key, String value)
public HybridReplicationParameters.Builder putLabels(String key, String value)
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 |
value |
String |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
removeLabels(String key)
public HybridReplicationParameters.Builder removeLabels(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 |
HybridReplicationParameters.Builder |
setClusterLocation(String value)
public HybridReplicationParameters.Builder setClusterLocation(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The clusterLocation to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setClusterLocationBytes(ByteString value)
public HybridReplicationParameters.Builder setClusterLocationBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for clusterLocation to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setDescription(String value)
public HybridReplicationParameters.Builder setDescription(String value)
Optional. Description of the replication.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public HybridReplicationParameters.Builder setDescriptionBytes(ByteString value)
Optional. Description of the replication.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public HybridReplicationParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
setPeerClusterName(String value)
public HybridReplicationParameters.Builder setPeerClusterName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The peerClusterName to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setPeerClusterNameBytes(ByteString value)
public HybridReplicationParameters.Builder setPeerClusterNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for peerClusterName to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setPeerIpAddresses(int index, String value)
public HybridReplicationParameters.Builder setPeerIpAddresses(int index, String value)
Required. List of node ip addresses to be peered with.
repeated string peer_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The peerIpAddresses to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setPeerSvmName(String value)
public HybridReplicationParameters.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The peerSvmName to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setPeerSvmNameBytes(ByteString value)
public HybridReplicationParameters.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for peerSvmName to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setPeerVolumeName(String value)
public HybridReplicationParameters.Builder setPeerVolumeName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The peerVolumeName to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setPeerVolumeNameBytes(ByteString value)
public HybridReplicationParameters.Builder setPeerVolumeNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for peerVolumeName to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HybridReplicationParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
setReplication(String value)
public HybridReplicationParameters.Builder setReplication(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The replication to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setReplicationBytes(ByteString value)
public HybridReplicationParameters.Builder setReplicationBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for replication to set. |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final HybridReplicationParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HybridReplicationParameters.Builder |