Class UpdateParametersRequest.Builder (2.2.1)

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

Request for UpdateParameters.

Protobuf type google.cloud.memcache.v1.UpdateParametersRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateParametersRequest build()
Returns
TypeDescription
UpdateParametersRequest

buildPartial()

public UpdateParametersRequest buildPartial()
Returns
TypeDescription
UpdateParametersRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

public UpdateParametersRequest.Builder clearParameters()

The parameters to apply to the instance.

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

Returns
TypeDescription
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
TypeDescription
UpdateParametersRequest.Builder

clone()

public UpdateParametersRequest.Builder clone()
Returns
TypeDescription
UpdateParametersRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateParametersRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateParametersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParameters()

public MemcacheParameters getParameters()

The parameters to apply to the instance.

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

Returns
TypeDescription
MemcacheParameters

The parameters.

getParametersBuilder()

public MemcacheParameters.Builder getParametersBuilder()

The parameters to apply to the instance.

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

Returns
TypeDescription
MemcacheParameters.Builder

getParametersOrBuilder()

public MemcacheParametersOrBuilder getParametersOrBuilder()

The parameters to apply to the instance.

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

Returns
TypeDescription
MemcacheParametersOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update.

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

Returns
TypeDescription
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
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update.

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

Returns
TypeDescription
FieldMaskOrBuilder

hasParameters()

public boolean hasParameters()

The parameters to apply to the instance.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateParametersRequest other)

public UpdateParametersRequest.Builder mergeFrom(UpdateParametersRequest other)
Parameter
NameDescription
otherUpdateParametersRequest
Returns
TypeDescription
UpdateParametersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeParameters(MemcacheParameters value)

public UpdateParametersRequest.Builder mergeParameters(MemcacheParameters value)

The parameters to apply to the instance.

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

Parameter
NameDescription
valueMemcacheParameters
Returns
TypeDescription
UpdateParametersRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateParametersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateParametersRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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.v1.MemcacheParameters parameters = 3;

Parameter
NameDescription
valueMemcacheParameters
Returns
TypeDescription
UpdateParametersRequest.Builder

setParameters(MemcacheParameters.Builder builderForValue)

public UpdateParametersRequest.Builder setParameters(MemcacheParameters.Builder builderForValue)

The parameters to apply to the instance.

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

Parameter
NameDescription
builderForValueMemcacheParameters.Builder
Returns
TypeDescription
UpdateParametersRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateParametersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateParametersRequest.Builder