Interface Expr.SelectOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Expr.Select, Expr.Select.Builder
Enclosing class:
Expr

public static interface Expr.SelectOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    boolean
    Whether the select is to be interpreted as a field presence test.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasOperand

      boolean hasOperand()
       Required. The target of the selection expression.
      
       For example, in the select expression `request.auth`, the `request`
       portion of the expression is the `operand`.
       
      .google.api.expr.v1beta1.Expr operand = 1 [json_name = "operand"];
      Returns:
      Whether the operand field is set.
    • getOperand

      Expr getOperand()
       Required. The target of the selection expression.
      
       For example, in the select expression `request.auth`, the `request`
       portion of the expression is the `operand`.
       
      .google.api.expr.v1beta1.Expr operand = 1 [json_name = "operand"];
      Returns:
      The operand.
    • getField

      String getField()
       Required. The name of the field to select.
      
       For example, in the select expression `request.auth`, the `auth` portion
       of the expression would be the `field`.
       
      string field = 2 [json_name = "field"];
      Returns:
      The field.
    • getFieldBytes

      com.google.protobuf.ByteString getFieldBytes()
       Required. The name of the field to select.
      
       For example, in the select expression `request.auth`, the `auth` portion
       of the expression would be the `field`.
       
      string field = 2 [json_name = "field"];
      Returns:
      The bytes for field.
    • getTestOnly

      boolean getTestOnly()
       Whether the select is to be interpreted as a field presence test.
      
       This results from the macro `has(request.auth)`.
       
      bool test_only = 3 [json_name = "testOnly"];
      Returns:
      The testOnly.