public final class MemcacheParameters extends GeneratedMessageV3 implements MemcacheParametersOrBuilder
Protobuf type google.cloud.memcache.v1beta2.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()
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];
getParams()
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;
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
|
getParserForType()
public Parser<MemcacheParameters> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
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)
Overrides
toBuilder()
public MemcacheParameters.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides