Class ResponseMetaData.SchemaRestrictionResponse.Builder (0.69.0)

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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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

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

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

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

Parameters
Name Description
index int
builderForValue ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.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.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;

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

Parameter
Name Description
index int

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

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction>

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResponseMetaData.SchemaRestrictionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public ResponseMetaData.SchemaRestrictionResponse build()

buildPartial()

public ResponseMetaData.SchemaRestrictionResponse buildPartial()

clear()

public ResponseMetaData.SchemaRestrictionResponse.Builder clear()
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.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;

clearField(Descriptors.FieldDescriptor field)

public ResponseMetaData.SchemaRestrictionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResponseMetaData.SchemaRestrictionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clone()

public ResponseMetaData.SchemaRestrictionResponse.Builder clone()
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.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;

Parameter
Name Description
index int

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

Parameter
Name Description
index int

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

Parameter
Name Description
index int

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

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

getDefaultInstanceForType()

public ResponseMetaData.SchemaRestrictionResponse getDefaultInstanceForType()

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMetaData.SchemaRestrictionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;

Parameter
Name Description
index int

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public ResponseMetaData.SchemaRestrictionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResponseMetaData.SchemaRestrictionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMetaData.SchemaRestrictionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides