public final class NumericValue extends GeneratedMessageV3 implements NumericValueOrBuilder
To represent a number.
Protobuf type google.analytics.data.v1alpha.NumericValue
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NumericValueImplements
NumericValueOrBuilderStatic Fields
DOUBLE_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER
Type | Description |
int |
INT64_VALUE_FIELD_NUMBER
public static final int INT64_VALUE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static NumericValue getDefaultInstance()
Type | Description |
NumericValue |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static NumericValue.Builder newBuilder()
Type | Description |
NumericValue.Builder |
newBuilder(NumericValue prototype)
public static NumericValue.Builder newBuilder(NumericValue prototype)
Name | Description |
prototype | NumericValue |
Type | Description |
NumericValue.Builder |
parseDelimitedFrom(InputStream input)
public static NumericValue parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
NumericValue |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NumericValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NumericValue |
Type | Description |
IOException |
parseFrom(byte[] data)
public static NumericValue parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
NumericValue |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NumericValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NumericValue |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static NumericValue parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
NumericValue |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NumericValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NumericValue |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static NumericValue parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
NumericValue |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NumericValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NumericValue |
Type | Description |
IOException |
parseFrom(InputStream input)
public static NumericValue parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
NumericValue |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NumericValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NumericValue |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static NumericValue parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
NumericValue |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NumericValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NumericValue |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<NumericValue> parser()
Type | Description |
Parser<NumericValue> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public NumericValue getDefaultInstanceForType()
Type | Description |
NumericValue |
getDoubleValue()
public double getDoubleValue()
Double value
double double_value = 2;
Type | Description |
double | The doubleValue. |
getInt64Value()
public long getInt64Value()
Integer value
int64 int64_value = 1;
Type | Description |
long | The int64Value. |
getOneValueCase()
public NumericValue.OneValueCase getOneValueCase()
Type | Description |
NumericValue.OneValueCase |
getParserForType()
public Parser<NumericValue> getParserForType()
Type | Description |
Parser<NumericValue> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasDoubleValue()
public boolean hasDoubleValue()
Double value
double double_value = 2;
Type | Description |
boolean | Whether the doubleValue field is set. |
hasInt64Value()
public boolean hasInt64Value()
Integer value
int64 int64_value = 1;
Type | Description |
boolean | Whether the int64Value field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public NumericValue.Builder newBuilderForType()
Type | Description |
NumericValue.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NumericValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
NumericValue.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public NumericValue.Builder toBuilder()
Type | Description |
NumericValue.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |