Class SaveSnapshotResponse.Builder (1.85.0)

public static final class SaveSnapshotResponse.Builder extends GeneratedMessage.Builder<SaveSnapshotResponse.Builder> implements SaveSnapshotResponseOrBuilder

Response to SaveSnapshotRequest.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SaveSnapshotResponse build()
Returns
Type Description
SaveSnapshotResponse

buildPartial()

public SaveSnapshotResponse buildPartial()
Returns
Type Description
SaveSnapshotResponse

clear()

public SaveSnapshotResponse.Builder clear()
Returns
Type Description
SaveSnapshotResponse.Builder
Overrides

clearSnapshotPath()

public SaveSnapshotResponse.Builder clearSnapshotPath()

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
Type Description
SaveSnapshotResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public SaveSnapshotResponse getDefaultInstanceForType()
Returns
Type Description
SaveSnapshotResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
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
Type Description
ByteString

The bytes for snapshotPath.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SaveSnapshotResponse other)

public SaveSnapshotResponse.Builder mergeFrom(SaveSnapshotResponse other)
Parameter
Name Description
other SaveSnapshotResponse
Returns
Type Description
SaveSnapshotResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SaveSnapshotResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SaveSnapshotResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SaveSnapshotResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SaveSnapshotResponse.Builder
Overrides

setSnapshotPath(String value)

public SaveSnapshotResponse.Builder setSnapshotPath(String value)

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;

Parameter
Name Description
value String

The snapshotPath to set.

Returns
Type Description
SaveSnapshotResponse.Builder

This builder for chaining.

setSnapshotPathBytes(ByteString value)

public SaveSnapshotResponse.Builder setSnapshotPathBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for snapshotPath to set.

Returns
Type Description
SaveSnapshotResponse.Builder

This builder for chaining.