Class ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction (0.60.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(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.v1alpha.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.v1alpha.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.v1alpha.RestrictedMetricType restricted_metric_types = 2;
public int getRestrictedMetricTypesValue(int index)
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.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.v1alpha.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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder newBuilderForType()
protected ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
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 2024-10-03 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-03 UTC."}
[[["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 2024-10-03 UTC."]]