Class DimensionCompatibility.Builder (0.60.0)

public static final class DimensionCompatibility.Builder extends GeneratedMessageV3.Builder<DimensionCompatibility.Builder> implements DimensionCompatibilityOrBuilder

The compatibility for a single dimension.

Protobuf type google.analytics.data.v1beta.DimensionCompatibility

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DimensionCompatibility build()
Returns
Type Description
DimensionCompatibility

buildPartial()

public DimensionCompatibility buildPartial()
Returns
Type Description
DimensionCompatibility

clear()

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

clearCompatibility()

public DimensionCompatibility.Builder clearCompatibility()

The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.

optional .google.analytics.data.v1beta.Compatibility compatibility = 2;

Returns
Type Description
DimensionCompatibility.Builder

This builder for chaining.

clearDimensionMetadata()

public DimensionCompatibility.Builder clearDimensionMetadata()

The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.

optional .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;

Returns
Type Description
DimensionCompatibility.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCompatibility()

public Compatibility getCompatibility()

The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.

optional .google.analytics.data.v1beta.Compatibility compatibility = 2;

Returns
Type Description
Compatibility

The compatibility.

getCompatibilityValue()

public int getCompatibilityValue()

The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.

optional .google.analytics.data.v1beta.Compatibility compatibility = 2;

Returns
Type Description
int

The enum numeric value on the wire for compatibility.

getDefaultInstanceForType()

public DimensionCompatibility getDefaultInstanceForType()
Returns
Type Description
DimensionCompatibility

getDescriptorForType()

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

getDimensionMetadata()

public DimensionMetadata getDimensionMetadata()

The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.

optional .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;

Returns
Type Description
DimensionMetadata

The dimensionMetadata.

getDimensionMetadataBuilder()

public DimensionMetadata.Builder getDimensionMetadataBuilder()

The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.

optional .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;

Returns
Type Description
DimensionMetadata.Builder

getDimensionMetadataOrBuilder()

public DimensionMetadataOrBuilder getDimensionMetadataOrBuilder()

The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.

optional .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;

Returns
Type Description
DimensionMetadataOrBuilder

hasCompatibility()

public boolean hasCompatibility()

The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.

optional .google.analytics.data.v1beta.Compatibility compatibility = 2;

Returns
Type Description
boolean

Whether the compatibility field is set.

hasDimensionMetadata()

public boolean hasDimensionMetadata()

The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.

optional .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;

Returns
Type Description
boolean

Whether the dimensionMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDimensionMetadata(DimensionMetadata value)

public DimensionCompatibility.Builder mergeDimensionMetadata(DimensionMetadata value)

The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.

optional .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;

Parameter
Name Description
value DimensionMetadata
Returns
Type Description
DimensionCompatibility.Builder

mergeFrom(DimensionCompatibility other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompatibility(Compatibility value)

public DimensionCompatibility.Builder setCompatibility(Compatibility value)

The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.

optional .google.analytics.data.v1beta.Compatibility compatibility = 2;

Parameter
Name Description
value Compatibility

The compatibility to set.

Returns
Type Description
DimensionCompatibility.Builder

This builder for chaining.

setCompatibilityValue(int value)

public DimensionCompatibility.Builder setCompatibilityValue(int value)

The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.

optional .google.analytics.data.v1beta.Compatibility compatibility = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for compatibility to set.

Returns
Type Description
DimensionCompatibility.Builder

This builder for chaining.

setDimensionMetadata(DimensionMetadata value)

public DimensionCompatibility.Builder setDimensionMetadata(DimensionMetadata value)

The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.

optional .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;

Parameter
Name Description
value DimensionMetadata
Returns
Type Description
DimensionCompatibility.Builder

setDimensionMetadata(DimensionMetadata.Builder builderForValue)

public DimensionCompatibility.Builder setDimensionMetadata(DimensionMetadata.Builder builderForValue)

The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.

optional .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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