Class AccessFilter.Builder (0.40.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.v1alpha.AccessFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessFilter build()
Returns
TypeDescription
AccessFilter

buildPartial()

public AccessFilter buildPartial()
Returns
TypeDescription
AccessFilter

clear()

public AccessFilter.Builder clear()
Returns
TypeDescription
AccessFilter.Builder
Overrides

clearBetweenFilter()

public AccessFilter.Builder clearBetweenFilter()

A filter for two values.

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

Returns
TypeDescription
AccessFilter.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFieldName()

public AccessFilter.Builder clearFieldName()

The dimension name or metric name.

string field_name = 1;

Returns
TypeDescription
AccessFilter.Builder

This builder for chaining.

clearInListFilter()

public AccessFilter.Builder clearInListFilter()

A filter for in list values.

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

Returns
TypeDescription
AccessFilter.Builder

clearNumericFilter()

public AccessFilter.Builder clearNumericFilter()

A filter for numeric or date values.

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

Returns
TypeDescription
AccessFilter.Builder

clearOneFilter()

public AccessFilter.Builder clearOneFilter()
Returns
TypeDescription
AccessFilter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStringFilter()

public AccessFilter.Builder clearStringFilter()

Strings related filter.

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

Returns
TypeDescription
AccessFilter.Builder

clone()

public AccessFilter.Builder clone()
Returns
TypeDescription
AccessFilter.Builder
Overrides

getBetweenFilter()

public AccessBetweenFilter getBetweenFilter()

A filter for two values.

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

Returns
TypeDescription
AccessBetweenFilter

The betweenFilter.

getBetweenFilterBuilder()

public AccessBetweenFilter.Builder getBetweenFilterBuilder()

A filter for two values.

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

Returns
TypeDescription
AccessBetweenFilter.Builder

getBetweenFilterOrBuilder()

public AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder()

A filter for two values.

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

Returns
TypeDescription
AccessBetweenFilterOrBuilder

getDefaultInstanceForType()

public AccessFilter getDefaultInstanceForType()
Returns
TypeDescription
AccessFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFieldName()

public String getFieldName()

The dimension name or metric name.

string field_name = 1;

Returns
TypeDescription
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

The dimension name or metric name.

string field_name = 1;

Returns
TypeDescription
ByteString

The bytes for fieldName.

getInListFilter()

public AccessInListFilter getInListFilter()

A filter for in list values.

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

Returns
TypeDescription
AccessInListFilter

The inListFilter.

getInListFilterBuilder()

public AccessInListFilter.Builder getInListFilterBuilder()

A filter for in list values.

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

Returns
TypeDescription
AccessInListFilter.Builder

getInListFilterOrBuilder()

public AccessInListFilterOrBuilder getInListFilterOrBuilder()

A filter for in list values.

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

Returns
TypeDescription
AccessInListFilterOrBuilder

getNumericFilter()

public AccessNumericFilter getNumericFilter()

A filter for numeric or date values.

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

Returns
TypeDescription
AccessNumericFilter

The numericFilter.

getNumericFilterBuilder()

public AccessNumericFilter.Builder getNumericFilterBuilder()

A filter for numeric or date values.

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

Returns
TypeDescription
AccessNumericFilter.Builder

getNumericFilterOrBuilder()

public AccessNumericFilterOrBuilder getNumericFilterOrBuilder()

A filter for numeric or date values.

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

Returns
TypeDescription
AccessNumericFilterOrBuilder

getOneFilterCase()

public AccessFilter.OneFilterCase getOneFilterCase()
Returns
TypeDescription
AccessFilter.OneFilterCase

getStringFilter()

public AccessStringFilter getStringFilter()

Strings related filter.

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

Returns
TypeDescription
AccessStringFilter

The stringFilter.

getStringFilterBuilder()

public AccessStringFilter.Builder getStringFilterBuilder()

Strings related filter.

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

Returns
TypeDescription
AccessStringFilter.Builder

getStringFilterOrBuilder()

public AccessStringFilterOrBuilder getStringFilterOrBuilder()

Strings related filter.

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

Returns
TypeDescription
AccessStringFilterOrBuilder

hasBetweenFilter()

public boolean hasBetweenFilter()

A filter for two values.

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

Returns
TypeDescription
boolean

Whether the betweenFilter field is set.

hasInListFilter()

public boolean hasInListFilter()

A filter for in list values.

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

Returns
TypeDescription
boolean

Whether the inListFilter field is set.

hasNumericFilter()

public boolean hasNumericFilter()

A filter for numeric or date values.

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

Returns
TypeDescription
boolean

Whether the numericFilter field is set.

hasStringFilter()

public boolean hasStringFilter()

Strings related filter.

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

Returns
TypeDescription
boolean

Whether the stringFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBetweenFilter(AccessBetweenFilter value)

public AccessFilter.Builder mergeBetweenFilter(AccessBetweenFilter value)

A filter for two values.

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

Parameter
NameDescription
valueAccessBetweenFilter
Returns
TypeDescription
AccessFilter.Builder

mergeFrom(AccessFilter other)

public AccessFilter.Builder mergeFrom(AccessFilter other)
Parameter
NameDescription
otherAccessFilter
Returns
TypeDescription
AccessFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInListFilter(AccessInListFilter value)

public AccessFilter.Builder mergeInListFilter(AccessInListFilter value)

A filter for in list values.

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

Parameter
NameDescription
valueAccessInListFilter
Returns
TypeDescription
AccessFilter.Builder

mergeNumericFilter(AccessNumericFilter value)

public AccessFilter.Builder mergeNumericFilter(AccessNumericFilter value)

A filter for numeric or date values.

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

Parameter
NameDescription
valueAccessNumericFilter
Returns
TypeDescription
AccessFilter.Builder

mergeStringFilter(AccessStringFilter value)

public AccessFilter.Builder mergeStringFilter(AccessStringFilter value)

Strings related filter.

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

Parameter
NameDescription
valueAccessStringFilter
Returns
TypeDescription
AccessFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBetweenFilter(AccessBetweenFilter value)

public AccessFilter.Builder setBetweenFilter(AccessBetweenFilter value)

A filter for two values.

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

Parameter
NameDescription
valueAccessBetweenFilter
Returns
TypeDescription
AccessFilter.Builder

setBetweenFilter(AccessBetweenFilter.Builder builderForValue)

public AccessFilter.Builder setBetweenFilter(AccessBetweenFilter.Builder builderForValue)

A filter for two values.

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

Parameter
NameDescription
builderForValueAccessBetweenFilter.Builder
Returns
TypeDescription
AccessFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldName(String value)

public AccessFilter.Builder setFieldName(String value)

The dimension name or metric name.

string field_name = 1;

Parameter
NameDescription
valueString

The fieldName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fieldName to set.

Returns
TypeDescription
AccessFilter.Builder

This builder for chaining.

setInListFilter(AccessInListFilter value)

public AccessFilter.Builder setInListFilter(AccessInListFilter value)

A filter for in list values.

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

Parameter
NameDescription
valueAccessInListFilter
Returns
TypeDescription
AccessFilter.Builder

setInListFilter(AccessInListFilter.Builder builderForValue)

public AccessFilter.Builder setInListFilter(AccessInListFilter.Builder builderForValue)

A filter for in list values.

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

Parameter
NameDescription
builderForValueAccessInListFilter.Builder
Returns
TypeDescription
AccessFilter.Builder

setNumericFilter(AccessNumericFilter value)

public AccessFilter.Builder setNumericFilter(AccessNumericFilter value)

A filter for numeric or date values.

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

Parameter
NameDescription
valueAccessNumericFilter
Returns
TypeDescription
AccessFilter.Builder

setNumericFilter(AccessNumericFilter.Builder builderForValue)

public AccessFilter.Builder setNumericFilter(AccessNumericFilter.Builder builderForValue)

A filter for numeric or date values.

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

Parameter
NameDescription
builderForValueAccessNumericFilter.Builder
Returns
TypeDescription
AccessFilter.Builder

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

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

setStringFilter(AccessStringFilter value)

public AccessFilter.Builder setStringFilter(AccessStringFilter value)

Strings related filter.

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

Parameter
NameDescription
valueAccessStringFilter
Returns
TypeDescription
AccessFilter.Builder

setStringFilter(AccessStringFilter.Builder builderForValue)

public AccessFilter.Builder setStringFilter(AccessStringFilter.Builder builderForValue)

Strings related filter.

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

Parameter
NameDescription
builderForValueAccessStringFilter.Builder
Returns
TypeDescription
AccessFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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