Class CheckCompatibilityResponse.Builder (0.52.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.DimensionCompatibility>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.MetricCompatibility>
Returns
TypeDescription
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
NameDescription
valueDimensionCompatibility
Returns
TypeDescription
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
NameDescription
builderForValueDimensionCompatibility.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDimensionCompatibility
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDimensionCompatibility.Builder
Returns
TypeDescription
CheckCompatibilityResponse.Builder

addDimensionCompatibilitiesBuilder()

public DimensionCompatibility.Builder addDimensionCompatibilitiesBuilder()

The compatibility of each dimension.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueMetricCompatibility
Returns
TypeDescription
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
NameDescription
builderForValueMetricCompatibility.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMetricCompatibility
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMetricCompatibility.Builder
Returns
TypeDescription
CheckCompatibilityResponse.Builder

addMetricCompatibilitiesBuilder()

public MetricCompatibility.Builder addMetricCompatibilitiesBuilder()

The compatibility of each metric.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MetricCompatibility.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckCompatibilityResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckCompatibilityResponse.Builder
Overrides

build()

public CheckCompatibilityResponse build()
Returns
TypeDescription
CheckCompatibilityResponse

buildPartial()

public CheckCompatibilityResponse buildPartial()
Returns
TypeDescription
CheckCompatibilityResponse

clear()

public CheckCompatibilityResponse.Builder clear()
Returns
TypeDescription
CheckCompatibilityResponse.Builder
Overrides

clearDimensionCompatibilities()

public CheckCompatibilityResponse.Builder clearDimensionCompatibilities()

The compatibility of each dimension.

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

Returns
TypeDescription
CheckCompatibilityResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public CheckCompatibilityResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CheckCompatibilityResponse.Builder
Overrides

clearMetricCompatibilities()

public CheckCompatibilityResponse.Builder clearMetricCompatibilities()

The compatibility of each metric.

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

Returns
TypeDescription
CheckCompatibilityResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckCompatibilityResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CheckCompatibilityResponse.Builder
Overrides

clone()

public CheckCompatibilityResponse.Builder clone()
Returns
TypeDescription
CheckCompatibilityResponse.Builder
Overrides

getDefaultInstanceForType()

public CheckCompatibilityResponse getDefaultInstanceForType()
Returns
TypeDescription
CheckCompatibilityResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DimensionCompatibility.Builder

getDimensionCompatibilitiesBuilderList()

public List<DimensionCompatibility.Builder> getDimensionCompatibilitiesBuilderList()

The compatibility of each dimension.

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

Returns
TypeDescription
List<Builder>

getDimensionCompatibilitiesCount()

public int getDimensionCompatibilitiesCount()

The compatibility of each dimension.

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

Returns
TypeDescription
int

getDimensionCompatibilitiesList()

public List<DimensionCompatibility> getDimensionCompatibilitiesList()

The compatibility of each dimension.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DimensionCompatibilityOrBuilder

getDimensionCompatibilitiesOrBuilderList()

public List<? extends DimensionCompatibilityOrBuilder> getDimensionCompatibilitiesOrBuilderList()

The compatibility of each dimension.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MetricCompatibility.Builder

getMetricCompatibilitiesBuilderList()

public List<MetricCompatibility.Builder> getMetricCompatibilitiesBuilderList()

The compatibility of each metric.

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

Returns
TypeDescription
List<Builder>

getMetricCompatibilitiesCount()

public int getMetricCompatibilitiesCount()

The compatibility of each metric.

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

Returns
TypeDescription
int

getMetricCompatibilitiesList()

public List<MetricCompatibility> getMetricCompatibilitiesList()

The compatibility of each metric.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MetricCompatibilityOrBuilder

getMetricCompatibilitiesOrBuilderList()

public List<? extends MetricCompatibilityOrBuilder> getMetricCompatibilitiesOrBuilderList()

The compatibility of each metric.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CheckCompatibilityResponse other)

public CheckCompatibilityResponse.Builder mergeFrom(CheckCompatibilityResponse other)
Parameter
NameDescription
otherCheckCompatibilityResponse
Returns
TypeDescription
CheckCompatibilityResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckCompatibilityResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckCompatibilityResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CheckCompatibilityResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CheckCompatibilityResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckCompatibilityResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDimensionCompatibility
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDimensionCompatibility.Builder
Returns
TypeDescription
CheckCompatibilityResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CheckCompatibilityResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueMetricCompatibility
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMetricCompatibility.Builder
Returns
TypeDescription
CheckCompatibilityResponse.Builder

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

public CheckCompatibilityResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CheckCompatibilityResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckCompatibilityResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckCompatibilityResponse.Builder
Overrides