Interface RollbackInstanceRequestOrBuilder (1.41.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for targetSnapshot.