public enum

DynamicProto.ComparisonOpType

extends java.lang.Enum<DynamicProto.ComparisonOpType>

 java.lang.Object

↳java.lang.Enum<DynamicProto.ComparisonOpType>

↳androidx.wear.protolayout.expression.proto.DynamicProto.ComparisonOpType

Overview

 The type of comparison used in ComparisonInt32Op and ComparisonFloatOp.
 
Protobuf enum androidx.wear.protolayout.expression.proto.ComparisonOpType

Summary

Enum Constants
COMPARISON_OP_TYPE_EQUALS
 Equality check (result = LHS == RHS).
COMPARISON_OP_TYPE_GREATER_THAN
 Strictly greater than (result = LHS > RHS).
COMPARISON_OP_TYPE_GREATER_THAN_OR_EQUAL_TO
 Greater than or equal to (result = LHS >= RHS).
COMPARISON_OP_TYPE_LESS_THAN
 Strictly less than (result = LHS < RHS).
COMPARISON_OP_TYPE_LESS_THAN_OR_EQUAL_TO
 Less than or equal to (result = LHS <= RHS).
COMPARISON_OP_TYPE_NOT_EQUALS
 Not equal check (result = LHS != RHS).
COMPARISON_OP_TYPE_UNDEFINED
 Undefined operation type.
UNRECOGNIZED
Fields
public static final intCOMPARISON_OP_TYPE_EQUALS_VALUE

 Equality check (result = LHS == RHS).

public static final intCOMPARISON_OP_TYPE_GREATER_THAN_OR_EQUAL_TO_VALUE

 Greater than or equal to (result = LHS >= RHS).

public static final intCOMPARISON_OP_TYPE_GREATER_THAN_VALUE

 Strictly greater than (result = LHS > RHS).

public static final intCOMPARISON_OP_TYPE_LESS_THAN_OR_EQUAL_TO_VALUE

 Less than or equal to (result = LHS <= RHS).

public static final intCOMPARISON_OP_TYPE_LESS_THAN_VALUE

 Strictly less than (result = LHS < RHS).

public static final intCOMPARISON_OP_TYPE_NOT_EQUALS_VALUE

 Not equal check (result = LHS != RHS).

public static final intCOMPARISON_OP_TYPE_UNDEFINED_VALUE

 Undefined operation type.

Methods
public static DynamicProto.ComparisonOpTypeforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()

public static DynamicProto.ComparisonOpTypevalueOf(int value)

public static DynamicProto.ComparisonOpTypevalueOf(java.lang.String name)

public static DynamicProto.ComparisonOpTypevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

COMPARISON_OP_TYPE_UNDEFINED

 Undefined operation type.
 
COMPARISON_OP_TYPE_UNDEFINED = 0;

COMPARISON_OP_TYPE_EQUALS

 Equality check (result = LHS == RHS).
 For floats, for equality check, small epsilon is used, i.e.:
 (result = abs(LHS - RHS) < epsilon).
 
COMPARISON_OP_TYPE_EQUALS = 1;

COMPARISON_OP_TYPE_NOT_EQUALS

 Not equal check (result = LHS != RHS).
 
COMPARISON_OP_TYPE_NOT_EQUALS = 2;

COMPARISON_OP_TYPE_LESS_THAN

 Strictly less than (result = LHS < RHS).
 
COMPARISON_OP_TYPE_LESS_THAN = 3;

COMPARISON_OP_TYPE_LESS_THAN_OR_EQUAL_TO

 Less than or equal to (result = LHS <= RHS).
 
COMPARISON_OP_TYPE_LESS_THAN_OR_EQUAL_TO = 4;

COMPARISON_OP_TYPE_GREATER_THAN

 Strictly greater than (result = LHS > RHS).
 
COMPARISON_OP_TYPE_GREATER_THAN = 5;

COMPARISON_OP_TYPE_GREATER_THAN_OR_EQUAL_TO

 Greater than or equal to (result = LHS >= RHS).
 
COMPARISON_OP_TYPE_GREATER_THAN_OR_EQUAL_TO = 6;

UNRECOGNIZED

Fields

public static final int COMPARISON_OP_TYPE_UNDEFINED_VALUE

 Undefined operation type.
 
COMPARISON_OP_TYPE_UNDEFINED = 0;

public static final int COMPARISON_OP_TYPE_EQUALS_VALUE

 Equality check (result = LHS == RHS).
 For floats, for equality check, small epsilon is used, i.e.:
 (result = abs(LHS - RHS) < epsilon).
 
COMPARISON_OP_TYPE_EQUALS = 1;

public static final int COMPARISON_OP_TYPE_NOT_EQUALS_VALUE

 Not equal check (result = LHS != RHS).
 
COMPARISON_OP_TYPE_NOT_EQUALS = 2;

public static final int COMPARISON_OP_TYPE_LESS_THAN_VALUE

 Strictly less than (result = LHS < RHS).
 
COMPARISON_OP_TYPE_LESS_THAN = 3;

public static final int COMPARISON_OP_TYPE_LESS_THAN_OR_EQUAL_TO_VALUE

 Less than or equal to (result = LHS <= RHS).
 
COMPARISON_OP_TYPE_LESS_THAN_OR_EQUAL_TO = 4;

public static final int COMPARISON_OP_TYPE_GREATER_THAN_VALUE

 Strictly greater than (result = LHS > RHS).
 
COMPARISON_OP_TYPE_GREATER_THAN = 5;

public static final int COMPARISON_OP_TYPE_GREATER_THAN_OR_EQUAL_TO_VALUE

 Greater than or equal to (result = LHS >= RHS).
 
COMPARISON_OP_TYPE_GREATER_THAN_OR_EQUAL_TO = 6;

Methods

public static DynamicProto.ComparisonOpType values()

public static DynamicProto.ComparisonOpType valueOf(java.lang.String name)

public final int getNumber()

public static DynamicProto.ComparisonOpType valueOf(int value)

Deprecated: Use DynamicProto.ComparisonOpType.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static DynamicProto.ComparisonOpType forNumber(int value)

public static <any> internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()