Interface ReplicationCycleOrBuilder

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

    public interface ReplicationCycleOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      int getCycleNumber()
      The cycle's ordinal number.
      com.google.protobuf.Timestamp getEndTime()
      The time the replication cycle has ended.
      com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
      The time the replication cycle has ended.
      com.google.rpc.Status getError()
      Provides details on the state of the cycle in case of an error.
      com.google.rpc.StatusOrBuilder getErrorOrBuilder()
      Provides details on the state of the cycle in case of an error.
      String getName()
      The identifier of the ReplicationCycle.
      com.google.protobuf.ByteString getNameBytes()
      The identifier of the ReplicationCycle.
      int getProgressPercent()
      Deprecated.
      google.cloud.vmmigration.v1.ReplicationCycle.progress_percent is deprecated.
      com.google.protobuf.Timestamp getStartTime()
      The time the replication cycle has started.
      com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
      The time the replication cycle has started.
      ReplicationCycle.State getState()
      State of the ReplicationCycle.
      int getStateValue()
      State of the ReplicationCycle.
      CycleStep getSteps​(int index)
      The cycle's steps list representing its progress.
      int getStepsCount()
      The cycle's steps list representing its progress.
      List<CycleStep> getStepsList()
      The cycle's steps list representing its progress.
      CycleStepOrBuilder getStepsOrBuilder​(int index)
      The cycle's steps list representing its progress.
      List<? extends CycleStepOrBuilder> getStepsOrBuilderList()
      The cycle's steps list representing its progress.
      com.google.protobuf.Duration getTotalPauseDuration()
      The accumulated duration the replication cycle was paused.
      com.google.protobuf.DurationOrBuilder getTotalPauseDurationOrBuilder()
      The accumulated duration the replication cycle was paused.
      boolean hasEndTime()
      The time the replication cycle has ended.
      boolean hasError()
      Provides details on the state of the cycle in case of an error.
      boolean hasStartTime()
      The time the replication cycle has started.
      boolean hasTotalPauseDuration()
      The accumulated duration the replication cycle was paused.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        String getName()
         The identifier of the ReplicationCycle.
         
        string name = 13;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The identifier of the ReplicationCycle.
         
        string name = 13;
        Returns:
        The bytes for name.
      • getCycleNumber

        int getCycleNumber()
         The cycle's ordinal number.
         
        int32 cycle_number = 10;
        Returns:
        The cycleNumber.
      • hasStartTime

        boolean hasStartTime()
         The time the replication cycle has started.
         
        .google.protobuf.Timestamp start_time = 1;
        Returns:
        Whether the startTime field is set.
      • getStartTime

        com.google.protobuf.Timestamp getStartTime()
         The time the replication cycle has started.
         
        .google.protobuf.Timestamp start_time = 1;
        Returns:
        The startTime.
      • getStartTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         The time the replication cycle has started.
         
        .google.protobuf.Timestamp start_time = 1;
      • hasEndTime

        boolean hasEndTime()
         The time the replication cycle has ended.
         
        .google.protobuf.Timestamp end_time = 6;
        Returns:
        Whether the endTime field is set.
      • getEndTime

        com.google.protobuf.Timestamp getEndTime()
         The time the replication cycle has ended.
         
        .google.protobuf.Timestamp end_time = 6;
        Returns:
        The endTime.
      • getEndTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         The time the replication cycle has ended.
         
        .google.protobuf.Timestamp end_time = 6;
      • hasTotalPauseDuration

        boolean hasTotalPauseDuration()
         The accumulated duration the replication cycle was paused.
         
        .google.protobuf.Duration total_pause_duration = 7;
        Returns:
        Whether the totalPauseDuration field is set.
      • getTotalPauseDuration

        com.google.protobuf.Duration getTotalPauseDuration()
         The accumulated duration the replication cycle was paused.
         
        .google.protobuf.Duration total_pause_duration = 7;
        Returns:
        The totalPauseDuration.
      • getTotalPauseDurationOrBuilder

        com.google.protobuf.DurationOrBuilder getTotalPauseDurationOrBuilder()
         The accumulated duration the replication cycle was paused.
         
        .google.protobuf.Duration total_pause_duration = 7;
      • getProgressPercent

        @Deprecated
        int getProgressPercent()
        Deprecated.
        google.cloud.vmmigration.v1.ReplicationCycle.progress_percent is deprecated. See google/cloud/vmmigration/v1/vmmigration.proto;l=715
         The current progress in percentage of this cycle.
         Was replaced by 'steps' field, which breaks down the cycle progression more
         accurately.
         
        int32 progress_percent = 5 [deprecated = true];
        Returns:
        The progressPercent.
      • getStepsList

        List<CycleStep> getStepsList()
         The cycle's steps list representing its progress.
         
        repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
      • getSteps

        CycleStep getSteps​(int index)
         The cycle's steps list representing its progress.
         
        repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
      • getStepsCount

        int getStepsCount()
         The cycle's steps list representing its progress.
         
        repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
      • getStepsOrBuilderList

        List<? extends CycleStepOrBuilder> getStepsOrBuilderList()
         The cycle's steps list representing its progress.
         
        repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
      • getStepsOrBuilder

        CycleStepOrBuilder getStepsOrBuilder​(int index)
         The cycle's steps list representing its progress.
         
        repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;
      • getStateValue

        int getStateValue()
         State of the ReplicationCycle.
         
        .google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
        Returns:
        The enum numeric value on the wire for state.
      • getState

        ReplicationCycle.State getState()
         State of the ReplicationCycle.
         
        .google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;
        Returns:
        The state.
      • hasError

        boolean hasError()
         Provides details on the state of the cycle in case of an error.
         
        .google.rpc.Status error = 12;
        Returns:
        Whether the error field is set.
      • getError

        com.google.rpc.Status getError()
         Provides details on the state of the cycle in case of an error.
         
        .google.rpc.Status error = 12;
        Returns:
        The error.
      • getErrorOrBuilder

        com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         Provides details on the state of the cycle in case of an error.
         
        .google.rpc.Status error = 12;