Class AccessDimensionValue.Builder (0.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessDimensionValue build()
Returns
TypeDescription
AccessDimensionValue

buildPartial()

public AccessDimensionValue buildPartial()
Returns
TypeDescription
AccessDimensionValue

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessDimensionValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AccessDimensionValue.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AccessDimensionValue getDefaultInstanceForType()
Returns
TypeDescription
AccessDimensionValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValue()

public String getValue()

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

string value = 1;

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

public AccessDimensionValue.Builder mergeFrom(AccessDimensionValue other)
Parameter
NameDescription
otherAccessDimensionValue
Returns
TypeDescription
AccessDimensionValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The value to set.

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

The bytes for value to set.

Returns
TypeDescription
AccessDimensionValue.Builder

This builder for chaining.