Class UpdateParametersRequest.Builder (2.53.0)

public static final class UpdateParametersRequest.Builder extends GeneratedMessageV3.Builder<UpdateParametersRequest.Builder> implements UpdateParametersRequestOrBuilder

Request for UpdateParameters.

Protobuf type google.cloud.memcache.v1beta2.UpdateParametersRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateParametersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

build()

public UpdateParametersRequest build()
Returns
Type Description
UpdateParametersRequest

buildPartial()

public UpdateParametersRequest buildPartial()
Returns
Type Description
UpdateParametersRequest

clear()

public UpdateParametersRequest.Builder clear()
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateParametersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

clearName()

public UpdateParametersRequest.Builder clearName()

Required. Resource name of the Memcached instance for which the parameters should be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
UpdateParametersRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateParametersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

clearParameters()

public UpdateParametersRequest.Builder clearParameters()

The parameters to apply to the instance.

.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;

Returns
Type Description
UpdateParametersRequest.Builder

clearUpdateMask()

public UpdateParametersRequest.Builder clearUpdateMask()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateParametersRequest.Builder

clone()

public UpdateParametersRequest.Builder clone()
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateParametersRequest getDefaultInstanceForType()
Returns
Type Description
UpdateParametersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the Memcached instance for which the parameters should be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the Memcached instance for which the parameters should be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParameters()

public MemcacheParameters getParameters()

The parameters to apply to the instance.

.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;

Returns
Type Description
MemcacheParameters

The parameters.

getParametersBuilder()

public MemcacheParameters.Builder getParametersBuilder()

The parameters to apply to the instance.

.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;

Returns
Type Description
MemcacheParameters.Builder

getParametersOrBuilder()

public MemcacheParametersOrBuilder getParametersOrBuilder()

The parameters to apply to the instance.

.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;

Returns
Type Description
MemcacheParametersOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasParameters()

public boolean hasParameters()

The parameters to apply to the instance.

.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;

Returns
Type Description
boolean

Whether the parameters field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateParametersRequest other)

public UpdateParametersRequest.Builder mergeFrom(UpdateParametersRequest other)
Parameter
Name Description
other UpdateParametersRequest
Returns
Type Description
UpdateParametersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateParametersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateParametersRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateParametersRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

mergeParameters(MemcacheParameters value)

public UpdateParametersRequest.Builder mergeParameters(MemcacheParameters value)

The parameters to apply to the instance.

.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;

Parameter
Name Description
value MemcacheParameters
Returns
Type Description
UpdateParametersRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateParametersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateParametersRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateParametersRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateParametersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

setName(String value)

public UpdateParametersRequest.Builder setName(String value)

Required. Resource name of the Memcached instance for which the parameters should be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateParametersRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateParametersRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the Memcached instance for which the parameters should be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateParametersRequest.Builder

This builder for chaining.

setParameters(MemcacheParameters value)

public UpdateParametersRequest.Builder setParameters(MemcacheParameters value)

The parameters to apply to the instance.

.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;

Parameter
Name Description
value MemcacheParameters
Returns
Type Description
UpdateParametersRequest.Builder

setParameters(MemcacheParameters.Builder builderForValue)

public UpdateParametersRequest.Builder setParameters(MemcacheParameters.Builder builderForValue)

The parameters to apply to the instance.

.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;

Parameter
Name Description
builderForValue MemcacheParameters.Builder
Returns
Type Description
UpdateParametersRequest.Builder

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

public UpdateParametersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateParametersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateParametersRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateParametersRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateParametersRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateParametersRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateParametersRequest.Builder