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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QuoteInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public QuoteInfo buildPartial()
Returns
clear()
public QuoteInfo.Builder clear()
Returns
Overrides
clearDateTime()
public QuoteInfo.Builder clearDateTime()
The date time indicated by the quote.
.google.privacy.dlp.v2.DateTime date_time = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public QuoteInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public QuoteInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParsedQuote()
public QuoteInfo.Builder clearParsedQuote()
Returns
clone()
public QuoteInfo.Builder clone()
Returns
Overrides
getDateTime()
public DateTime getDateTime()
The date time indicated by the quote.
.google.privacy.dlp.v2.DateTime date_time = 2;
Returns
getDateTimeBuilder()
public DateTime.Builder getDateTimeBuilder()
The date time indicated by the quote.
.google.privacy.dlp.v2.DateTime date_time = 2;
Returns
getDateTimeOrBuilder()
public DateTimeOrBuilder getDateTimeOrBuilder()
The date time indicated by the quote.
.google.privacy.dlp.v2.DateTime date_time = 2;
Returns
getDefaultInstanceForType()
public QuoteInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParsedQuoteCase()
public QuoteInfo.ParsedQuoteCase getParsedQuoteCase()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(QuoteInfo other)
public QuoteInfo.Builder mergeFrom(QuoteInfo other)
Parameter
Returns
public QuoteInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public QuoteInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QuoteInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public QuoteInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QuoteInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QuoteInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides