public static final class ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder> implements ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder
A metric actively restricted in creating the report.Protobuf type
google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder mergeFrom(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>IOExceptionpublic boolean hasMetricName()
The name of the restricted metric.
optional string metric_name = 1;hasMetricName in interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilderpublic String getMetricName()
The name of the restricted metric.
optional string metric_name = 1;getMetricName in interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilderpublic com.google.protobuf.ByteString getMetricNameBytes()
The name of the restricted metric.
optional string metric_name = 1;getMetricNameBytes in interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilderpublic ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setMetricName(String value)
The name of the restricted metric.
optional string metric_name = 1;value - The metricName to set.public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clearMetricName()
The name of the restricted metric.
optional string metric_name = 1;public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setMetricNameBytes(com.google.protobuf.ByteString value)
The name of the restricted metric.
optional string metric_name = 1;value - The bytes for metricName to set.public List<RestrictedMetricType> getRestrictedMetricTypesList()
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
getRestrictedMetricTypesList in interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilderpublic int getRestrictedMetricTypesCount()
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
getRestrictedMetricTypesCount in interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilderpublic RestrictedMetricType getRestrictedMetricTypes(int index)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
getRestrictedMetricTypes in interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilderindex - The index of the element to return.public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setRestrictedMetricTypes(int index, RestrictedMetricType value)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
index - The index to set the value at.value - The restrictedMetricTypes to set.public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addRestrictedMetricTypes(RestrictedMetricType value)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
value - The restrictedMetricTypes to add.public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addAllRestrictedMetricTypes(Iterable<? extends RestrictedMetricType> values)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
values - The restrictedMetricTypes to add.public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clearRestrictedMetricTypes()
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
public List<Integer> getRestrictedMetricTypesValueList()
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
getRestrictedMetricTypesValueList in interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilderpublic int getRestrictedMetricTypesValue(int index)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
getRestrictedMetricTypesValue in interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilderindex - The index of the value to return.public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setRestrictedMetricTypesValue(int index, int value)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
index - The index to set the value at.value - The enum numeric value on the wire for restrictedMetricTypes to set.public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addRestrictedMetricTypesValue(int value)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
value - The enum numeric value on the wire for restrictedMetricTypes to add.public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addAllRestrictedMetricTypesValue(Iterable<Integer> values)
The reason for this metric's restriction.
repeated .google.analytics.data.v1beta.RestrictedMetricType restricted_metric_types = 2;
values - The enum numeric values on the wire for restrictedMetricTypes to add.public final ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>public final ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder>Copyright © 2022 Google LLC. All rights reserved.