Package com.google.spanner.v1
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 TypeMethodDescriptiongetRecipe(int index) A list of recipes to be cached.intA list of recipes to be cached.A list of recipes to be cached.getRecipeOrBuilder(int index) A list of recipes to be cached.List<? extends KeyRecipeOrBuilder>A list of recipes to be cached.com.google.protobuf.ByteStringThe schema generation of the recipes.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
A list of recipes to be cached.
repeated .google.spanner.v1.KeyRecipe recipe = 3; -
getRecipe
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
A list of recipes to be cached.
repeated .google.spanner.v1.KeyRecipe recipe = 3;
-