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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DimensionCompatibility.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DimensionCompatibility build()
buildPartial()
public DimensionCompatibility buildPartial()
clear()
public DimensionCompatibility.Builder clear()
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;
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;
clearField(Descriptors.FieldDescriptor field)
public DimensionCompatibility.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DimensionCompatibility.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DimensionCompatibility.Builder clone()
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;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(DimensionCompatibility other)
public DimensionCompatibility.Builder mergeFrom(DimensionCompatibility other)
public DimensionCompatibility.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DimensionCompatibility.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DimensionCompatibility.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public DimensionCompatibility.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DimensionCompatibility.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DimensionCompatibility.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides