public static final class MemcacheParameters.Builder extends GeneratedMessageV3.Builder<MemcacheParameters.Builder> implements MemcacheParametersOrBuilder
Protobuf type google.cloud.memcache.v1beta2.MemcacheParameters
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MemcacheParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MemcacheParameters build()
buildPartial()
public MemcacheParameters buildPartial()
clear()
public MemcacheParameters.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MemcacheParameters.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public MemcacheParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParams()
public MemcacheParameters.Builder clearParams()
clone()
public MemcacheParameters.Builder clone()
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 |
---|
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];
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;
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
|
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.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.GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MemcacheParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public MemcacheParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MemcacheParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MemcacheParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides