public static final class AudienceDimensionValue.Builder extends GeneratedMessageV3.Builder<AudienceDimensionValue.Builder> implements AudienceDimensionValueOrBuilder
The value of a dimension.
Protobuf type google.analytics.data.v1alpha.AudienceDimensionValue
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 AudienceDimensionValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AudienceDimensionValue build()
buildPartial()
public AudienceDimensionValue buildPartial()
clear()
public AudienceDimensionValue.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AudienceDimensionValue.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneValue()
public AudienceDimensionValue.Builder clearOneValue()
clearOneof(Descriptors.OneofDescriptor oneof)
public AudienceDimensionValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValue()
public AudienceDimensionValue.Builder clearValue()
Value as a string if the dimension type is a string.
string value = 1;
clone()
public AudienceDimensionValue.Builder clone()
Overrides
getDefaultInstanceForType()
public AudienceDimensionValue getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOneValueCase()
public AudienceDimensionValue.OneValueCase getOneValueCase()
getValue()
Value as a string if the dimension type is a string.
string value = 1;
Returns |
Type |
Description |
String |
The value.
|
getValueBytes()
public ByteString getValueBytes()
Value as a string if the dimension type is a string.
string value = 1;
Returns |
Type |
Description |
ByteString |
The bytes for value.
|
hasValue()
public boolean hasValue()
Value as a string if the dimension type is a string.
string value = 1;
Returns |
Type |
Description |
boolean |
Whether the value field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AudienceDimensionValue other)
public AudienceDimensionValue.Builder mergeFrom(AudienceDimensionValue other)
public AudienceDimensionValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AudienceDimensionValue.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudienceDimensionValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AudienceDimensionValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudienceDimensionValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AudienceDimensionValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(String value)
public AudienceDimensionValue.Builder setValue(String value)
Value as a string if the dimension type is a string.
string value = 1;
Parameter |
Name |
Description |
value |
String
The value to set.
|
setValueBytes(ByteString value)
public AudienceDimensionValue.Builder setValueBytes(ByteString value)
Value as a string if the dimension type is a string.
string value = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for value to set.
|