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.GeneratedMessage.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.GeneratedMessage.Builder<ReportValue.Builder>
implements ReportValueOrBuilder
A single report value.Protobuf type
google.cloud.channel.v1.ReportValue-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)A value of type `google.type.Date` (year, month, day).A value of type `google.type.Decimal`, representing non-integer numeric values.A value of type `int`.A value of type `google.type.Money` (currency code, whole units, decimal units).A value of type `string`.A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)A value of type `google.type.Date` (year, month, day).A value of type `google.type.Date` (year, month, day).A value of type `google.type.Date` (year, month, day).A value of type `google.type.Decimal`, representing non-integer numeric values.A value of type `google.type.Decimal`, representing non-integer numeric values.A value of type `google.type.Decimal`, representing non-integer numeric values.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongA value of type `int`.A value of type `google.type.Money` (currency code, whole units, decimal units).A value of type `google.type.Money` (currency code, whole units, decimal units).A value of type `google.type.Money` (currency code, whole units, decimal units).A value of type `string`.com.google.protobuf.ByteStringA value of type `string`.booleanA value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)booleanA value of type `google.type.Date` (year, month, day).booleanA value of type `google.type.Decimal`, representing non-integer numeric values.booleanA value of type `int`.booleanA value of type `google.type.Money` (currency code, whole units, decimal units).booleanA value of type `string`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDateTimeValue(DateTime value) A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)mergeDateValue(Date value) A value of type `google.type.Date` (year, month, day).mergeDecimalValue(Decimal value) A value of type `google.type.Decimal`, representing non-integer numeric values.mergeFrom(ReportValue other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMoneyValue(Money value) A value of type `google.type.Money` (currency code, whole units, decimal units).setDateTimeValue(DateTime value) A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)setDateTimeValue(DateTime.Builder builderForValue) A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)setDateValue(Date value) A value of type `google.type.Date` (year, month, day).setDateValue(Date.Builder builderForValue) A value of type `google.type.Date` (year, month, day).setDecimalValue(Decimal value) A value of type `google.type.Decimal`, representing non-integer numeric values.setDecimalValue(Decimal.Builder builderForValue) A value of type `google.type.Decimal`, representing non-integer numeric values.setIntValue(long value) A value of type `int`.setMoneyValue(Money value) A value of type `google.type.Money` (currency code, whole units, decimal units).setMoneyValue(Money.Builder builderForValue) A value of type `google.type.Money` (currency code, whole units, decimal units).setStringValue(String value) A value of type `string`.setStringValueBytes(com.google.protobuf.ByteString value) A value of type `string`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReportValue.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReportValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReportValue.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReportValue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReportValue.Builder>
-
mergeFrom
public ReportValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReportValue.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceReportValueOrBuilder
-
clearValue
-
hasStringValue
public boolean hasStringValue()A value of type `string`.
string string_value = 1;- Specified by:
hasStringValuein interfaceReportValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
A value of type `string`.
string string_value = 1;- Specified by:
getStringValuein interfaceReportValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()A value of type `string`.
string string_value = 1;- Specified by:
getStringValueBytesin interfaceReportValueOrBuilder- Returns:
- The bytes for stringValue.
-
setStringValue
A value of type `string`.
string string_value = 1;- Parameters:
value- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
A value of type `string`.
string string_value = 1;- Returns:
- This builder for chaining.
-
setStringValueBytes
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:
hasIntValuein interfaceReportValueOrBuilder- Returns:
- Whether the intValue field is set.
-
getIntValue
public long getIntValue()A value of type `int`.
int64 int_value = 2;- Specified by:
getIntValuein interfaceReportValueOrBuilder- Returns:
- The intValue.
-
setIntValue
A value of type `int`.
int64 int_value = 2;- Parameters:
value- The intValue to set.- Returns:
- This builder for chaining.
-
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:
hasDecimalValuein interfaceReportValueOrBuilder- Returns:
- Whether the decimalValue field is set.
-
getDecimalValue
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;- Specified by:
getDecimalValuein interfaceReportValueOrBuilder- Returns:
- The decimalValue.
-
setDecimalValue
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3; -
setDecimalValue
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3; -
mergeDecimalValue
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3; -
clearDecimalValue
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3; -
getDecimalValueBuilder
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3; -
getDecimalValueOrBuilder
A value of type `google.type.Decimal`, representing non-integer numeric values.
.google.type.Decimal decimal_value = 3;- Specified by:
getDecimalValueOrBuilderin 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:
hasMoneyValuein interfaceReportValueOrBuilder- Returns:
- Whether the moneyValue field is set.
-
getMoneyValue
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;- Specified by:
getMoneyValuein interfaceReportValueOrBuilder- Returns:
- The moneyValue.
-
setMoneyValue
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4; -
setMoneyValue
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4; -
mergeMoneyValue
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4; -
clearMoneyValue
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4; -
getMoneyValueBuilder
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4; -
getMoneyValueOrBuilder
A value of type `google.type.Money` (currency code, whole units, decimal units).
.google.type.Money money_value = 4;- Specified by:
getMoneyValueOrBuilderin interfaceReportValueOrBuilder
-
hasDateValue
public boolean hasDateValue()A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;- Specified by:
hasDateValuein interfaceReportValueOrBuilder- Returns:
- Whether the dateValue field is set.
-
getDateValue
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;- Specified by:
getDateValuein interfaceReportValueOrBuilder- Returns:
- The dateValue.
-
setDateValue
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5; -
setDateValue
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5; -
mergeDateValue
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5; -
clearDateValue
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5; -
getDateValueBuilder
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5; -
getDateValueOrBuilder
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;- Specified by:
getDateValueOrBuilderin 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:
hasDateTimeValuein interfaceReportValueOrBuilder- Returns:
- Whether the dateTimeValue field is set.
-
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:
getDateTimeValuein interfaceReportValueOrBuilder- Returns:
- The dateTimeValue.
-
setDateTimeValue
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
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
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
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
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
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:
getDateTimeValueOrBuilderin interfaceReportValueOrBuilder
-