Class ResponseMetaData.SchemaRestrictionResponse.Builder (0.22.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.v1beta.ResponseMetaData.SchemaRestrictionResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valueResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Returns
TypeDescription
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
NameDescription
builderForValueResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction>
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResponseMetaData.SchemaRestrictionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ResponseMetaData.SchemaRestrictionResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ResponseMetaData.SchemaRestrictionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResponseMetaData.SchemaRestrictionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

clone()

public ResponseMetaData.SchemaRestrictionResponse.Builder clone()
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResponseMetaData.SchemaRestrictionResponse other)

public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(ResponseMetaData.SchemaRestrictionResponse other)
Parameter
NameDescription
otherResponseMetaData.SchemaRestrictionResponse
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMetaData.SchemaRestrictionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ResponseMetaData.SchemaRestrictionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

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

public ResponseMetaData.SchemaRestrictionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMetaData.SchemaRestrictionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResponseMetaData.SchemaRestrictionResponse.Builder
Overrides