public final class MemcacheParameters extends GeneratedMessageV3 implements MemcacheParametersOrBuilder
Protobuf type google.cloud.memcache.v1.MemcacheParameters
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MemcacheParameters.Builder newBuilder()
newBuilder(MemcacheParameters prototype)
public static MemcacheParameters.Builder newBuilder(MemcacheParameters prototype)
public static MemcacheParameters parseDelimitedFrom(InputStream input)
public static MemcacheParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MemcacheParameters parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MemcacheParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MemcacheParameters parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MemcacheParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MemcacheParameters parseFrom(CodedInputStream input)
public static MemcacheParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MemcacheParameters parseFrom(InputStream input)
public static MemcacheParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MemcacheParameters parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MemcacheParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MemcacheParameters> parser()
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public MemcacheParameters getDefaultInstanceForType()
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()
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;
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;
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
newBuilderForType()
public MemcacheParameters.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MemcacheParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MemcacheParameters.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides