Class DimensionCompatibility.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DimensionCompatibility.Builder>
com.google.analytics.data.v1beta.DimensionCompatibility.Builder
All Implemented Interfaces:
DimensionCompatibilityOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DimensionCompatibility

public static final class DimensionCompatibility.Builder extends com.google.protobuf.GeneratedMessage.Builder<DimensionCompatibility.Builder> implements DimensionCompatibilityOrBuilder
 The compatibility for a single dimension.
 
Protobuf type google.analytics.data.v1beta.DimensionCompatibility
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DimensionCompatibility.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DimensionCompatibility.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DimensionCompatibility.Builder>
    • getDefaultInstanceForType

      public DimensionCompatibility getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DimensionCompatibility build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DimensionCompatibility buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DimensionCompatibility.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DimensionCompatibility.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DimensionCompatibility.Builder>
    • mergeFrom

      public DimensionCompatibility.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DimensionCompatibility.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      hasDimensionMetadata in interface DimensionCompatibilityOrBuilder
      Returns:
      Whether the dimensionMetadata field is set.
    • 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;
      Specified by:
      getDimensionMetadata in interface DimensionCompatibilityOrBuilder
      Returns:
      The dimensionMetadata.
    • setDimensionMetadata

      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;
    • setDimensionMetadata

      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;
    • mergeDimensionMetadata

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getDimensionMetadataOrBuilder in interface DimensionCompatibilityOrBuilder
    • 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;
      Specified by:
      hasCompatibility in interface DimensionCompatibilityOrBuilder
      Returns:
      Whether the compatibility field is set.
    • 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;
      Specified by:
      getCompatibilityValue in interface DimensionCompatibilityOrBuilder
      Returns:
      The enum numeric value on the wire for compatibility.
    • setCompatibilityValue

      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;
      Parameters:
      value - The enum numeric value on the wire for compatibility to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getCompatibility in interface DimensionCompatibilityOrBuilder
      Returns:
      The compatibility.
    • setCompatibility

      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;
      Parameters:
      value - The compatibility to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.