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