Class UpdateFulfillmentRequest.Builder (4.42.0)

public static final class UpdateFulfillmentRequest.Builder extends GeneratedMessageV3.Builder<UpdateFulfillmentRequest.Builder> implements UpdateFulfillmentRequestOrBuilder

The request message for Fulfillments.UpdateFulfillment.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateFulfillmentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateFulfillmentRequest build()
Returns
Type Description
UpdateFulfillmentRequest

buildPartial()

public UpdateFulfillmentRequest buildPartial()
Returns
Type Description
UpdateFulfillmentRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFulfillment()

public UpdateFulfillmentRequest.Builder clearFulfillment()

Required. The fulfillment to update.

.google.cloud.dialogflow.v2beta1.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateFulfillmentRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateFulfillmentRequest.Builder clearUpdateMask()

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateFulfillmentRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateFulfillmentRequest getDefaultInstanceForType()
Returns
Type Description
UpdateFulfillmentRequest

getDescriptorForType()

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

getFulfillment()

public Fulfillment getFulfillment()

Required. The fulfillment to update.

.google.cloud.dialogflow.v2beta1.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Fulfillment

The fulfillment.

getFulfillmentBuilder()

public Fulfillment.Builder getFulfillmentBuilder()

Required. The fulfillment to update.

.google.cloud.dialogflow.v2beta1.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Fulfillment.Builder

getFulfillmentOrBuilder()

public FulfillmentOrBuilder getFulfillmentOrBuilder()

Required. The fulfillment to update.

.google.cloud.dialogflow.v2beta1.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FulfillmentOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasFulfillment()

public boolean hasFulfillment()

Required. The fulfillment to update.

.google.cloud.dialogflow.v2beta1.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the fulfillment field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

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(UpdateFulfillmentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFulfillment(Fulfillment value)

public UpdateFulfillmentRequest.Builder mergeFulfillment(Fulfillment value)

Required. The fulfillment to update.

.google.cloud.dialogflow.v2beta1.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Fulfillment
Returns
Type Description
UpdateFulfillmentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateFulfillmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateFulfillmentRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateFulfillmentRequest.Builder mergeUpdateMask(FieldMask value)

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFulfillmentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFulfillment(Fulfillment value)

public UpdateFulfillmentRequest.Builder setFulfillment(Fulfillment value)

Required. The fulfillment to update.

.google.cloud.dialogflow.v2beta1.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Fulfillment
Returns
Type Description
UpdateFulfillmentRequest.Builder

setFulfillment(Fulfillment.Builder builderForValue)

public UpdateFulfillmentRequest.Builder setFulfillment(Fulfillment.Builder builderForValue)

Required. The fulfillment to update.

.google.cloud.dialogflow.v2beta1.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Fulfillment.Builder
Returns
Type Description
UpdateFulfillmentRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateFulfillmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateFulfillmentRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateFulfillmentRequest.Builder setUpdateMask(FieldMask value)

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFulfillmentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateFulfillmentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateFulfillmentRequest.Builder