Class ChannelGroupFilter (0.57.0)

public final class ChannelGroupFilter extends GeneratedMessageV3 implements ChannelGroupFilterOrBuilder

A specific filter for a single dimension.

Protobuf type google.analytics.admin.v1alpha.ChannelGroupFilter

Static Fields

FIELD_NAME_FIELD_NUMBER

public static final int FIELD_NAME_FIELD_NUMBER
Field Value
Type Description
int

IN_LIST_FILTER_FIELD_NUMBER

public static final int IN_LIST_FILTER_FIELD_NUMBER
Field Value
Type Description
int

STRING_FILTER_FIELD_NUMBER

public static final int STRING_FILTER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ChannelGroupFilter getDefaultInstance()
Returns
Type Description
ChannelGroupFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ChannelGroupFilter.Builder newBuilder()
Returns
Type Description
ChannelGroupFilter.Builder

newBuilder(ChannelGroupFilter prototype)

public static ChannelGroupFilter.Builder newBuilder(ChannelGroupFilter prototype)
Parameter
Name Description
prototype ChannelGroupFilter
Returns
Type Description
ChannelGroupFilter.Builder

parseDelimitedFrom(InputStream input)

public static ChannelGroupFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelGroupFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ChannelGroupFilter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChannelGroupFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChannelGroupFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChannelGroupFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChannelGroupFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelGroupFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ChannelGroupFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelGroupFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ChannelGroupFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChannelGroupFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelGroupFilter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ChannelGroupFilter> parser()
Returns
Type Description
Parser<ChannelGroupFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ChannelGroupFilter getDefaultInstanceForType()
Returns
Type Description
ChannelGroupFilter

getFieldName()

public String getFieldName()

Required. Immutable. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

Required. Immutable. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for fieldName.

getInListFilter()

public ChannelGroupFilter.InListFilter getInListFilter()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ChannelGroupFilter.InListFilter

The inListFilter.

getInListFilterOrBuilder()

public ChannelGroupFilter.InListFilterOrBuilder getInListFilterOrBuilder()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ChannelGroupFilter.InListFilterOrBuilder

getParserForType()

public Parser<ChannelGroupFilter> getParserForType()
Returns
Type Description
Parser<ChannelGroupFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStringFilter()

public ChannelGroupFilter.StringFilter getStringFilter()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Returns
Type Description
ChannelGroupFilter.StringFilter

The stringFilter.

getStringFilterOrBuilder()

public ChannelGroupFilter.StringFilterOrBuilder getStringFilterOrBuilder()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Returns
Type Description
ChannelGroupFilter.StringFilterOrBuilder

getValueFilterCase()

public ChannelGroupFilter.ValueFilterCase getValueFilterCase()
Returns
Type Description
ChannelGroupFilter.ValueFilterCase

hasInListFilter()

public boolean hasInListFilter()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Returns
Type Description
boolean

Whether the inListFilter field is set.

hasStringFilter()

public boolean hasStringFilter()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Returns
Type Description
boolean

Whether the stringFilter field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ChannelGroupFilter.Builder newBuilderForType()
Returns
Type Description
ChannelGroupFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ChannelGroupFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChannelGroupFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ChannelGroupFilter.Builder toBuilder()
Returns
Type Description
ChannelGroupFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException