Class PivotDimensionHeader.Builder (0.45.0)

public static final class PivotDimensionHeader.Builder extends GeneratedMessageV3.Builder<PivotDimensionHeader.Builder> implements PivotDimensionHeaderOrBuilder

Summarizes dimension values from a row for this pivot.

Protobuf type google.analytics.data.v1beta.PivotDimensionHeader

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDimensionValues(Iterable<? extends DimensionValue> values)

public PivotDimensionHeader.Builder addAllDimensionValues(Iterable<? extends DimensionValue> values)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.DimensionValue>
Returns
TypeDescription
PivotDimensionHeader.Builder

addDimensionValues(DimensionValue value)

public PivotDimensionHeader.Builder addDimensionValues(DimensionValue value)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
NameDescription
valueDimensionValue
Returns
TypeDescription
PivotDimensionHeader.Builder

addDimensionValues(DimensionValue.Builder builderForValue)

public PivotDimensionHeader.Builder addDimensionValues(DimensionValue.Builder builderForValue)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
NameDescription
builderForValueDimensionValue.Builder
Returns
TypeDescription
PivotDimensionHeader.Builder

addDimensionValues(int index, DimensionValue value)

public PivotDimensionHeader.Builder addDimensionValues(int index, DimensionValue value)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameters
NameDescription
indexint
valueDimensionValue
Returns
TypeDescription
PivotDimensionHeader.Builder

addDimensionValues(int index, DimensionValue.Builder builderForValue)

public PivotDimensionHeader.Builder addDimensionValues(int index, DimensionValue.Builder builderForValue)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameters
NameDescription
indexint
builderForValueDimensionValue.Builder
Returns
TypeDescription
PivotDimensionHeader.Builder

addDimensionValuesBuilder()

public DimensionValue.Builder addDimensionValuesBuilder()

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Returns
TypeDescription
DimensionValue.Builder

addDimensionValuesBuilder(int index)

public DimensionValue.Builder addDimensionValuesBuilder(int index)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DimensionValue.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PivotDimensionHeader build()
Returns
TypeDescription
PivotDimensionHeader

buildPartial()

public PivotDimensionHeader buildPartial()
Returns
TypeDescription
PivotDimensionHeader

clear()

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

clearDimensionValues()

public PivotDimensionHeader.Builder clearDimensionValues()

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Returns
TypeDescription
PivotDimensionHeader.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PivotDimensionHeader getDefaultInstanceForType()
Returns
TypeDescription
PivotDimensionHeader

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensionValues(int index)

public DimensionValue getDimensionValues(int index)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DimensionValue

getDimensionValuesBuilder(int index)

public DimensionValue.Builder getDimensionValuesBuilder(int index)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DimensionValue.Builder

getDimensionValuesBuilderList()

public List<DimensionValue.Builder> getDimensionValuesBuilderList()

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Returns
TypeDescription
List<Builder>

getDimensionValuesCount()

public int getDimensionValuesCount()

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Returns
TypeDescription
int

getDimensionValuesList()

public List<DimensionValue> getDimensionValuesList()

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Returns
TypeDescription
List<DimensionValue>

getDimensionValuesOrBuilder(int index)

public DimensionValueOrBuilder getDimensionValuesOrBuilder(int index)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DimensionValueOrBuilder

getDimensionValuesOrBuilderList()

public List<? extends DimensionValueOrBuilder> getDimensionValuesOrBuilderList()

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1beta.DimensionValueOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PivotDimensionHeader other)

public PivotDimensionHeader.Builder mergeFrom(PivotDimensionHeader other)
Parameter
NameDescription
otherPivotDimensionHeader
Returns
TypeDescription
PivotDimensionHeader.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDimensionValues(int index)

public PivotDimensionHeader.Builder removeDimensionValues(int index)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PivotDimensionHeader.Builder

setDimensionValues(int index, DimensionValue value)

public PivotDimensionHeader.Builder setDimensionValues(int index, DimensionValue value)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameters
NameDescription
indexint
valueDimensionValue
Returns
TypeDescription
PivotDimensionHeader.Builder

setDimensionValues(int index, DimensionValue.Builder builderForValue)

public PivotDimensionHeader.Builder setDimensionValues(int index, DimensionValue.Builder builderForValue)

Values of multiple dimensions in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameters
NameDescription
indexint
builderForValueDimensionValue.Builder
Returns
TypeDescription
PivotDimensionHeader.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PivotDimensionHeader.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PivotDimensionHeader.Builder
Overrides