Class QuoteInfo (3.2.1)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static QuoteInfo getDefaultInstance()
Returns
TypeDescription
QuoteInfo

getDescriptor()

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

newBuilder()

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

newBuilder(QuoteInfo prototype)

public static QuoteInfo.Builder newBuilder(QuoteInfo prototype)
Parameter
NameDescription
prototypeQuoteInfo
Returns
TypeDescription
QuoteInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDateTime()

public DateTime getDateTime()

The date time indicated by the quote.

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

Returns
TypeDescription
DateTime

The dateTime.

getDateTimeOrBuilder()

public DateTimeOrBuilder getDateTimeOrBuilder()

The date time indicated by the quote.

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

Returns
TypeDescription
DateTimeOrBuilder

getDefaultInstanceForType()

public QuoteInfo getDefaultInstanceForType()
Returns
TypeDescription
QuoteInfo

getParsedQuoteCase()

public QuoteInfo.ParsedQuoteCase getParsedQuoteCase()
Returns
TypeDescription
QuoteInfo.ParsedQuoteCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDateTime()

public boolean hasDateTime()

The date time indicated by the quote.

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

Returns
TypeDescription
boolean

Whether the dateTime field is set.

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 QuoteInfo.Builder newBuilderForType()
Returns
TypeDescription
QuoteInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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