Class IdentDecl.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<IdentDecl,IdentDecl.Builder>
com.google.api.expr.v1beta1.IdentDecl.Builder
All Implemented Interfaces:
IdentDeclOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
IdentDecl

public static final class IdentDecl.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<IdentDecl,IdentDecl.Builder> implements IdentDeclOrBuilder
 An identifier declaration.
 
Protobuf type google.api.expr.v1beta1.IdentDecl
  • Method Details

    • hasType

      public boolean hasType()
       Optional type of the identifier.
       
      .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
      Specified by:
      hasType in interface IdentDeclOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public DeclType getType()
       Optional type of the identifier.
       
      .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
      Specified by:
      getType in interface IdentDeclOrBuilder
      Returns:
      The type.
    • setType

      public IdentDecl.Builder setType(DeclType value)
       Optional type of the identifier.
       
      .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
    • setType

      public IdentDecl.Builder setType(DeclType.Builder builderForValue)
       Optional type of the identifier.
       
      .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
    • mergeType

      public IdentDecl.Builder mergeType(DeclType value)
       Optional type of the identifier.
       
      .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
    • clearType

      public IdentDecl.Builder clearType()
       Optional type of the identifier.
       
      .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
    • hasValue

      public boolean hasValue()
       Optional value of the identifier.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
      Specified by:
      hasValue in interface IdentDeclOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public Expr getValue()
       Optional value of the identifier.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
      Specified by:
      getValue in interface IdentDeclOrBuilder
      Returns:
      The value.
    • setValue

      public IdentDecl.Builder setValue(Expr value)
       Optional value of the identifier.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
    • setValue

      public IdentDecl.Builder setValue(Expr.Builder builderForValue)
       Optional value of the identifier.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
    • mergeValue

      public IdentDecl.Builder mergeValue(Expr value)
       Optional value of the identifier.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
    • clearValue

      public IdentDecl.Builder clearValue()
       Optional value of the identifier.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];