Class 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 type google.privacy.dlp.v2.InfoTypeDescription
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Internal name of the infoType.
         
        string name = 1;
        Specified by:
        getNameBytes in interface InfoTypeDescriptionOrBuilder
        Returns:
        The bytes for name.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Human readable form of the infoType name.
         
        string display_name = 2;
        Specified by:
        getDisplayNameBytes in interface InfoTypeDescriptionOrBuilder
        Returns:
        The bytes for displayName.
      • 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 interface InfoTypeDescriptionOrBuilder
        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 interface InfoTypeDescriptionOrBuilder
        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 interface InfoTypeDescriptionOrBuilder
        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 interface InfoTypeDescriptionOrBuilder
        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 interface InfoTypeDescriptionOrBuilder
        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 interface InfoTypeDescriptionOrBuilder
        Returns:
        The bytes for description.
      • getVersionsCount

        public int getVersionsCount()
         A list of available versions for the infotype.
         
        repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
        Specified by:
        getVersionsCount in interface InfoTypeDescriptionOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Throws:
        IOException
      • newBuilderForType

        public InfoTypeDescription.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public InfoTypeDescription.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected InfoTypeDescription.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<InfoTypeDescription> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public InfoTypeDescription getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder