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.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()
Output only.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()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.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(Replication other)
Replication.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Replication.Builder
mergeFrom(com.google.protobuf.Message 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 value)
Output only.Replication.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
Required.Replication.Builder
setDestinationVolumeParameters(DestinationVolumeParameters.Builder builderForValue)
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)
Output only.Replication.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.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 value)
Output only.Replication.Builder
setTransferStats(TransferStats.Builder builderForValue)
Output only.Replication.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
clear
public Replication.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
getDefaultInstanceForType
public Replication getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Replication build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Replication buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Replication.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
setField
public Replication.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
clearField
public Replication.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
clearOneof
public Replication.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
setRepeatedField
public Replication.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
addRepeatedField
public Replication.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
mergeFrom
public Replication.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Replication.Builder>
-
mergeFrom
public Replication.Builder mergeFrom(Replication other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getStateValue
in 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:
getState
in 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:
getStateDetails
in 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:
getStateDetailsBytes
in 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:
getRoleValue
in 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:
getRole
in 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:
getReplicationScheduleValue
in 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:
getReplicationSchedule
in 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:
getMirrorStateValue
in 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:
getMirrorState
in 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:
hasHealthy
in 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:
getHealthy
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
getDestinationVolume
in 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:
getDestinationVolumeBytes
in 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:
hasTransferStats
in 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:
getTransferStats
in 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:
getTransferStatsOrBuilder
in interfaceReplicationOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ReplicationOrBuilder
Resource labels to represent user provided metadata.
map<string, string> labels = 12;
- Specified by:
getLabelsCount
in interfaceReplicationOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;
- Specified by:
containsLabels
in interfaceReplicationOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceReplicationOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Resource labels to represent user provided metadata.
map<string, string> labels = 12;
- Specified by:
getLabelsMap
in interfaceReplicationOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;
- Specified by:
getLabelsOrDefault
in interfaceReplicationOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 12;
- Specified by:
getLabelsOrThrow
in 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:
hasDescription
in interfaceReplicationOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
A description about this replication relationship.
optional string description = 13;
- Specified by:
getDescription
in interfaceReplicationOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A description about this replication relationship.
optional string description = 13;
- Specified by:
getDescriptionBytes
in 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:
hasDestinationVolumeParameters
in 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:
getDestinationVolumeParameters
in 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:
getDestinationVolumeParametersOrBuilder
in 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:
getSourceVolume
in 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:
getSourceVolumeBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
mergeUnknownFields
public final Replication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
-
-