Class CloudStoragePath.Builder (3.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudStoragePath.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudStoragePath.Builder
Overrides

build()

public CloudStoragePath build()
Returns
TypeDescription
CloudStoragePath

buildPartial()

public CloudStoragePath buildPartial()
Returns
TypeDescription
CloudStoragePath

clear()

public CloudStoragePath.Builder clear()
Returns
TypeDescription
CloudStoragePath.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CloudStoragePath.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CloudStoragePath.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudStoragePath.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CloudStoragePath.Builder

This builder for chaining.

clone()

public CloudStoragePath.Builder clone()
Returns
TypeDescription
CloudStoragePath.Builder
Overrides

getDefaultInstanceForType()

public CloudStoragePath getDefaultInstanceForType()
Returns
TypeDescription
CloudStoragePath

getDescriptorForType()

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

The bytes for path.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudStoragePath other)

public CloudStoragePath.Builder mergeFrom(CloudStoragePath other)
Parameter
NameDescription
otherCloudStoragePath
Returns
TypeDescription
CloudStoragePath.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudStoragePath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudStoragePath.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CloudStoragePath.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CloudStoragePath.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudStoragePath.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudStoragePath.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CloudStoragePath.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The path to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CloudStoragePath.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudStoragePath.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudStoragePath.Builder
Overrides