Class CloudStorageFileSet.Builder (3.50.0)

public static final class CloudStorageFileSet.Builder extends GeneratedMessageV3.Builder<CloudStorageFileSet.Builder> implements CloudStorageFileSetOrBuilder

Message representing a set of files in Cloud Storage.

Protobuf type google.privacy.dlp.v2.CloudStorageFileSet

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudStorageFileSet build()
Returns
Type Description
CloudStorageFileSet

buildPartial()

public CloudStorageFileSet buildPartial()
Returns
Type Description
CloudStorageFileSet

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudStorageFileSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudStorageFileSet.Builder
Overrides

clearUrl()

public CloudStorageFileSet.Builder clearUrl()

The url, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed.

string url = 1;

Returns
Type Description
CloudStorageFileSet.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CloudStorageFileSet getDefaultInstanceForType()
Returns
Type Description
CloudStorageFileSet

getDescriptorForType()

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

getUrl()

public String getUrl()

The url, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed.

string url = 1;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

The url, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed.

string url = 1;

Returns
Type Description
ByteString

The bytes for url.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudStorageFileSet other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrl(String value)

public CloudStorageFileSet.Builder setUrl(String value)

The url, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed.

string url = 1;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
CloudStorageFileSet.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public CloudStorageFileSet.Builder setUrlBytes(ByteString value)

The url, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed.

string url = 1;

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
CloudStorageFileSet.Builder

This builder for chaining.