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
Inherited Members
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
public static final Descriptors.Descriptor getDescriptor()
Methods
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;
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;
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;
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;
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;
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
|
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>
|
public ResponseMetaData.SchemaRestrictionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ResponseMetaData.SchemaRestrictionResponse build()
public ResponseMetaData.SchemaRestrictionResponse buildPartial()
public ResponseMetaData.SchemaRestrictionResponse.Builder clear()
Overrides
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;
public ResponseMetaData.SchemaRestrictionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ResponseMetaData.SchemaRestrictionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ResponseMetaData.SchemaRestrictionResponse.Builder clone()
Overrides
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
|
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
|
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;
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 | |
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;
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
|
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> | |
public ResponseMetaData.SchemaRestrictionResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(ResponseMetaData.SchemaRestrictionResponse other)
public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ResponseMetaData.SchemaRestrictionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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;
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;
public ResponseMetaData.SchemaRestrictionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ResponseMetaData.SchemaRestrictionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ResponseMetaData.SchemaRestrictionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides