Interface TypeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Type, Type.Builder

public interface TypeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasDyn

      boolean hasDyn()
       Dynamic type.
       
      .google.protobuf.Empty dyn = 1;
      Returns:
      Whether the dyn field is set.
    • getDyn

      com.google.protobuf.Empty getDyn()
       Dynamic type.
       
      .google.protobuf.Empty dyn = 1;
      Returns:
      The dyn.
    • getDynOrBuilder

      com.google.protobuf.EmptyOrBuilder getDynOrBuilder()
       Dynamic type.
       
      .google.protobuf.Empty dyn = 1;
    • hasNull

      boolean hasNull()
       Null value.
       
      .google.protobuf.NullValue null = 2;
      Returns:
      Whether the null field is set.
    • getNullValue

      int getNullValue()
       Null value.
       
      .google.protobuf.NullValue null = 2;
      Returns:
      The enum numeric value on the wire for null.
    • getNull

      com.google.protobuf.NullValue getNull()
       Null value.
       
      .google.protobuf.NullValue null = 2;
      Returns:
      The null.
    • hasPrimitive

      boolean hasPrimitive()
       Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
       
      .google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
      Returns:
      Whether the primitive field is set.
    • getPrimitiveValue

      int getPrimitiveValue()
       Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
       
      .google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
      Returns:
      The enum numeric value on the wire for primitive.
    • getPrimitive

      Type.PrimitiveType getPrimitive()
       Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
       
      .google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
      Returns:
      The primitive.
    • hasWrapper

      boolean hasWrapper()
       Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
       
      .google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
      Returns:
      Whether the wrapper field is set.
    • getWrapperValue

      int getWrapperValue()
       Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
       
      .google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
      Returns:
      The enum numeric value on the wire for wrapper.
    • getWrapper

      Type.PrimitiveType getWrapper()
       Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
       
      .google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
      Returns:
      The wrapper.
    • hasWellKnown

      boolean hasWellKnown()
       Well-known protobuf type such as `google.protobuf.Timestamp`.
       
      .google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
      Returns:
      Whether the wellKnown field is set.
    • getWellKnownValue

      int getWellKnownValue()
       Well-known protobuf type such as `google.protobuf.Timestamp`.
       
      .google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
      Returns:
      The enum numeric value on the wire for wellKnown.
    • getWellKnown

      Type.WellKnownType getWellKnown()
       Well-known protobuf type such as `google.protobuf.Timestamp`.
       
      .google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
      Returns:
      The wellKnown.
    • hasListType

      boolean hasListType()
       Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
       
      .google.api.expr.v1alpha1.Type.ListType list_type = 6;
      Returns:
      Whether the listType field is set.
    • getListType

      Type.ListType getListType()
       Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
       
      .google.api.expr.v1alpha1.Type.ListType list_type = 6;
      Returns:
      The listType.
    • getListTypeOrBuilder

      Type.ListTypeOrBuilder getListTypeOrBuilder()
       Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
       
      .google.api.expr.v1alpha1.Type.ListType list_type = 6;
    • hasMapType

      boolean hasMapType()
       Parameterized map with typed keys and values.
       
      .google.api.expr.v1alpha1.Type.MapType map_type = 7;
      Returns:
      Whether the mapType field is set.
    • getMapType

      Type.MapType getMapType()
       Parameterized map with typed keys and values.
       
      .google.api.expr.v1alpha1.Type.MapType map_type = 7;
      Returns:
      The mapType.
    • getMapTypeOrBuilder

      Type.MapTypeOrBuilder getMapTypeOrBuilder()
       Parameterized map with typed keys and values.
       
      .google.api.expr.v1alpha1.Type.MapType map_type = 7;
    • hasFunction

      boolean hasFunction()
       Function type.
       
      .google.api.expr.v1alpha1.Type.FunctionType function = 8;
      Returns:
      Whether the function field is set.
    • getFunction

      Type.FunctionType getFunction()
       Function type.
       
      .google.api.expr.v1alpha1.Type.FunctionType function = 8;
      Returns:
      The function.
    • getFunctionOrBuilder

      Type.FunctionTypeOrBuilder getFunctionOrBuilder()
       Function type.
       
      .google.api.expr.v1alpha1.Type.FunctionType function = 8;
    • hasMessageType

      boolean hasMessageType()
       Protocol buffer message type.
      
       The `message_type` string specifies the qualified message type name. For
       example, `google.plus.Profile`.
       
      string message_type = 9;
      Returns:
      Whether the messageType field is set.
    • getMessageType

      String getMessageType()
       Protocol buffer message type.
      
       The `message_type` string specifies the qualified message type name. For
       example, `google.plus.Profile`.
       
      string message_type = 9;
      Returns:
      The messageType.
    • getMessageTypeBytes

      com.google.protobuf.ByteString getMessageTypeBytes()
       Protocol buffer message type.
      
       The `message_type` string specifies the qualified message type name. For
       example, `google.plus.Profile`.
       
      string message_type = 9;
      Returns:
      The bytes for messageType.
    • hasTypeParam

      boolean hasTypeParam()
       Type param type.
      
       The `type_param` string specifies the type parameter name, e.g. `list<E>`
       would be a `list_type` whose element type was a `type_param` type
       named `E`.
       
      string type_param = 10;
      Returns:
      Whether the typeParam field is set.
    • getTypeParam

      String getTypeParam()
       Type param type.
      
       The `type_param` string specifies the type parameter name, e.g. `list<E>`
       would be a `list_type` whose element type was a `type_param` type
       named `E`.
       
      string type_param = 10;
      Returns:
      The typeParam.
    • getTypeParamBytes

      com.google.protobuf.ByteString getTypeParamBytes()
       Type param type.
      
       The `type_param` string specifies the type parameter name, e.g. `list<E>`
       would be a `list_type` whose element type was a `type_param` type
       named `E`.
       
      string type_param = 10;
      Returns:
      The bytes for typeParam.
    • hasType

      boolean hasType()
       Type type.
      
       The `type` value specifies the target type. e.g. int is type with a
       target type of `Primitive.INT`.
       
      .google.api.expr.v1alpha1.Type type = 11;
      Returns:
      Whether the type field is set.
    • getType

      Type getType()
       Type type.
      
       The `type` value specifies the target type. e.g. int is type with a
       target type of `Primitive.INT`.
       
      .google.api.expr.v1alpha1.Type type = 11;
      Returns:
      The type.
    • getTypeOrBuilder

      TypeOrBuilder getTypeOrBuilder()
       Type type.
      
       The `type` value specifies the target type. e.g. int is type with a
       target type of `Primitive.INT`.
       
      .google.api.expr.v1alpha1.Type type = 11;
    • hasError

      boolean hasError()
       Error type.
      
       During type-checking if an expression is an error, its type is propagated
       as the `ERROR` type. This permits the type-checker to discover other
       errors present in the expression.
       
      .google.protobuf.Empty error = 12;
      Returns:
      Whether the error field is set.
    • getError

      com.google.protobuf.Empty getError()
       Error type.
      
       During type-checking if an expression is an error, its type is propagated
       as the `ERROR` type. This permits the type-checker to discover other
       errors present in the expression.
       
      .google.protobuf.Empty error = 12;
      Returns:
      The error.
    • getErrorOrBuilder

      com.google.protobuf.EmptyOrBuilder getErrorOrBuilder()
       Error type.
      
       During type-checking if an expression is an error, its type is propagated
       as the `ERROR` type. This permits the type-checker to discover other
       errors present in the expression.
       
      .google.protobuf.Empty error = 12;
    • hasAbstractType

      boolean hasAbstractType()
       Abstract, application defined type.
       
      .google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
      Returns:
      Whether the abstractType field is set.
    • getAbstractType

      Type.AbstractType getAbstractType()
       Abstract, application defined type.
       
      .google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
      Returns:
      The abstractType.
    • getAbstractTypeOrBuilder

      Type.AbstractTypeOrBuilder getAbstractTypeOrBuilder()
       Abstract, application defined type.
       
      .google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
    • getTypeKindCase

      Type.TypeKindCase getTypeKindCase()