Package com.google.analytics.data.v1beta
Class MetricCompatibility.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetricCompatibility.Builder>
com.google.analytics.data.v1beta.MetricCompatibility.Builder
- All Implemented Interfaces:
MetricCompatibilityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MetricCompatibility
public static final class MetricCompatibility.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MetricCompatibility.Builder>
implements MetricCompatibilityOrBuilder
The compatibility for a single metric.Protobuf type
google.analytics.data.v1beta.MetricCompatibility-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The compatibility of this metric.The metric metadata contains the API name for this compatibility information.The compatibility of this metric.intThe compatibility of this metric.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe metric metadata contains the API name for this compatibility information.The metric metadata contains the API name for this compatibility information.The metric metadata contains the API name for this compatibility information.booleanThe compatibility of this metric.booleanThe metric metadata contains the API name for this compatibility information.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(MetricCompatibility other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The metric metadata contains the API name for this compatibility information.setCompatibility(Compatibility value) The compatibility of this metric.setCompatibilityValue(int value) The compatibility of this metric.setMetricMetadata(MetricMetadata value) The metric metadata contains the API name for this compatibility information.setMetricMetadata(MetricMetadata.Builder builderForValue) The metric metadata contains the API name for this compatibility information.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MetricCompatibility.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MetricCompatibility.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MetricCompatibility.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetricCompatibility.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MetricCompatibility.Builder>
-
mergeFrom
public MetricCompatibility.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetricCompatibility.Builder>- Throws:
IOException
-
hasMetricMetadata
public boolean hasMetricMetadata()The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1;- Specified by:
hasMetricMetadatain interfaceMetricCompatibilityOrBuilder- Returns:
- Whether the metricMetadata field is set.
-
getMetricMetadata
The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1;- Specified by:
getMetricMetadatain interfaceMetricCompatibilityOrBuilder- Returns:
- The metricMetadata.
-
setMetricMetadata
The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; -
setMetricMetadata
The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; -
mergeMetricMetadata
The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; -
clearMetricMetadata
The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; -
getMetricMetadataBuilder
The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; -
getMetricMetadataOrBuilder
The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1;- Specified by:
getMetricMetadataOrBuilderin interfaceMetricCompatibilityOrBuilder
-
hasCompatibility
public boolean hasCompatibility()The compatibility of this metric. If the compatibility is COMPATIBLE, this metric can be successfully added to the report.
optional .google.analytics.data.v1beta.Compatibility compatibility = 2;- Specified by:
hasCompatibilityin interfaceMetricCompatibilityOrBuilder- Returns:
- Whether the compatibility field is set.
-
getCompatibilityValue
public int getCompatibilityValue()The compatibility of this metric. If the compatibility is COMPATIBLE, this metric can be successfully added to the report.
optional .google.analytics.data.v1beta.Compatibility compatibility = 2;- Specified by:
getCompatibilityValuein interfaceMetricCompatibilityOrBuilder- Returns:
- The enum numeric value on the wire for compatibility.
-
setCompatibilityValue
The compatibility of this metric. If the compatibility is COMPATIBLE, this metric can be successfully added to the report.
optional .google.analytics.data.v1beta.Compatibility compatibility = 2;- Parameters:
value- The enum numeric value on the wire for compatibility to set.- Returns:
- This builder for chaining.
-
getCompatibility
The compatibility of this metric. If the compatibility is COMPATIBLE, this metric can be successfully added to the report.
optional .google.analytics.data.v1beta.Compatibility compatibility = 2;- Specified by:
getCompatibilityin interfaceMetricCompatibilityOrBuilder- Returns:
- The compatibility.
-
setCompatibility
The compatibility of this metric. If the compatibility is COMPATIBLE, this metric can be successfully added to the report.
optional .google.analytics.data.v1beta.Compatibility compatibility = 2;- Parameters:
value- The compatibility to set.- Returns:
- This builder for chaining.
-
clearCompatibility
The compatibility of this metric. If the compatibility is COMPATIBLE, this metric can be successfully added to the report.
optional .google.analytics.data.v1beta.Compatibility compatibility = 2;- Returns:
- This builder for chaining.
-