Class ResponseMetaData.SchemaRestrictionResponse (0.30.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResponseMetaData.SchemaRestrictionResponse getDefaultInstance()
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ResponseMetaData.SchemaRestrictionResponse.Builder newBuilder()
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder

newBuilder(ResponseMetaData.SchemaRestrictionResponse prototype)

public static ResponseMetaData.SchemaRestrictionResponse.Builder newBuilder(ResponseMetaData.SchemaRestrictionResponse prototype)
Parameter
NameDescription
prototypeResponseMetaData.SchemaRestrictionResponse
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder

parseDelimitedFrom(InputStream input)

public static ResponseMetaData.SchemaRestrictionResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResponseMetaData.SchemaRestrictionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder>

getDefaultInstanceForType()

public ResponseMetaData.SchemaRestrictionResponse getDefaultInstanceForType()
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ResponseMetaData.SchemaRestrictionResponse.Builder newBuilderForType()
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResponseMetaData.SchemaRestrictionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ResponseMetaData.SchemaRestrictionResponse.Builder toBuilder()
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException