public static final class UpdateControlRequest.Builder extends GeneratedMessageV3.Builder<UpdateControlRequest.Builder> implements UpdateControlRequestOrBuilder
Request for UpdateControl method.
Protobuf type google.cloud.retail.v2beta.UpdateControlRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateControlRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateControlRequest build()
Returns
buildPartial()
public UpdateControlRequest buildPartial()
Returns
clear()
public UpdateControlRequest.Builder clear()
Returns
Overrides
clearControl()
public UpdateControlRequest.Builder clearControl()
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateControlRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateControlRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateControlRequest.Builder clearUpdateMask()
Indicates which fields in the provided
Control to update. The following are
NOT supported:
- Control.name
If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateControlRequest.Builder clone()
Returns
Overrides
getControl()
public Control getControl()
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getControlBuilder()
public Control.Builder getControlBuilder()
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getControlOrBuilder()
public ControlOrBuilder getControlOrBuilder()
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateControlRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Indicates which fields in the provided
Control to update. The following are
NOT supported:
- Control.name
If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Indicates which fields in the provided
Control to update. The following are
NOT supported:
- Control.name
If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Indicates which fields in the provided
Control to update. The following are
NOT supported:
- Control.name
If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasControl()
public boolean hasControl()
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the control field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Indicates which fields in the provided
Control to update. The following are
NOT supported:
- Control.name
If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeControl(Control value)
public UpdateControlRequest.Builder mergeControl(Control value)
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateControlRequest other)
public UpdateControlRequest.Builder mergeFrom(UpdateControlRequest other)
Parameter
Returns
public UpdateControlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateControlRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateControlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateControlRequest.Builder mergeUpdateMask(FieldMask value)
Indicates which fields in the provided
Control to update. The following are
NOT supported:
- Control.name
If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setControl(Control value)
public UpdateControlRequest.Builder setControl(Control value)
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setControl(Control.Builder builderForValue)
public UpdateControlRequest.Builder setControl(Control.Builder builderForValue)
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateControlRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateControlRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateControlRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateControlRequest.Builder setUpdateMask(FieldMask value)
Indicates which fields in the provided
Control to update. The following are
NOT supported:
- Control.name
If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateControlRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Indicates which fields in the provided
Control to update. The following are
NOT supported:
- Control.name
If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns