Class GcsRepositorySnapshotDestination.Builder (0.98.0)

public static final class GcsRepositorySnapshotDestination.Builder extends GeneratedMessage.Builder<GcsRepositorySnapshotDestination.Builder> implements GcsRepositorySnapshotDestinationOrBuilder

Configures the destination for a repository snapshot.

Protobuf type google.cloud.dataform.v1beta1.GcsRepositorySnapshotDestination

Static Methods

getDescriptor()

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

Methods

build()

public GcsRepositorySnapshotDestination build()
Returns
Type Description
GcsRepositorySnapshotDestination

buildPartial()

public GcsRepositorySnapshotDestination buildPartial()
Returns
Type Description
GcsRepositorySnapshotDestination

clear()

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

clearRepositorySnapshotUri()

public GcsRepositorySnapshotDestination.Builder clearRepositorySnapshotUri()

Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: gs://bucket-name/path/.

string repository_snapshot_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GcsRepositorySnapshotDestination.Builder

This builder for chaining.

getDefaultInstanceForType()

public GcsRepositorySnapshotDestination getDefaultInstanceForType()
Returns
Type Description
GcsRepositorySnapshotDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRepositorySnapshotUri()

public String getRepositorySnapshotUri()

Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: gs://bucket-name/path/.

string repository_snapshot_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The repositorySnapshotUri.

getRepositorySnapshotUriBytes()

public ByteString getRepositorySnapshotUriBytes()

Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: gs://bucket-name/path/.

string repository_snapshot_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for repositorySnapshotUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcsRepositorySnapshotDestination other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setRepositorySnapshotUri(String value)

public GcsRepositorySnapshotDestination.Builder setRepositorySnapshotUri(String value)

Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: gs://bucket-name/path/.

string repository_snapshot_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The repositorySnapshotUri to set.

Returns
Type Description
GcsRepositorySnapshotDestination.Builder

This builder for chaining.

setRepositorySnapshotUriBytes(ByteString value)

public GcsRepositorySnapshotDestination.Builder setRepositorySnapshotUriBytes(ByteString value)

Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: gs://bucket-name/path/.

string repository_snapshot_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for repositorySnapshotUri to set.

Returns
Type Description
GcsRepositorySnapshotDestination.Builder

This builder for chaining.