Class QuoteInfo (3.59.0)

public final class QuoteInfo extends GeneratedMessageV3 implements QuoteInfoOrBuilder

Message for infoType-dependent details parsed from quote.

Protobuf type google.privacy.dlp.v2.QuoteInfo

Implements

QuoteInfoOrBuilder

Static Fields

DATE_TIME_FIELD_NUMBER

public static final int DATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QuoteInfo getDefaultInstance()
Returns
Type Description
QuoteInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static QuoteInfo.Builder newBuilder()
Returns
Type Description
QuoteInfo.Builder

newBuilder(QuoteInfo prototype)

public static QuoteInfo.Builder newBuilder(QuoteInfo prototype)
Parameter
Name Description
prototype QuoteInfo
Returns
Type Description
QuoteInfo.Builder

parseDelimitedFrom(InputStream input)

public static QuoteInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QuoteInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuoteInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuoteInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QuoteInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QuoteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QuoteInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuoteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QuoteInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QuoteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QuoteInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuoteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QuoteInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QuoteInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QuoteInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuoteInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QuoteInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QuoteInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuoteInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuoteInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QuoteInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QuoteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QuoteInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuoteInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QuoteInfo> parser()
Returns
Type Description
Parser<QuoteInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDateTime()

public DateTime getDateTime()

The date time indicated by the quote.

.google.privacy.dlp.v2.DateTime date_time = 2;

Returns
Type Description
DateTime

The dateTime.

getDateTimeOrBuilder()

public DateTimeOrBuilder getDateTimeOrBuilder()

The date time indicated by the quote.

.google.privacy.dlp.v2.DateTime date_time = 2;

Returns
Type Description
DateTimeOrBuilder

getDefaultInstanceForType()

public QuoteInfo getDefaultInstanceForType()
Returns
Type Description
QuoteInfo

getParsedQuoteCase()

public QuoteInfo.ParsedQuoteCase getParsedQuoteCase()
Returns
Type Description
QuoteInfo.ParsedQuoteCase

getParserForType()

public Parser<QuoteInfo> getParserForType()
Returns
Type Description
Parser<QuoteInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDateTime()

public boolean hasDateTime()

The date time indicated by the quote.

.google.privacy.dlp.v2.DateTime date_time = 2;

Returns
Type Description
boolean

Whether the dateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public QuoteInfo.Builder newBuilderForType()
Returns
Type Description
QuoteInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QuoteInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QuoteInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public QuoteInfo.Builder toBuilder()
Returns
Type Description
QuoteInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException