Package com.google.cloud.netapp.v1
Class Replication.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
- com.google.cloud.netapp.v1.Replication.Builder
-
- All Implemented Interfaces:
ReplicationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Replication
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 typegoogle.cloud.netapp.v1.Replication
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Replication.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Replicationbuild()ReplicationbuildPartial()Replication.Builderclear()Replication.BuilderclearCreateTime()Output only.Replication.BuilderclearDescription()A description about this replication relationship.Replication.BuilderclearDestinationVolume()Output only.Replication.BuilderclearDestinationVolumeParameters()Required.Replication.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Replication.BuilderclearHealthy()Output only.Replication.BuilderclearLabels()Replication.BuilderclearMirrorState()Output only.Replication.BuilderclearName()Output only.Replication.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Replication.BuilderclearReplicationSchedule()Required.Replication.BuilderclearRole()Output only.Replication.BuilderclearSourceVolume()Output only.Replication.BuilderclearState()Output only.Replication.BuilderclearStateDetails()Output only.Replication.BuilderclearTransferStats()Output only.Replication.Builderclone()booleancontainsLabels(String key)Resource labels to represent user provided metadata.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ReplicationgetDefaultInstanceForType()StringgetDescription()A description about this replication relationship.com.google.protobuf.ByteStringgetDescriptionBytes()A description about this replication relationship.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDestinationVolume()Output only.com.google.protobuf.ByteStringgetDestinationVolumeBytes()Output only.DestinationVolumeParametersgetDestinationVolumeParameters()Required.DestinationVolumeParameters.BuildergetDestinationVolumeParametersBuilder()Required.DestinationVolumeParametersOrBuildergetDestinationVolumeParametersOrBuilder()Required.booleangetHealthy()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Resource labels to represent user provided metadata.Map<String,String>getLabelsMap()Resource labels to represent user provided metadata.StringgetLabelsOrDefault(String key, String defaultValue)Resource labels to represent user provided metadata.StringgetLabelsOrThrow(String key)Resource labels to represent user provided metadata.Replication.MirrorStategetMirrorState()Output only.intgetMirrorStateValue()Output only.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.Replication.ReplicationSchedulegetReplicationSchedule()Required.intgetReplicationScheduleValue()Required.Replication.ReplicationRolegetRole()Output only.intgetRoleValue()Output only.StringgetSourceVolume()Output only.com.google.protobuf.ByteStringgetSourceVolumeBytes()Output only.Replication.StategetState()Output only.StringgetStateDetails()Output only.com.google.protobuf.ByteStringgetStateDetailsBytes()Output only.intgetStateValue()Output only.TransferStatsgetTransferStats()Output only.TransferStats.BuildergetTransferStatsBuilder()Output only.TransferStatsOrBuildergetTransferStatsOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasDescription()A description about this replication relationship.booleanhasDestinationVolumeParameters()Required.booleanhasHealthy()Output only.booleanhasTransferStats()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Replication.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Replication.BuildermergeDestinationVolumeParameters(DestinationVolumeParameters value)Required.Replication.BuildermergeFrom(Replication other)Replication.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Replication.BuildermergeFrom(com.google.protobuf.Message other)Replication.BuildermergeTransferStats(TransferStats value)Output only.Replication.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Replication.BuilderputAllLabels(Map<String,String> values)Resource labels to represent user provided metadata.Replication.BuilderputLabels(String key, String value)Resource labels to represent user provided metadata.Replication.BuilderremoveLabels(String key)Resource labels to represent user provided metadata.Replication.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Replication.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Replication.BuildersetDescription(String value)A description about this replication relationship.Replication.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A description about this replication relationship.Replication.BuildersetDestinationVolume(String value)Output only.Replication.BuildersetDestinationVolumeBytes(com.google.protobuf.ByteString value)Output only.Replication.BuildersetDestinationVolumeParameters(DestinationVolumeParameters value)Required.Replication.BuildersetDestinationVolumeParameters(DestinationVolumeParameters.Builder builderForValue)Required.Replication.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Replication.BuildersetHealthy(boolean value)Output only.Replication.BuildersetMirrorState(Replication.MirrorState value)Output only.Replication.BuildersetMirrorStateValue(int value)Output only.Replication.BuildersetName(String value)Output only.Replication.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Replication.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Replication.BuildersetReplicationSchedule(Replication.ReplicationSchedule value)Required.Replication.BuildersetReplicationScheduleValue(int value)Required.Replication.BuildersetRole(Replication.ReplicationRole value)Output only.Replication.BuildersetRoleValue(int value)Output only.Replication.BuildersetSourceVolume(String value)Output only.Replication.BuildersetSourceVolumeBytes(com.google.protobuf.ByteString value)Output only.Replication.BuildersetState(Replication.State value)Output only.Replication.BuildersetStateDetails(String value)Output only.Replication.BuildersetStateDetailsBytes(com.google.protobuf.ByteString value)Output only.Replication.BuildersetStateValue(int value)Output only.Replication.BuildersetTransferStats(TransferStats value)Output only.Replication.BuildersetTransferStats(TransferStats.Builder builderForValue)Output only.Replication.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
clear
public Replication.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
getDefaultInstanceForType
public Replication getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Replication build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Replication buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Replication.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
setField
public Replication.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
clearField
public Replication.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
clearOneof
public Replication.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
setRepeatedField
public Replication.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
addRepeatedField
public Replication.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
mergeFrom
public Replication.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Replication.Builder>
-
mergeFrom
public Replication.Builder mergeFrom(Replication other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
mergeFrom
public Replication.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Replication.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. 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) = OUTPUT_ONLY];- Specified by:
getNamein interfaceReplicationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. 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) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceReplicationOrBuilder- Returns:
- The bytes for name.
-
setName
public Replication.Builder setName(String value)
Output only. 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) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Replication.Builder clearName()
Output only. 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) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public Replication.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. 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) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. State of the replication.
.google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceReplicationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public 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];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Replication.State getState()
Output only. State of the replication.
.google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceReplicationOrBuilder- Returns:
- The state.
-
setState
public 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];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Replication.Builder clearState()
Output only. State of the replication.
.google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStateDetails
public String getStateDetails()
Output only. State details of the replication.
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailsin interfaceReplicationOrBuilder- Returns:
- The stateDetails.
-
getStateDetailsBytes
public com.google.protobuf.ByteString getStateDetailsBytes()
Output only. State details of the replication.
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailsBytesin interfaceReplicationOrBuilder- Returns:
- The bytes for stateDetails.
-
setStateDetails
public Replication.Builder setStateDetails(String value)
Output only. State details of the replication.
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The stateDetails to set.- Returns:
- This builder for chaining.
-
clearStateDetails
public Replication.Builder clearStateDetails()
Output only. State details of the replication.
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStateDetailsBytes
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];- Parameters:
value- The bytes for stateDetails to set.- Returns:
- This builder for chaining.
-
getRoleValue
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];- Specified by:
getRoleValuein interfaceReplicationOrBuilder- Returns:
- The enum numeric value on the wire for role.
-
setRoleValue
public 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];- Parameters:
value- The enum numeric value on the wire for role to set.- Returns:
- This builder for chaining.
-
getRole
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];- Specified by:
getRolein interfaceReplicationOrBuilder- Returns:
- The role.
-
setRole
public 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];- Parameters:
value- The role to set.- Returns:
- This builder for chaining.
-
clearRole
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];- Returns:
- This builder for chaining.
-
getReplicationScheduleValue
public int getReplicationScheduleValue()
Required. Indicates the schedule for replication.
.google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getReplicationScheduleValuein interfaceReplicationOrBuilder- Returns:
- The enum numeric value on the wire for replicationSchedule.
-
setReplicationScheduleValue
public 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];- Parameters:
value- The enum numeric value on the wire for replicationSchedule to set.- Returns:
- This builder for chaining.
-
getReplicationSchedule
public Replication.ReplicationSchedule getReplicationSchedule()
Required. Indicates the schedule for replication.
.google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getReplicationSchedulein interfaceReplicationOrBuilder- Returns:
- The replicationSchedule.
-
setReplicationSchedule
public 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];- Parameters:
value- The replicationSchedule to set.- Returns:
- This builder for chaining.
-
clearReplicationSchedule
public Replication.Builder clearReplicationSchedule()
Required. Indicates the schedule for replication.
.google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getMirrorStateValue
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];- Specified by:
getMirrorStateValuein interfaceReplicationOrBuilder- Returns:
- The enum numeric value on the wire for mirrorState.
-
setMirrorStateValue
public 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];- Parameters:
value- The enum numeric value on the wire for mirrorState to set.- Returns:
- This builder for chaining.
-
getMirrorState
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];- Specified by:
getMirrorStatein interfaceReplicationOrBuilder- Returns:
- The mirrorState.
-
setMirrorState
public 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];- Parameters:
value- The mirrorState to set.- Returns:
- This builder for chaining.
-
clearMirrorState
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];- Returns:
- This builder for chaining.
-
hasHealthy
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];- Specified by:
hasHealthyin interfaceReplicationOrBuilder- Returns:
- Whether the healthy field is set.
-
getHealthy
public 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];- Specified by:
getHealthyin interfaceReplicationOrBuilder- Returns:
- The healthy.
-
setHealthy
public 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];- Parameters:
value- The healthy to set.- Returns:
- This builder for chaining.
-
clearHealthy
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];- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceReplicationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceReplicationOrBuilder- Returns:
- The createTime.
-
setCreateTime
public 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];
-
setCreateTime
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];
-
mergeCreateTime
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];
-
clearCreateTime
public Replication.Builder clearCreateTime()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Replication create time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceReplicationOrBuilder
-
getDestinationVolume
public 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) = { ... }- Specified by:
getDestinationVolumein interfaceReplicationOrBuilder- Returns:
- The destinationVolume.
-
getDestinationVolumeBytes
public 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) = { ... }- Specified by:
getDestinationVolumeBytesin interfaceReplicationOrBuilder- Returns:
- The bytes for destinationVolume.
-
setDestinationVolume
public 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) = { ... }- Parameters:
value- The destinationVolume to set.- Returns:
- This builder for chaining.
-
clearDestinationVolume
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) = { ... }- Returns:
- This builder for chaining.
-
setDestinationVolumeBytes
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) = { ... }- Parameters:
value- The bytes for destinationVolume to set.- Returns:
- This builder for chaining.
-
hasTransferStats
public boolean hasTransferStats()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTransferStatsin interfaceReplicationOrBuilder- Returns:
- Whether the transferStats field is set.
-
getTransferStats
public TransferStats getTransferStats()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTransferStatsin interfaceReplicationOrBuilder- Returns:
- The transferStats.
-
setTransferStats
public Replication.Builder setTransferStats(TransferStats value)
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTransferStats
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];
-
mergeTransferStats
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];
-
clearTransferStats
public Replication.Builder clearTransferStats()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTransferStatsBuilder
public TransferStats.Builder getTransferStatsBuilder()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTransferStatsOrBuilder
public TransferStatsOrBuilder getTransferStatsOrBuilder()
Output only. Replication transfer statistics.
.google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTransferStatsOrBuilderin interfaceReplicationOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ReplicationOrBuilderResource labels to represent user provided metadata.
map<string, string> labels = 12;- Specified by:
getLabelsCountin interfaceReplicationOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;- Specified by:
containsLabelsin interfaceReplicationOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceReplicationOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Resource labels to represent user provided metadata.
map<string, string> labels = 12;- Specified by:
getLabelsMapin interfaceReplicationOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;- Specified by:
getLabelsOrDefaultin interfaceReplicationOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;- Specified by:
getLabelsOrThrowin interfaceReplicationOrBuilder
-
clearLabels
public Replication.Builder clearLabels()
-
removeLabels
public Replication.Builder removeLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Replication.Builder putLabels(String key, String value)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;
-
putAllLabels
public Replication.Builder putAllLabels(Map<String,String> values)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;
-
hasDescription
public boolean hasDescription()
A description about this replication relationship.
optional string description = 13;- Specified by:
hasDescriptionin interfaceReplicationOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
A description about this replication relationship.
optional string description = 13;- Specified by:
getDescriptionin interfaceReplicationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A description about this replication relationship.
optional string description = 13;- Specified by:
getDescriptionBytesin interfaceReplicationOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Replication.Builder setDescription(String value)
A description about this replication relationship.
optional string description = 13;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Replication.Builder clearDescription()
A description about this replication relationship.
optional string description = 13;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Replication.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A description about this replication relationship.
optional string description = 13;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDestinationVolumeParameters
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];- Specified by:
hasDestinationVolumeParametersin interfaceReplicationOrBuilder- Returns:
- Whether the destinationVolumeParameters field is set.
-
getDestinationVolumeParameters
public 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];- Specified by:
getDestinationVolumeParametersin interfaceReplicationOrBuilder- Returns:
- The destinationVolumeParameters.
-
setDestinationVolumeParameters
public 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];
-
setDestinationVolumeParameters
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];
-
mergeDestinationVolumeParameters
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];
-
clearDestinationVolumeParameters
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];
-
getDestinationVolumeParametersBuilder
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];
-
getDestinationVolumeParametersOrBuilder
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];- Specified by:
getDestinationVolumeParametersOrBuilderin interfaceReplicationOrBuilder
-
getSourceVolume
public 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) = { ... }- Specified by:
getSourceVolumein interfaceReplicationOrBuilder- Returns:
- The sourceVolume.
-
getSourceVolumeBytes
public 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) = { ... }- Specified by:
getSourceVolumeBytesin interfaceReplicationOrBuilder- Returns:
- The bytes for sourceVolume.
-
setSourceVolume
public 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) = { ... }- Parameters:
value- The sourceVolume to set.- Returns:
- This builder for chaining.
-
clearSourceVolume
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) = { ... }- Returns:
- This builder for chaining.
-
setSourceVolumeBytes
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) = { ... }- Parameters:
value- The bytes for sourceVolume to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Replication.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
mergeUnknownFields
public final Replication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
-