Class MemcacheParameters.Builder (2.13.0)

public static final class MemcacheParameters.Builder extends GeneratedMessageV3.Builder<MemcacheParameters.Builder> implements MemcacheParametersOrBuilder

Protobuf type google.cloud.memcache.v1beta2.MemcacheParameters

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MemcacheParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MemcacheParameters.Builder
Overrides

build()

public MemcacheParameters build()
Returns
TypeDescription
MemcacheParameters

buildPartial()

public MemcacheParameters buildPartial()
Returns
TypeDescription
MemcacheParameters

clear()

public MemcacheParameters.Builder clear()
Returns
TypeDescription
MemcacheParameters.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MemcacheParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MemcacheParameters.Builder
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];

Returns
TypeDescription
MemcacheParameters.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MemcacheParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MemcacheParameters.Builder
Overrides

clearParams()

public MemcacheParameters.Builder clearParams()
Returns
TypeDescription
MemcacheParameters.Builder

clone()

public MemcacheParameters.Builder clone()
Returns
TypeDescription
MemcacheParameters.Builder
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
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public MemcacheParameters getDefaultInstanceForType()
Returns
TypeDescription
MemcacheParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String 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
TypeDescription
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
TypeDescription
ByteString

The bytes for id.

getMutableParams()

public Map<String,String> getMutableParams()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getParams()

public Map<String,String> getParams()

Use #getParamsMap() instead.

Returns
TypeDescription
Map<String,String>

getParamsCount()

public int getParamsCount()

User defined set of parameters to use in the memcached process.

map<string, string> params = 3;

Returns
TypeDescription
int

getParamsMap()

public Map<String,String> getParamsMap()

User defined set of parameters to use in the memcached process.

map<string, string> params = 3;

Returns
TypeDescription
Map<String,String>

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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MemcacheParameters other)

public MemcacheParameters.Builder mergeFrom(MemcacheParameters other)
Parameter
NameDescription
otherMemcacheParameters
Returns
TypeDescription
MemcacheParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MemcacheParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MemcacheParameters.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MemcacheParameters.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MemcacheParameters.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MemcacheParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MemcacheParameters.Builder
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
MemcacheParameters.Builder

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
NameDescription
keyString
valueString
Returns
TypeDescription
MemcacheParameters.Builder

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
NameDescription
keyString
Returns
TypeDescription
MemcacheParameters.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MemcacheParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MemcacheParameters.Builder
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
NameDescription
valueString

The id to set.

Returns
TypeDescription
MemcacheParameters.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
MemcacheParameters.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MemcacheParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MemcacheParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MemcacheParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MemcacheParameters.Builder
Overrides