Class AccessFilter.Builder (0.63.0)

public static final class AccessFilter.Builder extends GeneratedMessageV3.Builder<AccessFilter.Builder> implements AccessFilterOrBuilder

An expression to filter dimension or metric values.

Protobuf type google.analytics.admin.v1beta.AccessFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessFilter build()
Returns
Type Description
AccessFilter

buildPartial()

public AccessFilter buildPartial()
Returns
Type Description
AccessFilter

clear()

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

clearBetweenFilter()

public AccessFilter.Builder clearBetweenFilter()

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Returns
Type Description
AccessFilter.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFieldName()

public AccessFilter.Builder clearFieldName()

The dimension name or metric name.

string field_name = 1;

Returns
Type Description
AccessFilter.Builder

This builder for chaining.

clearInListFilter()

public AccessFilter.Builder clearInListFilter()

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Returns
Type Description
AccessFilter.Builder

clearNumericFilter()

public AccessFilter.Builder clearNumericFilter()

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Returns
Type Description
AccessFilter.Builder

clearOneFilter()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStringFilter()

public AccessFilter.Builder clearStringFilter()

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Returns
Type Description
AccessFilter.Builder

clone()

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

getBetweenFilter()

public AccessBetweenFilter getBetweenFilter()

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Returns
Type Description
AccessBetweenFilter

The betweenFilter.

getBetweenFilterBuilder()

public AccessBetweenFilter.Builder getBetweenFilterBuilder()

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Returns
Type Description
AccessBetweenFilter.Builder

getBetweenFilterOrBuilder()

public AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder()

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Returns
Type Description
AccessBetweenFilterOrBuilder

getDefaultInstanceForType()

public AccessFilter getDefaultInstanceForType()
Returns
Type Description
AccessFilter

getDescriptorForType()

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

getFieldName()

public String getFieldName()

The dimension name or metric name.

string field_name = 1;

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

The dimension name or metric name.

string field_name = 1;

Returns
Type Description
ByteString

The bytes for fieldName.

getInListFilter()

public AccessInListFilter getInListFilter()

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Returns
Type Description
AccessInListFilter

The inListFilter.

getInListFilterBuilder()

public AccessInListFilter.Builder getInListFilterBuilder()

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Returns
Type Description
AccessInListFilter.Builder

getInListFilterOrBuilder()

public AccessInListFilterOrBuilder getInListFilterOrBuilder()

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Returns
Type Description
AccessInListFilterOrBuilder

getNumericFilter()

public AccessNumericFilter getNumericFilter()

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Returns
Type Description
AccessNumericFilter

The numericFilter.

getNumericFilterBuilder()

public AccessNumericFilter.Builder getNumericFilterBuilder()

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Returns
Type Description
AccessNumericFilter.Builder

getNumericFilterOrBuilder()

public AccessNumericFilterOrBuilder getNumericFilterOrBuilder()

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Returns
Type Description
AccessNumericFilterOrBuilder

getOneFilterCase()

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

getStringFilter()

public AccessStringFilter getStringFilter()

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Returns
Type Description
AccessStringFilter

The stringFilter.

getStringFilterBuilder()

public AccessStringFilter.Builder getStringFilterBuilder()

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Returns
Type Description
AccessStringFilter.Builder

getStringFilterOrBuilder()

public AccessStringFilterOrBuilder getStringFilterOrBuilder()

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Returns
Type Description
AccessStringFilterOrBuilder

hasBetweenFilter()

public boolean hasBetweenFilter()

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Returns
Type Description
boolean

Whether the betweenFilter field is set.

hasInListFilter()

public boolean hasInListFilter()

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Returns
Type Description
boolean

Whether the inListFilter field is set.

hasNumericFilter()

public boolean hasNumericFilter()

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Returns
Type Description
boolean

Whether the numericFilter field is set.

hasStringFilter()

public boolean hasStringFilter()

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter 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

mergeBetweenFilter(AccessBetweenFilter value)

public AccessFilter.Builder mergeBetweenFilter(AccessBetweenFilter value)

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Parameter
Name Description
value AccessBetweenFilter
Returns
Type Description
AccessFilter.Builder

mergeFrom(AccessFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInListFilter(AccessInListFilter value)

public AccessFilter.Builder mergeInListFilter(AccessInListFilter value)

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Parameter
Name Description
value AccessInListFilter
Returns
Type Description
AccessFilter.Builder

mergeNumericFilter(AccessNumericFilter value)

public AccessFilter.Builder mergeNumericFilter(AccessNumericFilter value)

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Parameter
Name Description
value AccessNumericFilter
Returns
Type Description
AccessFilter.Builder

mergeStringFilter(AccessStringFilter value)

public AccessFilter.Builder mergeStringFilter(AccessStringFilter value)

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Parameter
Name Description
value AccessStringFilter
Returns
Type Description
AccessFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBetweenFilter(AccessBetweenFilter value)

public AccessFilter.Builder setBetweenFilter(AccessBetweenFilter value)

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Parameter
Name Description
value AccessBetweenFilter
Returns
Type Description
AccessFilter.Builder

setBetweenFilter(AccessBetweenFilter.Builder builderForValue)

public AccessFilter.Builder setBetweenFilter(AccessBetweenFilter.Builder builderForValue)

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Parameter
Name Description
builderForValue AccessBetweenFilter.Builder
Returns
Type Description
AccessFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldName(String value)

public AccessFilter.Builder setFieldName(String value)

The dimension name or metric name.

string field_name = 1;

Parameter
Name Description
value String

The fieldName to set.

Returns
Type Description
AccessFilter.Builder

This builder for chaining.

setFieldNameBytes(ByteString value)

public AccessFilter.Builder setFieldNameBytes(ByteString value)

The dimension name or metric name.

string field_name = 1;

Parameter
Name Description
value ByteString

The bytes for fieldName to set.

Returns
Type Description
AccessFilter.Builder

This builder for chaining.

setInListFilter(AccessInListFilter value)

public AccessFilter.Builder setInListFilter(AccessInListFilter value)

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Parameter
Name Description
value AccessInListFilter
Returns
Type Description
AccessFilter.Builder

setInListFilter(AccessInListFilter.Builder builderForValue)

public AccessFilter.Builder setInListFilter(AccessInListFilter.Builder builderForValue)

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Parameter
Name Description
builderForValue AccessInListFilter.Builder
Returns
Type Description
AccessFilter.Builder

setNumericFilter(AccessNumericFilter value)

public AccessFilter.Builder setNumericFilter(AccessNumericFilter value)

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Parameter
Name Description
value AccessNumericFilter
Returns
Type Description
AccessFilter.Builder

setNumericFilter(AccessNumericFilter.Builder builderForValue)

public AccessFilter.Builder setNumericFilter(AccessNumericFilter.Builder builderForValue)

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Parameter
Name Description
builderForValue AccessNumericFilter.Builder
Returns
Type Description
AccessFilter.Builder

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

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

setStringFilter(AccessStringFilter value)

public AccessFilter.Builder setStringFilter(AccessStringFilter value)

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Parameter
Name Description
value AccessStringFilter
Returns
Type Description
AccessFilter.Builder

setStringFilter(AccessStringFilter.Builder builderForValue)

public AccessFilter.Builder setStringFilter(AccessStringFilter.Builder builderForValue)

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Parameter
Name Description
builderForValue AccessStringFilter.Builder
Returns
Type Description
AccessFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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