- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
public static final class MetricHeader.Builder extends GeneratedMessageV3.Builder<MetricHeader.Builder> implements MetricHeaderOrBuilder
Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.
Protobuf type google.analytics.data.v1beta.MetricHeader
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MetricHeader.BuilderImplements
MetricHeaderOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MetricHeader.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MetricHeader.Builder |
build()
public MetricHeader build()
Type | Description |
MetricHeader |
buildPartial()
public MetricHeader buildPartial()
Type | Description |
MetricHeader |
clear()
public MetricHeader.Builder clear()
Type | Description |
MetricHeader.Builder |
clearField(Descriptors.FieldDescriptor field)
public MetricHeader.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MetricHeader.Builder |
clearName()
public MetricHeader.Builder clearName()
The metric's name.
string name = 1;
Type | Description |
MetricHeader.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MetricHeader.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MetricHeader.Builder |
clearType()
public MetricHeader.Builder clearType()
The metric's data type.
.google.analytics.data.v1beta.MetricType type = 2;
Type | Description |
MetricHeader.Builder | This builder for chaining. |
clone()
public MetricHeader.Builder clone()
Type | Description |
MetricHeader.Builder |
getDefaultInstanceForType()
public MetricHeader getDefaultInstanceForType()
Type | Description |
MetricHeader |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The metric's name.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The metric's name.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getType()
public MetricType getType()
The metric's data type.
.google.analytics.data.v1beta.MetricType type = 2;
Type | Description |
MetricType | The type. |
getTypeValue()
public int getTypeValue()
The metric's data type.
.google.analytics.data.v1beta.MetricType type = 2;
Type | Description |
int | The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MetricHeader other)
public MetricHeader.Builder mergeFrom(MetricHeader other)
Name | Description |
other | MetricHeader |
Type | Description |
MetricHeader.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetricHeader.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MetricHeader.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MetricHeader.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MetricHeader.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MetricHeader.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MetricHeader.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MetricHeader.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MetricHeader.Builder |
setName(String value)
public MetricHeader.Builder setName(String value)
The metric's name.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
MetricHeader.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public MetricHeader.Builder setNameBytes(ByteString value)
The metric's name.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
MetricHeader.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MetricHeader.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MetricHeader.Builder |
setType(MetricType value)
public MetricHeader.Builder setType(MetricType value)
The metric's data type.
.google.analytics.data.v1beta.MetricType type = 2;
Name | Description |
value | MetricType The type to set. |
Type | Description |
MetricHeader.Builder | This builder for chaining. |
setTypeValue(int value)
public MetricHeader.Builder setTypeValue(int value)
The metric's data type.
.google.analytics.data.v1beta.MetricType type = 2;
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
MetricHeader.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MetricHeader.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MetricHeader.Builder |