Class SaveSnapshotResponse.Builder (1.8.0)

public static final class SaveSnapshotResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SaveSnapshotResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SaveSnapshotResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SaveSnapshotResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SaveSnapshotResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SaveSnapshotResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SaveSnapshotResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SaveSnapshotResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SaveSnapshotResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SaveSnapshotResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SaveSnapshotResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final SaveSnapshotResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SaveSnapshotResponse.Builder
Overrides