Class Type.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
com.google.spanner.v1.Type.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TypeOrBuilder, Cloneable
Enclosing class:
Type

public static final class Type.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder> implements TypeOrBuilder
 `Type` indicates the type of a Cloud Spanner value, as might be stored in a
 table cell or returned from an SQL query.
 
Protobuf type google.spanner.v1.Type
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
    Required.
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    If [code][google.spanner.v1.Type.code] == [PROTO][google.spanner.v1.TypeCode.PROTO] or [code][google.spanner.v1.Type.code] == [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully qualified name of the proto type representing the proto/enum definition.
    If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will use to represent values of this type during query processing.
     
    If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
    If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
    If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
    Required.
    int
    Required.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    If [code][google.spanner.v1.Type.code] == [PROTO][google.spanner.v1.TypeCode.PROTO] or [code][google.spanner.v1.Type.code] == [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully qualified name of the proto type representing the proto/enum definition.
    com.google.protobuf.ByteString
    If [code][google.spanner.v1.Type.code] == [PROTO][google.spanner.v1.TypeCode.PROTO] or [code][google.spanner.v1.Type.code] == [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully qualified name of the proto type representing the proto/enum definition.
    If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will use to represent values of this type during query processing.
    int
    The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will use to represent values of this type during query processing.
    boolean
    If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
    boolean
    If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeFrom(Type other)
     
    If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
    If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
    Required.
    setCodeValue(int value)
    Required.
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    If [code][google.spanner.v1.Type.code] == [PROTO][google.spanner.v1.TypeCode.PROTO] or [code][google.spanner.v1.Type.code] == [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully qualified name of the proto type representing the proto/enum definition.
    setProtoTypeFqnBytes(com.google.protobuf.ByteString value)
    If [code][google.spanner.v1.Type.code] == [PROTO][google.spanner.v1.TypeCode.PROTO] or [code][google.spanner.v1.Type.code] == [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully qualified name of the proto type representing the proto/enum definition.
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will use to represent values of this type during query processing.
    The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will use to represent values of this type during query processing.
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

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

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

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

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

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

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • clear

      public Type.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • getDefaultInstanceForType

      public Type getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Type build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Type buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Type.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • setField

      public Type.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • clearField

      public Type.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • clearOneof

      public Type.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • setRepeatedField

      public Type.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • addRepeatedField

      public Type.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • mergeFrom

      public Type.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Type.Builder>
    • mergeFrom

      public Type.Builder mergeFrom(Type other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • mergeFrom

      public Type.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Type.Builder>
      Throws:
      IOException
    • getCodeValue

      public int getCodeValue()
       Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
       
      .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCodeValue in interface TypeOrBuilder
      Returns:
      The enum numeric value on the wire for code.
    • setCodeValue

      public Type.Builder setCodeValue(int value)
       Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
       
      .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for code to set.
      Returns:
      This builder for chaining.
    • getCode

      public TypeCode getCode()
       Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
       
      .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCode in interface TypeOrBuilder
      Returns:
      The code.
    • setCode

      public Type.Builder setCode(TypeCode value)
       Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
       
      .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The code to set.
      Returns:
      This builder for chaining.
    • clearCode

      public Type.Builder clearCode()
       Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
       
      .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • hasArrayElementType

      public boolean hasArrayElementType()
       If [code][google.spanner.v1.Type.code] ==
       [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
       type of the array elements.
       
      .google.spanner.v1.Type array_element_type = 2;
      Specified by:
      hasArrayElementType in interface TypeOrBuilder
      Returns:
      Whether the arrayElementType field is set.
    • getArrayElementType

      public Type getArrayElementType()
       If [code][google.spanner.v1.Type.code] ==
       [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
       type of the array elements.
       
      .google.spanner.v1.Type array_element_type = 2;
      Specified by:
      getArrayElementType in interface TypeOrBuilder
      Returns:
      The arrayElementType.
    • setArrayElementType

      public Type.Builder setArrayElementType(Type value)
       If [code][google.spanner.v1.Type.code] ==
       [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
       type of the array elements.
       
      .google.spanner.v1.Type array_element_type = 2;
    • setArrayElementType

      public Type.Builder setArrayElementType(Type.Builder builderForValue)
       If [code][google.spanner.v1.Type.code] ==
       [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
       type of the array elements.
       
      .google.spanner.v1.Type array_element_type = 2;
    • mergeArrayElementType

      public Type.Builder mergeArrayElementType(Type value)
       If [code][google.spanner.v1.Type.code] ==
       [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
       type of the array elements.
       
      .google.spanner.v1.Type array_element_type = 2;
    • clearArrayElementType

      public Type.Builder clearArrayElementType()
       If [code][google.spanner.v1.Type.code] ==
       [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
       type of the array elements.
       
      .google.spanner.v1.Type array_element_type = 2;
    • getArrayElementTypeBuilder

      public Type.Builder getArrayElementTypeBuilder()
       If [code][google.spanner.v1.Type.code] ==
       [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
       type of the array elements.
       
      .google.spanner.v1.Type array_element_type = 2;
    • getArrayElementTypeOrBuilder

      public TypeOrBuilder getArrayElementTypeOrBuilder()
       If [code][google.spanner.v1.Type.code] ==
       [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
       type of the array elements.
       
      .google.spanner.v1.Type array_element_type = 2;
      Specified by:
      getArrayElementTypeOrBuilder in interface TypeOrBuilder
    • hasStructType

      public boolean hasStructType()
       If [code][google.spanner.v1.Type.code] ==
       [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
       type information for the struct's fields.
       
      .google.spanner.v1.StructType struct_type = 3;
      Specified by:
      hasStructType in interface TypeOrBuilder
      Returns:
      Whether the structType field is set.
    • getStructType

      public StructType getStructType()
       If [code][google.spanner.v1.Type.code] ==
       [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
       type information for the struct's fields.
       
      .google.spanner.v1.StructType struct_type = 3;
      Specified by:
      getStructType in interface TypeOrBuilder
      Returns:
      The structType.
    • setStructType

      public Type.Builder setStructType(StructType value)
       If [code][google.spanner.v1.Type.code] ==
       [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
       type information for the struct's fields.
       
      .google.spanner.v1.StructType struct_type = 3;
    • setStructType

      public Type.Builder setStructType(StructType.Builder builderForValue)
       If [code][google.spanner.v1.Type.code] ==
       [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
       type information for the struct's fields.
       
      .google.spanner.v1.StructType struct_type = 3;
    • mergeStructType

      public Type.Builder mergeStructType(StructType value)
       If [code][google.spanner.v1.Type.code] ==
       [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
       type information for the struct's fields.
       
      .google.spanner.v1.StructType struct_type = 3;
    • clearStructType

      public Type.Builder clearStructType()
       If [code][google.spanner.v1.Type.code] ==
       [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
       type information for the struct's fields.
       
      .google.spanner.v1.StructType struct_type = 3;
    • getStructTypeBuilder

      public StructType.Builder getStructTypeBuilder()
       If [code][google.spanner.v1.Type.code] ==
       [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
       type information for the struct's fields.
       
      .google.spanner.v1.StructType struct_type = 3;
    • getStructTypeOrBuilder

      public StructTypeOrBuilder getStructTypeOrBuilder()
       If [code][google.spanner.v1.Type.code] ==
       [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
       type information for the struct's fields.
       
      .google.spanner.v1.StructType struct_type = 3;
      Specified by:
      getStructTypeOrBuilder in interface TypeOrBuilder
    • getTypeAnnotationValue

      public int getTypeAnnotationValue()
       The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that
       disambiguates SQL type that Spanner will use to represent values of this
       type during query processing. This is necessary for some type codes because
       a single [TypeCode][google.spanner.v1.TypeCode] can be mapped to different
       SQL types depending on the SQL dialect.
       [type_annotation][google.spanner.v1.Type.type_annotation] typically is not
       needed to process the content of a value (it doesn't affect serialization)
       and clients can ignore it on the read path.
       
      .google.spanner.v1.TypeAnnotationCode type_annotation = 4;
      Specified by:
      getTypeAnnotationValue in interface TypeOrBuilder
      Returns:
      The enum numeric value on the wire for typeAnnotation.
    • setTypeAnnotationValue

      public Type.Builder setTypeAnnotationValue(int value)
       The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that
       disambiguates SQL type that Spanner will use to represent values of this
       type during query processing. This is necessary for some type codes because
       a single [TypeCode][google.spanner.v1.TypeCode] can be mapped to different
       SQL types depending on the SQL dialect.
       [type_annotation][google.spanner.v1.Type.type_annotation] typically is not
       needed to process the content of a value (it doesn't affect serialization)
       and clients can ignore it on the read path.
       
      .google.spanner.v1.TypeAnnotationCode type_annotation = 4;
      Parameters:
      value - The enum numeric value on the wire for typeAnnotation to set.
      Returns:
      This builder for chaining.
    • getTypeAnnotation

      public TypeAnnotationCode getTypeAnnotation()
       The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that
       disambiguates SQL type that Spanner will use to represent values of this
       type during query processing. This is necessary for some type codes because
       a single [TypeCode][google.spanner.v1.TypeCode] can be mapped to different
       SQL types depending on the SQL dialect.
       [type_annotation][google.spanner.v1.Type.type_annotation] typically is not
       needed to process the content of a value (it doesn't affect serialization)
       and clients can ignore it on the read path.
       
      .google.spanner.v1.TypeAnnotationCode type_annotation = 4;
      Specified by:
      getTypeAnnotation in interface TypeOrBuilder
      Returns:
      The typeAnnotation.
    • setTypeAnnotation

      public Type.Builder setTypeAnnotation(TypeAnnotationCode value)
       The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that
       disambiguates SQL type that Spanner will use to represent values of this
       type during query processing. This is necessary for some type codes because
       a single [TypeCode][google.spanner.v1.TypeCode] can be mapped to different
       SQL types depending on the SQL dialect.
       [type_annotation][google.spanner.v1.Type.type_annotation] typically is not
       needed to process the content of a value (it doesn't affect serialization)
       and clients can ignore it on the read path.
       
      .google.spanner.v1.TypeAnnotationCode type_annotation = 4;
      Parameters:
      value - The typeAnnotation to set.
      Returns:
      This builder for chaining.
    • clearTypeAnnotation

      public Type.Builder clearTypeAnnotation()
       The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that
       disambiguates SQL type that Spanner will use to represent values of this
       type during query processing. This is necessary for some type codes because
       a single [TypeCode][google.spanner.v1.TypeCode] can be mapped to different
       SQL types depending on the SQL dialect.
       [type_annotation][google.spanner.v1.Type.type_annotation] typically is not
       needed to process the content of a value (it doesn't affect serialization)
       and clients can ignore it on the read path.
       
      .google.spanner.v1.TypeAnnotationCode type_annotation = 4;
      Returns:
      This builder for chaining.
    • getProtoTypeFqn

      public String getProtoTypeFqn()
       If [code][google.spanner.v1.Type.code] ==
       [PROTO][google.spanner.v1.TypeCode.PROTO] or
       [code][google.spanner.v1.Type.code] ==
       [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully
       qualified name of the proto type representing the proto/enum definition.
       
      string proto_type_fqn = 5;
      Specified by:
      getProtoTypeFqn in interface TypeOrBuilder
      Returns:
      The protoTypeFqn.
    • getProtoTypeFqnBytes

      public com.google.protobuf.ByteString getProtoTypeFqnBytes()
       If [code][google.spanner.v1.Type.code] ==
       [PROTO][google.spanner.v1.TypeCode.PROTO] or
       [code][google.spanner.v1.Type.code] ==
       [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully
       qualified name of the proto type representing the proto/enum definition.
       
      string proto_type_fqn = 5;
      Specified by:
      getProtoTypeFqnBytes in interface TypeOrBuilder
      Returns:
      The bytes for protoTypeFqn.
    • setProtoTypeFqn

      public Type.Builder setProtoTypeFqn(String value)
       If [code][google.spanner.v1.Type.code] ==
       [PROTO][google.spanner.v1.TypeCode.PROTO] or
       [code][google.spanner.v1.Type.code] ==
       [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully
       qualified name of the proto type representing the proto/enum definition.
       
      string proto_type_fqn = 5;
      Parameters:
      value - The protoTypeFqn to set.
      Returns:
      This builder for chaining.
    • clearProtoTypeFqn

      public Type.Builder clearProtoTypeFqn()
       If [code][google.spanner.v1.Type.code] ==
       [PROTO][google.spanner.v1.TypeCode.PROTO] or
       [code][google.spanner.v1.Type.code] ==
       [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully
       qualified name of the proto type representing the proto/enum definition.
       
      string proto_type_fqn = 5;
      Returns:
      This builder for chaining.
    • setProtoTypeFqnBytes

      public Type.Builder setProtoTypeFqnBytes(com.google.protobuf.ByteString value)
       If [code][google.spanner.v1.Type.code] ==
       [PROTO][google.spanner.v1.TypeCode.PROTO] or
       [code][google.spanner.v1.Type.code] ==
       [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully
       qualified name of the proto type representing the proto/enum definition.
       
      string proto_type_fqn = 5;
      Parameters:
      value - The bytes for protoTypeFqn to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Type.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>
    • mergeUnknownFields

      public final Type.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Type.Builder>