Package com.google.spanner.v1
Class FetchCacheUpdateRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FetchCacheUpdateRequest.Builder>
com.google.spanner.v1.FetchCacheUpdateRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FetchCacheUpdateRequestOrBuilder,Cloneable
- Enclosing class:
- FetchCacheUpdateRequest
public static final class FetchCacheUpdateRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FetchCacheUpdateRequest.Builder>
implements FetchCacheUpdateRequestOrBuilder
The request for [FetchCacheUpdate][google.spanner.v1.Spanner.FetchCacheUpdate].Protobuf type
google.spanner.v1.FetchCacheUpdateRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Optional.Optional.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOptional.intOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(FetchCacheUpdateRequest other) setDatabase(String value) Required.setDatabaseBytes(com.google.protobuf.ByteString value) Required.setMaxRangeCount(int value) Optional.setMaxRecipeCount(int value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FetchCacheUpdateRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FetchCacheUpdateRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FetchCacheUpdateRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchCacheUpdateRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FetchCacheUpdateRequest.Builder>
-
mergeFrom
public FetchCacheUpdateRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchCacheUpdateRequest.Builder>- Throws:
IOException
-
getDatabase
Required. The database for which to retrieve the cache update.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDatabasein interfaceFetchCacheUpdateRequestOrBuilder- Returns:
- The database.
-
getDatabaseBytes
public com.google.protobuf.ByteString getDatabaseBytes()Required. The database for which to retrieve the cache update.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDatabaseBytesin interfaceFetchCacheUpdateRequestOrBuilder- Returns:
- The bytes for database.
-
setDatabase
Required. The database for which to retrieve the cache update.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The database to set.- Returns:
- This builder for chaining.
-
clearDatabase
Required. The database for which to retrieve the cache update.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setDatabaseBytes
Required. The database for which to retrieve the cache update.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for database to set.- Returns:
- This builder for chaining.
-
getMaxRecipeCount
public int getMaxRecipeCount()Optional. The maximum number of key recipes to return in the response. If not set, a default limit of 100 will be used.
int32 max_recipe_count = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaxRecipeCountin interfaceFetchCacheUpdateRequestOrBuilder- Returns:
- The maxRecipeCount.
-
setMaxRecipeCount
Optional. The maximum number of key recipes to return in the response. If not set, a default limit of 100 will be used.
int32 max_recipe_count = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The maxRecipeCount to set.- Returns:
- This builder for chaining.
-
clearMaxRecipeCount
Optional. The maximum number of key recipes to return in the response. If not set, a default limit of 100 will be used.
int32 max_recipe_count = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getMaxRangeCount
public int getMaxRangeCount()Optional. The maximum number of ranges to return in the response. If not set, a default limit of 10000 will be used.
int32 max_range_count = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaxRangeCountin interfaceFetchCacheUpdateRequestOrBuilder- Returns:
- The maxRangeCount.
-
setMaxRangeCount
Optional. The maximum number of ranges to return in the response. If not set, a default limit of 10000 will be used.
int32 max_range_count = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The maxRangeCount to set.- Returns:
- This builder for chaining.
-
clearMaxRangeCount
Optional. The maximum number of ranges to return in the response. If not set, a default limit of 10000 will be used.
int32 max_range_count = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-