Package com.google.cloud.channel.v1
Class ReportValue
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.channel.v1.ReportValue
-
- All Implemented Interfaces:
ReportValueOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ReportValue extends com.google.protobuf.GeneratedMessageV3 implements ReportValueOrBuilder
A single report value.
Protobuf typegoogle.cloud.channel.v1.ReportValue- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReportValue.BuilderA single report value.static classReportValue.ValueCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDATE_TIME_VALUE_FIELD_NUMBERstatic intDATE_VALUE_FIELD_NUMBERstatic intDECIMAL_VALUE_FIELD_NUMBERstatic intINT_VALUE_FIELD_NUMBERstatic intMONEY_VALUE_FIELD_NUMBERstatic intSTRING_VALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.type.DateTimegetDateTimeValue()A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)com.google.type.DateTimeOrBuildergetDateTimeValueOrBuilder()A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)com.google.type.DategetDateValue()A value of type `google.type.Date` (year, month, day).com.google.type.DateOrBuildergetDateValueOrBuilder()A value of type `google.type.Date` (year, month, day).com.google.type.DecimalgetDecimalValue()A value of type `google.type.Decimal`, representing non-integer numeric values.com.google.type.DecimalOrBuildergetDecimalValueOrBuilder()A value of type `google.type.Decimal`, representing non-integer numeric values.static ReportValuegetDefaultInstance()ReportValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetIntValue()A value of type `int`.com.google.type.MoneygetMoneyValue()A value of type `google.type.Money` (currency code, whole units, decimal units).com.google.type.MoneyOrBuildergetMoneyValueOrBuilder()A value of type `google.type.Money` (currency code, whole units, decimal units).com.google.protobuf.Parser<ReportValue>getParserForType()intgetSerializedSize()StringgetStringValue()A value of type `string`.com.google.protobuf.ByteStringgetStringValueBytes()A value of type `string`.ReportValue.ValueCasegetValueCase()booleanhasDateTimeValue()A value of type `google.type.DateTime` (year, month, day, hour, minute, second, and UTC offset or timezone.)booleanhasDateValue()A value of type `google.type.Date` (year, month, day).booleanhasDecimalValue()A value of type `google.type.Decimal`, representing non-integer numeric values.inthashCode()booleanhasIntValue()A value of type `int`.booleanhasMoneyValue()A value of type `google.type.Money` (currency code, whole units, decimal units).booleanhasStringValue()A value of type `string`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ReportValue.BuildernewBuilder()static ReportValue.BuildernewBuilder(ReportValue prototype)ReportValue.BuildernewBuilderForType()protected ReportValue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ReportValueparseDelimitedFrom(InputStream input)static ReportValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportValueparseFrom(byte[] data)static ReportValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportValueparseFrom(com.google.protobuf.ByteString data)static ReportValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportValueparseFrom(com.google.protobuf.CodedInputStream input)static ReportValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportValueparseFrom(InputStream input)static ReportValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportValueparseFrom(ByteBuffer data)static ReportValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ReportValue>parser()ReportValue.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT_VALUE_FIELD_NUMBER
public static final int INT_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DECIMAL_VALUE_FIELD_NUMBER
public static final int DECIMAL_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MONEY_VALUE_FIELD_NUMBER
public static final int MONEY_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATE_VALUE_FIELD_NUMBER
public static final int DATE_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATE_TIME_VALUE_FIELD_NUMBER
public static final int DATE_TIME_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getValueCase
public ReportValue.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceReportValueOrBuilder
-
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
public String 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.
-
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.
-
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
public com.google.type.Decimal 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.
-
getDecimalValueOrBuilder
public com.google.type.DecimalOrBuilder 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
public com.google.type.Money 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.
-
getMoneyValueOrBuilder
public com.google.type.MoneyOrBuilder 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
public com.google.type.Date getDateValue()
A value of type `google.type.Date` (year, month, day).
.google.type.Date date_value = 5;- Specified by:
getDateValuein interfaceReportValueOrBuilder- Returns:
- The dateValue.
-
getDateValueOrBuilder
public com.google.type.DateOrBuilder 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
public com.google.type.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;- Specified by:
getDateTimeValuein interfaceReportValueOrBuilder- Returns:
- The dateTimeValue.
-
getDateTimeValueOrBuilder
public com.google.type.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;- Specified by:
getDateTimeValueOrBuilderin interfaceReportValueOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReportValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportValue parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReportValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReportValue parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReportValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ReportValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReportValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ReportValue.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ReportValue.Builder newBuilder()
-
newBuilder
public static ReportValue.Builder newBuilder(ReportValue prototype)
-
toBuilder
public ReportValue.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReportValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ReportValue getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ReportValue> parser()
-
getParserForType
public com.google.protobuf.Parser<ReportValue> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReportValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-