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