- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
public static final class ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder extends GeneratedMessageV3.Builder<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder> implements ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder
A metric actively restricted in creating the report.
Protobuf type
google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRestrictedMetricTypes(Iterable<? extends RestrictedMetricType> values)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addAllRestrictedMetricTypes(Iterable<? extends RestrictedMetricType> values)
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.analytics.data.v1alpha.RestrictedMetricType> The restrictedMetricTypes to add. |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
addAllRestrictedMetricTypesValue(Iterable<Integer> values)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addAllRestrictedMetricTypesValue(Iterable<Integer> values)
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for restrictedMetricTypes to add. |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
addRestrictedMetricTypes(RestrictedMetricType value)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addRestrictedMetricTypes(RestrictedMetricType value)
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Parameter | |
---|---|
Name | Description |
value |
RestrictedMetricType The restrictedMetricTypes to add. |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
addRestrictedMetricTypesValue(int value)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addRestrictedMetricTypesValue(int value)
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for restrictedMetricTypes to add. |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
build()
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction build()
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction |
buildPartial()
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction buildPartial()
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction |
clear()
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clear()
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
clearField(Descriptors.FieldDescriptor field)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
clearMetricName()
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clearMetricName()
The name of the restricted metric.
optional string metric_name = 1;
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
clearRestrictedMetricTypes()
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clearRestrictedMetricTypes()
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
clone()
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder clone()
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
getDefaultInstanceForType()
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMetricName()
public String getMetricName()
The name of the restricted metric.
optional string metric_name = 1;
Returns | |
---|---|
Type | Description |
String |
The metricName. |
getMetricNameBytes()
public ByteString getMetricNameBytes()
The name of the restricted metric.
optional string metric_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for metricName. |
getRestrictedMetricTypes(int index)
public RestrictedMetricType getRestrictedMetricTypes(int index)
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
RestrictedMetricType |
The restrictedMetricTypes at the given index. |
getRestrictedMetricTypesCount()
public int getRestrictedMetricTypesCount()
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Returns | |
---|---|
Type | Description |
int |
The count of restrictedMetricTypes. |
getRestrictedMetricTypesList()
public List<RestrictedMetricType> getRestrictedMetricTypesList()
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Returns | |
---|---|
Type | Description |
List<RestrictedMetricType> |
A list containing the restrictedMetricTypes. |
getRestrictedMetricTypesValue(int index)
public int getRestrictedMetricTypesValue(int index)
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of restrictedMetricTypes at the given index. |
getRestrictedMetricTypesValueList()
public List<Integer> getRestrictedMetricTypesValueList()
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for restrictedMetricTypes. |
hasMetricName()
public boolean hasMetricName()
The name of the restricted metric.
optional string metric_name = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the metricName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction other)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder mergeFrom(ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction other)
Parameter | |
---|---|
Name | Description |
other |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
setMetricName(String value)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setMetricName(String value)
The name of the restricted metric.
optional string metric_name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The metricName to set. |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
setMetricNameBytes(ByteString value)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setMetricNameBytes(ByteString value)
The name of the restricted metric.
optional string metric_name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for metricName to set. |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
setRestrictedMetricTypes(int index, RestrictedMetricType value)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setRestrictedMetricTypes(int index, RestrictedMetricType value)
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
RestrictedMetricType The restrictedMetricTypes to set. |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
setRestrictedMetricTypesValue(int index, int value)
public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setRestrictedMetricTypesValue(int index, int value)
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for restrictedMetricTypes to set. |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder |