- 6.108.0 (latest)
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class CacheUpdate.Builder extends GeneratedMessage.Builder<CacheUpdate.Builder> implements CacheUpdateOrBuilder A CacheUpdate expresses a set of changes the client should incorporate into
its location cache. These changes may or may not be newer than what the
client has in its cache, and should be discarded if necessary. CacheUpdates
can be obtained in response to requests that included a RoutingHint
field, but may also be obtained by explicit location-fetching RPCs which may
be added in the future.
Protobuf type google.spanner.v1.CacheUpdate
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CacheUpdate.BuilderImplements
CacheUpdateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllGroup(Iterable<? extends Group> values)
public CacheUpdate.Builder addAllGroup(Iterable<? extends Group> values)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.spanner.v1.Group> |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addAllRange(Iterable<? extends Range> values)
public CacheUpdate.Builder addAllRange(Iterable<? extends Range> values)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.spanner.v1.Range> |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addGroup(Group value)
public CacheUpdate.Builder addGroup(Group value)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Group |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addGroup(Group.Builder builderForValue)
public CacheUpdate.Builder addGroup(Group.Builder builderForValue)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Group.Builder |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addGroup(int index, Group value)
public CacheUpdate.Builder addGroup(int index, Group value)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Group |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addGroup(int index, Group.Builder builderForValue)
public CacheUpdate.Builder addGroup(int index, Group.Builder builderForValue)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Group.Builder |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addGroupBuilder()
public Group.Builder addGroupBuilder()A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
addGroupBuilder(int index)
public Group.Builder addGroupBuilder(int index)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
addRange(Range value)
public CacheUpdate.Builder addRange(Range value)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Range |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addRange(Range.Builder builderForValue)
public CacheUpdate.Builder addRange(Range.Builder builderForValue)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Range.Builder |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addRange(int index, Range value)
public CacheUpdate.Builder addRange(int index, Range value)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Range |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addRange(int index, Range.Builder builderForValue)
public CacheUpdate.Builder addRange(int index, Range.Builder builderForValue)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Range.Builder |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
addRangeBuilder()
public Range.Builder addRangeBuilder()A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Returns | |
|---|---|
| Type | Description |
Range.Builder |
|
addRangeBuilder(int index)
public Range.Builder addRangeBuilder(int index)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Range.Builder |
|
build()
public CacheUpdate build()| Returns | |
|---|---|
| Type | Description |
CacheUpdate |
|
buildPartial()
public CacheUpdate buildPartial()| Returns | |
|---|---|
| Type | Description |
CacheUpdate |
|
clear()
public CacheUpdate.Builder clear()| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
clearDatabaseId()
public CacheUpdate.Builder clearDatabaseId()An internal ID for the database. Database names can be reused if a database is deleted and re-created. Each time the database is re-created, it will get a new database ID, which will never be re-used for any other database.
uint64 database_id = 1;
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
This builder for chaining. |
clearGroup()
public CacheUpdate.Builder clearGroup()A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
clearKeyRecipes()
public CacheUpdate.Builder clearKeyRecipes()A list of recipes to be cached.
.google.spanner.v1.RecipeList key_recipes = 5;
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
clearRange()
public CacheUpdate.Builder clearRange()A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
getDatabaseId()
public long getDatabaseId()An internal ID for the database. Database names can be reused if a database is deleted and re-created. Each time the database is re-created, it will get a new database ID, which will never be re-used for any other database.
uint64 database_id = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The databaseId. |
getDefaultInstanceForType()
public CacheUpdate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CacheUpdate |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGroup(int index)
public Group getGroup(int index)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Group |
|
getGroupBuilder(int index)
public Group.Builder getGroupBuilder(int index)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
getGroupBuilderList()
public List<Group.Builder> getGroupBuilderList()A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getGroupCount()
public int getGroupCount()A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getGroupList()
public List<Group> getGroupList()A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Returns | |
|---|---|
| Type | Description |
List<Group> |
|
getGroupOrBuilder(int index)
public GroupOrBuilder getGroupOrBuilder(int index)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GroupOrBuilder |
|
getGroupOrBuilderList()
public List<? extends GroupOrBuilder> getGroupOrBuilderList()A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.spanner.v1.GroupOrBuilder> |
|
getKeyRecipes()
public RecipeList getKeyRecipes()A list of recipes to be cached.
.google.spanner.v1.RecipeList key_recipes = 5;
| Returns | |
|---|---|
| Type | Description |
RecipeList |
The keyRecipes. |
getKeyRecipesBuilder()
public RecipeList.Builder getKeyRecipesBuilder()A list of recipes to be cached.
.google.spanner.v1.RecipeList key_recipes = 5;
| Returns | |
|---|---|
| Type | Description |
RecipeList.Builder |
|
getKeyRecipesOrBuilder()
public RecipeListOrBuilder getKeyRecipesOrBuilder()A list of recipes to be cached.
.google.spanner.v1.RecipeList key_recipes = 5;
| Returns | |
|---|---|
| Type | Description |
RecipeListOrBuilder |
|
getRange(int index)
public Range getRange(int index)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Range |
|
getRangeBuilder(int index)
public Range.Builder getRangeBuilder(int index)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Range.Builder |
|
getRangeBuilderList()
public List<Range.Builder> getRangeBuilderList()A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRangeCount()
public int getRangeCount()A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getRangeList()
public List<Range> getRangeList()A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Returns | |
|---|---|
| Type | Description |
List<Range> |
|
getRangeOrBuilder(int index)
public RangeOrBuilder getRangeOrBuilder(int index)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RangeOrBuilder |
|
getRangeOrBuilderList()
public List<? extends RangeOrBuilder> getRangeOrBuilderList()A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.spanner.v1.RangeOrBuilder> |
|
hasKeyRecipes()
public boolean hasKeyRecipes()A list of recipes to be cached.
.google.spanner.v1.RecipeList key_recipes = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keyRecipes field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CacheUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CacheUpdate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
mergeFrom(CacheUpdate other)
public CacheUpdate.Builder mergeFrom(CacheUpdate other)| Parameter | |
|---|---|
| Name | Description |
other |
CacheUpdate |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
mergeKeyRecipes(RecipeList value)
public CacheUpdate.Builder mergeKeyRecipes(RecipeList value)A list of recipes to be cached.
.google.spanner.v1.RecipeList key_recipes = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
RecipeList |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
removeGroup(int index)
public CacheUpdate.Builder removeGroup(int index)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
removeRange(int index)
public CacheUpdate.Builder removeRange(int index)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
setDatabaseId(long value)
public CacheUpdate.Builder setDatabaseId(long value)An internal ID for the database. Database names can be reused if a database is deleted and re-created. Each time the database is re-created, it will get a new database ID, which will never be re-used for any other database.
uint64 database_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe databaseId to set. |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
This builder for chaining. |
setGroup(int index, Group value)
public CacheUpdate.Builder setGroup(int index, Group value)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Group |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
setGroup(int index, Group.Builder builderForValue)
public CacheUpdate.Builder setGroup(int index, Group.Builder builderForValue)A list of groups to be cached.
repeated .google.spanner.v1.Group group = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Group.Builder |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
setKeyRecipes(RecipeList value)
public CacheUpdate.Builder setKeyRecipes(RecipeList value)A list of recipes to be cached.
.google.spanner.v1.RecipeList key_recipes = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
RecipeList |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
setKeyRecipes(RecipeList.Builder builderForValue)
public CacheUpdate.Builder setKeyRecipes(RecipeList.Builder builderForValue)A list of recipes to be cached.
.google.spanner.v1.RecipeList key_recipes = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RecipeList.Builder |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
setRange(int index, Range value)
public CacheUpdate.Builder setRange(int index, Range value)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Range |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|
setRange(int index, Range.Builder builderForValue)
public CacheUpdate.Builder setRange(int index, Range.Builder builderForValue)A list of ranges to be cached.
repeated .google.spanner.v1.Range range = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Range.Builder |
| Returns | |
|---|---|
| Type | Description |
CacheUpdate.Builder |
|