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.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