Class ChannelGroupFilter (0.40.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
TypeDescription
int

IN_LIST_FILTER_FIELD_NUMBER

public static final int IN_LIST_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

STRING_FILTER_FIELD_NUMBER

public static final int STRING_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ChannelGroupFilter getDefaultInstance()
Returns
TypeDescription
ChannelGroupFilter

getDescriptor()

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

newBuilder()

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

newBuilder(ChannelGroupFilter prototype)

public static ChannelGroupFilter.Builder newBuilder(ChannelGroupFilter prototype)
Parameter
NameDescription
prototypeChannelGroupFilter
Returns
TypeDescription
ChannelGroupFilter.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ChannelGroupFilter getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ChannelGroupFilter.InListFilterOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ChannelGroupFilter.StringFilterOrBuilder

getValueFilterCase()

public ChannelGroupFilter.ValueFilterCase getValueFilterCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the stringFilter field is set.

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 ChannelGroupFilter.Builder newBuilderForType()
Returns
TypeDescription
ChannelGroupFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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