public static final class MemcacheParameters.Builder extends GeneratedMessage.Builder<MemcacheParameters.Builder> implements MemcacheParametersOrBuilder
Protobuf type google.cloud.memcache.v1beta2.MemcacheParameters
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public MemcacheParameters build()
buildPartial()
public MemcacheParameters buildPartial()
clear()
public MemcacheParameters.Builder clear()
Overrides
clearId()
public MemcacheParameters.Builder clearId()
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];
clearParams()
public MemcacheParameters.Builder clearParams()
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
|
getDefaultInstanceForType()
public MemcacheParameters getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getMutableParams() (deprecated)
public Map<String,String> getMutableParams()
Use alternate mutation accessors instead.
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.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.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MemcacheParameters other)
public MemcacheParameters.Builder mergeFrom(MemcacheParameters other)
public MemcacheParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MemcacheParameters.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
putAllParams(Map<String,String> values)
public MemcacheParameters.Builder putAllParams(Map<String,String> values)
User defined set of parameters to use in the memcached process.
map<string, string> params = 3;
putParams(String key, String value)
public MemcacheParameters.Builder putParams(String key, String value)
User defined set of parameters to use in the memcached process.
map<string, string> params = 3;
removeParams(String key)
public MemcacheParameters.Builder removeParams(String key)
User defined set of parameters to use in the memcached process.
map<string, string> params = 3;
| Parameter |
| Name |
Description |
key |
String
|
setId(String value)
public MemcacheParameters.Builder setId(String value)
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];
| Parameter |
| Name |
Description |
value |
String
The id to set.
|
setIdBytes(ByteString value)
public MemcacheParameters.Builder setIdBytes(ByteString value)
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];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for id to set.
|