Class QuoteInfo.Builder (3.26.0)

public static final class QuoteInfo.Builder extends GeneratedMessageV3.Builder<QuoteInfo.Builder> implements QuoteInfoOrBuilder

Message for infoType-dependent details parsed from quote.

Protobuf type google.privacy.dlp.v2.QuoteInfo

Implements

QuoteInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QuoteInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QuoteInfo.Builder
Overrides

build()

public QuoteInfo build()
Returns
TypeDescription
QuoteInfo

buildPartial()

public QuoteInfo buildPartial()
Returns
TypeDescription
QuoteInfo

clear()

public QuoteInfo.Builder clear()
Returns
TypeDescription
QuoteInfo.Builder
Overrides

clearDateTime()

public QuoteInfo.Builder clearDateTime()

The date time indicated by the quote.

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

Returns
TypeDescription
QuoteInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public QuoteInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QuoteInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QuoteInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
QuoteInfo.Builder
Overrides

clearParsedQuote()

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

clone()

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

getDateTimeBuilder()

public DateTime.Builder getDateTimeBuilder()

The date time indicated by the quote.

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

Returns
TypeDescription
DateTime.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParsedQuoteCase()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDateTime(DateTime value)

public QuoteInfo.Builder mergeDateTime(DateTime value)

The date time indicated by the quote.

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

Parameter
NameDescription
valueDateTime
Returns
TypeDescription
QuoteInfo.Builder

mergeFrom(QuoteInfo other)

public QuoteInfo.Builder mergeFrom(QuoteInfo other)
Parameter
NameDescription
otherQuoteInfo
Returns
TypeDescription
QuoteInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QuoteInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuoteInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QuoteInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QuoteInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QuoteInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QuoteInfo.Builder
Overrides

setDateTime(DateTime value)

public QuoteInfo.Builder setDateTime(DateTime value)

The date time indicated by the quote.

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

Parameter
NameDescription
valueDateTime
Returns
TypeDescription
QuoteInfo.Builder

setDateTime(DateTime.Builder builderForValue)

public QuoteInfo.Builder setDateTime(DateTime.Builder builderForValue)

The date time indicated by the quote.

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

Parameter
NameDescription
builderForValueDateTime.Builder
Returns
TypeDescription
QuoteInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QuoteInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QuoteInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QuoteInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QuoteInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QuoteInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QuoteInfo.Builder
Overrides