Interface Expr.CreateStruct.EntryOrBuilder

    • Method Detail

      • getId

        long getId()
         Required. An id assigned to this node by the parser which is unique
         in a given expression tree. This is used to associate type
         information and other attributes to the node.
         
        int64 id = 1;
        Returns:
        The id.
      • hasFieldKey

        boolean hasFieldKey()
         The field key for a message creator statement.
         
        string field_key = 2;
        Returns:
        Whether the fieldKey field is set.
      • getFieldKey

        java.lang.String getFieldKey()
         The field key for a message creator statement.
         
        string field_key = 2;
        Returns:
        The fieldKey.
      • getFieldKeyBytes

        com.google.protobuf.ByteString getFieldKeyBytes()
         The field key for a message creator statement.
         
        string field_key = 2;
        Returns:
        The bytes for fieldKey.
      • hasMapKey

        boolean hasMapKey()
         The key expression for a map creation statement.
         
        .google.api.expr.v1alpha1.Expr map_key = 3;
        Returns:
        Whether the mapKey field is set.
      • getMapKey

        Expr getMapKey()
         The key expression for a map creation statement.
         
        .google.api.expr.v1alpha1.Expr map_key = 3;
        Returns:
        The mapKey.
      • getMapKeyOrBuilder

        ExprOrBuilder getMapKeyOrBuilder()
         The key expression for a map creation statement.
         
        .google.api.expr.v1alpha1.Expr map_key = 3;
      • hasValue

        boolean hasValue()
         Required. The value assigned to the key.
        
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .google.api.expr.v1alpha1.Expr value = 4;
        Returns:
        Whether the value field is set.
      • getValue

        Expr getValue()
         Required. The value assigned to the key.
        
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .google.api.expr.v1alpha1.Expr value = 4;
        Returns:
        The value.
      • getValueOrBuilder

        ExprOrBuilder getValueOrBuilder()
         Required. The value assigned to the key.
        
         If the optional_entry field is true, the expression must resolve to an
         optional-typed value. If the optional value is present, the key will be
         set; however, if the optional value is absent, the key will be unset.
         
        .google.api.expr.v1alpha1.Expr value = 4;
      • getOptionalEntry

        boolean getOptionalEntry()
         Whether the key-value pair is optional.
         
        bool optional_entry = 5;
        Returns:
        The optionalEntry.