Interface ImportStatefileRequestOrBuilder (0.5.0)

public interface ImportStatefileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLockId()

public abstract long getLockId()

Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.

int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
long

The lockId.

getParent()

public abstract String getParent()

Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getSkipDraft()

public abstract boolean getSkipDraft()

Optional.

bool skip_draft = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The skipDraft.