Class FileClusterType.Builder (3.55.0)

public static final class FileClusterType.Builder extends GeneratedMessageV3.Builder<FileClusterType.Builder> implements FileClusterTypeOrBuilder

Message used to identify file cluster type being profiled.

Protobuf type google.privacy.dlp.v2.FileClusterType

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FileClusterType build()
Returns
Type Description
FileClusterType

buildPartial()

public FileClusterType buildPartial()
Returns
Type Description
FileClusterType

clear()

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

clearCluster()

public FileClusterType.Builder clearCluster()

Cluster type.

.google.privacy.dlp.v2.FileClusterType.Cluster cluster = 1;

Returns
Type Description
FileClusterType.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFileClusterType()

public FileClusterType.Builder clearFileClusterType()
Returns
Type Description
FileClusterType.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCluster()

public FileClusterType.Cluster getCluster()

Cluster type.

.google.privacy.dlp.v2.FileClusterType.Cluster cluster = 1;

Returns
Type Description
FileClusterType.Cluster

The cluster.

getClusterValue()

public int getClusterValue()

Cluster type.

.google.privacy.dlp.v2.FileClusterType.Cluster cluster = 1;

Returns
Type Description
int

The enum numeric value on the wire for cluster.

getDefaultInstanceForType()

public FileClusterType getDefaultInstanceForType()
Returns
Type Description
FileClusterType

getDescriptorForType()

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

getFileClusterTypeCase()

public FileClusterType.FileClusterTypeCase getFileClusterTypeCase()
Returns
Type Description
FileClusterType.FileClusterTypeCase

hasCluster()

public boolean hasCluster()

Cluster type.

.google.privacy.dlp.v2.FileClusterType.Cluster cluster = 1;

Returns
Type Description
boolean

Whether the cluster field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FileClusterType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCluster(FileClusterType.Cluster value)

public FileClusterType.Builder setCluster(FileClusterType.Cluster value)

Cluster type.

.google.privacy.dlp.v2.FileClusterType.Cluster cluster = 1;

Parameter
Name Description
value FileClusterType.Cluster

The cluster to set.

Returns
Type Description
FileClusterType.Builder

This builder for chaining.

setClusterValue(int value)

public FileClusterType.Builder setClusterValue(int value)

Cluster type.

.google.privacy.dlp.v2.FileClusterType.Cluster cluster = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for cluster to set.

Returns
Type Description
FileClusterType.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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