Class ChannelGroupFilter.StringFilter.Builder (0.34.0)

public static final class ChannelGroupFilter.StringFilter.Builder extends GeneratedMessageV3.Builder<ChannelGroupFilter.StringFilter.Builder> implements ChannelGroupFilter.StringFilterOrBuilder

Filter where the field value is a String. The match is case insensitive.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ChannelGroupFilter.StringFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

build()

public ChannelGroupFilter.StringFilter build()
Returns
TypeDescription
ChannelGroupFilter.StringFilter

buildPartial()

public ChannelGroupFilter.StringFilter buildPartial()
Returns
TypeDescription
ChannelGroupFilter.StringFilter

clear()

public ChannelGroupFilter.StringFilter.Builder clear()
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ChannelGroupFilter.StringFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

clearMatchType()

public ChannelGroupFilter.StringFilter.Builder clearMatchType()

Required. The match type for the string filter.

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

Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ChannelGroupFilter.StringFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

clearValue()

public ChannelGroupFilter.StringFilter.Builder clearValue()

Required. The string value to be matched against.

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

Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder

This builder for chaining.

clone()

public ChannelGroupFilter.StringFilter.Builder clone()
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMatchType()

public ChannelGroupFilter.StringFilter.MatchType getMatchType()

Required. The match type for the string filter.

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

Returns
TypeDescription
ChannelGroupFilter.StringFilter.MatchType

The matchType.

getMatchTypeValue()

public int getMatchTypeValue()

Required. The match type for the string filter.

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

Returns
TypeDescription
int

The enum numeric value on the wire for matchType.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ChannelGroupFilter.StringFilter other)

public ChannelGroupFilter.StringFilter.Builder mergeFrom(ChannelGroupFilter.StringFilter other)
Parameter
NameDescription
otherChannelGroupFilter.StringFilter
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChannelGroupFilter.StringFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ChannelGroupFilter.StringFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ChannelGroupFilter.StringFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ChannelGroupFilter.StringFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

setMatchType(ChannelGroupFilter.StringFilter.MatchType value)

public ChannelGroupFilter.StringFilter.Builder setMatchType(ChannelGroupFilter.StringFilter.MatchType value)

Required. The match type for the string filter.

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

Parameter
NameDescription
valueChannelGroupFilter.StringFilter.MatchType

The matchType to set.

Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder

This builder for chaining.

setMatchTypeValue(int value)

public ChannelGroupFilter.StringFilter.Builder setMatchTypeValue(int value)

Required. The match type for the string filter.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for matchType to set.

Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ChannelGroupFilter.StringFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ChannelGroupFilter.StringFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder
Overrides

setValue(String value)

public ChannelGroupFilter.StringFilter.Builder setValue(String value)

Required. The string value to be matched against.

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

Parameter
NameDescription
valueString

The value to set.

Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder

This builder for chaining.

setValueBytes(ByteString value)

public ChannelGroupFilter.StringFilter.Builder setValueBytes(ByteString value)

Required. The string value to be matched against.

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

Parameter
NameDescription
valueByteString

The bytes for value to set.

Returns
TypeDescription
ChannelGroupFilter.StringFilter.Builder

This builder for chaining.