public interface RecipeListOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getRecipe(int index)
public abstract KeyRecipe getRecipe(int index)A list of recipes to be cached.
repeated .google.spanner.v1.KeyRecipe recipe = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KeyRecipe |
|
getRecipeCount()
public abstract int getRecipeCount()A list of recipes to be cached.
repeated .google.spanner.v1.KeyRecipe recipe = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getRecipeList()
public abstract List<KeyRecipe> getRecipeList()A list of recipes to be cached.
repeated .google.spanner.v1.KeyRecipe recipe = 3;
| Returns | |
|---|---|
| Type | Description |
List<KeyRecipe> |
|
getRecipeOrBuilder(int index)
public abstract KeyRecipeOrBuilder getRecipeOrBuilder(int index)A list of recipes to be cached.
repeated .google.spanner.v1.KeyRecipe recipe = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KeyRecipeOrBuilder |
|
getRecipeOrBuilderList()
public abstract List<? extends KeyRecipeOrBuilder> getRecipeOrBuilderList()A list of recipes to be cached.
repeated .google.spanner.v1.KeyRecipe recipe = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.spanner.v1.KeyRecipeOrBuilder> |
|
getSchemaGeneration()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The schemaGeneration. |