Class CloudStoragePath.Builder (3.87.0)

public static final class CloudStoragePath.Builder extends GeneratedMessage.Builder<CloudStoragePath.Builder> implements CloudStoragePathOrBuilder

Message representing a single file or path in Cloud Storage.

Protobuf type google.privacy.dlp.v2.CloudStoragePath

Static Methods

getDescriptor()

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

Methods

build()

public CloudStoragePath build()
Returns
Type Description
CloudStoragePath

buildPartial()

public CloudStoragePath buildPartial()
Returns
Type Description
CloudStoragePath

clear()

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

clearPath()

public CloudStoragePath.Builder clearPath()

A URL representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt

string path = 1;

Returns
Type Description
CloudStoragePath.Builder

This builder for chaining.

getDefaultInstanceForType()

public CloudStoragePath getDefaultInstanceForType()
Returns
Type Description
CloudStoragePath

getDescriptorForType()

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

getPath()

public String getPath()

A URL representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

A URL representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudStoragePath other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPath(String value)

public CloudStoragePath.Builder setPath(String value)

A URL representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt

string path = 1;

Parameter
Name Description
value String

The path to set.

Returns
Type Description
CloudStoragePath.Builder

This builder for chaining.

setPathBytes(ByteString value)

public CloudStoragePath.Builder setPathBytes(ByteString value)

A URL representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt

string path = 1;

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
CloudStoragePath.Builder

This builder for chaining.