public static final class AccessMetricHeader.Builder extends GeneratedMessageV3.Builder<AccessMetricHeader.Builder> implements AccessMetricHeaderOrBuilder
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.admin.v1alpha.AccessMetricHeader
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public AccessMetricHeader.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AccessMetricHeader build()
public AccessMetricHeader buildPartial()
public AccessMetricHeader.Builder clear()
Overrides
public AccessMetricHeader.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AccessMetricHeader.Builder clearMetricName()
The metric's name; for example 'accessCount'.
string metric_name = 1;
public AccessMetricHeader.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AccessMetricHeader.Builder clone()
Overrides
public AccessMetricHeader getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getMetricName()
The metric's name; for example 'accessCount'.
string metric_name = 1;
Returns |
Type |
Description |
String |
The metricName.
|
public ByteString getMetricNameBytes()
The metric's name; for example 'accessCount'.
string metric_name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for metricName.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AccessMetricHeader.Builder mergeFrom(AccessMetricHeader other)
public AccessMetricHeader.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AccessMetricHeader.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AccessMetricHeader.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AccessMetricHeader.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AccessMetricHeader.Builder setMetricName(String value)
The metric's name; for example 'accessCount'.
string metric_name = 1;
Parameter |
Name |
Description |
value |
String
The metricName to set.
|
public AccessMetricHeader.Builder setMetricNameBytes(ByteString value)
The metric's name; for example 'accessCount'.
string metric_name = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for metricName to set.
|
public AccessMetricHeader.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AccessMetricHeader.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides