Class AccessMetricValue.Builder (0.57.0)

public static final class AccessMetricValue.Builder extends GeneratedMessageV3.Builder<AccessMetricValue.Builder> implements AccessMetricValueOrBuilder

The value of a metric.

Protobuf type google.analytics.admin.v1alpha.AccessMetricValue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessMetricValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccessMetricValue.Builder
Overrides

build()

public AccessMetricValue build()
Returns
Type Description
AccessMetricValue

buildPartial()

public AccessMetricValue buildPartial()
Returns
Type Description
AccessMetricValue

clear()

public AccessMetricValue.Builder clear()
Returns
Type Description
AccessMetricValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AccessMetricValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AccessMetricValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessMetricValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AccessMetricValue.Builder
Overrides

clearValue()

public AccessMetricValue.Builder clearValue()

The measurement value. For example, this value may be '13'.

string value = 1;

Returns
Type Description
AccessMetricValue.Builder

This builder for chaining.

clone()

public AccessMetricValue.Builder clone()
Returns
Type Description
AccessMetricValue.Builder
Overrides

getDefaultInstanceForType()

public AccessMetricValue getDefaultInstanceForType()
Returns
Type Description
AccessMetricValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValue()

public String getValue()

The measurement value. For example, this value may be '13'.

string value = 1;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

The measurement value. For example, this value may be '13'.

string value = 1;

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AccessMetricValue other)

public AccessMetricValue.Builder mergeFrom(AccessMetricValue other)
Parameter
Name Description
other AccessMetricValue
Returns
Type Description
AccessMetricValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessMetricValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessMetricValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AccessMetricValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AccessMetricValue.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessMetricValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccessMetricValue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AccessMetricValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccessMetricValue.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AccessMetricValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AccessMetricValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessMetricValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccessMetricValue.Builder
Overrides

setValue(String value)

public AccessMetricValue.Builder setValue(String value)

The measurement value. For example, this value may be '13'.

string value = 1;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
AccessMetricValue.Builder

This builder for chaining.

setValueBytes(ByteString value)

public AccessMetricValue.Builder setValueBytes(ByteString value)

The measurement value. For example, this value may be '13'.

string value = 1;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
AccessMetricValue.Builder

This builder for chaining.