Package com.google.privacy.dlp.v2
Class InfoTypeDescription
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class InfoTypeDescription extends com.google.protobuf.GeneratedMessageV3 implements InfoTypeDescriptionOrBuilder
InfoType description.
Protobuf typegoogle.privacy.dlp.v2.InfoTypeDescription- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInfoTypeDescription.BuilderInfoType description.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCATEGORIES_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSUPPORTED_BY_FIELD_NUMBERstatic intVERSIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)InfoTypeCategorygetCategories(int index)The category of the infoType.intgetCategoriesCount()The category of the infoType.List<InfoTypeCategory>getCategoriesList()The category of the infoType.InfoTypeCategoryOrBuildergetCategoriesOrBuilder(int index)The category of the infoType.List<? extends InfoTypeCategoryOrBuilder>getCategoriesOrBuilderList()The category of the infoType.static InfoTypeDescriptiongetDefaultInstance()InfoTypeDescriptiongetDefaultInstanceForType()StringgetDescription()Description of the infotype.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the infotype.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Human readable form of the infoType name.com.google.protobuf.ByteStringgetDisplayNameBytes()Human readable form of the infoType name.StringgetName()Internal name of the infoType.com.google.protobuf.ByteStringgetNameBytes()Internal name of the infoType.com.google.protobuf.Parser<InfoTypeDescription>getParserForType()intgetSerializedSize()InfoTypeSupportedBygetSupportedBy(int index)Which parts of the API supports this InfoType.intgetSupportedByCount()Which parts of the API supports this InfoType.List<InfoTypeSupportedBy>getSupportedByList()Which parts of the API supports this InfoType.intgetSupportedByValue(int index)Which parts of the API supports this InfoType.List<Integer>getSupportedByValueList()Which parts of the API supports this InfoType.VersionDescriptiongetVersions(int index)A list of available versions for the infotype.intgetVersionsCount()A list of available versions for the infotype.List<VersionDescription>getVersionsList()A list of available versions for the infotype.VersionDescriptionOrBuildergetVersionsOrBuilder(int index)A list of available versions for the infotype.List<? extends VersionDescriptionOrBuilder>getVersionsOrBuilderList()A list of available versions for the infotype.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static InfoTypeDescription.BuildernewBuilder()static InfoTypeDescription.BuildernewBuilder(InfoTypeDescription prototype)InfoTypeDescription.BuildernewBuilderForType()protected InfoTypeDescription.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()InfoTypeDescription.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUPPORTED_BY_FIELD_NUMBER
public static final int SUPPORTED_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String 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
public String 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
public List<InfoTypeSupportedBy> 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
public InfoTypeSupportedBy getSupportedBy(int index)
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
public List<Integer> 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
public String 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.
-
getVersionsList
public List<VersionDescription> getVersionsList()
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;- Specified by:
getVersionsListin interfaceInfoTypeDescriptionOrBuilder
-
getVersionsOrBuilderList
public List<? extends VersionDescriptionOrBuilder> 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
public VersionDescription getVersions(int index)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;- Specified by:
getVersionsin interfaceInfoTypeDescriptionOrBuilder
-
getVersionsOrBuilder
public VersionDescriptionOrBuilder getVersionsOrBuilder(int index)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;- Specified by:
getVersionsOrBuilderin interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesList
public List<InfoTypeCategory> getCategoriesList()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;- Specified by:
getCategoriesListin interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesOrBuilderList
public List<? extends InfoTypeCategoryOrBuilder> 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
public InfoTypeCategory getCategories(int index)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;- Specified by:
getCategoriesin interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesOrBuilder
public InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;- Specified by:
getCategoriesOrBuilderin interfaceInfoTypeDescriptionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static InfoTypeDescription parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static InfoTypeDescription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static InfoTypeDescription parseDelimitedFrom(InputStream input) throws IOException
- 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
public InfoTypeDescription.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static InfoTypeDescription.Builder newBuilder()
-
newBuilder
public static InfoTypeDescription.Builder newBuilder(InfoTypeDescription prototype)
-
toBuilder
public InfoTypeDescription.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InfoTypeDescription.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static InfoTypeDescription getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<InfoTypeDescription> parser()
-
getParserForType
public com.google.protobuf.Parser<InfoTypeDescription> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public InfoTypeDescription getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-