Class UpdateServingConfigRequest.Builder (2.24.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateServingConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateServingConfigRequest.Builder
Overrides

build()

public UpdateServingConfigRequest build()
Returns
TypeDescription
UpdateServingConfigRequest

buildPartial()

public UpdateServingConfigRequest buildPartial()
Returns
TypeDescription
UpdateServingConfigRequest

clear()

public UpdateServingConfigRequest.Builder clear()
Returns
TypeDescription
UpdateServingConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateServingConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateServingConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateServingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateServingConfigRequest.Builder
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
TypeDescription
UpdateServingConfigRequest.Builder

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
TypeDescription
UpdateServingConfigRequest.Builder

clone()

public UpdateServingConfigRequest.Builder clone()
Returns
TypeDescription
UpdateServingConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateServingConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateServingConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getServingConfig()

public ServingConfig getServingConfig()

Required. The ServingConfig to update.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServingConfig

The servingConfig.

getServingConfigBuilder()

public ServingConfig.Builder getServingConfigBuilder()

Required. The ServingConfig to update.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServingConfig.Builder

getServingConfigOrBuilder()

public ServingConfigOrBuilder getServingConfigOrBuilder()

Required. The ServingConfig to update.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServingConfigOrBuilder

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
TypeDescription
FieldMask

The updateMask.

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
TypeDescription
Builder

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
TypeDescription
FieldMaskOrBuilder

hasServingConfig()

public boolean hasServingConfig()

Required. The ServingConfig to update.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateServingConfigRequest other)

public UpdateServingConfigRequest.Builder mergeFrom(UpdateServingConfigRequest other)
Parameter
NameDescription
otherUpdateServingConfigRequest
Returns
TypeDescription
UpdateServingConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateServingConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateServingConfigRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateServingConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateServingConfigRequest.Builder
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
NameDescription
valueServingConfig
Returns
TypeDescription
UpdateServingConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateServingConfigRequest.Builder
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateServingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateServingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateServingConfigRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateServingConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateServingConfigRequest.Builder
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
NameDescription
valueServingConfig
Returns
TypeDescription
UpdateServingConfigRequest.Builder

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
NameDescription
builderForValueServingConfig.Builder
Returns
TypeDescription
UpdateServingConfigRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateServingConfigRequest.Builder
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateServingConfigRequest.Builder

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateServingConfigRequest.Builder