Class 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 type google.cloud.netapp.v1.Replication
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • clear

        public Replication.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • getDefaultInstanceForType

        public Replication getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Replication build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Replication buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Replication.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • setField

        public Replication.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • clearField

        public Replication.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • clearOneof

        public Replication.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • addRepeatedField

        public Replication.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • mergeFrom

        public Replication.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Replication.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
      • 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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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];
      • containsLabels

        public boolean containsLabels​(String key)
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 12;
        Specified by:
        containsLabels in interface ReplicationOrBuilder
      • 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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         A description about this replication relationship.
         
        optional string description = 13;
        Specified by:
        getDescriptionBytes in interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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];
      • 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 interface ReplicationOrBuilder
        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 interface ReplicationOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>
      • mergeUnknownFields

        public final Replication.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Replication.Builder>