Class Expr.Ident.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Expr.Ident,Expr.Ident.Builder>
com.google.api.expr.v1alpha1.Expr.Ident.Builder
All Implemented Interfaces:
Expr.IdentOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
Expr.Ident

public static final class Expr.Ident.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Expr.Ident,Expr.Ident.Builder> implements Expr.IdentOrBuilder
 An identifier expression. e.g. `request`.
 
Protobuf type google.api.expr.v1alpha1.Expr.Ident
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    setName(String value)
    Required.
    setNameBytes(com.google.protobuf.ByteString value)
    Required.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      public String getName()
       Required. Holds a single, unqualified identifier, possibly preceded by a
       '.'.
      
       Qualified names are represented by the
       [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Expr.IdentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Holds a single, unqualified identifier, possibly preceded by a
       '.'.
      
       Qualified names are represented by the
       [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Expr.IdentOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Expr.Ident.Builder setName(String value)
       Required. Holds a single, unqualified identifier, possibly preceded by a
       '.'.
      
       Qualified names are represented by the
       [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Expr.Ident.Builder clearName()
       Required. Holds a single, unqualified identifier, possibly preceded by a
       '.'.
      
       Qualified names are represented by the
       [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Expr.Ident.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Holds a single, unqualified identifier, possibly preceded by a
       '.'.
      
       Qualified names are represented by the
       [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.