public static final class ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction extends GeneratedMessage implements ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder
A metric actively restricted in creating the report.
Protobuf type
google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int METRIC_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int RESTRICTED_METRIC_TYPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder newBuilder()
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder newBuilder(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction prototype)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseDelimitedFrom(InputStream input)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(ByteString data)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(CodedInputStream input)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(InputStream input)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(ByteBuffer data)
public static ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction getDefaultInstanceForType()
public String getMetricName()
The name of the restricted metric.
optional string metric_name = 1;
| Returns |
| Type |
Description |
String |
The metricName.
|
public ByteString getMetricNameBytes()
The name of the restricted metric.
optional string metric_name = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for metricName.
|
public Parser<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction> getParserForType()
Overrides
public RestrictedMetricType getRestrictedMetricTypes(int index)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
public int getRestrictedMetricTypesCount()
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
| Returns |
| Type |
Description |
int |
The count of restrictedMetricTypes.
|
public List<RestrictedMetricType> getRestrictedMetricTypesList()
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
public int getRestrictedMetricTypesValue(int index)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire of restrictedMetricTypes at the given index.
|
public List<Integer> getRestrictedMetricTypesValueList()
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
| Returns |
| Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for restrictedMetricTypes.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public boolean hasMetricName()
The name of the restricted metric.
optional string metric_name = 1;
| Returns |
| Type |
Description |
boolean |
Whether the metricName field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder newBuilderForType()
protected ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides