Send feedback
Class ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction (0.19.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.19.0 keyboard_arrow_down
public static final class ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction extends GeneratedMessageV3 implements ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestrictionOrBuilder
A metric actively restricted in creating the report.
Protobuf type
google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Static Fields
public static final int METRIC_NAME_FIELD_NUMBER
Field Value
public static final int RESTRICTED_METRIC_TYPES_FIELD_NUMBER
Field Value
Static Methods
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction . Builder newBuilder ()
Returns
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction . Builder newBuilder ( ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction prototype )
Parameter
Returns
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction > parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction getDefaultInstanceForType ()
Returns
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 ()
Returns
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.
Returns
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;
Returns
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
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
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
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction . Builder newBuilderForType ()
Returns
protected ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public ResponseMetaData . SchemaRestrictionResponse . ActiveMetricRestriction . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-06 UTC."],[],[]]