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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateParametersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateParametersRequest build()
Returns
buildPartial()
public UpdateParametersRequest buildPartial()
Returns
clear()
public UpdateParametersRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateParametersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateParametersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParameters()
public UpdateParametersRequest.Builder clearParameters()
The parameters to apply to the instance.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;
Returns
clearUpdateMask()
public UpdateParametersRequest.Builder clearUpdateMask()
Required. Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateParametersRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateParametersRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getParameters()
public MemcacheParameters getParameters()
The parameters to apply to the instance.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;
Returns
getParametersBuilder()
public MemcacheParameters.Builder getParametersBuilder()
The parameters to apply to the instance.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;
Returns
getParametersOrBuilder()
public MemcacheParametersOrBuilder getParametersOrBuilder()
The parameters to apply to the instance.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Required. Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateParametersRequest other)
public UpdateParametersRequest.Builder mergeFrom(UpdateParametersRequest other)
Parameter
Returns
public UpdateParametersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateParametersRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateParametersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateParametersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setParameters(MemcacheParameters value)
public UpdateParametersRequest.Builder setParameters(MemcacheParameters value)
The parameters to apply to the instance.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 3;
Parameter
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateParametersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateParametersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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