public final class Domain extends GeneratedMessage 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.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Domain.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Domain.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Domain.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides