Send feedback
Class UpdateControlRequest.Builder (2.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.9.0 keyboard_arrow_down
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 ()
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]