public final class ReportValue extends GeneratedMessageV3 implements ReportValueOrBuilder
A single report value.
Protobuf type google.cloud.channel.v1.ReportValue
Static Fields
DATE_TIME_VALUE_FIELD_NUMBER
public static final int DATE_TIME_VALUE_FIELD_NUMBER
Field Value
DATE_VALUE_FIELD_NUMBER
public static final int DATE_VALUE_FIELD_NUMBER
Field Value
DECIMAL_VALUE_FIELD_NUMBER
public static final int DECIMAL_VALUE_FIELD_NUMBER
Field Value
INT_VALUE_FIELD_NUMBER
public static final int INT_VALUE_FIELD_NUMBER
Field Value
MONEY_VALUE_FIELD_NUMBER
public static final int MONEY_VALUE_FIELD_NUMBER
Field Value
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ReportValue getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ReportValue.Builder newBuilder()
Returns
newBuilder(ReportValue prototype)
public static ReportValue.Builder newBuilder(ReportValue prototype)
Parameter
Returns
public static ReportValue parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReportValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ReportValue parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReportValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ReportValue parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReportValue parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReportValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReportValue parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReportValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ReportValue parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReportValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ReportValue> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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.
|
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.
|
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.
|
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
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.
|
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 | |
getParserForType()
public Parser<ReportValue> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValueCase()
public ReportValue.ValueCase getValueCase()
Returns
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ReportValue.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReportValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ReportValue.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions