Class UpdateServingConfigRequest.Builder (2.11.0)

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

Request for UpdateServingConfig method.

Protobuf type google.cloud.retail.v2beta.UpdateServingConfigRequest

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateServingConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
fieldFieldDescriptor
Returns Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateServingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clearServingConfig()

public UpdateServingConfigRequest.Builder clearServingConfig()

Required. The ServingConfig to update.

.google.cloud.retail.v2beta.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
TypeDescription
Descriptor
Overrides

getServingConfig()

public ServingConfig getServingConfig()

Required. The ServingConfig to update.

.google.cloud.retail.v2beta.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.v2beta.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.v2beta.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.v2beta.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateServingConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeServingConfig(ServingConfig value)

public UpdateServingConfigRequest.Builder mergeServingConfig(ServingConfig value)

Required. The ServingConfig to update.

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

Parameter
NameDescription
valueServingConfig
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateServingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setServingConfig(ServingConfig value)

public UpdateServingConfigRequest.Builder setServingConfig(ServingConfig value)

Required. The ServingConfig to update.

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

Parameter
NameDescription
valueServingConfig
Returns

setServingConfig(ServingConfig.Builder builderForValue)

public UpdateServingConfigRequest.Builder setServingConfig(ServingConfig.Builder builderForValue)

Required. The ServingConfig to update.

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

Parameter
NameDescription
builderForValueServingConfig.Builder
Returns

setUnknownFields(UnknownFieldSet unknownFields)

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