Class ExportDeploymentStatefileRequest (0.14.0)

public final class ExportDeploymentStatefileRequest extends GeneratedMessageV3 implements ExportDeploymentStatefileRequestOrBuilder

A request to export a state file passed to a 'ExportDeploymentStatefile' call.

Protobuf type google.cloud.config.v1.ExportDeploymentStatefileRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ExportDeploymentStatefileRequest

Static Fields

DRAFT_FIELD_NUMBER

public static final int DRAFT_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExportDeploymentStatefileRequest getDefaultInstance()
Returns
TypeDescription
ExportDeploymentStatefileRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExportDeploymentStatefileRequest.Builder newBuilder()
Returns
TypeDescription
ExportDeploymentStatefileRequest.Builder

newBuilder(ExportDeploymentStatefileRequest prototype)

public static ExportDeploymentStatefileRequest.Builder newBuilder(ExportDeploymentStatefileRequest prototype)
Parameter
NameDescription
prototypeExportDeploymentStatefileRequest
Returns
TypeDescription
ExportDeploymentStatefileRequest.Builder

parseDelimitedFrom(InputStream input)

public static ExportDeploymentStatefileRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportDeploymentStatefileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExportDeploymentStatefileRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportDeploymentStatefileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportDeploymentStatefileRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportDeploymentStatefileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportDeploymentStatefileRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportDeploymentStatefileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExportDeploymentStatefileRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportDeploymentStatefileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExportDeploymentStatefileRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportDeploymentStatefileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDeploymentStatefileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExportDeploymentStatefileRequest> parser()
Returns
TypeDescription
Parser<ExportDeploymentStatefileRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ExportDeploymentStatefileRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportDeploymentStatefileRequest

getDraft()

public boolean getDraft()

Optional. If this flag is set to true, the exported deployment state file will be the draft state. This will enable the draft file to be validated before copying it over to the working state on unlock.

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

Returns
TypeDescription
boolean

The draft.

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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<ExportDeploymentStatefileRequest> getParserForType()
Returns
TypeDescription
Parser<ExportDeploymentStatefileRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExportDeploymentStatefileRequest.Builder newBuilderForType()
Returns
TypeDescription
ExportDeploymentStatefileRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportDeploymentStatefileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExportDeploymentStatefileRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExportDeploymentStatefileRequest.Builder toBuilder()
Returns
TypeDescription
ExportDeploymentStatefileRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException