Class GroupingRule.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GroupingRule.Builder>
com.google.analytics.admin.v1alpha.GroupingRule.Builder
All Implemented Interfaces:
GroupingRuleOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GroupingRule

public static final class GroupingRule.Builder extends com.google.protobuf.GeneratedMessage.Builder<GroupingRule.Builder> implements GroupingRuleOrBuilder
 The rules that govern how traffic is grouped into one channel.
 
Protobuf type google.analytics.admin.v1alpha.GroupingRule
  • 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<GroupingRule.Builder>
    • clear

      public GroupingRule.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<GroupingRule.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<GroupingRule.Builder>
    • getDefaultInstanceForType

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

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

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

      public GroupingRule.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<GroupingRule.Builder>
    • mergeFrom

      public GroupingRule.Builder mergeFrom(GroupingRule other)
    • isInitialized

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

      public GroupingRule.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<GroupingRule.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       Required. Customer defined display name for the channel.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface GroupingRuleOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Customer defined display name for the channel.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface GroupingRuleOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public GroupingRule.Builder setDisplayName(String value)
       Required. Customer defined display name for the channel.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public GroupingRule.Builder clearDisplayName()
       Required. Customer defined display name for the channel.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public GroupingRule.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. Customer defined display name for the channel.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasExpression

      public boolean hasExpression()
       Required. The Filter Expression that defines the Grouping Rule.
       
      .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasExpression in interface GroupingRuleOrBuilder
      Returns:
      Whether the expression field is set.
    • getExpression

      public ChannelGroupFilterExpression getExpression()
       Required. The Filter Expression that defines the Grouping Rule.
       
      .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExpression in interface GroupingRuleOrBuilder
      Returns:
      The expression.
    • setExpression

      public GroupingRule.Builder setExpression(ChannelGroupFilterExpression value)
       Required. The Filter Expression that defines the Grouping Rule.
       
      .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED];
    • setExpression

      public GroupingRule.Builder setExpression(ChannelGroupFilterExpression.Builder builderForValue)
       Required. The Filter Expression that defines the Grouping Rule.
       
      .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeExpression

      public GroupingRule.Builder mergeExpression(ChannelGroupFilterExpression value)
       Required. The Filter Expression that defines the Grouping Rule.
       
      .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearExpression

      public GroupingRule.Builder clearExpression()
       Required. The Filter Expression that defines the Grouping Rule.
       
      .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED];
    • getExpressionBuilder

      public ChannelGroupFilterExpression.Builder getExpressionBuilder()
       Required. The Filter Expression that defines the Grouping Rule.
       
      .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED];
    • getExpressionOrBuilder

      public ChannelGroupFilterExpressionOrBuilder getExpressionOrBuilder()
       Required. The Filter Expression that defines the Grouping Rule.
       
      .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExpressionOrBuilder in interface GroupingRuleOrBuilder