Package com.google.privacy.dlp.v2
Class InfoTypeDescription
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.InfoTypeDescription
- All Implemented Interfaces:
InfoTypeDescriptionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class InfoTypeDescription
extends com.google.protobuf.GeneratedMessage
implements InfoTypeDescriptionOrBuilder
InfoType description.Protobuf type
google.privacy.dlp.v2.InfoTypeDescription- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInfoType description.static enumThe launch status of an infoType.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCategories(int index) The category of the infoType.intThe category of the infoType.The category of the infoType.getCategoriesOrBuilder(int index) The category of the infoType.List<? extends InfoTypeCategoryOrBuilder>The category of the infoType.static InfoTypeDescriptionDescription of the infotype.com.google.protobuf.ByteStringDescription of the infotype.static final com.google.protobuf.Descriptors.DescriptorHuman readable form of the infoType name.com.google.protobuf.ByteStringHuman readable form of the infoType name.A sample that is a true positive for this infoType.com.google.protobuf.ByteStringA sample that is a true positive for this infoType.The launch status of the infoType.intThe launch status of the infoType.Locations at which this feature can be used.Locations at which this feature can be used.getName()Internal name of the infoType.com.google.protobuf.ByteStringInternal name of the infoType.com.google.protobuf.Parser<InfoTypeDescription>The default sensitivity of the infoType.The default sensitivity of the infoType.intgetSpecificInfoTypes(int index) If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it.com.google.protobuf.ByteStringgetSpecificInfoTypesBytes(int index) If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it.intIf this field is set, this infoType is a general infoType and these specific infoTypes are contained within it.com.google.protobuf.ProtocolStringListIf this field is set, this infoType is a general infoType and these specific infoTypes are contained within it.getSupportedBy(int index) Which parts of the API supports this InfoType.intWhich parts of the API supports this InfoType.Which parts of the API supports this InfoType.intgetSupportedByValue(int index) Which parts of the API supports this InfoType.Which parts of the API supports this InfoType.getVersions(int index) A list of available versions for the infotype.intA list of available versions for the infotype.A list of available versions for the infotype.getVersionsOrBuilder(int index) A list of available versions for the infotype.List<? extends VersionDescriptionOrBuilder>A list of available versions for the infotype.inthashCode()booleanLocations at which this feature can be used.booleanThe default sensitivity of the infoType.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic InfoTypeDescription.Builderstatic InfoTypeDescription.BuildernewBuilder(InfoTypeDescription prototype) protected InfoTypeDescription.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static InfoTypeDescriptionparseDelimitedFrom(InputStream input) static InfoTypeDescriptionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InfoTypeDescriptionparseFrom(byte[] data) static InfoTypeDescriptionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InfoTypeDescriptionparseFrom(com.google.protobuf.ByteString data) static InfoTypeDescriptionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InfoTypeDescriptionparseFrom(com.google.protobuf.CodedInputStream input) static InfoTypeDescriptionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InfoTypeDescriptionparseFrom(InputStream input) static InfoTypeDescriptionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InfoTypeDescriptionparseFrom(ByteBuffer data) static InfoTypeDescriptionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InfoTypeDescription>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
SUPPORTED_BY_FIELD_NUMBER
public static final int SUPPORTED_BY_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
LOCATION_SUPPORT_FIELD_NUMBER
public static final int LOCATION_SUPPORT_FIELD_NUMBER- See Also:
-
EXAMPLE_FIELD_NUMBER
public static final int EXAMPLE_FIELD_NUMBER- See Also:
-
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER- See Also:
-
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER- See Also:
-
SENSITIVITY_SCORE_FIELD_NUMBER
public static final int SENSITIVITY_SCORE_FIELD_NUMBER- See Also:
-
SPECIFIC_INFO_TYPES_FIELD_NUMBER
public static final int SPECIFIC_INFO_TYPES_FIELD_NUMBER- See Also:
-
LAUNCH_STATUS_FIELD_NUMBER
public static final int LAUNCH_STATUS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Internal name of the infoType.
string name = 1;- Specified by:
getNamein interfaceInfoTypeDescriptionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Internal name of the infoType.
string name = 1;- Specified by:
getNameBytesin interfaceInfoTypeDescriptionOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
Human readable form of the infoType name.
string display_name = 2;- Specified by:
getDisplayNamein interfaceInfoTypeDescriptionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Human readable form of the infoType name.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceInfoTypeDescriptionOrBuilder- Returns:
- The bytes for displayName.
-
getSupportedByList
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;- Specified by:
getSupportedByListin interfaceInfoTypeDescriptionOrBuilder- Returns:
- A list containing the supportedBy.
-
getSupportedByCount
public int getSupportedByCount()Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;- Specified by:
getSupportedByCountin interfaceInfoTypeDescriptionOrBuilder- Returns:
- The count of supportedBy.
-
getSupportedBy
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;- Specified by:
getSupportedByin interfaceInfoTypeDescriptionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedBy at the given index.
-
getSupportedByValueList
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;- Specified by:
getSupportedByValueListin interfaceInfoTypeDescriptionOrBuilder- Returns:
- A list containing the enum numeric values on the wire for supportedBy.
-
getSupportedByValue
public int getSupportedByValue(int index) Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;- Specified by:
getSupportedByValuein interfaceInfoTypeDescriptionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedBy at the given index.
-
getDescription
Description of the infotype. Translated when language is provided in the request.
string description = 4;- Specified by:
getDescriptionin interfaceInfoTypeDescriptionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the infotype. Translated when language is provided in the request.
string description = 4;- Specified by:
getDescriptionBytesin interfaceInfoTypeDescriptionOrBuilder- Returns:
- The bytes for description.
-
hasLocationSupport
public boolean hasLocationSupport()Locations at which this feature can be used. May change over time.
.google.privacy.dlp.v2.LocationSupport location_support = 6;- Specified by:
hasLocationSupportin interfaceInfoTypeDescriptionOrBuilder- Returns:
- Whether the locationSupport field is set.
-
getLocationSupport
Locations at which this feature can be used. May change over time.
.google.privacy.dlp.v2.LocationSupport location_support = 6;- Specified by:
getLocationSupportin interfaceInfoTypeDescriptionOrBuilder- Returns:
- The locationSupport.
-
getLocationSupportOrBuilder
Locations at which this feature can be used. May change over time.
.google.privacy.dlp.v2.LocationSupport location_support = 6;- Specified by:
getLocationSupportOrBuilderin interfaceInfoTypeDescriptionOrBuilder
-
getExample
A sample that is a true positive for this infoType.
string example = 8;- Specified by:
getExamplein interfaceInfoTypeDescriptionOrBuilder- Returns:
- The example.
-
getExampleBytes
public com.google.protobuf.ByteString getExampleBytes()A sample that is a true positive for this infoType.
string example = 8;- Specified by:
getExampleBytesin interfaceInfoTypeDescriptionOrBuilder- Returns:
- The bytes for example.
-
getVersionsList
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;- Specified by:
getVersionsListin interfaceInfoTypeDescriptionOrBuilder
-
getVersionsOrBuilderList
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;- Specified by:
getVersionsOrBuilderListin interfaceInfoTypeDescriptionOrBuilder
-
getVersionsCount
public int getVersionsCount()A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;- Specified by:
getVersionsCountin interfaceInfoTypeDescriptionOrBuilder
-
getVersions
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;- Specified by:
getVersionsin interfaceInfoTypeDescriptionOrBuilder
-
getVersionsOrBuilder
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;- Specified by:
getVersionsOrBuilderin interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesList
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;- Specified by:
getCategoriesListin interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesOrBuilderList
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;- Specified by:
getCategoriesOrBuilderListin interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesCount
public int getCategoriesCount()The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;- Specified by:
getCategoriesCountin interfaceInfoTypeDescriptionOrBuilder
-
getCategories
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;- Specified by:
getCategoriesin interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesOrBuilder
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;- Specified by:
getCategoriesOrBuilderin interfaceInfoTypeDescriptionOrBuilder
-
hasSensitivityScore
public boolean hasSensitivityScore()The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;- Specified by:
hasSensitivityScorein interfaceInfoTypeDescriptionOrBuilder- Returns:
- Whether the sensitivityScore field is set.
-
getSensitivityScore
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;- Specified by:
getSensitivityScorein interfaceInfoTypeDescriptionOrBuilder- Returns:
- The sensitivityScore.
-
getSensitivityScoreOrBuilder
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;- Specified by:
getSensitivityScoreOrBuilderin interfaceInfoTypeDescriptionOrBuilder
-
getSpecificInfoTypesList
public com.google.protobuf.ProtocolStringList getSpecificInfoTypesList()If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it. General infoTypes are infoTypes that encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA" general infoType would have set for this field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
repeated string specific_info_types = 12;- Specified by:
getSpecificInfoTypesListin interfaceInfoTypeDescriptionOrBuilder- Returns:
- A list containing the specificInfoTypes.
-
getSpecificInfoTypesCount
public int getSpecificInfoTypesCount()If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it. General infoTypes are infoTypes that encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA" general infoType would have set for this field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
repeated string specific_info_types = 12;- Specified by:
getSpecificInfoTypesCountin interfaceInfoTypeDescriptionOrBuilder- Returns:
- The count of specificInfoTypes.
-
getSpecificInfoTypes
If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it. General infoTypes are infoTypes that encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA" general infoType would have set for this field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
repeated string specific_info_types = 12;- Specified by:
getSpecificInfoTypesin interfaceInfoTypeDescriptionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The specificInfoTypes at the given index.
-
getSpecificInfoTypesBytes
public com.google.protobuf.ByteString getSpecificInfoTypesBytes(int index) If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it. General infoTypes are infoTypes that encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA" general infoType would have set for this field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
repeated string specific_info_types = 12;- Specified by:
getSpecificInfoTypesBytesin interfaceInfoTypeDescriptionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the specificInfoTypes at the given index.
-
getLaunchStatusValue
public int getLaunchStatusValue()The launch status of the infoType.
.google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus launch_status = 13;- Specified by:
getLaunchStatusValuein interfaceInfoTypeDescriptionOrBuilder- Returns:
- The enum numeric value on the wire for launchStatus.
-
getLaunchStatus
The launch status of the infoType.
.google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus launch_status = 13;- Specified by:
getLaunchStatusin interfaceInfoTypeDescriptionOrBuilder- Returns:
- The launchStatus.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InfoTypeDescription parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InfoTypeDescription parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InfoTypeDescription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InfoTypeDescription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InfoTypeDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InfoTypeDescription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static InfoTypeDescription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static InfoTypeDescription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InfoTypeDescription parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InfoTypeDescription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InfoTypeDescription.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-