Send feedback
Class UpdateServingConfigRequest.Builder (2.2.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.2 keyboard_arrow_down
public static final class UpdateServingConfigRequest . Builder extends GeneratedMessageV3 . Builder<UpdateServingConfigRequest . Builder > implements UpdateServingConfigRequestOrBuilder
Request for UpdateServingConfig method.
Protobuf type google.cloud.retail.v2alpha.UpdateServingConfigRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateServingConfigRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateServingConfigRequest build ()
Returns
buildPartial()
public UpdateServingConfigRequest buildPartial ()
Returns
clear()
public UpdateServingConfigRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateServingConfigRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateServingConfigRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearServingConfig()
public UpdateServingConfigRequest . Builder clearServingConfig ()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateServingConfigRequest . Builder clearUpdateMask ()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateServingConfigRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public UpdateServingConfigRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getServingConfig()
public ServingConfig getServingConfig ()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getServingConfigBuilder()
public ServingConfig . Builder getServingConfigBuilder ()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getServingConfigOrBuilder()
public ServingConfigOrBuilder getServingConfigOrBuilder ()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask ()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasServingConfig()
public boolean hasServingConfig ()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the servingConfig field is set.
hasUpdateMask()
public boolean hasUpdateMask ()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
ServingConfig.name
If not set, 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
mergeFrom(UpdateServingConfigRequest other)
public UpdateServingConfigRequest . Builder mergeFrom ( UpdateServingConfigRequest other )
Parameter
Returns
public UpdateServingConfigRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateServingConfigRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeServingConfig(ServingConfig value)
public UpdateServingConfigRequest . Builder mergeServingConfig ( ServingConfig value )
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServingConfigRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateServingConfigRequest . Builder mergeUpdateMask ( FieldMask value )
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateServingConfigRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateServingConfigRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setServingConfig(ServingConfig value)
public UpdateServingConfigRequest . Builder setServingConfig ( ServingConfig value )
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setServingConfig(ServingConfig.Builder builderForValue)
public UpdateServingConfigRequest . Builder setServingConfig ( ServingConfig . Builder builderForValue )
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServingConfigRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateServingConfigRequest . Builder setUpdateMask ( FieldMask value )
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateServingConfigRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
ServingConfig.name
If not set, 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."],[],[]]