public static final class NumericFilter.Builder extends GeneratedMessageV3.Builder<NumericFilter.Builder> implements NumericFilterOrBuilder
Filters for numeric or date values.
Protobuf type google.analytics.data.v1alpha.NumericFilter
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NumericFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NumericFilter build()
buildPartial()
public NumericFilter buildPartial()
clear()
public NumericFilter.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NumericFilter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NumericFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOperation()
public NumericFilter.Builder clearOperation()
The operation type for this filter.
.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;
clearValue()
public NumericFilter.Builder clearValue()
A numeric value or a date value.
.google.analytics.data.v1alpha.NumericValue value = 2;
clone()
public NumericFilter.Builder clone()
Overrides
getDefaultInstanceForType()
public NumericFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOperation()
public NumericFilter.Operation getOperation()
The operation type for this filter.
.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;
getOperationValue()
public int getOperationValue()
The operation type for this filter.
.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for operation.
|
getValue()
public NumericValue getValue()
A numeric value or a date value.
.google.analytics.data.v1alpha.NumericValue value = 2;
getValueBuilder()
public NumericValue.Builder getValueBuilder()
A numeric value or a date value.
.google.analytics.data.v1alpha.NumericValue value = 2;
getValueOrBuilder()
public NumericValueOrBuilder getValueOrBuilder()
A numeric value or a date value.
.google.analytics.data.v1alpha.NumericValue value = 2;
hasValue()
public boolean hasValue()
A numeric value or a date value.
.google.analytics.data.v1alpha.NumericValue value = 2;
Returns |
Type |
Description |
boolean |
Whether the value field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NumericFilter other)
public NumericFilter.Builder mergeFrom(NumericFilter other)
public NumericFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NumericFilter.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NumericFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeValue(NumericValue value)
public NumericFilter.Builder mergeValue(NumericValue value)
A numeric value or a date value.
.google.analytics.data.v1alpha.NumericValue value = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public NumericFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOperation(NumericFilter.Operation value)
public NumericFilter.Builder setOperation(NumericFilter.Operation value)
The operation type for this filter.
.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;
setOperationValue(int value)
public NumericFilter.Builder setOperationValue(int value)
The operation type for this filter.
.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for operation to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NumericFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NumericFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(NumericValue value)
public NumericFilter.Builder setValue(NumericValue value)
A numeric value or a date value.
.google.analytics.data.v1alpha.NumericValue value = 2;
setValue(NumericValue.Builder builderForValue)
public NumericFilter.Builder setValue(NumericValue.Builder builderForValue)
A numeric value or a date value.
.google.analytics.data.v1alpha.NumericValue value = 2;