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 class
InfoTypeDescription.Builder
InfoType 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 int
CATEGORIES_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SUPPORTED_BY_FIELD_NUMBER
static int
VERSIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
InfoTypeCategory
getCategories(int index)
The category of the infoType.int
getCategoriesCount()
The category of the infoType.List<InfoTypeCategory>
getCategoriesList()
The category of the infoType.InfoTypeCategoryOrBuilder
getCategoriesOrBuilder(int index)
The category of the infoType.List<? extends InfoTypeCategoryOrBuilder>
getCategoriesOrBuilderList()
The category of the infoType.static InfoTypeDescription
getDefaultInstance()
InfoTypeDescription
getDefaultInstanceForType()
String
getDescription()
Description of the infotype.com.google.protobuf.ByteString
getDescriptionBytes()
Description of the infotype.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
Human readable form of the infoType name.com.google.protobuf.ByteString
getDisplayNameBytes()
Human readable form of the infoType name.String
getName()
Internal name of the infoType.com.google.protobuf.ByteString
getNameBytes()
Internal name of the infoType.com.google.protobuf.Parser<InfoTypeDescription>
getParserForType()
int
getSerializedSize()
InfoTypeSupportedBy
getSupportedBy(int index)
Which parts of the API supports this InfoType.int
getSupportedByCount()
Which parts of the API supports this InfoType.List<InfoTypeSupportedBy>
getSupportedByList()
Which parts of the API supports this InfoType.int
getSupportedByValue(int index)
Which parts of the API supports this InfoType.List<Integer>
getSupportedByValueList()
Which parts of the API supports this InfoType.VersionDescription
getVersions(int index)
A list of available versions for the infotype.int
getVersionsCount()
A list of available versions for the infotype.List<VersionDescription>
getVersionsList()
A list of available versions for the infotype.VersionDescriptionOrBuilder
getVersionsOrBuilder(int index)
A list of available versions for the infotype.List<? extends VersionDescriptionOrBuilder>
getVersionsOrBuilderList()
A list of available versions for the infotype.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static InfoTypeDescription.Builder
newBuilder()
static InfoTypeDescription.Builder
newBuilder(InfoTypeDescription prototype)
InfoTypeDescription.Builder
newBuilderForType()
protected InfoTypeDescription.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static InfoTypeDescription
parseDelimitedFrom(InputStream input)
static InfoTypeDescription
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InfoTypeDescription
parseFrom(byte[] data)
static InfoTypeDescription
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InfoTypeDescription
parseFrom(com.google.protobuf.ByteString data)
static InfoTypeDescription
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InfoTypeDescription
parseFrom(com.google.protobuf.CodedInputStream input)
static InfoTypeDescription
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InfoTypeDescription
parseFrom(InputStream input)
static InfoTypeDescription
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InfoTypeDescription
parseFrom(ByteBuffer data)
static InfoTypeDescription
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<InfoTypeDescription>
parser()
InfoTypeDescription.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Internal name of the infoType.
string name = 1;
- Specified by:
getName
in interfaceInfoTypeDescriptionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Internal name of the infoType.
string name = 1;
- Specified by:
getNameBytes
in interfaceInfoTypeDescriptionOrBuilder
- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Human readable form of the infoType name.
string display_name = 2;
- Specified by:
getDisplayName
in interfaceInfoTypeDescriptionOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Human readable form of the infoType name.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in 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:
getSupportedByList
in 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:
getSupportedByCount
in 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:
getSupportedBy
in 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:
getSupportedByValueList
in 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:
getSupportedByValue
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
getVersionsList
in 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:
getVersionsOrBuilderList
in interfaceInfoTypeDescriptionOrBuilder
-
getVersionsCount
public int getVersionsCount()
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
- Specified by:
getVersionsCount
in 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:
getVersions
in 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:
getVersionsOrBuilder
in interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesList
public List<InfoTypeCategory> getCategoriesList()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
- Specified by:
getCategoriesList
in interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesOrBuilderList
public List<? extends InfoTypeCategoryOrBuilder> getCategoriesOrBuilderList()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
- Specified by:
getCategoriesOrBuilderList
in interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesCount
public int getCategoriesCount()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
- Specified by:
getCategoriesCount
in interfaceInfoTypeDescriptionOrBuilder
-
getCategories
public InfoTypeCategory getCategories(int index)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
- Specified by:
getCategories
in interfaceInfoTypeDescriptionOrBuilder
-
getCategoriesOrBuilder
public InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
- Specified by:
getCategoriesOrBuilder
in interfaceInfoTypeDescriptionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InfoTypeDescription.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public InfoTypeDescription getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-