Interface ReplicationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Replication, Replication.Builder

    public interface ReplicationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        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];
        Returns:
        The name.
      • getNameBytes

        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];
        Returns:
        The bytes for name.
      • getStateValue

        int getStateValue()
         Output only. State of the replication.
         
        .google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        Replication.State getState()
         Output only. State of the replication.
         
        .google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • getStateDetails

        String getStateDetails()
         Output only. State details of the replication.
         
        string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The stateDetails.
      • getStateDetailsBytes

        com.google.protobuf.ByteString getStateDetailsBytes()
         Output only. State details of the replication.
         
        string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for stateDetails.
      • getRoleValue

        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];
        Returns:
        The enum numeric value on the wire for role.
      • getRole

        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];
        Returns:
        The role.
      • getReplicationScheduleValue

        int getReplicationScheduleValue()
         Required. Indicates the schedule for replication.
         
        .google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for replicationSchedule.
      • getReplicationSchedule

        Replication.ReplicationSchedule getReplicationSchedule()
         Required. Indicates the schedule for replication.
         
        .google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The replicationSchedule.
      • getMirrorStateValue

        int getMirrorStateValue()
         Output only. Indicates the state of mirroring.
         
        .google.cloud.netapp.v1.Replication.MirrorState mirror_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for mirrorState.
      • getMirrorState

        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];
        Returns:
        The mirrorState.
      • hasHealthy

        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];
        Returns:
        Whether the healthy field is set.
      • getHealthy

        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];
        Returns:
        The healthy.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. Replication create time.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. Replication create time.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Replication create time.
         
        .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDestinationVolume

        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) = { ... }
        Returns:
        The destinationVolume.
      • getDestinationVolumeBytes

        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) = { ... }
        Returns:
        The bytes for destinationVolume.
      • hasTransferStats

        boolean hasTransferStats()
         Output only. Replication transfer statistics.
         
        .google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the transferStats field is set.
      • getTransferStats

        TransferStats getTransferStats()
         Output only. Replication transfer statistics.
         
        .google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The transferStats.
      • getTransferStatsOrBuilder

        TransferStatsOrBuilder getTransferStatsOrBuilder()
         Output only. Replication transfer statistics.
         
        .google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLabelsCount

        int getLabelsCount()
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 12;
      • containsLabels

        boolean containsLabels​(String key)
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 12;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 12;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 12;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Resource labels to represent user provided metadata.
         
        map<string, string> labels = 12;
      • hasDescription

        boolean hasDescription()
         A description about this replication relationship.
         
        optional string description = 13;
        Returns:
        Whether the description field is set.
      • getDescription

        String getDescription()
         A description about this replication relationship.
         
        optional string description = 13;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         A description about this replication relationship.
         
        optional string description = 13;
        Returns:
        The bytes for description.
      • hasDestinationVolumeParameters

        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];
        Returns:
        Whether the destinationVolumeParameters field is set.
      • getDestinationVolumeParameters

        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];
        Returns:
        The destinationVolumeParameters.
      • getDestinationVolumeParametersOrBuilder

        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];
      • getSourceVolume

        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) = { ... }
        Returns:
        The sourceVolume.
      • getSourceVolumeBytes

        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) = { ... }
        Returns:
        The bytes for sourceVolume.