public final class DimensionCompatibility extends GeneratedMessageV3 implements DimensionCompatibilityOrBuilder
The compatibility for a single dimension.
Protobuf type google.analytics.data.v1beta.DimensionCompatibility
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COMPATIBILITY_FIELD_NUMBER
public static final int COMPATIBILITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DIMENSION_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DimensionCompatibility getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DimensionCompatibility.Builder newBuilder()
newBuilder(DimensionCompatibility prototype)
public static DimensionCompatibility.Builder newBuilder(DimensionCompatibility prototype)
public static DimensionCompatibility parseDelimitedFrom(InputStream input)
public static DimensionCompatibility parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DimensionCompatibility parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DimensionCompatibility parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DimensionCompatibility parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DimensionCompatibility parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DimensionCompatibility parseFrom(CodedInputStream input)
public static DimensionCompatibility parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DimensionCompatibility parseFrom(InputStream input)
public static DimensionCompatibility parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DimensionCompatibility parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DimensionCompatibility parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DimensionCompatibility> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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 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;
getParserForType()
public Parser<DimensionCompatibility> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DimensionCompatibility.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DimensionCompatibility.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DimensionCompatibility.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides