Class UpdateFulfillmentRequest.Builder (4.5.11)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateFulfillmentRequest build()
Returns
TypeDescription
UpdateFulfillmentRequest

buildPartial()

public UpdateFulfillmentRequest buildPartial()
Returns
TypeDescription
UpdateFulfillmentRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateFulfillmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateFulfillmentRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateFulfillmentRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateFulfillmentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFulfillment()

public Fulfillment getFulfillment()

Required. The fulfillment to update.

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

Returns
TypeDescription
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
TypeDescription
Fulfillment.Builder

getFulfillmentOrBuilder()

public FulfillmentOrBuilder getFulfillmentOrBuilder()

Required. The fulfillment to update.

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

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

hasFulfillment()

public boolean hasFulfillment()

Required. The fulfillment to update.

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

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

public UpdateFulfillmentRequest.Builder mergeFrom(UpdateFulfillmentRequest other)
Parameter
NameDescription
otherUpdateFulfillmentRequest
Returns
TypeDescription
UpdateFulfillmentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateFulfillmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateFulfillmentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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