public static final class UpdateControlRequest.Builder extends GeneratedMessageV3.Builder<UpdateControlRequest.Builder> implements UpdateControlRequestOrBuilder
Request for UpdateControl method.
Protobuf type google.cloud.retail.v2beta.UpdateControlRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 UpdateControlRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateControlRequest build()
buildPartial()
public UpdateControlRequest buildPartial()
clear()
public UpdateControlRequest.Builder clear()
Overrides
clearControl()
public UpdateControlRequest.Builder clearControl()
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateControlRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateControlRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public UpdateControlRequest.Builder clone()
Overrides
getControl()
public Control getControl()
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Control | The control.
|
getControlBuilder()
public Control.Builder getControlBuilder()
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
getControlOrBuilder()
public ControlOrBuilder getControlOrBuilder()
Required. The Control to update.
.google.cloud.retail.v2beta.Control control = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateControlRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
FieldMask | The updateMask.
|
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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 |
---|
Name | Description |
value | Control
|
mergeFrom(UpdateControlRequest other)
public UpdateControlRequest.Builder mergeFrom(UpdateControlRequest other)
public UpdateControlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateControlRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateControlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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 |
---|
Name | Description |
value | Control
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateControlRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateControlRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateControlRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|