Interface RevertVolumeRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      String getSnapshotId()
      Required.
      com.google.protobuf.ByteString getSnapshotIdBytes()
      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 volume, in the format of
         projects/{project_id}/locations/{location}/volumes/{volume_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 volume, in the format of
         projects/{project_id}/locations/{location}/volumes/{volume_id}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • getSnapshotId

        String getSnapshotId()
         Required. The snapshot resource ID, in the format 'my-snapshot', where the
         specified ID is the {snapshot_id} of the fully qualified name like
         projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{snapshot_id}
         
        string snapshot_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The snapshotId.
      • getSnapshotIdBytes

        com.google.protobuf.ByteString getSnapshotIdBytes()
         Required. The snapshot resource ID, in the format 'my-snapshot', where the
         specified ID is the {snapshot_id} of the fully qualified name like
         projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{snapshot_id}
         
        string snapshot_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for snapshotId.