Class UpdateServingConfigRequest.Builder (0.48.0)

public static final class UpdateServingConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateServingConfigRequest.Builder> implements UpdateServingConfigRequestOrBuilder

Request for UpdateServingConfig method.

Protobuf type google.cloud.discoveryengine.v1beta.UpdateServingConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateServingConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateServingConfigRequest.Builder
Overrides

build()

public UpdateServingConfigRequest build()
Returns
Type Description
UpdateServingConfigRequest

buildPartial()

public UpdateServingConfigRequest buildPartial()
Returns
Type Description
UpdateServingConfigRequest

clear()

public UpdateServingConfigRequest.Builder clear()
Returns
Type Description
UpdateServingConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateServingConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateServingConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateServingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateServingConfigRequest.Builder
Overrides

clearServingConfig()

public UpdateServingConfigRequest.Builder clearServingConfig()

Required. The ServingConfig to update.

.google.cloud.discoveryengine.v1beta.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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
Type Description
UpdateServingConfigRequest.Builder

clone()

public UpdateServingConfigRequest.Builder clone()
Returns
Type Description
UpdateServingConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateServingConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateServingConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getServingConfig()

public ServingConfig getServingConfig()

Required. The ServingConfig to update.

.google.cloud.discoveryengine.v1beta.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServingConfig

The servingConfig.

getServingConfigBuilder()

public ServingConfig.Builder getServingConfigBuilder()

Required. The ServingConfig to update.

.google.cloud.discoveryengine.v1beta.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServingConfig.Builder

getServingConfigOrBuilder()

public ServingConfigOrBuilder getServingConfigOrBuilder()

Required. The ServingConfig to update.

.google.cloud.discoveryengine.v1beta.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
FieldMaskOrBuilder

hasServingConfig()

public boolean hasServingConfig()

Required. The ServingConfig to update.

.google.cloud.discoveryengine.v1beta.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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateServingConfigRequest other)

public UpdateServingConfigRequest.Builder mergeFrom(UpdateServingConfigRequest other)
Parameter
Name Description
other UpdateServingConfigRequest
Returns
Type Description
UpdateServingConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateServingConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateServingConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateServingConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateServingConfigRequest.Builder
Overrides

mergeServingConfig(ServingConfig value)

public UpdateServingConfigRequest.Builder mergeServingConfig(ServingConfig value)

Required. The ServingConfig to update.

.google.cloud.discoveryengine.v1beta.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServingConfig
Returns
Type Description
UpdateServingConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
UpdateServingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateServingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateServingConfigRequest.Builder
Overrides

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

public UpdateServingConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateServingConfigRequest.Builder
Overrides

setServingConfig(ServingConfig value)

public UpdateServingConfigRequest.Builder setServingConfig(ServingConfig value)

Required. The ServingConfig to update.

.google.cloud.discoveryengine.v1beta.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServingConfig
Returns
Type Description
UpdateServingConfigRequest.Builder

setServingConfig(ServingConfig.Builder builderForValue)

public UpdateServingConfigRequest.Builder setServingConfig(ServingConfig.Builder builderForValue)

Required. The ServingConfig to update.

.google.cloud.discoveryengine.v1beta.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ServingConfig.Builder
Returns
Type Description
UpdateServingConfigRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
UpdateServingConfigRequest.Builder