Class ResponseMetaData.SchemaRestrictionResponse.Builder (0.94.0)

public static final class ResponseMetaData.SchemaRestrictionResponse.Builder extends GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder> 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

Static Methods

getDescriptor()

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

Methods

addActiveMetricRestrictions(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction value)

public ResponseMetaData.SchemaRestrictionResponse.Builder addActiveMetricRestrictions(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction value)

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
value ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

addActiveMetricRestrictions(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder builderForValue)

public ResponseMetaData.SchemaRestrictionResponse.Builder addActiveMetricRestrictions(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder builderForValue)

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
builderForValue ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

addActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction value)

public ResponseMetaData.SchemaRestrictionResponse.Builder addActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction value)

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;

Parameters
Name Description
index int
value ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

addActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder builderForValue)

public ResponseMetaData.SchemaRestrictionResponse.Builder addActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

addActiveMetricRestrictionsBuilder()

public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addActiveMetricRestrictionsBuilder()

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
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder

addActiveMetricRestrictionsBuilder(int index)

public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addActiveMetricRestrictionsBuilder(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.Builder

addAllActiveMetricRestrictions(Iterable<? extends ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction> values)

public ResponseMetaData.SchemaRestrictionResponse.Builder addAllActiveMetricRestrictions(Iterable<? extends ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction> values)

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
values Iterable<? extends com.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction>
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

build()

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

buildPartial()

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

clear()

public ResponseMetaData.SchemaRestrictionResponse.Builder clear()
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

clearActiveMetricRestrictions()

public ResponseMetaData.SchemaRestrictionResponse.Builder clearActiveMetricRestrictions()

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

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

getActiveMetricRestrictionsBuilder(int index)

public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder getActiveMetricRestrictionsBuilder(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.Builder

getActiveMetricRestrictionsBuilderList()

public List<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder> getActiveMetricRestrictionsBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResponseMetaData.SchemaRestrictionResponse other)

public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(ResponseMetaData.SchemaRestrictionResponse other)
Parameter
Name Description
other ResponseMetaData.SchemaRestrictionResponse
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

removeActiveMetricRestrictions(int index)

public ResponseMetaData.SchemaRestrictionResponse.Builder removeActiveMetricRestrictions(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.Builder

setActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction value)

public ResponseMetaData.SchemaRestrictionResponse.Builder setActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction value)

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;

Parameters
Name Description
index int
value ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder

setActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder builderForValue)

public ResponseMetaData.SchemaRestrictionResponse.Builder setActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder
Returns
Type Description
ResponseMetaData.SchemaRestrictionResponse.Builder