Class UpdateFulfillmentRequest.Builder (4.3.1)

See more code actions.
public static final class UpdateFulfillmentRequest.Builder extends GeneratedMessageV3.Builder<UpdateFulfillmentRequest.Builder> implements UpdateFulfillmentRequestOrBuilder

The request message for Fulfillments.UpdateFulfillment.

Protobuf type google.cloud.dialogflow.v2.UpdateFulfillmentRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateFulfillmentRequest build()
Returns

buildPartial()

public UpdateFulfillmentRequest buildPartial()
Returns

clear()

public UpdateFulfillmentRequest.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFulfillment()

public UpdateFulfillmentRequest.Builder clearFulfillment()

Required. The fulfillment to update.

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

Returns

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public UpdateFulfillmentRequest.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public UpdateFulfillmentRequest getDefaultInstanceForType()
Returns

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFulfillment()

public Fulfillment getFulfillment()

Required. The fulfillment to update.

.google.cloud.dialogflow.v2.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.v2.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Fulfillment.Builder

getFulfillmentOrBuilder()

public FulfillmentOrBuilder getFulfillmentOrBuilder()

Required. The fulfillment to update.

.google.cloud.dialogflow.v2.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.v2.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFulfillment(Fulfillment value)

public UpdateFulfillmentRequest.Builder mergeFulfillment(Fulfillment value)

Required. The fulfillment to update.

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

Parameter
NameDescription
valueFulfillment
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFulfillment(Fulfillment value)

public UpdateFulfillmentRequest.Builder setFulfillment(Fulfillment value)

Required. The fulfillment to update.

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

Parameter
NameDescription
valueFulfillment
Returns

setFulfillment(Fulfillment.Builder builderForValue)

public UpdateFulfillmentRequest.Builder setFulfillment(Fulfillment.Builder builderForValue)

Required. The fulfillment to update.

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

Parameter
NameDescription
builderForValueFulfillment.Builder
Returns

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

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