Package com.google.analytics.data.v1beta
Class ResponseMetaData.SchemaRestrictionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
com.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.Builder
- All Implemented Interfaces:
ResponseMetaData.SchemaRestrictionResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResponseMetaData.SchemaRestrictionResponse
public static final class ResponseMetaData.SchemaRestrictionResponse.Builder
extends com.google.protobuf.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](https://support.google.com/analytics/answer/10851388).Protobuf type
google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse-
Method Summary
Modifier and TypeMethodDescriptionaddActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction value) All restrictions actively enforced in creating the report.addActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder builderForValue) All restrictions actively enforced in creating the report.addActiveMetricRestrictions(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction value) All restrictions actively enforced in creating the report.addActiveMetricRestrictions(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder builderForValue) All restrictions actively enforced in creating the report.All restrictions actively enforced in creating the report.addActiveMetricRestrictionsBuilder(int index) All restrictions actively enforced in creating the report.addAllActiveMetricRestrictions(Iterable<? extends ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction> values) All restrictions actively enforced in creating the report.build()clear()All restrictions actively enforced in creating the report.getActiveMetricRestrictions(int index) All restrictions actively enforced in creating the report.getActiveMetricRestrictionsBuilder(int index) All restrictions actively enforced in creating the report.All restrictions actively enforced in creating the report.intAll restrictions actively enforced in creating the report.All restrictions actively enforced in creating the report.getActiveMetricRestrictionsOrBuilder(int index) All restrictions actively enforced in creating the report.All restrictions actively enforced in creating the report.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeActiveMetricRestrictions(int index) All restrictions actively enforced in creating the report.setActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction value) All restrictions actively enforced in creating the report.setActiveMetricRestrictions(int index, ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder builderForValue) All restrictions actively enforced in creating the report.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
-
mergeFrom
public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(ResponseMetaData.SchemaRestrictionResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
-
mergeFrom
public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getActiveMetricRestrictionsListin interfaceResponseMetaData.SchemaRestrictionResponseOrBuilder
-
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;- Specified by:
getActiveMetricRestrictionsCountin interfaceResponseMetaData.SchemaRestrictionResponseOrBuilder
-
getActiveMetricRestrictions
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;- Specified by:
getActiveMetricRestrictionsin interfaceResponseMetaData.SchemaRestrictionResponseOrBuilder
-
setActiveMetricRestrictions
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; -
setActiveMetricRestrictions
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; -
addActiveMetricRestrictions
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; -
addActiveMetricRestrictions
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; -
addActiveMetricRestrictions
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; -
addActiveMetricRestrictions
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; -
addAllActiveMetricRestrictions
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; -
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; -
removeActiveMetricRestrictions
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; -
getActiveMetricRestrictionsBuilder
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; -
getActiveMetricRestrictionsOrBuilder
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;- Specified by:
getActiveMetricRestrictionsOrBuilderin interfaceResponseMetaData.SchemaRestrictionResponseOrBuilder
-
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;- Specified by:
getActiveMetricRestrictionsOrBuilderListin interfaceResponseMetaData.SchemaRestrictionResponseOrBuilder
-
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; -
addActiveMetricRestrictionsBuilder
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; -
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;
-