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
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>)
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 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)
Overrides
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides