public static final class Replication.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder> 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 | Method and Description |
|---|---|
Replication.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Replication |
build() |
Replication |
buildPartial() |
Replication.Builder |
clear() |
Replication.Builder |
clearCreateTime()
Output only.
|
Replication.Builder |
clearDescription()
A description about this replication relationship.
|
Replication.Builder |
clearDestinationVolume()
Output only.
|
Replication.Builder |
clearDestinationVolumeParameters()
Required.
|
Replication.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Replication.Builder |
clearHealthy()
Output only.
|
Replication.Builder |
clearLabels() |
Replication.Builder |
clearMirrorState()
Output only.
|
Replication.Builder |
clearName()
Identifier.
|
Replication.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Replication.Builder |
clearReplicationSchedule()
Required.
|
Replication.Builder |
clearRole()
Output only.
|
Replication.Builder |
clearSourceVolume()
Output only.
|
Replication.Builder |
clearState()
Output only.
|
Replication.Builder |
clearStateDetails()
Output only.
|
Replication.Builder |
clearTransferStats()
Output only.
|
Replication.Builder |
clone() |
boolean |
containsLabels(String key)
Resource labels to represent user provided metadata.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDestinationVolume()
Output only.
|
com.google.protobuf.ByteString |
getDestinationVolumeBytes()
Output only.
|
DestinationVolumeParameters |
getDestinationVolumeParameters()
Required.
|
DestinationVolumeParameters.Builder |
getDestinationVolumeParametersBuilder()
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.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
Replication.ReplicationSchedule |
getReplicationSchedule()
Required.
|
int |
getReplicationScheduleValue()
Required.
|
Replication.ReplicationRole |
getRole()
Output only.
|
int |
getRoleValue()
Output only.
|
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.
|
TransferStats.Builder |
getTransferStatsBuilder()
Output only.
|
TransferStatsOrBuilder |
getTransferStatsOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDescription()
A description about this replication relationship.
|
boolean |
hasDestinationVolumeParameters()
Required.
|
boolean |
hasHealthy()
Output only.
|
boolean |
hasTransferStats()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Replication.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Replication.Builder |
mergeDestinationVolumeParameters(DestinationVolumeParameters value)
Required.
|
Replication.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Replication.Builder |
mergeFrom(com.google.protobuf.Message other) |
Replication.Builder |
mergeFrom(Replication other) |
Replication.Builder |
mergeTransferStats(TransferStats value)
Output only.
|
Replication.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Replication.Builder |
putAllLabels(Map<String,String> values)
Resource labels to represent user provided metadata.
|
Replication.Builder |
putLabels(String key,
String value)
Resource labels to represent user provided metadata.
|
Replication.Builder |
removeLabels(String key)
Resource labels to represent user provided metadata.
|
Replication.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Replication.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Replication.Builder |
setDescription(String value)
A description about this replication relationship.
|
Replication.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A description about this replication relationship.
|
Replication.Builder |
setDestinationVolume(String value)
Output only.
|
Replication.Builder |
setDestinationVolumeBytes(com.google.protobuf.ByteString value)
Output only.
|
Replication.Builder |
setDestinationVolumeParameters(DestinationVolumeParameters.Builder builderForValue)
Required.
|
Replication.Builder |
setDestinationVolumeParameters(DestinationVolumeParameters value)
Required.
|
Replication.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Replication.Builder |
setHealthy(boolean value)
Output only.
|
Replication.Builder |
setMirrorState(Replication.MirrorState value)
Output only.
|
Replication.Builder |
setMirrorStateValue(int value)
Output only.
|
Replication.Builder |
setName(String value)
Identifier.
|
Replication.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Identifier.
|
Replication.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Replication.Builder |
setReplicationSchedule(Replication.ReplicationSchedule value)
Required.
|
Replication.Builder |
setReplicationScheduleValue(int value)
Required.
|
Replication.Builder |
setRole(Replication.ReplicationRole value)
Output only.
|
Replication.Builder |
setRoleValue(int value)
Output only.
|
Replication.Builder |
setSourceVolume(String value)
Output only.
|
Replication.Builder |
setSourceVolumeBytes(com.google.protobuf.ByteString value)
Output only.
|
Replication.Builder |
setState(Replication.State value)
Output only.
|
Replication.Builder |
setStateDetails(String value)
Output only.
|
Replication.Builder |
setStateDetailsBytes(com.google.protobuf.ByteString value)
Output only.
|
Replication.Builder |
setStateValue(int value)
Output only.
|
Replication.Builder |
setTransferStats(TransferStats.Builder builderForValue)
Output only.
|
Replication.Builder |
setTransferStats(TransferStats value)
Output only.
|
Replication.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public Replication.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public Replication getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Replication build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Replication buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Replication.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public Replication.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public Replication.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public Replication.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public Replication.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public Replication.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public Replication.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Replication.Builder>public Replication.Builder mergeFrom(Replication other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public Replication.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Replication.Builder>IOExceptionpublic 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 Replication.Builder setName(String value)
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];value - The name to set.public Replication.Builder clearName()
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];public Replication.Builder setNameBytes(com.google.protobuf.ByteString value)
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];value - The bytes for name to set.public 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.Builder setStateValue(int value)
Output only. State of the replication.
.google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public 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 Replication.Builder setState(Replication.State value)
Output only. State of the replication.
.google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Replication.Builder clearState()
Output only. State of the replication.
.google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 Replication.Builder setStateDetails(String value)
Output only. State details of the replication.
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The stateDetails to set.public Replication.Builder clearStateDetails()
Output only. State details of the replication.
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public Replication.Builder setStateDetailsBytes(com.google.protobuf.ByteString value)
Output only. State details of the replication.
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for stateDetails to set.public 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.Builder setRoleValue(int value)
Output only. Indicates whether this points to source or destination.
.google.cloud.netapp.v1.Replication.ReplicationRole role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for role to set.public 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 Replication.Builder setRole(Replication.ReplicationRole value)
Output only. Indicates whether this points to source or destination.
.google.cloud.netapp.v1.Replication.ReplicationRole role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The role to set.public Replication.Builder clearRole()
Output only. Indicates whether this points to source or destination.
.google.cloud.netapp.v1.Replication.ReplicationRole role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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.Builder setReplicationScheduleValue(int value)
Required. Indicates the schedule for replication.
.google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for replicationSchedule to set.public 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 Replication.Builder setReplicationSchedule(Replication.ReplicationSchedule value)
Required. Indicates the schedule for replication.
.google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];
value - The replicationSchedule to set.public Replication.Builder clearReplicationSchedule()
Required. Indicates the schedule for replication.
.google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];
public 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.Builder setMirrorStateValue(int value)
Output only. Indicates the state of mirroring.
.google.cloud.netapp.v1.Replication.MirrorState mirror_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for mirrorState to set.public 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 Replication.Builder setMirrorState(Replication.MirrorState value)
Output only. Indicates the state of mirroring.
.google.cloud.netapp.v1.Replication.MirrorState mirror_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The mirrorState to set.public Replication.Builder clearMirrorState()
Output only. Indicates the state of mirroring.
.google.cloud.netapp.v1.Replication.MirrorState mirror_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 Replication.Builder setHealthy(boolean value)
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];value - The healthy to set.public Replication.Builder clearHealthy()
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];public 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 Replication.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Replication.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Replication.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Replication.Builder clearCreateTime()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 Replication.Builder setDestinationVolume(String value)
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) = { ... }
value - The destinationVolume to set.public Replication.Builder clearDestinationVolume()
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) = { ... }
public Replication.Builder setDestinationVolumeBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for destinationVolume to set.public 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 Replication.Builder setTransferStats(TransferStats value)
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Replication.Builder setTransferStats(TransferStats.Builder builderForValue)
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Replication.Builder mergeTransferStats(TransferStats value)
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Replication.Builder clearTransferStats()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TransferStats.Builder getTransferStatsBuilder()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 Replication.Builder clearLabels()
public Replication.Builder removeLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;@Deprecated public Map<String,String> getMutableLabels()
public Replication.Builder putLabels(String key, String value)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;public Replication.Builder putAllLabels(Map<String,String> values)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;public 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 Replication.Builder setDescription(String value)
A description about this replication relationship.
optional string description = 13;value - The description to set.public Replication.Builder clearDescription()
A description about this replication relationship.
optional string description = 13;public Replication.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A description about this replication relationship.
optional string description = 13;value - The bytes for description to set.public 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 Replication.Builder setDestinationVolumeParameters(DestinationVolumeParameters value)
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];
public Replication.Builder setDestinationVolumeParameters(DestinationVolumeParameters.Builder builderForValue)
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];
public Replication.Builder mergeDestinationVolumeParameters(DestinationVolumeParameters value)
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];
public Replication.Builder clearDestinationVolumeParameters()
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];
public DestinationVolumeParameters.Builder getDestinationVolumeParametersBuilder()
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];
public 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 Replication.Builder setSourceVolume(String value)
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) = { ... }
value - The sourceVolume to set.public Replication.Builder clearSourceVolume()
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) = { ... }
public Replication.Builder setSourceVolumeBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for sourceVolume to set.public final Replication.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>public final Replication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>Copyright © 2024 Google LLC. All rights reserved.