Package com.google.cloud.channel.v1
Class ReportValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
- com.google.cloud.channel.v1.ReportValue.Builder
-
- All Implemented Interfaces:
ReportValueOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ReportValue
public static final class ReportValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder> implements ReportValueOrBuilder
A single report value.
Protobuf typegoogle.cloud.channel.v1.ReportValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportValue.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReportValue
build()
ReportValue
buildPartial()
ReportValue.Builder
clear()
ReportValue.Builder
clearDateTimeValue()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)ReportValue.Builder
clearDateValue()
A value of type `google.type.Date` (year, month, day).ReportValue.Builder
clearDecimalValue()
A value of type `google.type.Decimal`, representing non-integer numeric values.ReportValue.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ReportValue.Builder
clearIntValue()
A value of type `int`.ReportValue.Builder
clearMoneyValue()
A value of type `google.type.Money` (currency code, whole units, decimal units).ReportValue.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ReportValue.Builder
clearStringValue()
A value of type `string`.ReportValue.Builder
clearValue()
ReportValue.Builder
clone()
com.google.type.DateTime
getDateTimeValue()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)com.google.type.DateTime.Builder
getDateTimeValueBuilder()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)com.google.type.DateTimeOrBuilder
getDateTimeValueOrBuilder()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)com.google.type.Date
getDateValue()
A value of type `google.type.Date` (year, month, day).com.google.type.Date.Builder
getDateValueBuilder()
A value of type `google.type.Date` (year, month, day).com.google.type.DateOrBuilder
getDateValueOrBuilder()
A value of type `google.type.Date` (year, month, day).com.google.type.Decimal
getDecimalValue()
A value of type `google.type.Decimal`, representing non-integer numeric values.com.google.type.Decimal.Builder
getDecimalValueBuilder()
A value of type `google.type.Decimal`, representing non-integer numeric values.com.google.type.DecimalOrBuilder
getDecimalValueOrBuilder()
A value of type `google.type.Decimal`, representing non-integer numeric values.ReportValue
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getIntValue()
A value of type `int`.com.google.type.Money
getMoneyValue()
A value of type `google.type.Money` (currency code, whole units, decimal units).com.google.type.Money.Builder
getMoneyValueBuilder()
A value of type `google.type.Money` (currency code, whole units, decimal units).com.google.type.MoneyOrBuilder
getMoneyValueOrBuilder()
A value of type `google.type.Money` (currency code, whole units, decimal units).String
getStringValue()
A value of type `string`.com.google.protobuf.ByteString
getStringValueBytes()
A value of type `string`.ReportValue.ValueCase
getValueCase()
boolean
hasDateTimeValue()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)boolean
hasDateValue()
A value of type `google.type.Date` (year, month, day).boolean
hasDecimalValue()
A value of type `google.type.Decimal`, representing non-integer numeric values.boolean
hasIntValue()
A value of type `int`.boolean
hasMoneyValue()
A value of type `google.type.Money` (currency code, whole units, decimal units).boolean
hasStringValue()
A value of type `string`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReportValue.Builder
mergeDateTimeValue(com.google.type.DateTime value)
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)ReportValue.Builder
mergeDateValue(com.google.type.Date value)
A value of type `google.type.Date` (year, month, day).ReportValue.Builder
mergeDecimalValue(com.google.type.Decimal value)
A value of type `google.type.Decimal`, representing non-integer numeric values.ReportValue.Builder
mergeFrom(ReportValue other)
ReportValue.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReportValue.Builder
mergeFrom(com.google.protobuf.Message other)
ReportValue.Builder
mergeMoneyValue(com.google.type.Money value)
A value of type `google.type.Money` (currency code, whole units, decimal units).ReportValue.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReportValue.Builder
setDateTimeValue(com.google.type.DateTime value)
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)ReportValue.Builder
setDateTimeValue(com.google.type.DateTime.Builder builderForValue)
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)ReportValue.Builder
setDateValue(com.google.type.Date value)
A value of type `google.type.Date` (year, month, day).ReportValue.Builder
setDateValue(com.google.type.Date.Builder builderForValue)
A value of type `google.type.Date` (year, month, day).ReportValue.Builder
setDecimalValue(com.google.type.Decimal value)
A value of type `google.type.Decimal`, representing non-integer numeric values.ReportValue.Builder
setDecimalValue(com.google.type.Decimal.Builder builderForValue)
A value of type `google.type.Decimal`, representing non-integer numeric values.ReportValue.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReportValue.Builder
setIntValue(long value)
A value of type `int`.ReportValue.Builder
setMoneyValue(com.google.type.Money value)
A value of type `google.type.Money` (currency code, whole units, decimal units).ReportValue.Builder
setMoneyValue(com.google.type.Money.Builder builderForValue)
A value of type `google.type.Money` (currency code, whole units, decimal units).ReportValue.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ReportValue.Builder
setStringValue(String value)
A value of type `string`.ReportValue.Builder
setStringValueBytes(com.google.protobuf.ByteString value)
A value of type `string`.ReportValue.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
clear
public ReportValue.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
getDefaultInstanceForType
public ReportValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReportValue build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReportValue buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReportValue.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
setField
public ReportValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
clearField
public ReportValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
clearOneof
public ReportValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
setRepeatedField
public ReportValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
addRepeatedField
public ReportValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
mergeFrom
public ReportValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReportValue.Builder>
-
mergeFrom
public ReportValue.Builder mergeFrom(ReportValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
mergeFrom
public ReportValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReportValue.Builder>
- Throws:
IOException
-
getValueCase
public ReportValue.ValueCase getValueCase()
- Specified by:
getValueCase
in interfaceReportValueOrBuilder
-
clearValue
public ReportValue.Builder clearValue()
-
hasStringValue
public boolean hasStringValue()
A value of type `string`.
string string_value = 1;
- Specified by:
hasStringValue
in interfaceReportValueOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
public String getStringValue()
A value of type `string`.
string string_value = 1;
- Specified by:
getStringValue
in interfaceReportValueOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()
A value of type `string`.
string string_value = 1;
- Specified by:
getStringValueBytes
in interfaceReportValueOrBuilder
- Returns:
- The bytes for stringValue.
-
setStringValue
public ReportValue.Builder setStringValue(String value)
A value of type `string`.
string string_value = 1;
- Parameters:
value
- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
public ReportValue.Builder clearStringValue()
A value of type `string`.
string string_value = 1;
- Returns:
- This builder for chaining.
-
setStringValueBytes
public ReportValue.Builder setStringValueBytes(com.google.protobuf.ByteString value)
A value of type `string`.
string string_value = 1;
- Parameters:
value
- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasIntValue
public boolean hasIntValue()
A value of type `int`.
int64 int_value = 2;
- Specified by:
hasIntValue
in interfaceReportValueOrBuilder
- Returns:
- Whether the intValue field is set.
-
getIntValue
public long getIntValue()
A value of type `int`.
int64 int_value = 2;
- Specified by:
getIntValue
in interfaceReportValueOrBuilder
- Returns:
- The intValue.
-
setIntValue
public ReportValue.Builder setIntValue(long value)
A value of type `int`.
int64 int_value = 2;
- Parameters:
value
- The intValue to set.- Returns:
- This builder for chaining.
-
clearIntValue
public ReportValue.Builder clearIntValue()
A value of type `int`.
int64 int_value = 2;
- Returns:
- This builder for chaining.
-
hasDecimalValue
public boolean hasDecimalValue()
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;
- Specified by:
hasDecimalValue
in interfaceReportValueOrBuilder
- Returns:
- Whether the decimalValue field is set.
-
getDecimalValue
public com.google.type.Decimal getDecimalValue()
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;
- Specified by:
getDecimalValue
in interfaceReportValueOrBuilder
- Returns:
- The decimalValue.
-
setDecimalValue
public ReportValue.Builder setDecimalValue(com.google.type.Decimal value)
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;
-
setDecimalValue
public ReportValue.Builder setDecimalValue(com.google.type.Decimal.Builder builderForValue)
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;
-
mergeDecimalValue
public ReportValue.Builder mergeDecimalValue(com.google.type.Decimal value)
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;
-
clearDecimalValue
public ReportValue.Builder clearDecimalValue()
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;
-
getDecimalValueBuilder
public com.google.type.Decimal.Builder getDecimalValueBuilder()
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;
-
getDecimalValueOrBuilder
public com.google.type.DecimalOrBuilder getDecimalValueOrBuilder()
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;
- Specified by:
getDecimalValueOrBuilder
in interfaceReportValueOrBuilder
-
hasMoneyValue
public boolean hasMoneyValue()
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;
- Specified by:
hasMoneyValue
in interfaceReportValueOrBuilder
- Returns:
- Whether the moneyValue field is set.
-
getMoneyValue
public com.google.type.Money getMoneyValue()
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;
- Specified by:
getMoneyValue
in interfaceReportValueOrBuilder
- Returns:
- The moneyValue.
-
setMoneyValue
public ReportValue.Builder setMoneyValue(com.google.type.Money value)
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;
-
setMoneyValue
public ReportValue.Builder setMoneyValue(com.google.type.Money.Builder builderForValue)
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;
-
mergeMoneyValue
public ReportValue.Builder mergeMoneyValue(com.google.type.Money value)
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;
-
clearMoneyValue
public ReportValue.Builder clearMoneyValue()
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;
-
getMoneyValueBuilder
public com.google.type.Money.Builder getMoneyValueBuilder()
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;
-
getMoneyValueOrBuilder
public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder()
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;
- Specified by:
getMoneyValueOrBuilder
in interfaceReportValueOrBuilder
-
hasDateValue
public boolean hasDateValue()
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;
- Specified by:
hasDateValue
in interfaceReportValueOrBuilder
- Returns:
- Whether the dateValue field is set.
-
getDateValue
public com.google.type.Date getDateValue()
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;
- Specified by:
getDateValue
in interfaceReportValueOrBuilder
- Returns:
- The dateValue.
-
setDateValue
public ReportValue.Builder setDateValue(com.google.type.Date value)
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;
-
setDateValue
public ReportValue.Builder setDateValue(com.google.type.Date.Builder builderForValue)
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;
-
mergeDateValue
public ReportValue.Builder mergeDateValue(com.google.type.Date value)
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;
-
clearDateValue
public ReportValue.Builder clearDateValue()
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;
-
getDateValueBuilder
public com.google.type.Date.Builder getDateValueBuilder()
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;
-
getDateValueOrBuilder
public com.google.type.DateOrBuilder getDateValueOrBuilder()
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;
- Specified by:
getDateValueOrBuilder
in interfaceReportValueOrBuilder
-
hasDateTimeValue
public boolean hasDateTimeValue()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)
.google.type.DateTime date_time_value = 6;
- Specified by:
hasDateTimeValue
in interfaceReportValueOrBuilder
- Returns:
- Whether the dateTimeValue field is set.
-
getDateTimeValue
public com.google.type.DateTime getDateTimeValue()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)
.google.type.DateTime date_time_value = 6;
- Specified by:
getDateTimeValue
in interfaceReportValueOrBuilder
- Returns:
- The dateTimeValue.
-
setDateTimeValue
public ReportValue.Builder setDateTimeValue(com.google.type.DateTime value)
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)
.google.type.DateTime date_time_value = 6;
-
setDateTimeValue
public ReportValue.Builder setDateTimeValue(com.google.type.DateTime.Builder builderForValue)
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)
.google.type.DateTime date_time_value = 6;
-
mergeDateTimeValue
public ReportValue.Builder mergeDateTimeValue(com.google.type.DateTime value)
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)
.google.type.DateTime date_time_value = 6;
-
clearDateTimeValue
public ReportValue.Builder clearDateTimeValue()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)
.google.type.DateTime date_time_value = 6;
-
getDateTimeValueBuilder
public com.google.type.DateTime.Builder getDateTimeValueBuilder()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)
.google.type.DateTime date_time_value = 6;
-
getDateTimeValueOrBuilder
public com.google.type.DateTimeOrBuilder getDateTimeValueOrBuilder()
A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)
.google.type.DateTime date_time_value = 6;
- Specified by:
getDateTimeValueOrBuilder
in interfaceReportValueOrBuilder
-
setUnknownFields
public final ReportValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
mergeUnknownFields
public final ReportValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReportValue.Builder>
-
-