Interface KeySetOrBuilder

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

    public interface KeySetOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getAll()
      For convenience `all` can be set to `true` to indicate that this `KeySet` matches all keys in the table or index.
      com.google.protobuf.ListValue getKeys​(int index)
      A list of specific keys.
      int getKeysCount()
      A list of specific keys.
      List<com.google.protobuf.ListValue> getKeysList()
      A list of specific keys.
      com.google.protobuf.ListValueOrBuilder getKeysOrBuilder​(int index)
      A list of specific keys.
      List<? extends com.google.protobuf.ListValueOrBuilder> getKeysOrBuilderList()
      A list of specific keys.
      KeyRange getRanges​(int index)
      A list of key ranges.
      int getRangesCount()
      A list of key ranges.
      List<KeyRange> getRangesList()
      A list of key ranges.
      KeyRangeOrBuilder getRangesOrBuilder​(int index)
      A list of key ranges.
      List<? extends KeyRangeOrBuilder> getRangesOrBuilderList()
      A list of key ranges.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getKeysList

        List<com.google.protobuf.ListValue> getKeysList()
         A list of specific keys. Entries in `keys` should have exactly as
         many elements as there are columns in the primary or index key
         with which this `KeySet` is used.  Individual key values are
         encoded as described [here][google.spanner.v1.TypeCode].
         
        repeated .google.protobuf.ListValue keys = 1;
      • getKeys

        com.google.protobuf.ListValue getKeys​(int index)
         A list of specific keys. Entries in `keys` should have exactly as
         many elements as there are columns in the primary or index key
         with which this `KeySet` is used.  Individual key values are
         encoded as described [here][google.spanner.v1.TypeCode].
         
        repeated .google.protobuf.ListValue keys = 1;
      • getKeysCount

        int getKeysCount()
         A list of specific keys. Entries in `keys` should have exactly as
         many elements as there are columns in the primary or index key
         with which this `KeySet` is used.  Individual key values are
         encoded as described [here][google.spanner.v1.TypeCode].
         
        repeated .google.protobuf.ListValue keys = 1;
      • getKeysOrBuilderList

        List<? extends com.google.protobuf.ListValueOrBuilder> getKeysOrBuilderList()
         A list of specific keys. Entries in `keys` should have exactly as
         many elements as there are columns in the primary or index key
         with which this `KeySet` is used.  Individual key values are
         encoded as described [here][google.spanner.v1.TypeCode].
         
        repeated .google.protobuf.ListValue keys = 1;
      • getKeysOrBuilder

        com.google.protobuf.ListValueOrBuilder getKeysOrBuilder​(int index)
         A list of specific keys. Entries in `keys` should have exactly as
         many elements as there are columns in the primary or index key
         with which this `KeySet` is used.  Individual key values are
         encoded as described [here][google.spanner.v1.TypeCode].
         
        repeated .google.protobuf.ListValue keys = 1;
      • getRangesList

        List<KeyRange> getRangesList()
         A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
         key range specifications.
         
        repeated .google.spanner.v1.KeyRange ranges = 2;
      • getRanges

        KeyRange getRanges​(int index)
         A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
         key range specifications.
         
        repeated .google.spanner.v1.KeyRange ranges = 2;
      • getRangesCount

        int getRangesCount()
         A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
         key range specifications.
         
        repeated .google.spanner.v1.KeyRange ranges = 2;
      • getRangesOrBuilderList

        List<? extends KeyRangeOrBuilder> getRangesOrBuilderList()
         A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
         key range specifications.
         
        repeated .google.spanner.v1.KeyRange ranges = 2;
      • getRangesOrBuilder

        KeyRangeOrBuilder getRangesOrBuilder​(int index)
         A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
         key range specifications.
         
        repeated .google.spanner.v1.KeyRange ranges = 2;
      • getAll

        boolean getAll()
         For convenience `all` can be set to `true` to indicate that this
         `KeySet` matches all keys in the table or index. Note that any keys
         specified in `keys` or `ranges` are only yielded once.
         
        bool all = 3;
        Returns:
        The all.