public static final class ResponseMetaData.SchemaRestrictionResponse extends GeneratedMessageV3 implements ResponseMetaData.SchemaRestrictionResponseOrBuilder
The schema restrictions actively enforced in creating this report. To learn
more, see Access and data-restriction
management.
Protobuf type google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse
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 ACTIVE_METRIC_RESTRICTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static ResponseMetaData.SchemaRestrictionResponse getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ResponseMetaData.SchemaRestrictionResponse.Builder newBuilder()
public static ResponseMetaData.SchemaRestrictionResponse.Builder newBuilder(ResponseMetaData.SchemaRestrictionResponse prototype)
public static ResponseMetaData.SchemaRestrictionResponse parseDelimitedFrom(InputStream input)
public static ResponseMetaData.SchemaRestrictionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteString data)
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(CodedInputStream input)
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(InputStream input)
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteBuffer data)
public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ResponseMetaData.SchemaRestrictionResponse> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction getActiveMetricRestrictions(int index)
All restrictions actively enforced in creating the report. For example,
purchaseRevenue
always has the restriction type REVENUE_DATA
.
However, this active response restriction is only populated if the user's
custom role disallows access to REVENUE_DATA
.
repeated .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
Parameter |
Name |
Description |
index |
int
|
public int getActiveMetricRestrictionsCount()
All restrictions actively enforced in creating the report. For example,
purchaseRevenue
always has the restriction type REVENUE_DATA
.
However, this active response restriction is only populated if the user's
custom role disallows access to REVENUE_DATA
.
repeated .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
Returns |
Type |
Description |
int |
|
public List<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction> getActiveMetricRestrictionsList()
All restrictions actively enforced in creating the report. For example,
purchaseRevenue
always has the restriction type REVENUE_DATA
.
However, this active response restriction is only populated if the user's
custom role disallows access to REVENUE_DATA
.
repeated .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder getActiveMetricRestrictionsOrBuilder(int index)
All restrictions actively enforced in creating the report. For example,
purchaseRevenue
always has the restriction type REVENUE_DATA
.
However, this active response restriction is only populated if the user's
custom role disallows access to REVENUE_DATA
.
repeated .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder> getActiveMetricRestrictionsOrBuilderList()
All restrictions actively enforced in creating the report. For example,
purchaseRevenue
always has the restriction type REVENUE_DATA
.
However, this active response restriction is only populated if the user's
custom role disallows access to REVENUE_DATA
.
repeated .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
Returns |
Type |
Description |
List<? extends com.google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder> |
|
public ResponseMetaData.SchemaRestrictionResponse getDefaultInstanceForType()
public Parser<ResponseMetaData.SchemaRestrictionResponse> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ResponseMetaData.SchemaRestrictionResponse.Builder newBuilderForType()
protected ResponseMetaData.SchemaRestrictionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ResponseMetaData.SchemaRestrictionResponse.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides