Class Type.FunctionType.Builder

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

public static final class Type.FunctionType.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Type.FunctionType,Type.FunctionType.Builder> implements Type.FunctionTypeOrBuilder
 Function type with result and arg types.
 
Protobuf type google.api.expr.v1alpha1.Type.FunctionType
  • Method Details

    • hasResultType

      public boolean hasResultType()
       Result type of the function.
       
      .google.api.expr.v1alpha1.Type result_type = 1 [json_name = "resultType"];
      Specified by:
      hasResultType in interface Type.FunctionTypeOrBuilder
      Returns:
      Whether the resultType field is set.
    • getResultType

      public Type getResultType()
       Result type of the function.
       
      .google.api.expr.v1alpha1.Type result_type = 1 [json_name = "resultType"];
      Specified by:
      getResultType in interface Type.FunctionTypeOrBuilder
      Returns:
      The resultType.
    • setResultType

      public Type.FunctionType.Builder setResultType(Type value)
       Result type of the function.
       
      .google.api.expr.v1alpha1.Type result_type = 1 [json_name = "resultType"];
    • setResultType

      public Type.FunctionType.Builder setResultType(Type.Builder builderForValue)
       Result type of the function.
       
      .google.api.expr.v1alpha1.Type result_type = 1 [json_name = "resultType"];
    • mergeResultType

      public Type.FunctionType.Builder mergeResultType(Type value)
       Result type of the function.
       
      .google.api.expr.v1alpha1.Type result_type = 1 [json_name = "resultType"];
    • clearResultType

      public Type.FunctionType.Builder clearResultType()
       Result type of the function.
       
      .google.api.expr.v1alpha1.Type result_type = 1 [json_name = "resultType"];
    • getArgTypesList

      public List<Type> getArgTypesList()
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
      Specified by:
      getArgTypesList in interface Type.FunctionTypeOrBuilder
    • getArgTypesCount

      public int getArgTypesCount()
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
      Specified by:
      getArgTypesCount in interface Type.FunctionTypeOrBuilder
    • getArgTypes

      public Type getArgTypes(int index)
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
      Specified by:
      getArgTypes in interface Type.FunctionTypeOrBuilder
    • setArgTypes

      public Type.FunctionType.Builder setArgTypes(int index, Type value)
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
    • setArgTypes

      public Type.FunctionType.Builder setArgTypes(int index, Type.Builder builderForValue)
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
    • addArgTypes

      public Type.FunctionType.Builder addArgTypes(Type value)
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
    • addArgTypes

      public Type.FunctionType.Builder addArgTypes(int index, Type value)
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
    • addArgTypes

      public Type.FunctionType.Builder addArgTypes(Type.Builder builderForValue)
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
    • addArgTypes

      public Type.FunctionType.Builder addArgTypes(int index, Type.Builder builderForValue)
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
    • addAllArgTypes

      public Type.FunctionType.Builder addAllArgTypes(Iterable<? extends Type> values)
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
    • clearArgTypes

      public Type.FunctionType.Builder clearArgTypes()
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];
    • removeArgTypes

      public Type.FunctionType.Builder removeArgTypes(int index)
       Argument types of the function.
       
      repeated .google.api.expr.v1alpha1.Type arg_types = 2 [json_name = "argTypes"];