Class ExpandedDataSetFilter.Builder (0.57.0)

public static final class ExpandedDataSetFilter.Builder extends GeneratedMessageV3.Builder<ExpandedDataSetFilter.Builder> implements ExpandedDataSetFilterOrBuilder

A specific filter for a single dimension

Protobuf type google.analytics.admin.v1alpha.ExpandedDataSetFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExpandedDataSetFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides

build()

public ExpandedDataSetFilter build()
Returns
Type Description
ExpandedDataSetFilter

buildPartial()

public ExpandedDataSetFilter buildPartial()
Returns
Type Description
ExpandedDataSetFilter

clear()

public ExpandedDataSetFilter.Builder clear()
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExpandedDataSetFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides

clearFieldName()

public ExpandedDataSetFilter.Builder clearFieldName()

Required. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExpandedDataSetFilter.Builder

This builder for chaining.

clearInListFilter()

public ExpandedDataSetFilter.Builder clearInListFilter()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ExpandedDataSetFilter.Builder

clearOneFilter()

public ExpandedDataSetFilter.Builder clearOneFilter()
Returns
Type Description
ExpandedDataSetFilter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExpandedDataSetFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides

clearStringFilter()

public ExpandedDataSetFilter.Builder clearStringFilter()

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

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;

Returns
Type Description
ExpandedDataSetFilter.Builder

clone()

public ExpandedDataSetFilter.Builder clone()
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides

getDefaultInstanceForType()

public ExpandedDataSetFilter getDefaultInstanceForType()
Returns
Type Description
ExpandedDataSetFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFieldName()

public String getFieldName()

Required. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

Required. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for fieldName.

getInListFilter()

public ExpandedDataSetFilter.InListFilter getInListFilter()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ExpandedDataSetFilter.InListFilter

The inListFilter.

getInListFilterBuilder()

public ExpandedDataSetFilter.InListFilter.Builder getInListFilterBuilder()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ExpandedDataSetFilter.InListFilter.Builder

getInListFilterOrBuilder()

public ExpandedDataSetFilter.InListFilterOrBuilder getInListFilterOrBuilder()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ExpandedDataSetFilter.InListFilterOrBuilder

getOneFilterCase()

public ExpandedDataSetFilter.OneFilterCase getOneFilterCase()
Returns
Type Description
ExpandedDataSetFilter.OneFilterCase

getStringFilter()

public ExpandedDataSetFilter.StringFilter getStringFilter()

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

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;

Returns
Type Description
ExpandedDataSetFilter.StringFilter

The stringFilter.

getStringFilterBuilder()

public ExpandedDataSetFilter.StringFilter.Builder getStringFilterBuilder()

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

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;

Returns
Type Description
ExpandedDataSetFilter.StringFilter.Builder

getStringFilterOrBuilder()

public ExpandedDataSetFilter.StringFilterOrBuilder getStringFilterOrBuilder()

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

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;

Returns
Type Description
ExpandedDataSetFilter.StringFilterOrBuilder

hasInListFilter()

public boolean hasInListFilter()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;

Returns
Type Description
boolean

Whether the inListFilter field is set.

hasStringFilter()

public boolean hasStringFilter()

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

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;

Returns
Type Description
boolean

Whether the stringFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExpandedDataSetFilter other)

public ExpandedDataSetFilter.Builder mergeFrom(ExpandedDataSetFilter other)
Parameter
Name Description
other ExpandedDataSetFilter
Returns
Type Description
ExpandedDataSetFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExpandedDataSetFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExpandedDataSetFilter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides

mergeInListFilter(ExpandedDataSetFilter.InListFilter value)

public ExpandedDataSetFilter.Builder mergeInListFilter(ExpandedDataSetFilter.InListFilter value)

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;

Parameter
Name Description
value ExpandedDataSetFilter.InListFilter
Returns
Type Description
ExpandedDataSetFilter.Builder

mergeStringFilter(ExpandedDataSetFilter.StringFilter value)

public ExpandedDataSetFilter.Builder mergeStringFilter(ExpandedDataSetFilter.StringFilter value)

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

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;

Parameter
Name Description
value ExpandedDataSetFilter.StringFilter
Returns
Type Description
ExpandedDataSetFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExpandedDataSetFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExpandedDataSetFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides

setFieldName(String value)

public ExpandedDataSetFilter.Builder setFieldName(String value)

Required. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The fieldName to set.

Returns
Type Description
ExpandedDataSetFilter.Builder

This builder for chaining.

setFieldNameBytes(ByteString value)

public ExpandedDataSetFilter.Builder setFieldNameBytes(ByteString value)

Required. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for fieldName to set.

Returns
Type Description
ExpandedDataSetFilter.Builder

This builder for chaining.

setInListFilter(ExpandedDataSetFilter.InListFilter value)

public ExpandedDataSetFilter.Builder setInListFilter(ExpandedDataSetFilter.InListFilter value)

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;

Parameter
Name Description
value ExpandedDataSetFilter.InListFilter
Returns
Type Description
ExpandedDataSetFilter.Builder

setInListFilter(ExpandedDataSetFilter.InListFilter.Builder builderForValue)

public ExpandedDataSetFilter.Builder setInListFilter(ExpandedDataSetFilter.InListFilter.Builder builderForValue)

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;

Parameter
Name Description
builderForValue ExpandedDataSetFilter.InListFilter.Builder
Returns
Type Description
ExpandedDataSetFilter.Builder

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

public ExpandedDataSetFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides

setStringFilter(ExpandedDataSetFilter.StringFilter value)

public ExpandedDataSetFilter.Builder setStringFilter(ExpandedDataSetFilter.StringFilter value)

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

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;

Parameter
Name Description
value ExpandedDataSetFilter.StringFilter
Returns
Type Description
ExpandedDataSetFilter.Builder

setStringFilter(ExpandedDataSetFilter.StringFilter.Builder builderForValue)

public ExpandedDataSetFilter.Builder setStringFilter(ExpandedDataSetFilter.StringFilter.Builder builderForValue)

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

.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;

Parameter
Name Description
builderForValue ExpandedDataSetFilter.StringFilter.Builder
Returns
Type Description
ExpandedDataSetFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ExpandedDataSetFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExpandedDataSetFilter.Builder
Overrides