Class SaveSnapshotResponse (1.41.0)

public final class SaveSnapshotResponse extends GeneratedMessageV3 implements SaveSnapshotResponseOrBuilder

Response to SaveSnapshotRequest.

Protobuf type google.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse

Static Fields

SNAPSHOT_PATH_FIELD_NUMBER

public static final int SNAPSHOT_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SaveSnapshotResponse getDefaultInstance()
Returns
TypeDescription
SaveSnapshotResponse

getDescriptor()

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

newBuilder()

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

newBuilder(SaveSnapshotResponse prototype)

public static SaveSnapshotResponse.Builder newBuilder(SaveSnapshotResponse prototype)
Parameter
NameDescription
prototypeSaveSnapshotResponse
Returns
TypeDescription
SaveSnapshotResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SaveSnapshotResponse getDefaultInstanceForType()
Returns
TypeDescription
SaveSnapshotResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnapshotPath()

public String getSnapshotPath()

The fully-resolved Cloud Storage path of the created snapshot, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp". This field is populated only if the snapshot creation was successful.

string snapshot_path = 1;

Returns
TypeDescription
String

The snapshotPath.

getSnapshotPathBytes()

public ByteString getSnapshotPathBytes()

The fully-resolved Cloud Storage path of the created snapshot, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp". This field is populated only if the snapshot creation was successful.

string snapshot_path = 1;

Returns
TypeDescription
ByteString

The bytes for snapshotPath.

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 SaveSnapshotResponse.Builder newBuilderForType()
Returns
TypeDescription
SaveSnapshotResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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