Class AudienceDimensionOrMetricFilter.NumericFilter.Builder (0.31.0)

public static final class AudienceDimensionOrMetricFilter.NumericFilter.Builder extends GeneratedMessageV3.Builder<AudienceDimensionOrMetricFilter.NumericFilter.Builder> implements AudienceDimensionOrMetricFilter.NumericFilterOrBuilder

A filter for numeric or date values on a dimension or metric.

Protobuf type google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudienceDimensionOrMetricFilter.NumericFilter build()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter

buildPartial()

public AudienceDimensionOrMetricFilter.NumericFilter buildPartial()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter

clear()

public AudienceDimensionOrMetricFilter.NumericFilter.Builder clear()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperation()

public AudienceDimensionOrMetricFilter.NumericFilter.Builder clearOperation()

Required. The operation applied to a numeric filter.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

This builder for chaining.

clearValue()

public AudienceDimensionOrMetricFilter.NumericFilter.Builder clearValue()

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

clone()

public AudienceDimensionOrMetricFilter.NumericFilter.Builder clone()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder
Overrides

getDefaultInstanceForType()

public AudienceDimensionOrMetricFilter.NumericFilter getDefaultInstanceForType()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperation()

public AudienceDimensionOrMetricFilter.NumericFilter.Operation getOperation()

Required. The operation applied to a numeric filter.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Operation

The operation.

getOperationValue()

public int getOperationValue()

Required. The operation applied to a numeric filter.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for operation.

getValue()

public AudienceDimensionOrMetricFilter.NumericValue getValue()

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericValue

The value.

getValueBuilder()

public AudienceDimensionOrMetricFilter.NumericValue.Builder getValueBuilder()

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericValue.Builder

getValueOrBuilder()

public AudienceDimensionOrMetricFilter.NumericValueOrBuilder getValueOrBuilder()

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericValueOrBuilder

hasValue()

public boolean hasValue()

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

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(AudienceDimensionOrMetricFilter.NumericFilter other)

public AudienceDimensionOrMetricFilter.NumericFilter.Builder mergeFrom(AudienceDimensionOrMetricFilter.NumericFilter other)
Parameter
NameDescription
otherAudienceDimensionOrMetricFilter.NumericFilter
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeValue(AudienceDimensionOrMetricFilter.NumericValue value)

public AudienceDimensionOrMetricFilter.NumericFilter.Builder mergeValue(AudienceDimensionOrMetricFilter.NumericValue value)

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAudienceDimensionOrMetricFilter.NumericValue
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperation(AudienceDimensionOrMetricFilter.NumericFilter.Operation value)

public AudienceDimensionOrMetricFilter.NumericFilter.Builder setOperation(AudienceDimensionOrMetricFilter.NumericFilter.Operation value)

Required. The operation applied to a numeric filter.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAudienceDimensionOrMetricFilter.NumericFilter.Operation

The operation to set.

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

This builder for chaining.

setOperationValue(int value)

public AudienceDimensionOrMetricFilter.NumericFilter.Builder setOperationValue(int value)

Required. The operation applied to a numeric filter.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(AudienceDimensionOrMetricFilter.NumericValue value)

public AudienceDimensionOrMetricFilter.NumericFilter.Builder setValue(AudienceDimensionOrMetricFilter.NumericValue value)

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAudienceDimensionOrMetricFilter.NumericValue
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

setValue(AudienceDimensionOrMetricFilter.NumericValue.Builder builderForValue)

public AudienceDimensionOrMetricFilter.NumericFilter.Builder setValue(AudienceDimensionOrMetricFilter.NumericValue.Builder builderForValue)

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAudienceDimensionOrMetricFilter.NumericValue.Builder
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder