Class VersionDescription (3.11.0)

public final class VersionDescription extends GeneratedMessageV3 implements VersionDescriptionOrBuilder

Details about each available version for an infotype.

Protobuf type google.privacy.dlp.v2.VersionDescription

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VersionDescription getDefaultInstance()
Returns
TypeDescription
VersionDescription

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VersionDescription.Builder newBuilder()
Returns
TypeDescription
VersionDescription.Builder

newBuilder(VersionDescription prototype)

public static VersionDescription.Builder newBuilder(VersionDescription prototype)
Parameter
NameDescription
prototypeVersionDescription
Returns
TypeDescription
VersionDescription.Builder

parseDelimitedFrom(InputStream input)

public static VersionDescription parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VersionDescription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VersionDescription parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VersionDescription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VersionDescription parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VersionDescription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VersionDescription parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VersionDescription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VersionDescription parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VersionDescription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VersionDescription parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VersionDescription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VersionDescription
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VersionDescription> parser()
Returns
TypeDescription
Parser<VersionDescription>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VersionDescription getDefaultInstanceForType()
Returns
TypeDescription
VersionDescription

getDescription()

public String getDescription()

Description of the version.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the version.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

public Parser<VersionDescription> getParserForType()
Returns
TypeDescription
Parser<VersionDescription>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersion()

public String getVersion()

Name of the version

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Name of the version

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VersionDescription.Builder newBuilderForType()
Returns
TypeDescription
VersionDescription.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VersionDescription.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VersionDescription.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VersionDescription.Builder toBuilder()
Returns
TypeDescription
VersionDescription.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException