Interface StopReplicationRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getForce()
      Indicates whether to stop replication forcefully while data transfer is in progress.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      • 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()
         Required. The resource name of the replication, in the format of
         projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The resource name of the replication, in the format of
         projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • getForce

        boolean getForce()
         Indicates whether to stop replication forcefully while data transfer is in
         progress.
         Warning! if force is true, this will abort any current transfers
         and can lead to data loss due to partial transfer.
         If force is false, stop replication will fail while data transfer is in
         progress and you will need to retry later.
         
        bool force = 2;
        Returns:
        The force.