Class CloudStorageFileSet.Builder (3.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudStorageFileSet build()
Returns
TypeDescription
CloudStorageFileSet

buildPartial()

public CloudStorageFileSet buildPartial()
Returns
TypeDescription
CloudStorageFileSet

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CloudStorageFileSet getDefaultInstanceForType()
Returns
TypeDescription
CloudStorageFileSet

getDescriptorForType()

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

The bytes for url.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudStorageFileSet other)

public CloudStorageFileSet.Builder mergeFrom(CloudStorageFileSet other)
Parameter
NameDescription
otherCloudStorageFileSet
Returns
TypeDescription
CloudStorageFileSet.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CloudStorageFileSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CloudStorageFileSet.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudStorageFileSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The url to set.

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

The bytes for url to set.

Returns
TypeDescription
CloudStorageFileSet.Builder

This builder for chaining.