Class ExpandedDataSetFilter.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExpandedDataSetFilter build()
Returns
TypeDescription
ExpandedDataSetFilter

buildPartial()

public ExpandedDataSetFilter buildPartial()
Returns
TypeDescription
ExpandedDataSetFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFieldName()

public ExpandedDataSetFilter.Builder clearFieldName()

Required. The dimension name to filter.

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

Returns
TypeDescription
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
TypeDescription
ExpandedDataSetFilter.Builder

clearOneFilter()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ExpandedDataSetFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ExpandedDataSetFilter.Builder

clone()

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

getDefaultInstanceForType()

public ExpandedDataSetFilter getDefaultInstanceForType()
Returns
TypeDescription
ExpandedDataSetFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFieldName()

public String getFieldName()

Required. The dimension name to filter.

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

Returns
TypeDescription
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

Required. The dimension name to filter.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ExpandedDataSetFilter.InListFilterOrBuilder

getOneFilterCase()

public ExpandedDataSetFilter.OneFilterCase getOneFilterCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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

mergeFrom(ExpandedDataSetFilter other)

public ExpandedDataSetFilter.Builder mergeFrom(ExpandedDataSetFilter other)
Parameter
NameDescription
otherExpandedDataSetFilter
Returns
TypeDescription
ExpandedDataSetFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExpandedDataSetFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueExpandedDataSetFilter.InListFilter
Returns
TypeDescription
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
NameDescription
valueExpandedDataSetFilter.StringFilter
Returns
TypeDescription
ExpandedDataSetFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ExpandedDataSetFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The fieldName to set.

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

The bytes for fieldName to set.

Returns
TypeDescription
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
NameDescription
valueExpandedDataSetFilter.InListFilter
Returns
TypeDescription
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
NameDescription
builderForValueExpandedDataSetFilter.InListFilter.Builder
Returns
TypeDescription
ExpandedDataSetFilter.Builder

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

public ExpandedDataSetFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueExpandedDataSetFilter.StringFilter
Returns
TypeDescription
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
NameDescription
builderForValueExpandedDataSetFilter.StringFilter.Builder
Returns
TypeDescription
ExpandedDataSetFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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