Class CheckCompatibilityResponse.Builder (0.64.0)

public static final class CheckCompatibilityResponse.Builder extends GeneratedMessageV3.Builder<CheckCompatibilityResponse.Builder> implements CheckCompatibilityResponseOrBuilder

The compatibility response with the compatibility of each dimension & metric.

Protobuf type google.analytics.data.v1beta.CheckCompatibilityResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDimensionCompatibilities(Iterable<? extends DimensionCompatibility> values)

public CheckCompatibilityResponse.Builder addAllDimensionCompatibilities(Iterable<? extends DimensionCompatibility> values)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1beta.DimensionCompatibility>
Returns
Type Description
CheckCompatibilityResponse.Builder

addAllMetricCompatibilities(Iterable<? extends MetricCompatibility> values)

public CheckCompatibilityResponse.Builder addAllMetricCompatibilities(Iterable<? extends MetricCompatibility> values)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1beta.MetricCompatibility>
Returns
Type Description
CheckCompatibilityResponse.Builder

addDimensionCompatibilities(DimensionCompatibility value)

public CheckCompatibilityResponse.Builder addDimensionCompatibilities(DimensionCompatibility value)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameter
Name Description
value DimensionCompatibility
Returns
Type Description
CheckCompatibilityResponse.Builder

addDimensionCompatibilities(DimensionCompatibility.Builder builderForValue)

public CheckCompatibilityResponse.Builder addDimensionCompatibilities(DimensionCompatibility.Builder builderForValue)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameter
Name Description
builderForValue DimensionCompatibility.Builder
Returns
Type Description
CheckCompatibilityResponse.Builder

addDimensionCompatibilities(int index, DimensionCompatibility value)

public CheckCompatibilityResponse.Builder addDimensionCompatibilities(int index, DimensionCompatibility value)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameters
Name Description
index int
value DimensionCompatibility
Returns
Type Description
CheckCompatibilityResponse.Builder

addDimensionCompatibilities(int index, DimensionCompatibility.Builder builderForValue)

public CheckCompatibilityResponse.Builder addDimensionCompatibilities(int index, DimensionCompatibility.Builder builderForValue)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameters
Name Description
index int
builderForValue DimensionCompatibility.Builder
Returns
Type Description
CheckCompatibilityResponse.Builder

addDimensionCompatibilitiesBuilder()

public DimensionCompatibility.Builder addDimensionCompatibilitiesBuilder()

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Returns
Type Description
DimensionCompatibility.Builder

addDimensionCompatibilitiesBuilder(int index)

public DimensionCompatibility.Builder addDimensionCompatibilitiesBuilder(int index)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionCompatibility.Builder

addMetricCompatibilities(MetricCompatibility value)

public CheckCompatibilityResponse.Builder addMetricCompatibilities(MetricCompatibility value)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameter
Name Description
value MetricCompatibility
Returns
Type Description
CheckCompatibilityResponse.Builder

addMetricCompatibilities(MetricCompatibility.Builder builderForValue)

public CheckCompatibilityResponse.Builder addMetricCompatibilities(MetricCompatibility.Builder builderForValue)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameter
Name Description
builderForValue MetricCompatibility.Builder
Returns
Type Description
CheckCompatibilityResponse.Builder

addMetricCompatibilities(int index, MetricCompatibility value)

public CheckCompatibilityResponse.Builder addMetricCompatibilities(int index, MetricCompatibility value)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameters
Name Description
index int
value MetricCompatibility
Returns
Type Description
CheckCompatibilityResponse.Builder

addMetricCompatibilities(int index, MetricCompatibility.Builder builderForValue)

public CheckCompatibilityResponse.Builder addMetricCompatibilities(int index, MetricCompatibility.Builder builderForValue)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameters
Name Description
index int
builderForValue MetricCompatibility.Builder
Returns
Type Description
CheckCompatibilityResponse.Builder

addMetricCompatibilitiesBuilder()

public MetricCompatibility.Builder addMetricCompatibilitiesBuilder()

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Returns
Type Description
MetricCompatibility.Builder

addMetricCompatibilitiesBuilder(int index)

public MetricCompatibility.Builder addMetricCompatibilitiesBuilder(int index)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricCompatibility.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckCompatibilityResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides

build()

public CheckCompatibilityResponse build()
Returns
Type Description
CheckCompatibilityResponse

buildPartial()

public CheckCompatibilityResponse buildPartial()
Returns
Type Description
CheckCompatibilityResponse

clear()

public CheckCompatibilityResponse.Builder clear()
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides

clearDimensionCompatibilities()

public CheckCompatibilityResponse.Builder clearDimensionCompatibilities()

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Returns
Type Description
CheckCompatibilityResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public CheckCompatibilityResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides

clearMetricCompatibilities()

public CheckCompatibilityResponse.Builder clearMetricCompatibilities()

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Returns
Type Description
CheckCompatibilityResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckCompatibilityResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides

clone()

public CheckCompatibilityResponse.Builder clone()
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides

getDefaultInstanceForType()

public CheckCompatibilityResponse getDefaultInstanceForType()
Returns
Type Description
CheckCompatibilityResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDimensionCompatibilities(int index)

public DimensionCompatibility getDimensionCompatibilities(int index)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionCompatibility

getDimensionCompatibilitiesBuilder(int index)

public DimensionCompatibility.Builder getDimensionCompatibilitiesBuilder(int index)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionCompatibility.Builder

getDimensionCompatibilitiesBuilderList()

public List<DimensionCompatibility.Builder> getDimensionCompatibilitiesBuilderList()

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Returns
Type Description
List<Builder>

getDimensionCompatibilitiesCount()

public int getDimensionCompatibilitiesCount()

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Returns
Type Description
int

getDimensionCompatibilitiesList()

public List<DimensionCompatibility> getDimensionCompatibilitiesList()

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Returns
Type Description
List<DimensionCompatibility>

getDimensionCompatibilitiesOrBuilder(int index)

public DimensionCompatibilityOrBuilder getDimensionCompatibilitiesOrBuilder(int index)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionCompatibilityOrBuilder

getDimensionCompatibilitiesOrBuilderList()

public List<? extends DimensionCompatibilityOrBuilder> getDimensionCompatibilitiesOrBuilderList()

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Returns
Type Description
List<? extends com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder>

getMetricCompatibilities(int index)

public MetricCompatibility getMetricCompatibilities(int index)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricCompatibility

getMetricCompatibilitiesBuilder(int index)

public MetricCompatibility.Builder getMetricCompatibilitiesBuilder(int index)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricCompatibility.Builder

getMetricCompatibilitiesBuilderList()

public List<MetricCompatibility.Builder> getMetricCompatibilitiesBuilderList()

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Returns
Type Description
List<Builder>

getMetricCompatibilitiesCount()

public int getMetricCompatibilitiesCount()

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Returns
Type Description
int

getMetricCompatibilitiesList()

public List<MetricCompatibility> getMetricCompatibilitiesList()

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Returns
Type Description
List<MetricCompatibility>

getMetricCompatibilitiesOrBuilder(int index)

public MetricCompatibilityOrBuilder getMetricCompatibilitiesOrBuilder(int index)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricCompatibilityOrBuilder

getMetricCompatibilitiesOrBuilderList()

public List<? extends MetricCompatibilityOrBuilder> getMetricCompatibilitiesOrBuilderList()

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Returns
Type Description
List<? extends com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CheckCompatibilityResponse other)

public CheckCompatibilityResponse.Builder mergeFrom(CheckCompatibilityResponse other)
Parameter
Name Description
other CheckCompatibilityResponse
Returns
Type Description
CheckCompatibilityResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckCompatibilityResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CheckCompatibilityResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckCompatibilityResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides

removeDimensionCompatibilities(int index)

public CheckCompatibilityResponse.Builder removeDimensionCompatibilities(int index)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameter
Name Description
index int
Returns
Type Description
CheckCompatibilityResponse.Builder

removeMetricCompatibilities(int index)

public CheckCompatibilityResponse.Builder removeMetricCompatibilities(int index)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameter
Name Description
index int
Returns
Type Description
CheckCompatibilityResponse.Builder

setDimensionCompatibilities(int index, DimensionCompatibility value)

public CheckCompatibilityResponse.Builder setDimensionCompatibilities(int index, DimensionCompatibility value)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameters
Name Description
index int
value DimensionCompatibility
Returns
Type Description
CheckCompatibilityResponse.Builder

setDimensionCompatibilities(int index, DimensionCompatibility.Builder builderForValue)

public CheckCompatibilityResponse.Builder setDimensionCompatibilities(int index, DimensionCompatibility.Builder builderForValue)

The compatibility of each dimension.

repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1;

Parameters
Name Description
index int
builderForValue DimensionCompatibility.Builder
Returns
Type Description
CheckCompatibilityResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CheckCompatibilityResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides

setMetricCompatibilities(int index, MetricCompatibility value)

public CheckCompatibilityResponse.Builder setMetricCompatibilities(int index, MetricCompatibility value)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameters
Name Description
index int
value MetricCompatibility
Returns
Type Description
CheckCompatibilityResponse.Builder

setMetricCompatibilities(int index, MetricCompatibility.Builder builderForValue)

public CheckCompatibilityResponse.Builder setMetricCompatibilities(int index, MetricCompatibility.Builder builderForValue)

The compatibility of each metric.

repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2;

Parameters
Name Description
index int
builderForValue MetricCompatibility.Builder
Returns
Type Description
CheckCompatibilityResponse.Builder

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

public CheckCompatibilityResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckCompatibilityResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckCompatibilityResponse.Builder
Overrides