Class AudienceDimensionOrMetricFilter.StringFilter (0.56.0)

public static final class AudienceDimensionOrMetricFilter.StringFilter extends GeneratedMessageV3 implements AudienceDimensionOrMetricFilter.StringFilterOrBuilder

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

Protobuf type google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AudienceDimensionOrMetricFilter.StringFilter

Static Fields

CASE_SENSITIVE_FIELD_NUMBER

public static final int CASE_SENSITIVE_FIELD_NUMBER
Field Value
Type Description
int

MATCH_TYPE_FIELD_NUMBER

public static final int MATCH_TYPE_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AudienceDimensionOrMetricFilter.StringFilter getDefaultInstance()
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter

getDescriptor()

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

newBuilder()

public static AudienceDimensionOrMetricFilter.StringFilter.Builder newBuilder()
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter.Builder

newBuilder(AudienceDimensionOrMetricFilter.StringFilter prototype)

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

parseDelimitedFrom(InputStream input)

public static AudienceDimensionOrMetricFilter.StringFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AudienceDimensionOrMetricFilter.StringFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AudienceDimensionOrMetricFilter.StringFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AudienceDimensionOrMetricFilter.StringFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AudienceDimensionOrMetricFilter.StringFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AudienceDimensionOrMetricFilter.StringFilter> parser()
Returns
Type Description
Parser<StringFilter>

Methods

equals(Object obj)

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

getCaseSensitive()

public boolean getCaseSensitive()

Optional. If true, the match is case-sensitive. If false, the match is case-insensitive.

bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The caseSensitive.

getDefaultInstanceForType()

public AudienceDimensionOrMetricFilter.StringFilter getDefaultInstanceForType()
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter

getMatchType()

public AudienceDimensionOrMetricFilter.StringFilter.MatchType getMatchType()

Required. The match type for the string filter.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter.MatchType

The matchType.

getMatchTypeValue()

public int getMatchTypeValue()

Required. The match type for the string filter.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for matchType.

getParserForType()

public Parser<AudienceDimensionOrMetricFilter.StringFilter> getParserForType()
Returns
Type Description
Parser<StringFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValue()

public String getValue()

Required. The string value to be matched against.

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

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Required. The string value to be matched against.

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

Returns
Type Description
ByteString

The bytes for value.

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 AudienceDimensionOrMetricFilter.StringFilter.Builder newBuilderForType()
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AudienceDimensionOrMetricFilter.StringFilter.Builder toBuilder()
Returns
Type Description
AudienceDimensionOrMetricFilter.StringFilter.Builder

writeTo(CodedOutputStream output)

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