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
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MemcacheParameters getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MemcacheParameters.Builder newBuilder()
Returns
newBuilder(MemcacheParameters prototype)
public static MemcacheParameters.Builder newBuilder(MemcacheParameters prototype)
Parameter
Returns
public static MemcacheParameters parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MemcacheParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MemcacheParameters parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MemcacheParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MemcacheParameters parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MemcacheParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MemcacheParameters parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MemcacheParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MemcacheParameters parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MemcacheParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MemcacheParameters parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MemcacheParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MemcacheParameters> parser()
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public MemcacheParameters getDefaultInstanceForType()
Returns
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 and any action needs
to be taken to apply parameters on nodes.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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 and any action needs
to be taken to apply parameters on nodes.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getParams()
public Map<String,String> getParams()
Returns
getParamsCount()
public int getParamsCount()
User defined set of parameters to use in the memcached process.
map<string, string> params = 3;
Returns
getParamsMap()
public Map<String,String> getParamsMap()
User defined set of parameters to use in the memcached process.
map<string, string> params = 3;
Returns
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
Returns
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
Returns
getParserForType()
public Parser<MemcacheParameters> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MemcacheParameters.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MemcacheParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MemcacheParameters.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions