Class ExpandedDataSetFilter.StringFilter (0.30.0)

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

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ExpandedDataSetFilter.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 ExpandedDataSetFilter.StringFilter getDefaultInstance()
Returns
TypeDescription
ExpandedDataSetFilter.StringFilter

getDescriptor()

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

newBuilder()

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

newBuilder(ExpandedDataSetFilter.StringFilter prototype)

public static ExpandedDataSetFilter.StringFilter.Builder newBuilder(ExpandedDataSetFilter.StringFilter prototype)
Parameter
NameDescription
prototypeExpandedDataSetFilter.StringFilter
Returns
TypeDescription
ExpandedDataSetFilter.StringFilter.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ExpandedDataSetFilter.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. Must be true when match_type is EXACT. Must be false when match_type is CONTAINS.

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

Returns
TypeDescription
boolean

The caseSensitive.

getDefaultInstanceForType()

public ExpandedDataSetFilter.StringFilter getDefaultInstanceForType()
Returns
TypeDescription
ExpandedDataSetFilter.StringFilter

getMatchType()

public ExpandedDataSetFilter.StringFilter.MatchType getMatchType()

Required. The match type for the string filter.

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

Returns
TypeDescription
ExpandedDataSetFilter.StringFilter.MatchType

The matchType.

getMatchTypeValue()

public int getMatchTypeValue()

Required. The match type for the string filter.

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.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<ExpandedDataSetFilter.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 ExpandedDataSetFilter.StringFilter.Builder newBuilderForType()
Returns
TypeDescription
ExpandedDataSetFilter.StringFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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