Class AccessDimensionValue.Builder (0.56.0)

public static final class AccessDimensionValue.Builder extends GeneratedMessageV3.Builder<AccessDimensionValue.Builder> implements AccessDimensionValueOrBuilder

The value of a dimension.

Protobuf type google.analytics.admin.v1alpha.AccessDimensionValue

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessDimensionValue build()
Returns
Type Description
AccessDimensionValue

buildPartial()

public AccessDimensionValue buildPartial()
Returns
Type Description
AccessDimensionValue

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public AccessDimensionValue.Builder clearValue()

The dimension value. For example, this value may be 'France' for the 'country' dimension.

string value = 1;

Returns
Type Description
AccessDimensionValue.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AccessDimensionValue getDefaultInstanceForType()
Returns
Type Description
AccessDimensionValue

getDescriptorForType()

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

getValue()

public String getValue()

The dimension value. For example, this value may be 'France' for the 'country' dimension.

string value = 1;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

The dimension value. For example, this value may be 'France' for the 'country' dimension.

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(AccessDimensionValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(String value)

public AccessDimensionValue.Builder setValue(String value)

The dimension value. For example, this value may be 'France' for the 'country' dimension.

string value = 1;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
AccessDimensionValue.Builder

This builder for chaining.

setValueBytes(ByteString value)

public AccessDimensionValue.Builder setValueBytes(ByteString value)

The dimension value. For example, this value may be 'France' for the 'country' dimension.

string value = 1;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
AccessDimensionValue.Builder

This builder for chaining.