Package com.google.cloud.config.v1
Interface ImportStatefileRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportStatefileRequest
,ImportStatefileRequest.Builder
public interface ImportStatefileRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getLockId()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
getSkipDraft()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getLockId
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:
- The lockId.
-
getSkipDraft
boolean getSkipDraft()
Optional.
bool skip_draft = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The skipDraft.
-
-