Class ProtobufDataBuilder

java.lang.Object
com.apple.foundationdb.relational.api.ProtobufDataBuilder
All Implemented Interfaces:
com.apple.foundationdb.relational.api.DynamicMessageBuilder

@Deprecated @API(EXPERIMENTAL) public class ProtobufDataBuilder extends Object implements com.apple.foundationdb.relational.api.DynamicMessageBuilder
Deprecated.
  • Constructor Details

  • Method Details

    • getFieldNames

      public Set<String> getFieldNames()
      Deprecated.
      Specified by:
      getFieldNames in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
    • getFieldType

      public String getFieldType(String fieldName) throws SQLException
      Deprecated.
      Specified by:
      getFieldType in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • isPrimitive

      public boolean isPrimitive(int fieldNumber) throws SQLException
      Deprecated.
      Specified by:
      isPrimitive in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • setField

      public com.apple.foundationdb.relational.api.DynamicMessageBuilder setField(String fieldName, Object value) throws SQLException
      Deprecated.
      Specified by:
      setField in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • setField

      public com.apple.foundationdb.relational.api.DynamicMessageBuilder setField(int fieldNumber, Object value) throws SQLException
      Deprecated.
      Specified by:
      setField in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • addRepeatedField

      public com.apple.foundationdb.relational.api.DynamicMessageBuilder addRepeatedField(String fieldName, Object value) throws SQLException
      Deprecated.
      Specified by:
      addRepeatedField in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • addRepeatedField

      public com.apple.foundationdb.relational.api.DynamicMessageBuilder addRepeatedField(int fieldNumber, Object value) throws SQLException
      Deprecated.
      Specified by:
      addRepeatedField in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • addRepeatedFields

      public com.apple.foundationdb.relational.api.DynamicMessageBuilder addRepeatedFields(String fieldName, Iterable<? extends Object> values, boolean isNullableArray) throws SQLException
      Deprecated.
      Specified by:
      addRepeatedFields in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • addRepeatedFields

      public com.apple.foundationdb.relational.api.DynamicMessageBuilder addRepeatedFields(String fieldName, Iterable<? extends Object> values) throws SQLException
      Deprecated.
      Specified by:
      addRepeatedFields in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • addRepeatedFields

      public com.apple.foundationdb.relational.api.DynamicMessageBuilder addRepeatedFields(int fieldNumber, Iterable<? extends Object> values) throws SQLException
      Deprecated.
      Specified by:
      addRepeatedFields in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • build

      public Message build()
      Deprecated.
      Specified by:
      build in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
    • convertMessage

      public <T extends Message> Message convertMessage(T m) throws SQLException
      Deprecated.
      Specified by:
      convertMessage in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • getNestedMessageBuilder

      public com.apple.foundationdb.relational.api.DynamicMessageBuilder getNestedMessageBuilder(String fieldName) throws SQLException
      Deprecated.
      Specified by:
      getNestedMessageBuilder in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • getNestedMessageBuilder

      public com.apple.foundationdb.relational.api.DynamicMessageBuilder getNestedMessageBuilder(int fieldNumber) throws SQLException
      Deprecated.
      Specified by:
      getNestedMessageBuilder in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
      Throws:
      SQLException
    • getDescriptor

      public Descriptors.Descriptor getDescriptor()
      Deprecated.
      Specified by:
      getDescriptor in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder
    • newBuilder

      @Nonnull public com.apple.foundationdb.relational.api.DynamicMessageBuilder newBuilder()
      Deprecated.
      Specified by:
      newBuilder in interface com.apple.foundationdb.relational.api.DynamicMessageBuilder