Interface RecipeListOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getRecipe(int index)
    A list of recipes to be cached.
    int
    A list of recipes to be cached.
    A list of recipes to be cached.
    getRecipeOrBuilder(int index)
    A list of recipes to be cached.
    A list of recipes to be cached.
    com.google.protobuf.ByteString
    The schema generation of the recipes.

    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 Details

    • getSchemaGeneration

      com.google.protobuf.ByteString getSchemaGeneration()
       The schema generation of the recipes. To be sent to the server in
       `RoutingHint.schema_generation` whenever one of the recipes is used.
       `schema_generation` values are comparable with each other; if generation A
       compares greater than generation B, then A is a more recent schema than B.
       Clients should in general aim to cache only the latest schema generation,
       and discard more stale recipes.
       
      bytes schema_generation = 1;
      Returns:
      The schemaGeneration.
    • getRecipeList

      List<KeyRecipe> getRecipeList()
       A list of recipes to be cached.
       
      repeated .google.spanner.v1.KeyRecipe recipe = 3;
    • getRecipe

      KeyRecipe getRecipe(int index)
       A list of recipes to be cached.
       
      repeated .google.spanner.v1.KeyRecipe recipe = 3;
    • getRecipeCount

      int getRecipeCount()
       A list of recipes to be cached.
       
      repeated .google.spanner.v1.KeyRecipe recipe = 3;
    • getRecipeOrBuilderList

      List<? extends KeyRecipeOrBuilder> getRecipeOrBuilderList()
       A list of recipes to be cached.
       
      repeated .google.spanner.v1.KeyRecipe recipe = 3;
    • getRecipeOrBuilder

      KeyRecipeOrBuilder getRecipeOrBuilder(int index)
       A list of recipes to be cached.
       
      repeated .google.spanner.v1.KeyRecipe recipe = 3;