Class HybridReplicationParameters (0.34.0)

public final class HybridReplicationParameters extends GeneratedMessageV3 implements HybridReplicationParametersOrBuilder

The Hybrid Replication parameters for the volume.

Protobuf type google.cloud.netapp.v1.HybridReplicationParameters

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()
Returns
Type Description
HybridReplicationParameters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HybridReplicationParameters.Builder newBuilder()
Returns
Type Description
HybridReplicationParameters.Builder

newBuilder(HybridReplicationParameters prototype)

public static HybridReplicationParameters.Builder newBuilder(HybridReplicationParameters prototype)
Parameter
Name Description
prototype HybridReplicationParameters
Returns
Type Description
HybridReplicationParameters.Builder

parseDelimitedFrom(InputStream input)

public static HybridReplicationParameters parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HybridReplicationParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HybridReplicationParameters parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HybridReplicationParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HybridReplicationParameters parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HybridReplicationParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HybridReplicationParameters parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HybridReplicationParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HybridReplicationParameters parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HybridReplicationParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HybridReplicationParameters parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HybridReplicationParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HybridReplicationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HybridReplicationParameters> parser()
Returns
Type Description
Parser<HybridReplicationParameters>

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
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
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.

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

getParserForType()

public Parser<HybridReplicationParameters> getParserForType()
Returns
Type Description
Parser<HybridReplicationParameters>
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];

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HybridReplicationParameters.Builder newBuilderForType()
Returns
Type Description
HybridReplicationParameters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HybridReplicationParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HybridReplicationParameters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HybridReplicationParameters.Builder toBuilder()
Returns
Type Description
HybridReplicationParameters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException