public static final class MemcacheParameters.Builder extends GeneratedMessageV3.Builder<MemcacheParameters.Builder> implements MemcacheParametersOrBuilder
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.
Protobuf type google.cloud.memcache.v1beta2.MemcacheParameters
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MemcacheParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MemcacheParameters build()
Returns
buildPartial()
public MemcacheParameters buildPartial()
Returns
clear()
public MemcacheParameters.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public MemcacheParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearId()
public MemcacheParameters.Builder clearId()
Output only.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public MemcacheParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParams()
public MemcacheParameters.Builder clearParams()
Returns
clone()
public MemcacheParameters.Builder clone()
Returns
Overrides
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
getDefaultInstanceForType()
public MemcacheParameters getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getId()
Output only.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getIdBytes()
public ByteString getIdBytes()
Output only.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getMutableParams()
public Map<String,String> getMutableParams()
Use alternate mutation accessors instead.
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MemcacheParameters other)
public MemcacheParameters.Builder mergeFrom(MemcacheParameters other)
Parameter
Returns
public MemcacheParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MemcacheParameters.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MemcacheParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MemcacheParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setId(String value)
public MemcacheParameters.Builder setId(String value)
Output only.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The id to set.
|
Returns
setIdBytes(ByteString value)
public MemcacheParameters.Builder setIdBytes(ByteString value)
Output only.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for id to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MemcacheParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MemcacheParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides