Send feedback
Class GroupingRule.Builder (0.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.41.0 keyboard_arrow_down
public static final class GroupingRule . Builder extends GeneratedMessageV3 . Builder<GroupingRule . Builder > implements GroupingRuleOrBuilder
The rules that govern how traffic is grouped into one channel.
Protobuf type google.analytics.admin.v1alpha.GroupingRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 GroupingRule . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GroupingRule build ()
buildPartial()
public GroupingRule buildPartial ()
clear()
public GroupingRule . Builder clear ()
Overrides
clearDisplayName()
public GroupingRule . Builder clearDisplayName ()
Required. Customer defined display name for the channel.
string display_name = 1 [(.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];
clearField(Descriptors.FieldDescriptor field)
public GroupingRule . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GroupingRule . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public GroupingRule . Builder clone ()
Overrides
getDefaultInstanceForType()
public GroupingRule getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDisplayName()
public String getDisplayName ()
Required. Customer defined display name for the channel.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The displayName.
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
Required. Customer defined display name for the channel.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for displayName.
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];
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];
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];
Returns Type Description boolean
Whether the expression field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeExpression(ChannelGroupFilterExpression value)
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];
mergeFrom(GroupingRule other)
public GroupingRule . Builder mergeFrom ( GroupingRule other )
public GroupingRule . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GroupingRule . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GroupingRule . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDisplayName(String value)
public GroupingRule . Builder setDisplayName ( String value )
Required. Customer defined display name for the channel.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
String
The displayName to set.
setDisplayNameBytes(ByteString value)
public GroupingRule . Builder setDisplayNameBytes ( ByteString value )
Required. Customer defined display name for the channel.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
ByteString
The bytes for displayName to set.
setExpression(ChannelGroupFilterExpression value)
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(ChannelGroupFilterExpression.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public GroupingRule . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GroupingRule . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GroupingRule . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `GroupingRule.Builder` class in the Google Analytics Admin v1alpha Java library, with the latest version being 0.70.0."],["`GroupingRule.Builder` is a class that extends `GeneratedMessageV3.Builder` and implements `GroupingRuleOrBuilder`, used for building `GroupingRule` objects that define traffic grouping rules."],["The documentation lists various methods for the `GroupingRule.Builder` class, including methods for setting the display name and the filter expression, and several inherited methods from parent classes."],["The page contains links to the documentation for 50 different versions of the class, starting from 0.70.0 (latest) down to 0.14.0, enabling users to view documentation pertinent to their specific version."]]],[]]