Class CloudStorageFileSet.Builder (3.87.0)

public static final class CloudStorageFileSet.Builder extends GeneratedMessage.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

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

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.

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

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.