Class FilterOperatorAndValues.Builder (0.31.0)

public static final class FilterOperatorAndValues.Builder extends GeneratedMessage.Builder<FilterOperatorAndValues.Builder> implements FilterOperatorAndValuesOrBuilder

Protobuf type google.cloud.chronicle.v1.FilterOperatorAndValues

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFieldValues(Iterable<String> values)

public FilterOperatorAndValues.Builder addAllFieldValues(Iterable<String> values)

Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

repeated string field_values = 2;

Parameter
Name Description
values Iterable<String>

The fieldValues to add.

Returns
Type Description
FilterOperatorAndValues.Builder

This builder for chaining.

addFieldValues(String value)

public FilterOperatorAndValues.Builder addFieldValues(String value)

Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

repeated string field_values = 2;

Parameter
Name Description
value String

The fieldValues to add.

Returns
Type Description
FilterOperatorAndValues.Builder

This builder for chaining.

addFieldValuesBytes(ByteString value)

public FilterOperatorAndValues.Builder addFieldValuesBytes(ByteString value)

Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

repeated string field_values = 2;

Parameter
Name Description
value ByteString

The bytes of the fieldValues to add.

Returns
Type Description
FilterOperatorAndValues.Builder

This builder for chaining.

build()

public FilterOperatorAndValues build()
Returns
Type Description
FilterOperatorAndValues

buildPartial()

public FilterOperatorAndValues buildPartial()
Returns
Type Description
FilterOperatorAndValues

clear()

public FilterOperatorAndValues.Builder clear()
Returns
Type Description
FilterOperatorAndValues.Builder
Overrides

clearFieldValues()

public FilterOperatorAndValues.Builder clearFieldValues()

Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

repeated string field_values = 2;

Returns
Type Description
FilterOperatorAndValues.Builder

This builder for chaining.

clearFilterOperator()

public FilterOperatorAndValues.Builder clearFilterOperator()

Operator for a single filter modifier.

.google.cloud.chronicle.v1.FilterOperator filter_operator = 1;

Returns
Type Description
FilterOperatorAndValues.Builder

This builder for chaining.

getDefaultInstanceForType()

public FilterOperatorAndValues getDefaultInstanceForType()
Returns
Type Description
FilterOperatorAndValues

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFieldValues(int index)

public String getFieldValues(int index)

Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

repeated string field_values = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The fieldValues at the given index.

getFieldValuesBytes(int index)

public ByteString getFieldValuesBytes(int index)

Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

repeated string field_values = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the fieldValues at the given index.

getFieldValuesCount()

public int getFieldValuesCount()

Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

repeated string field_values = 2;

Returns
Type Description
int

The count of fieldValues.

getFieldValuesList()

public ProtocolStringList getFieldValuesList()

Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

repeated string field_values = 2;

Returns
Type Description
ProtocolStringList

A list containing the fieldValues.

getFilterOperator()

public FilterOperator getFilterOperator()

Operator for a single filter modifier.

.google.cloud.chronicle.v1.FilterOperator filter_operator = 1;

Returns
Type Description
FilterOperator

The filterOperator.

getFilterOperatorValue()

public int getFilterOperatorValue()

Operator for a single filter modifier.

.google.cloud.chronicle.v1.FilterOperator filter_operator = 1;

Returns
Type Description
int

The enum numeric value on the wire for filterOperator.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FilterOperatorAndValues other)

public FilterOperatorAndValues.Builder mergeFrom(FilterOperatorAndValues other)
Parameter
Name Description
other FilterOperatorAndValues
Returns
Type Description
FilterOperatorAndValues.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FilterOperatorAndValues.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FilterOperatorAndValues.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FilterOperatorAndValues.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FilterOperatorAndValues.Builder
Overrides

setFieldValues(int index, String value)

public FilterOperatorAndValues.Builder setFieldValues(int index, String value)

Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

repeated string field_values = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The fieldValues to set.

Returns
Type Description
FilterOperatorAndValues.Builder

This builder for chaining.

setFilterOperator(FilterOperator value)

public FilterOperatorAndValues.Builder setFilterOperator(FilterOperator value)

Operator for a single filter modifier.

.google.cloud.chronicle.v1.FilterOperator filter_operator = 1;

Parameter
Name Description
value FilterOperator

The filterOperator to set.

Returns
Type Description
FilterOperatorAndValues.Builder

This builder for chaining.

setFilterOperatorValue(int value)

public FilterOperatorAndValues.Builder setFilterOperatorValue(int value)

Operator for a single filter modifier.

.google.cloud.chronicle.v1.FilterOperator filter_operator = 1;

Parameter
Name Description
value int

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

Returns
Type Description
FilterOperatorAndValues.Builder

This builder for chaining.