Class AccessNumericFilter.Builder (0.51.0)

public static final class AccessNumericFilter.Builder extends GeneratedMessageV3.Builder<AccessNumericFilter.Builder> implements AccessNumericFilterOrBuilder

Filters for numeric or date values.

Protobuf type google.analytics.admin.v1alpha.AccessNumericFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessNumericFilter build()
Returns
TypeDescription
AccessNumericFilter

buildPartial()

public AccessNumericFilter buildPartial()
Returns
TypeDescription
AccessNumericFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperation()

public AccessNumericFilter.Builder clearOperation()

The operation type for this filter.

.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;

Returns
TypeDescription
AccessNumericFilter.Builder

This builder for chaining.

clearValue()

public AccessNumericFilter.Builder clearValue()

A numeric value or a date value.

.google.analytics.admin.v1alpha.NumericValue value = 2;

Returns
TypeDescription
AccessNumericFilter.Builder

clone()

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

getDefaultInstanceForType()

public AccessNumericFilter getDefaultInstanceForType()
Returns
TypeDescription
AccessNumericFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperation()

public AccessNumericFilter.Operation getOperation()

The operation type for this filter.

.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;

Returns
TypeDescription
AccessNumericFilter.Operation

The operation.

getOperationValue()

public int getOperationValue()

The operation type for this filter.

.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for operation.

getValue()

public NumericValue getValue()

A numeric value or a date value.

.google.analytics.admin.v1alpha.NumericValue value = 2;

Returns
TypeDescription
NumericValue

The value.

getValueBuilder()

public NumericValue.Builder getValueBuilder()

A numeric value or a date value.

.google.analytics.admin.v1alpha.NumericValue value = 2;

Returns
TypeDescription
NumericValue.Builder

getValueOrBuilder()

public NumericValueOrBuilder getValueOrBuilder()

A numeric value or a date value.

.google.analytics.admin.v1alpha.NumericValue value = 2;

Returns
TypeDescription
NumericValueOrBuilder

hasValue()

public boolean hasValue()

A numeric value or a date value.

.google.analytics.admin.v1alpha.NumericValue value = 2;

Returns
TypeDescription
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AccessNumericFilter other)

public AccessNumericFilter.Builder mergeFrom(AccessNumericFilter other)
Parameter
NameDescription
otherAccessNumericFilter
Returns
TypeDescription
AccessNumericFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeValue(NumericValue value)

public AccessNumericFilter.Builder mergeValue(NumericValue value)

A numeric value or a date value.

.google.analytics.admin.v1alpha.NumericValue value = 2;

Parameter
NameDescription
valueNumericValue
Returns
TypeDescription
AccessNumericFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperation(AccessNumericFilter.Operation value)

public AccessNumericFilter.Builder setOperation(AccessNumericFilter.Operation value)

The operation type for this filter.

.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;

Parameter
NameDescription
valueAccessNumericFilter.Operation

The operation to set.

Returns
TypeDescription
AccessNumericFilter.Builder

This builder for chaining.

setOperationValue(int value)

public AccessNumericFilter.Builder setOperationValue(int value)

The operation type for this filter.

.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
AccessNumericFilter.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(NumericValue value)

public AccessNumericFilter.Builder setValue(NumericValue value)

A numeric value or a date value.

.google.analytics.admin.v1alpha.NumericValue value = 2;

Parameter
NameDescription
valueNumericValue
Returns
TypeDescription
AccessNumericFilter.Builder

setValue(NumericValue.Builder builderForValue)

public AccessNumericFilter.Builder setValue(NumericValue.Builder builderForValue)

A numeric value or a date value.

.google.analytics.admin.v1alpha.NumericValue value = 2;

Parameter
NameDescription
builderForValueNumericValue.Builder
Returns
TypeDescription
AccessNumericFilter.Builder