Class CloudStoragePath.Builder (3.49.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CloudStoragePath.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public CloudStoragePath.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudStoragePath.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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