public static final class UpdateParametersRequest.Builder extends GeneratedMessageV3.Builder<UpdateParametersRequest.Builder> implements UpdateParametersRequestOrBuilder
Request for UpdateParameters.
Protobuf type google.cloud.memcache.v1.UpdateParametersRequest
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 UpdateParametersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateParametersRequest build()
buildPartial()
public UpdateParametersRequest buildPartial()
clear()
public UpdateParametersRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateParametersRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateParametersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParameters()
public UpdateParametersRequest.Builder clearParameters()
The parameters to apply to the instance.
.google.cloud.memcache.v1.MemcacheParameters parameters = 3;
clearUpdateMask()
public UpdateParametersRequest.Builder clearUpdateMask()
Required. Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateParametersRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateParametersRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParameters()
public MemcacheParameters getParameters()
The parameters to apply to the instance.
.google.cloud.memcache.v1.MemcacheParameters parameters = 3;
getParametersBuilder()
public MemcacheParameters.Builder getParametersBuilder()
The parameters to apply to the instance.
.google.cloud.memcache.v1.MemcacheParameters parameters = 3;
getParametersOrBuilder()
public MemcacheParametersOrBuilder getParametersOrBuilder()
The parameters to apply to the instance.
.google.cloud.memcache.v1.MemcacheParameters parameters = 3;
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];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasParameters()
public boolean hasParameters()
The parameters to apply to the instance.
.google.cloud.memcache.v1.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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateParametersRequest other)
public UpdateParametersRequest.Builder mergeFrom(UpdateParametersRequest other)
public UpdateParametersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateParametersRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeParameters(MemcacheParameters value)
public UpdateParametersRequest.Builder mergeParameters(MemcacheParameters value)
The parameters to apply to the instance.
.google.cloud.memcache.v1.MemcacheParameters parameters = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateParametersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateParametersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setParameters(MemcacheParameters value)
public UpdateParametersRequest.Builder setParameters(MemcacheParameters value)
The parameters to apply to the instance.
.google.cloud.memcache.v1.MemcacheParameters parameters = 3;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateParametersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateParametersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|