Class FetchCacheUpdateRequest (6.118.0)

public final class FetchCacheUpdateRequest extends GeneratedMessage implements FetchCacheUpdateRequestOrBuilder

The request for FetchCacheUpdate.

Protobuf type google.spanner.v1.FetchCacheUpdateRequest

Static Fields

DATABASE_FIELD_NUMBER

public static final int DATABASE_FIELD_NUMBER
Field Value
Type Description
int

MAX_RANGE_COUNT_FIELD_NUMBER

public static final int MAX_RANGE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

MAX_RECIPE_COUNT_FIELD_NUMBER

public static final int MAX_RECIPE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchCacheUpdateRequest getDefaultInstance()
Returns
Type Description
FetchCacheUpdateRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FetchCacheUpdateRequest.Builder newBuilder()
Returns
Type Description
FetchCacheUpdateRequest.Builder

newBuilder(FetchCacheUpdateRequest prototype)

public static FetchCacheUpdateRequest.Builder newBuilder(FetchCacheUpdateRequest prototype)
Parameter
Name Description
prototype FetchCacheUpdateRequest
Returns
Type Description
FetchCacheUpdateRequest.Builder

parseDelimitedFrom(InputStream input)

public static FetchCacheUpdateRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchCacheUpdateRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FetchCacheUpdateRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchCacheUpdateRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchCacheUpdateRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchCacheUpdateRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchCacheUpdateRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchCacheUpdateRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FetchCacheUpdateRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchCacheUpdateRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FetchCacheUpdateRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchCacheUpdateRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchCacheUpdateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FetchCacheUpdateRequest> parser()
Returns
Type Description
Parser<FetchCacheUpdateRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDatabase()

public String getDatabase()

Required. The database for which to retrieve the cache update.

string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Required. The database for which to retrieve the cache update.

string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public FetchCacheUpdateRequest getDefaultInstanceForType()
Returns
Type Description
FetchCacheUpdateRequest

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];

Returns
Type Description
int

The maxRangeCount.

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];

Returns
Type Description
int

The maxRecipeCount.

getParserForType()

public Parser<FetchCacheUpdateRequest> getParserForType()
Returns
Type Description
Parser<FetchCacheUpdateRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FetchCacheUpdateRequest.Builder newBuilderForType()
Returns
Type Description
FetchCacheUpdateRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected FetchCacheUpdateRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FetchCacheUpdateRequest.Builder
Overrides

toBuilder()

public FetchCacheUpdateRequest.Builder toBuilder()
Returns
Type Description
FetchCacheUpdateRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException