- 3.51.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class ReportValue.Builder extends GeneratedMessageV3.Builder<ReportValue.Builder> implements ReportValueOrBuilder
A single report value.
Protobuf type google.cloud.channel.v1.ReportValue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReportValue.BuilderImplements
ReportValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
build()
public ReportValue build()
Returns | |
---|---|
Type | Description |
ReportValue |
buildPartial()
public ReportValue buildPartial()
Returns | |
---|---|
Type | Description |
ReportValue |
clear()
public ReportValue.Builder clear()
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
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;
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
clearDateValue()
public ReportValue.Builder clearDateValue()
A value of type google.type.Date
(year, month, day).
.google.type.Date date_value = 5;
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
clearDecimalValue()
public ReportValue.Builder clearDecimalValue()
A value of type google.type.Decimal
, representing non-integer numeric
values.
.google.type.Decimal decimal_value = 3;
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReportValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
clearIntValue()
public ReportValue.Builder clearIntValue()
A value of type int
.
int64 int_value = 2;
Returns | |
---|---|
Type | Description |
ReportValue.Builder | This builder for chaining. |
clearMoneyValue()
public ReportValue.Builder clearMoneyValue()
A value of type google.type.Money
(currency code, whole units, decimal
units).
.google.type.Money money_value = 4;
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
clearStringValue()
public ReportValue.Builder clearStringValue()
A value of type string
.
string string_value = 1;
Returns | |
---|---|
Type | Description |
ReportValue.Builder | This builder for chaining. |
clearValue()
public ReportValue.Builder clearValue()
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
clone()
public ReportValue.Builder clone()
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
getDateTimeValue()
public 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;
Returns | |
---|---|
Type | Description |
com.google.type.DateTime | The dateTimeValue. |
getDateTimeValueBuilder()
public 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;
Returns | |
---|---|
Type | Description |
com.google.type.DateTime.Builder |
getDateTimeValueOrBuilder()
public 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;
Returns | |
---|---|
Type | Description |
com.google.type.DateTimeOrBuilder |
getDateValue()
public Date getDateValue()
A value of type google.type.Date
(year, month, day).
.google.type.Date date_value = 5;
Returns | |
---|---|
Type | Description |
com.google.type.Date | The dateValue. |
getDateValueBuilder()
public Date.Builder getDateValueBuilder()
A value of type google.type.Date
(year, month, day).
.google.type.Date date_value = 5;
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getDateValueOrBuilder()
public DateOrBuilder getDateValueOrBuilder()
A value of type google.type.Date
(year, month, day).
.google.type.Date date_value = 5;
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getDecimalValue()
public Decimal getDecimalValue()
A value of type google.type.Decimal
, representing non-integer numeric
values.
.google.type.Decimal decimal_value = 3;
Returns | |
---|---|
Type | Description |
com.google.type.Decimal | The decimalValue. |
getDecimalValueBuilder()
public Decimal.Builder getDecimalValueBuilder()
A value of type google.type.Decimal
, representing non-integer numeric
values.
.google.type.Decimal decimal_value = 3;
Returns | |
---|---|
Type | Description |
com.google.type.Decimal.Builder |
getDecimalValueOrBuilder()
public DecimalOrBuilder getDecimalValueOrBuilder()
A value of type google.type.Decimal
, representing non-integer numeric
values.
.google.type.Decimal decimal_value = 3;
Returns | |
---|---|
Type | Description |
com.google.type.DecimalOrBuilder |
getDefaultInstanceForType()
public ReportValue getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReportValue |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIntValue()
public long getIntValue()
A value of type int
.
int64 int_value = 2;
Returns | |
---|---|
Type | Description |
long | The intValue. |
getMoneyValue()
public Money getMoneyValue()
A value of type google.type.Money
(currency code, whole units, decimal
units).
.google.type.Money money_value = 4;
Returns | |
---|---|
Type | Description |
com.google.type.Money | The moneyValue. |
getMoneyValueBuilder()
public Money.Builder getMoneyValueBuilder()
A value of type google.type.Money
(currency code, whole units, decimal
units).
.google.type.Money money_value = 4;
Returns | |
---|---|
Type | Description |
com.google.type.Money.Builder |
getMoneyValueOrBuilder()
public MoneyOrBuilder getMoneyValueOrBuilder()
A value of type google.type.Money
(currency code, whole units, decimal
units).
.google.type.Money money_value = 4;
Returns | |
---|---|
Type | Description |
com.google.type.MoneyOrBuilder |
getStringValue()
public String getStringValue()
A value of type string
.
string string_value = 1;
Returns | |
---|---|
Type | Description |
String | The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()
A value of type string
.
string string_value = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for stringValue. |
getValueCase()
public ReportValue.ValueCase getValueCase()
Returns | |
---|---|
Type | Description |
ReportValue.ValueCase |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the dateTimeValue field is set. |
hasDateValue()
public boolean hasDateValue()
A value of type google.type.Date
(year, month, day).
.google.type.Date date_value = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the dateValue field is set. |
hasDecimalValue()
public boolean hasDecimalValue()
A value of type google.type.Decimal
, representing non-integer numeric
values.
.google.type.Decimal decimal_value = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the decimalValue field is set. |
hasIntValue()
public boolean hasIntValue()
A value of type int
.
int64 int_value = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the intValue field is set. |
hasMoneyValue()
public boolean hasMoneyValue()
A value of type google.type.Money
(currency code, whole units, decimal
units).
.google.type.Money money_value = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the moneyValue field is set. |
hasStringValue()
public boolean hasStringValue()
A value of type string
.
string string_value = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the stringValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDateTimeValue(DateTime value)
public ReportValue.Builder mergeDateTimeValue(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;
Parameter | |
---|---|
Name | Description |
value | com.google.type.DateTime |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
mergeDateValue(Date value)
public ReportValue.Builder mergeDateValue(Date value)
A value of type google.type.Date
(year, month, day).
.google.type.Date date_value = 5;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
mergeDecimalValue(Decimal value)
public ReportValue.Builder mergeDecimalValue(Decimal value)
A value of type google.type.Decimal
, representing non-integer numeric
values.
.google.type.Decimal decimal_value = 3;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Decimal |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
mergeFrom(ReportValue other)
public ReportValue.Builder mergeFrom(ReportValue other)
Parameter | |
---|---|
Name | Description |
other | ReportValue |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReportValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReportValue.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
mergeMoneyValue(Money value)
public ReportValue.Builder mergeMoneyValue(Money value)
A value of type google.type.Money
(currency code, whole units, decimal
units).
.google.type.Money money_value = 4;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Money |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setDateTimeValue(DateTime value)
public ReportValue.Builder setDateTimeValue(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;
Parameter | |
---|---|
Name | Description |
value | com.google.type.DateTime |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setDateTimeValue(DateTime.Builder builderForValue)
public ReportValue.Builder setDateTimeValue(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;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.DateTime.Builder |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setDateValue(Date value)
public ReportValue.Builder setDateValue(Date value)
A value of type google.type.Date
(year, month, day).
.google.type.Date date_value = 5;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setDateValue(Date.Builder builderForValue)
public ReportValue.Builder setDateValue(Date.Builder builderForValue)
A value of type google.type.Date
(year, month, day).
.google.type.Date date_value = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setDecimalValue(Decimal value)
public ReportValue.Builder setDecimalValue(Decimal value)
A value of type google.type.Decimal
, representing non-integer numeric
values.
.google.type.Decimal decimal_value = 3;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Decimal |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setDecimalValue(Decimal.Builder builderForValue)
public ReportValue.Builder setDecimalValue(Decimal.Builder builderForValue)
A value of type google.type.Decimal
, representing non-integer numeric
values.
.google.type.Decimal decimal_value = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Decimal.Builder |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReportValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setIntValue(long value)
public ReportValue.Builder setIntValue(long value)
A value of type int
.
int64 int_value = 2;
Parameter | |
---|---|
Name | Description |
value | long The intValue to set. |
Returns | |
---|---|
Type | Description |
ReportValue.Builder | This builder for chaining. |
setMoneyValue(Money value)
public ReportValue.Builder setMoneyValue(Money value)
A value of type google.type.Money
(currency code, whole units, decimal
units).
.google.type.Money money_value = 4;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Money |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setMoneyValue(Money.Builder builderForValue)
public ReportValue.Builder setMoneyValue(Money.Builder builderForValue)
A value of type google.type.Money
(currency code, whole units, decimal
units).
.google.type.Money money_value = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Money.Builder |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |
setStringValue(String value)
public ReportValue.Builder setStringValue(String value)
A value of type string
.
string string_value = 1;
Parameter | |
---|---|
Name | Description |
value | String The stringValue to set. |
Returns | |
---|---|
Type | Description |
ReportValue.Builder | This builder for chaining. |
setStringValueBytes(ByteString value)
public ReportValue.Builder setStringValueBytes(ByteString value)
A value of type string
.
string string_value = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for stringValue to set. |
Returns | |
---|---|
Type | Description |
ReportValue.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReportValue.Builder |