Class QuoteInfo.Builder (3.49.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QuoteInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QuoteInfo.Builder
Overrides

build()

public QuoteInfo build()
Returns
Type Description
QuoteInfo

buildPartial()

public QuoteInfo buildPartial()
Returns
Type Description
QuoteInfo

clear()

public QuoteInfo.Builder clear()
Returns
Type Description
QuoteInfo.Builder
Overrides

clearDateTime()

public QuoteInfo.Builder clearDateTime()

The date time indicated by the quote.

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

Returns
Type Description
QuoteInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public QuoteInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QuoteInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QuoteInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QuoteInfo.Builder
Overrides

clearParsedQuote()

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

clone()

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

getDateTimeBuilder()

public DateTime.Builder getDateTimeBuilder()

The date time indicated by the quote.

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

Returns
Type Description
DateTime.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParsedQuoteCase()

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value DateTime
Returns
Type Description
QuoteInfo.Builder

mergeFrom(QuoteInfo other)

public QuoteInfo.Builder mergeFrom(QuoteInfo other)
Parameter
Name Description
other QuoteInfo
Returns
Type Description
QuoteInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QuoteInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuoteInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QuoteInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QuoteInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QuoteInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value DateTime
Returns
Type Description
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
Name Description
builderForValue DateTime.Builder
Returns
Type Description
QuoteInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QuoteInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QuoteInfo.Builder
Overrides

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

public QuoteInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QuoteInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QuoteInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QuoteInfo.Builder
Overrides