Class ReportValue (3.13.0)

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
TypeDescription
int

DATE_VALUE_FIELD_NUMBER

public static final int DATE_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

DECIMAL_VALUE_FIELD_NUMBER

public static final int DECIMAL_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

INT_VALUE_FIELD_NUMBER

public static final int INT_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

MONEY_VALUE_FIELD_NUMBER

public static final int MONEY_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

STRING_VALUE_FIELD_NUMBER

public static final int STRING_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportValue getDefaultInstance()
Returns
TypeDescription
ReportValue

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReportValue.Builder newBuilder()
Returns
TypeDescription
ReportValue.Builder

newBuilder(ReportValue prototype)

public static ReportValue.Builder newBuilder(ReportValue prototype)
Parameter
NameDescription
prototypeReportValue
Returns
TypeDescription
ReportValue.Builder

parseDelimitedFrom(InputStream input)

public static ReportValue parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReportValue parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportValue parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportValue parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReportValue parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReportValue parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReportValue> parser()
Returns
TypeDescription
Parser<ReportValue>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.type.DecimalOrBuilder

getDefaultInstanceForType()

public ReportValue getDefaultInstanceForType()
Returns
TypeDescription
ReportValue

getIntValue()

public long getIntValue()

A value of type int.

int64 int_value = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.type.MoneyOrBuilder

getParserForType()

public Parser<ReportValue> getParserForType()
Returns
TypeDescription
Parser<ReportValue>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStringValue()

public String getStringValue()

A value of type string.

string string_value = 1;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

A value of type string.

string string_value = 1;

Returns
TypeDescription
ByteString

The bytes for stringValue.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValueCase()

public ReportValue.ValueCase getValueCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the decimalValue field is set.

hasIntValue()

public boolean hasIntValue()

A value of type int.

int64 int_value = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the moneyValue field is set.

hasStringValue()

public boolean hasStringValue()

A value of type string.

string string_value = 1;

Returns
TypeDescription
boolean

Whether the stringValue field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReportValue.Builder newBuilderForType()
Returns
TypeDescription
ReportValue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReportValue.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReportValue.Builder toBuilder()
Returns
TypeDescription
ReportValue.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException