Class MemcacheParameters (0.14.1)

public final class MemcacheParameters extends GeneratedMessageV3 implements MemcacheParametersOrBuilder

Protobuf type google.events.cloud.memcache.v1.MemcacheParameters

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARAMS_FIELD_NUMBER

public static final int PARAMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MemcacheParameters getDefaultInstance()
Returns
TypeDescription
MemcacheParameters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MemcacheParameters.Builder newBuilder()
Returns
TypeDescription
MemcacheParameters.Builder

newBuilder(MemcacheParameters prototype)

public static MemcacheParameters.Builder newBuilder(MemcacheParameters prototype)
Parameter
NameDescription
prototypeMemcacheParameters
Returns
TypeDescription
MemcacheParameters.Builder

parseDelimitedFrom(InputStream input)

public static MemcacheParameters parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MemcacheParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MemcacheParameters parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MemcacheParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MemcacheParameters parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MemcacheParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MemcacheParameters parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MemcacheParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MemcacheParameters parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MemcacheParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MemcacheParameters parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MemcacheParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MemcacheParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MemcacheParameters> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MemcacheParameters getDefaultInstanceForType()
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for id.

getParams()

public Map<String,String> getParams()

Use #getParamsMap() instead.

Returns
TypeDescription
Map<String,String>

getParamsCount()

public int getParamsCount()

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

map<string, string> params = 3;

Returns
TypeDescription
int

getParamsMap()

public Map<String,String> getParamsMap()

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

map<string, string> params = 3;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getParserForType()

public Parser<MemcacheParameters> getParserForType()
Returns
TypeDescription
Parser<MemcacheParameters>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MemcacheParameters.Builder newBuilderForType()
Returns
TypeDescription
MemcacheParameters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MemcacheParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MemcacheParameters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MemcacheParameters.Builder toBuilder()
Returns
TypeDescription
MemcacheParameters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException