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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FileClusterType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FileClusterType build()
buildPartial()
public FileClusterType buildPartial()
clear()
public FileClusterType.Builder clear()
Overrides
clearCluster()
public FileClusterType.Builder clearCluster()
Cluster type.
.google.privacy.dlp.v2.FileClusterType.Cluster cluster = 1;
clearField(Descriptors.FieldDescriptor field)
public FileClusterType.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFileClusterType()
public FileClusterType.Builder clearFileClusterType()
clearOneof(Descriptors.OneofDescriptor oneof)
public FileClusterType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FileClusterType.Builder clone()
Overrides
getCluster()
public FileClusterType.Cluster getCluster()
Cluster type.
.google.privacy.dlp.v2.FileClusterType.Cluster cluster = 1;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFileClusterTypeCase()
public FileClusterType.FileClusterTypeCase getFileClusterTypeCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FileClusterType other)
public FileClusterType.Builder mergeFrom(FileClusterType other)
public FileClusterType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FileClusterType.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FileClusterType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCluster(FileClusterType.Cluster value)
public FileClusterType.Builder setCluster(FileClusterType.Cluster value)
Cluster type.
.google.privacy.dlp.v2.FileClusterType.Cluster cluster = 1;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public FileClusterType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FileClusterType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FileClusterType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides