Class ChannelGroup (0.26.0)

public final class ChannelGroup extends GeneratedMessageV3 implements ChannelGroupOrBuilder

A resource message representing a Channel Group.

Protobuf type google.analytics.admin.v1alpha.ChannelGroup

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

GROUPING_RULE_FIELD_NUMBER

public static final int GROUPING_RULE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SYSTEM_DEFINED_FIELD_NUMBER

public static final int SYSTEM_DEFINED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ChannelGroup getDefaultInstance()
Returns
TypeDescription
ChannelGroup

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ChannelGroup.Builder newBuilder()
Returns
TypeDescription
ChannelGroup.Builder

newBuilder(ChannelGroup prototype)

public static ChannelGroup.Builder newBuilder(ChannelGroup prototype)
Parameter
NameDescription
prototypeChannelGroup
Returns
TypeDescription
ChannelGroup.Builder

parseDelimitedFrom(InputStream input)

public static ChannelGroup parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ChannelGroup parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChannelGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChannelGroup parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChannelGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChannelGroup parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ChannelGroup parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ChannelGroup parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChannelGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ChannelGroup> parser()
Returns
TypeDescription
Parser<ChannelGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ChannelGroup getDefaultInstanceForType()
Returns
TypeDescription
ChannelGroup

getDescription()

public String getDescription()

The description of the Channel Group. Max length of 256 characters.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the Channel Group. Max length of 256 characters.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Required. The display name of the Channel Group. Max length of 80 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the Channel Group. Max length of 80 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getGroupingRule(int index)

public GroupingRule getGroupingRule(int index)

Required. The grouping rules of channels. Maximum number of rules is 25.

repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
GroupingRule

getGroupingRuleCount()

public int getGroupingRuleCount()

Required. The grouping rules of channels. Maximum number of rules is 25.

repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getGroupingRuleList()

public List<GroupingRule> getGroupingRuleList()

Required. The grouping rules of channels. Maximum number of rules is 25.

repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<GroupingRule>

getGroupingRuleOrBuilder(int index)

public GroupingRuleOrBuilder getGroupingRuleOrBuilder(int index)

Required. The grouping rules of channels. Maximum number of rules is 25.

repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
GroupingRuleOrBuilder

getGroupingRuleOrBuilderList()

public List<? extends GroupingRuleOrBuilder> getGroupingRuleOrBuilderList()

Required. The grouping rules of channels. Maximum number of rules is 25.

repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder>

getName()

public String getName()

Output only. The resource name for this Channel Group resource. Format: properties/{property}/channelGroups/{channel_group}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name for this Channel Group resource. Format: properties/{property}/channelGroups/{channel_group}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<ChannelGroup> getParserForType()
Returns
TypeDescription
Parser<ChannelGroup>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSystemDefined()

public boolean getSystemDefined()

Output only. Default Channel Group defined by Google, which cannot be updated.

bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The systemDefined.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ChannelGroup.Builder newBuilderForType()
Returns
TypeDescription
ChannelGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ChannelGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ChannelGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ChannelGroup.Builder toBuilder()
Returns
TypeDescription
ChannelGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException