Class AudienceDimensionOrMetricFilter.StringFilter (0.47.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
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

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()

getDescriptor()

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

newBuilder()

public static AudienceDimensionOrMetricFilter.StringFilter.Builder newBuilder()

newBuilder(AudienceDimensionOrMetricFilter.StringFilter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AudienceDimensionOrMetricFilter.StringFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
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()

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()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AudienceDimensionOrMetricFilter.StringFilter.Builder toBuilder()

writeTo(CodedOutputStream output)

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