Class AccessMetricValue.Builder (0.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessMetricValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessMetricValue.Builder
Overrides

build()

public AccessMetricValue build()
Returns
TypeDescription
AccessMetricValue

buildPartial()

public AccessMetricValue buildPartial()
Returns
TypeDescription
AccessMetricValue

clear()

public AccessMetricValue.Builder clear()
Returns
TypeDescription
AccessMetricValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AccessMetricValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AccessMetricValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessMetricValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AccessMetricValue.Builder
Overrides

clearValue()

public AccessMetricValue.Builder clearValue()

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

string value = 1;

Returns
TypeDescription
AccessMetricValue.Builder

This builder for chaining.

clone()

public AccessMetricValue.Builder clone()
Returns
TypeDescription
AccessMetricValue.Builder
Overrides

getDefaultInstanceForType()

public AccessMetricValue getDefaultInstanceForType()
Returns
TypeDescription
AccessMetricValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValue()

public String getValue()

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

string value = 1;

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

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

string value = 1;

Returns
TypeDescription
ByteString

The bytes for value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AccessMetricValue other)

public AccessMetricValue.Builder mergeFrom(AccessMetricValue other)
Parameter
NameDescription
otherAccessMetricValue
Returns
TypeDescription
AccessMetricValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessMetricValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessMetricValue.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AccessMetricValue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AccessMetricValue.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessMetricValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessMetricValue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AccessMetricValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessMetricValue.Builder
Overrides

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

public AccessMetricValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AccessMetricValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessMetricValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The value to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for value to set.

Returns
TypeDescription
AccessMetricValue.Builder

This builder for chaining.