public final class Replication extends com.google.protobuf.GeneratedMessageV3 implements ReplicationOrBuilder
Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.Protobuf type
google.cloud.netapp.v1.Replication| Modifier and Type | Class and Description |
|---|---|
static class |
Replication.Builder
Replication is a nested resource under Volume, that describes a
cross-region replication relationship between 2 volumes in different
regions.
|
static class |
Replication.MirrorState
Mirroring states.
|
static class |
Replication.ReplicationRole
New enum values may be added in future to support different replication
topology.
|
static class |
Replication.ReplicationSchedule
Schedule for Replication.
|
static class |
Replication.State
The replication states
New enum values may be added in future to indicate possible new states.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DESTINATION_VOLUME_FIELD_NUMBER |
static int |
DESTINATION_VOLUME_PARAMETERS_FIELD_NUMBER |
static int |
HEALTHY_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
MIRROR_STATE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
REPLICATION_SCHEDULE_FIELD_NUMBER |
static int |
ROLE_FIELD_NUMBER |
static int |
SOURCE_VOLUME_FIELD_NUMBER |
static int |
STATE_DETAILS_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TRANSFER_STATS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Resource labels to represent user provided metadata.
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Replication |
getDefaultInstance() |
Replication |
getDefaultInstanceForType() |
String |
getDescription()
A description about this replication relationship.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A description about this replication relationship.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestinationVolume()
Output only.
|
com.google.protobuf.ByteString |
getDestinationVolumeBytes()
Output only.
|
DestinationVolumeParameters |
getDestinationVolumeParameters()
Required.
|
DestinationVolumeParametersOrBuilder |
getDestinationVolumeParametersOrBuilder()
Required.
|
boolean |
getHealthy()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Resource labels to represent user provided metadata.
|
Map<String,String> |
getLabelsMap()
Resource labels to represent user provided metadata.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Resource labels to represent user provided metadata.
|
String |
getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.
|
Replication.MirrorState |
getMirrorState()
Output only.
|
int |
getMirrorStateValue()
Output only.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
com.google.protobuf.Parser<Replication> |
getParserForType() |
Replication.ReplicationSchedule |
getReplicationSchedule()
Required.
|
int |
getReplicationScheduleValue()
Required.
|
Replication.ReplicationRole |
getRole()
Output only.
|
int |
getRoleValue()
Output only.
|
int |
getSerializedSize() |
String |
getSourceVolume()
Output only.
|
com.google.protobuf.ByteString |
getSourceVolumeBytes()
Output only.
|
Replication.State |
getState()
Output only.
|
String |
getStateDetails()
Output only.
|
com.google.protobuf.ByteString |
getStateDetailsBytes()
Output only.
|
int |
getStateValue()
Output only.
|
TransferStats |
getTransferStats()
Output only.
|
TransferStatsOrBuilder |
getTransferStatsOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDescription()
A description about this replication relationship.
|
boolean |
hasDestinationVolumeParameters()
Required.
|
int |
hashCode() |
boolean |
hasHealthy()
Output only.
|
boolean |
hasTransferStats()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Replication.Builder |
newBuilder() |
static Replication.Builder |
newBuilder(Replication prototype) |
Replication.Builder |
newBuilderForType() |
protected Replication.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Replication |
parseDelimitedFrom(InputStream input) |
static Replication |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Replication |
parseFrom(byte[] data) |
static Replication |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Replication |
parseFrom(ByteBuffer data) |
static Replication |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Replication |
parseFrom(com.google.protobuf.ByteString data) |
static Replication |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Replication |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Replication |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Replication |
parseFrom(InputStream input) |
static Replication |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Replication> |
parser() |
Replication.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int STATE_DETAILS_FIELD_NUMBER
public static final int ROLE_FIELD_NUMBER
public static final int REPLICATION_SCHEDULE_FIELD_NUMBER
public static final int MIRROR_STATE_FIELD_NUMBER
public static final int HEALTHY_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int DESTINATION_VOLUME_FIELD_NUMBER
public static final int TRANSFER_STATS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DESTINATION_VOLUME_PARAMETERS_FIELD_NUMBER
public static final int SOURCE_VOLUME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Identifier. The resource name of the Replication.
Format:
`projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getName in interface ReplicationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Identifier. The resource name of the Replication.
Format:
`projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getNameBytes in interface ReplicationOrBuilderpublic int getStateValue()
Output only. State of the replication.
.google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface ReplicationOrBuilderpublic Replication.State getState()
Output only. State of the replication.
.google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface ReplicationOrBuilderpublic String getStateDetails()
Output only. State details of the replication.
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDetails in interface ReplicationOrBuilderpublic com.google.protobuf.ByteString getStateDetailsBytes()
Output only. State details of the replication.
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDetailsBytes in interface ReplicationOrBuilderpublic int getRoleValue()
Output only. Indicates whether this points to source or destination.
.google.cloud.netapp.v1.Replication.ReplicationRole role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRoleValue in interface ReplicationOrBuilderpublic Replication.ReplicationRole getRole()
Output only. Indicates whether this points to source or destination.
.google.cloud.netapp.v1.Replication.ReplicationRole role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRole in interface ReplicationOrBuilderpublic int getReplicationScheduleValue()
Required. Indicates the schedule for replication.
.google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];
getReplicationScheduleValue in interface ReplicationOrBuilderpublic Replication.ReplicationSchedule getReplicationSchedule()
Required. Indicates the schedule for replication.
.google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];
getReplicationSchedule in interface ReplicationOrBuilderpublic int getMirrorStateValue()
Output only. Indicates the state of mirroring.
.google.cloud.netapp.v1.Replication.MirrorState mirror_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMirrorStateValue in interface ReplicationOrBuilderpublic Replication.MirrorState getMirrorState()
Output only. Indicates the state of mirroring.
.google.cloud.netapp.v1.Replication.MirrorState mirror_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMirrorState in interface ReplicationOrBuilderpublic boolean hasHealthy()
Output only. Condition of the relationship. Can be one of the following: - true: The replication relationship is healthy. It has not missed the most recent scheduled transfer. - false: The replication relationship is not healthy. It has missed the most recent scheduled transfer.
optional bool healthy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];hasHealthy in interface ReplicationOrBuilderpublic boolean getHealthy()
Output only. Condition of the relationship. Can be one of the following: - true: The replication relationship is healthy. It has not missed the most recent scheduled transfer. - false: The replication relationship is not healthy. It has missed the most recent scheduled transfer.
optional bool healthy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getHealthy in interface ReplicationOrBuilderpublic boolean hasCreateTime()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface ReplicationOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface ReplicationOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface ReplicationOrBuilderpublic String getDestinationVolume()
Output only. Full name of destination volume resource.
Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
string destination_volume = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getDestinationVolume in interface ReplicationOrBuilderpublic com.google.protobuf.ByteString getDestinationVolumeBytes()
Output only. Full name of destination volume resource.
Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
string destination_volume = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getDestinationVolumeBytes in interface ReplicationOrBuilderpublic boolean hasTransferStats()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasTransferStats in interface ReplicationOrBuilderpublic TransferStats getTransferStats()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTransferStats in interface ReplicationOrBuilderpublic TransferStatsOrBuilder getTransferStatsOrBuilder()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTransferStatsOrBuilder in interface ReplicationOrBuilderpublic int getLabelsCount()
ReplicationOrBuilderResource labels to represent user provided metadata.
map<string, string> labels = 12;getLabelsCount in interface ReplicationOrBuilderpublic boolean containsLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;containsLabels in interface ReplicationOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ReplicationOrBuilderpublic Map<String,String> getLabelsMap()
Resource labels to represent user provided metadata.
map<string, string> labels = 12;getLabelsMap in interface ReplicationOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;getLabelsOrDefault in interface ReplicationOrBuilderpublic String getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;getLabelsOrThrow in interface ReplicationOrBuilderpublic boolean hasDescription()
A description about this replication relationship.
optional string description = 13;hasDescription in interface ReplicationOrBuilderpublic String getDescription()
A description about this replication relationship.
optional string description = 13;getDescription in interface ReplicationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A description about this replication relationship.
optional string description = 13;getDescriptionBytes in interface ReplicationOrBuilderpublic boolean hasDestinationVolumeParameters()
Required. Input only. Destination volume parameters
.google.cloud.netapp.v1.DestinationVolumeParameters destination_volume_parameters = 14 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
hasDestinationVolumeParameters in interface ReplicationOrBuilderpublic DestinationVolumeParameters getDestinationVolumeParameters()
Required. Input only. Destination volume parameters
.google.cloud.netapp.v1.DestinationVolumeParameters destination_volume_parameters = 14 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
getDestinationVolumeParameters in interface ReplicationOrBuilderpublic DestinationVolumeParametersOrBuilder getDestinationVolumeParametersOrBuilder()
Required. Input only. Destination volume parameters
.google.cloud.netapp.v1.DestinationVolumeParameters destination_volume_parameters = 14 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
getDestinationVolumeParametersOrBuilder in interface ReplicationOrBuilderpublic String getSourceVolume()
Output only. Full name of source volume resource.
Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
string source_volume = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getSourceVolume in interface ReplicationOrBuilderpublic com.google.protobuf.ByteString getSourceVolumeBytes()
Output only. Full name of source volume resource.
Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
string source_volume = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getSourceVolumeBytes in interface ReplicationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Replication parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Replication parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Replication parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Replication parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Replication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Replication parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Replication parseFrom(InputStream input) throws IOException
IOExceptionpublic static Replication parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Replication parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Replication parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Replication parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Replication parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Replication.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Replication.Builder newBuilder()
public static Replication.Builder newBuilder(Replication prototype)
public Replication.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Replication.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Replication getDefaultInstance()
public static com.google.protobuf.Parser<Replication> parser()
public com.google.protobuf.Parser<Replication> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Replication getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.