public final class HybridReplicationParameters extends GeneratedMessageV3 implements HybridReplicationParametersOrBuilder
The Hybrid Replication parameters for the volume.
Protobuf type google.cloud.netapp.v1.HybridReplicationParameters
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLUSTER_LOCATION_FIELD_NUMBER
public static final int CLUSTER_LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PEER_CLUSTER_NAME_FIELD_NUMBER
public static final int PEER_CLUSTER_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PEER_IP_ADDRESSES_FIELD_NUMBER
public static final int PEER_IP_ADDRESSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PEER_SVM_NAME_FIELD_NUMBER
public static final int PEER_SVM_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PEER_VOLUME_NAME_FIELD_NUMBER
public static final int PEER_VOLUME_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPLICATION_FIELD_NUMBER
public static final int REPLICATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static HybridReplicationParameters getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HybridReplicationParameters.Builder newBuilder()
newBuilder(HybridReplicationParameters prototype)
public static HybridReplicationParameters.Builder newBuilder(HybridReplicationParameters prototype)
public static HybridReplicationParameters parseDelimitedFrom(InputStream input)
public static HybridReplicationParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HybridReplicationParameters parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HybridReplicationParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HybridReplicationParameters parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HybridReplicationParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HybridReplicationParameters parseFrom(CodedInputStream input)
public static HybridReplicationParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HybridReplicationParameters parseFrom(InputStream input)
public static HybridReplicationParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HybridReplicationParameters parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HybridReplicationParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HybridReplicationParameters> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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()
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.
|
getLabels() (deprecated)
public Map<String,String> getLabels()
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];
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];
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 |
|
getParserForType()
public Parser<HybridReplicationParameters> getParserForType()
Overrides
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];
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HybridReplicationParameters.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HybridReplicationParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public HybridReplicationParameters.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides