Class StorageLayout.RapidCacheInfo (2.75.0)

public static final class StorageLayout.RapidCacheInfo extends GeneratedMessage implements StorageLayout.RapidCacheInfoOrBuilder

The Rapid Cache configuration for the bucket.

Protobuf type google.storage.control.v2.StorageLayout.RapidCacheInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > StorageLayout.RapidCacheInfo

Static Fields

CACHE_TYPE_FIELD_NUMBER

public static final int CACHE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StorageLayout.RapidCacheInfo getDefaultInstance()
Returns
Type Description
StorageLayout.RapidCacheInfo

getDescriptor()

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

newBuilder()

public static StorageLayout.RapidCacheInfo.Builder newBuilder()
Returns
Type Description
StorageLayout.RapidCacheInfo.Builder

newBuilder(StorageLayout.RapidCacheInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static StorageLayout.RapidCacheInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageLayout.RapidCacheInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static StorageLayout.RapidCacheInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StorageLayout.RapidCacheInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static StorageLayout.RapidCacheInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StorageLayout.RapidCacheInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static StorageLayout.RapidCacheInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageLayout.RapidCacheInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static StorageLayout.RapidCacheInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StorageLayout.RapidCacheInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<StorageLayout.RapidCacheInfo> parser()
Returns
Type Description
Parser<RapidCacheInfo>

Methods

equals(Object obj)

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

getCacheType()

public String getCacheType()

Output only. The type of cache in the bucket. Set to rapid-cache or rapid-cache-ultra, only if there is a cache present.

string cache_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The cacheType.

getCacheTypeBytes()

public ByteString getCacheTypeBytes()

Output only. The type of cache in the bucket. Set to rapid-cache or rapid-cache-ultra, only if there is a cache present.

string cache_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for cacheType.

getDefaultInstanceForType()

public StorageLayout.RapidCacheInfo getDefaultInstanceForType()
Returns
Type Description
StorageLayout.RapidCacheInfo

getParserForType()

public Parser<StorageLayout.RapidCacheInfo> getParserForType()
Returns
Type Description
Parser<RapidCacheInfo>
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 StorageLayout.RapidCacheInfo.Builder newBuilderForType()
Returns
Type Description
StorageLayout.RapidCacheInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public StorageLayout.RapidCacheInfo.Builder toBuilder()
Returns
Type Description
StorageLayout.RapidCacheInfo.Builder

writeTo(CodedOutputStream output)

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