Class ResponseMetaData.SchemaRestrictionResponse (0.55.0)

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.v1beta.ResponseMetaData.SchemaRestrictionResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ResponseMetaData.SchemaRestrictionResponse

Static Fields

ACTIVE_METRIC_RESTRICTIONS_FIELD_NUMBER

public static final int ACTIVE_METRIC_RESTRICTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResponseMetaData.SchemaRestrictionResponse getDefaultInstance()
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ResponseMetaData.SchemaRestrictionResponse.Builder newBuilder()
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

newBuilder(ResponseMetaData.SchemaRestrictionResponse prototype)

public static ResponseMetaData.SchemaRestrictionResponse.Builder newBuilder(ResponseMetaData.SchemaRestrictionResponse prototype)
Parameter
Name Description
prototype ResponseMetaData.SchemaRestrictionResponse
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

parseDelimitedFrom(InputStream input)

public static ResponseMetaData.SchemaRestrictionResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ResponseMetaData.SchemaRestrictionResponse> parser()
Returns
Type Description
Parser<SchemaRestrictionResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActiveMetricRestrictions(int index)

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.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;

Parameter
Name Description
index int
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction

getActiveMetricRestrictionsCount()

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.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;

Returns
Type Description
int

getActiveMetricRestrictionsList()

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.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;

Returns
Type Description
List<ActiveMetricRestriction>

getActiveMetricRestrictionsOrBuilder(int index)

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.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;

Parameter
Name Description
index int
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder

getActiveMetricRestrictionsOrBuilderList()

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.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;

Returns
Type Description
List<? extends com.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder>

getDefaultInstanceForType()

public ResponseMetaData.SchemaRestrictionResponse getDefaultInstanceForType()
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse

getParserForType()

public Parser<ResponseMetaData.SchemaRestrictionResponse> getParserForType()
Returns
Type Description
Parser<SchemaRestrictionResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ResponseMetaData.SchemaRestrictionResponse.Builder newBuilderForType()
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResponseMetaData.SchemaRestrictionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ResponseMetaData.SchemaRestrictionResponse.Builder toBuilder()
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException