Interface RollbackInstanceRequestOrBuilder (1.37.0)

public interface RollbackInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getRevisionId()

public abstract String getRevisionId()

Required. Output only. Revision Id

string revision_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

Required. Output only. Revision Id

string revision_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for revisionId.

getTargetSnapshot()

public abstract String getTargetSnapshot()

Required. The snapshot for rollback. Example: "projects/test-project/global/snapshots/krwlzipynril".

string target_snapshot = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The targetSnapshot.

getTargetSnapshotBytes()

public abstract ByteString getTargetSnapshotBytes()

Required. The snapshot for rollback. Example: "projects/test-project/global/snapshots/krwlzipynril".

string target_snapshot = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for targetSnapshot.