Class AudienceDimensionOrMetricFilter.StringFilter (0.37.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
TypeDescription
int

MATCH_TYPE_FIELD_NUMBER

public static final int MATCH_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AudienceDimensionOrMetricFilter.StringFilter getDefaultInstance()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.StringFilter

getDescriptor()

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

newBuilder()

public static AudienceDimensionOrMetricFilter.StringFilter.Builder newBuilder()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.StringFilter.Builder

newBuilder(AudienceDimensionOrMetricFilter.StringFilter prototype)

public static AudienceDimensionOrMetricFilter.StringFilter.Builder newBuilder(AudienceDimensionOrMetricFilter.StringFilter prototype)
Parameter
NameDescription
prototypeAudienceDimensionOrMetricFilter.StringFilter
Returns
TypeDescription
AudienceDimensionOrMetricFilter.StringFilter.Builder

parseDelimitedFrom(InputStream input)

public static AudienceDimensionOrMetricFilter.StringFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AudienceDimensionOrMetricFilter.StringFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AudienceDimensionOrMetricFilter.StringFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AudienceDimensionOrMetricFilter.StringFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AudienceDimensionOrMetricFilter.StringFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AudienceDimensionOrMetricFilter.StringFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
boolean

The caseSensitive.

getDefaultInstanceForType()

public AudienceDimensionOrMetricFilter.StringFilter getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for matchType.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getValue()

public String getValue()

Required. The string value to be matched against.

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

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

Required. The string value to be matched against.

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

Returns
TypeDescription
ByteString

The bytes for value.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AudienceDimensionOrMetricFilter.StringFilter.Builder toBuilder()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.StringFilter.Builder

writeTo(CodedOutputStream output)

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