public final class ImportStatefileRequest extends GeneratedMessageV3 implements ImportStatefileRequestOrBuilder
A request to import a state file passed to a 'ImportStatefile' call.
Protobuf type google.cloud.config.v1.ImportStatefileRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LOCK_ID_FIELD_NUMBER
public static final int LOCK_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SKIP_DRAFT_FIELD_NUMBER
public static final int SKIP_DRAFT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ImportStatefileRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportStatefileRequest.Builder newBuilder()
newBuilder(ImportStatefileRequest prototype)
public static ImportStatefileRequest.Builder newBuilder(ImportStatefileRequest prototype)
public static ImportStatefileRequest parseDelimitedFrom(InputStream input)
public static ImportStatefileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportStatefileRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportStatefileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportStatefileRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportStatefileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportStatefileRequest parseFrom(CodedInputStream input)
public static ImportStatefileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportStatefileRequest parseFrom(InputStream input)
public static ImportStatefileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportStatefileRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportStatefileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportStatefileRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ImportStatefileRequest getDefaultInstanceForType()
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 |
---|
Type | Description |
long | The lockId.
|
getParent()
public 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 |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public 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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<ImportStatefileRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSkipDraft()
public boolean getSkipDraft()
Optional.
bool skip_draft = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | The skipDraft.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportStatefileRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportStatefileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ImportStatefileRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides