Class MemcacheParameters (2.52.0)

public final class MemcacheParameters extends GeneratedMessageV3 implements MemcacheParametersOrBuilder

Protobuf type google.cloud.memcache.v1.MemcacheParameters

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

PARAMS_FIELD_NUMBER

public static final int PARAMS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MemcacheParameters getDefaultInstance()
Returns
Type Description
MemcacheParameters

getDescriptor()

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

newBuilder()

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

newBuilder(MemcacheParameters prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsParams(String key)

public boolean containsParams(String key)

User defined set of parameters to use in the memcached process.

map<string, string> params = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public MemcacheParameters getDefaultInstanceForType()
Returns
Type Description
MemcacheParameters

getId()

public String getId()

Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes. A discrepancy between parameter ids can inform users that they may need to take action to apply parameters on nodes.

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

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes. A discrepancy between parameter ids can inform users that they may need to take action to apply parameters on nodes.

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

Returns
Type Description
ByteString

The bytes for id.

getParams() (deprecated)

public Map<String,String> getParams()

Use #getParamsMap() instead.

Returns
Type Description
Map<String,String>

getParamsCount()

public int getParamsCount()

User defined set of parameters to use in the memcached process.

map<string, string> params = 3;

Returns
Type Description
int

getParamsMap()

public Map<String,String> getParamsMap()

User defined set of parameters to use in the memcached process.

map<string, string> params = 3;

Returns
Type Description
Map<String,String>

getParamsOrDefault(String key, String defaultValue)

public String getParamsOrDefault(String key, String defaultValue)

User defined set of parameters to use in the memcached process.

map<string, string> params = 3;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParamsOrThrow(String key)

public String getParamsOrThrow(String key)

User defined set of parameters to use in the memcached process.

map<string, string> params = 3;

Parameter
Name Description
key String
Returns
Type Description
String

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MemcacheParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MemcacheParameters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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