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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DimensionCompatibility.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DimensionCompatibility build()
Returns
buildPartial()
public DimensionCompatibility buildPartial()
Returns
clear()
public DimensionCompatibility.Builder clear()
Returns
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
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
clearField(Descriptors.FieldDescriptor field)
public DimensionCompatibility.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DimensionCompatibility.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DimensionCompatibility.Builder clone()
Returns
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
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.
|
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
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
Returns
mergeFrom(DimensionCompatibility other)
public DimensionCompatibility.Builder mergeFrom(DimensionCompatibility other)
Parameter
Returns
public DimensionCompatibility.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DimensionCompatibility.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DimensionCompatibility.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DimensionCompatibility.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DimensionCompatibility.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DimensionCompatibility.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides