Send feedback
Class Domain (3.78.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class Domain extends GeneratedMessageV3 implements DomainOrBuilder
A domain represents a thematic category that a data profile can fall under.
Protobuf type google.privacy.dlp.v2.Domain
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
Field Value
Type
Description
int
SIGNALS_FIELD_NUMBER
public static final int SIGNALS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Domain getDefaultInstance ()
Returns
Type
Description
Domain
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Domain . Builder newBuilder ()
newBuilder(Domain prototype)
public static Domain . Builder newBuilder ( Domain prototype )
Parameter
Name
Description
prototype
Domain
parseDelimitedFrom(InputStream input)
public static Domain parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Domain
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Domain parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Domain
parseFrom(byte[] data)
public static Domain parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Domain
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Domain
parseFrom(ByteString data)
public static Domain parseFrom ( ByteString data )
Returns
Type
Description
Domain
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Domain
parseFrom(CodedInputStream input)
public static Domain parseFrom ( CodedInputStream input )
Returns
Type
Description
Domain
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Domain
parseFrom(InputStream input)
public static Domain parseFrom ( InputStream input )
Returns
Type
Description
Domain
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Domain
parseFrom(ByteBuffer data)
public static Domain parseFrom ( ByteBuffer data )
Returns
Type
Description
Domain
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Domain
parser()
public static Parser<Domain> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getCategory()
public Domain . Category getCategory ()
A domain category that this profile is related to.
.google.privacy.dlp.v2.Domain.Category category = 1;
getCategoryValue()
public int getCategoryValue ()
A domain category that this profile is related to.
.google.privacy.dlp.v2.Domain.Category category = 1;
Returns
Type
Description
int
The enum numeric value on the wire for category.
getDefaultInstanceForType()
public Domain getDefaultInstanceForType ()
Returns
Type
Description
Domain
getParserForType()
public Parser<Domain> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSignals(int index)
public Domain . Signal getSignals ( int index )
The collection of signals that influenced selection of the category.
repeated .google.privacy.dlp.v2.Domain.Signal signals = 2;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
Domain.Signal
The signals at the given index.
getSignalsCount()
public int getSignalsCount ()
The collection of signals that influenced selection of the category.
repeated .google.privacy.dlp.v2.Domain.Signal signals = 2;
Returns
Type
Description
int
The count of signals.
getSignalsList()
public List<Domain . Signal > getSignalsList ()
The collection of signals that influenced selection of the category.
repeated .google.privacy.dlp.v2.Domain.Signal signals = 2;
Returns
Type
Description
List <Signal >
A list containing the signals.
getSignalsValue(int index)
public int getSignalsValue ( int index )
The collection of signals that influenced selection of the category.
repeated .google.privacy.dlp.v2.Domain.Signal signals = 2;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
int
The enum numeric value on the wire of signals at the given index.
getSignalsValueList()
public List<Integer> getSignalsValueList ()
The collection of signals that influenced selection of the category.
repeated .google.privacy.dlp.v2.Domain.Signal signals = 2;
Returns
Type
Description
List <Integer >
A list containing the enum numeric values on the wire for signals.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Domain . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Domain . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Domain . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-15 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-15 UTC."],[],[],null,[]]