Send feedback
Class AnalyticsValue.Builder (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class AnalyticsValue . Builder extends GeneratedMessageV3 . Builder<AnalyticsValue . Builder > implements AnalyticsValueOrBuilder
Value for Event Params and UserProperty can be of type string or int or
float or double.
Protobuf type google.events.firebase.analytics.v1.AnalyticsValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyticsValue . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AnalyticsValue build ()
buildPartial()
public AnalyticsValue buildPartial ()
clear()
public AnalyticsValue . Builder clear ()
Overrides
clearDoubleValue()
public AnalyticsValue . Builder clearDoubleValue ()
clearField(Descriptors.FieldDescriptor field)
public AnalyticsValue . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearFloatValue()
public AnalyticsValue . Builder clearFloatValue ()
clearIntValue()
public AnalyticsValue . Builder clearIntValue ()
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyticsValue . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearParamValue()
public AnalyticsValue . Builder clearParamValue ()
clearStringValue()
public AnalyticsValue . Builder clearStringValue ()
clone()
public AnalyticsValue . Builder clone ()
Overrides
getDefaultInstanceForType()
public AnalyticsValue getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDoubleValue()
public double getDoubleValue ()
Returns
Type
Description
double
The doubleValue.
getFloatValue()
public float getFloatValue ()
Returns
Type
Description
float
The floatValue.
getIntValue()
public long getIntValue ()
Returns
Type
Description
long
The intValue.
getParamValueCase()
public AnalyticsValue . ParamValueCase getParamValueCase ()
getStringValue()
public String getStringValue ()
Returns
Type
Description
String
The stringValue.
getStringValueBytes()
public ByteString getStringValueBytes ()
Returns
Type
Description
ByteString
The bytes for stringValue.
hasDoubleValue()
public boolean hasDoubleValue ()
Returns
Type
Description
boolean
Whether the doubleValue field is set.
hasFloatValue()
public boolean hasFloatValue ()
Returns
Type
Description
boolean
Whether the floatValue field is set.
hasIntValue()
public boolean hasIntValue ()
Returns
Type
Description
boolean
Whether the intValue field is set.
hasStringValue()
public boolean hasStringValue ()
Returns
Type
Description
boolean
Whether the stringValue field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AnalyticsValue other)
public AnalyticsValue . Builder mergeFrom ( AnalyticsValue other )
public AnalyticsValue . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AnalyticsValue . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyticsValue . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDoubleValue(double value)
public AnalyticsValue . Builder setDoubleValue ( double value )
Parameter
Name
Description
value
double
The doubleValue to set.
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyticsValue . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setFloatValue(float value)
public AnalyticsValue . Builder setFloatValue ( float value )
Parameter
Name
Description
value
float
The floatValue to set.
setIntValue(long value)
public AnalyticsValue . Builder setIntValue ( long value )
Parameter
Name
Description
value
long
The intValue to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyticsValue . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setStringValue(String value)
public AnalyticsValue . Builder setStringValue ( String value )
Parameter
Name
Description
value
String
The stringValue to set.
setStringValueBytes(ByteString value)
public AnalyticsValue . Builder setStringValueBytes ( ByteString value )
Parameter
Name
Description
value
ByteString
The bytes for stringValue to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyticsValue . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-03 UTC."],[],[]]