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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateFulfillmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFulfillment()
public Fulfillment getFulfillment()
Required. The fulfillment to update.
.google.cloud.dialogflow.v2.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getFulfillmentBuilder()
public Fulfillment.Builder getFulfillmentBuilder()
Required. The fulfillment to update.
.google.cloud.dialogflow.v2.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getFulfillmentOrBuilder()
public FulfillmentOrBuilder getFulfillmentOrBuilder()
Required. The fulfillment to update.
.google.cloud.dialogflow.v2.Fulfillment fulfillment = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
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
hasFulfillment()
public boolean hasFulfillment()
Required. The fulfillment to update.
.google.cloud.dialogflow.v2.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateFulfillmentRequest other)
public UpdateFulfillmentRequest.Builder mergeFrom(UpdateFulfillmentRequest other)
Parameter
Returns
public UpdateFulfillmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateFulfillmentRequest.Builder mergeFrom(Message other)
Parameter
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFulfillmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateFulfillmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateFulfillmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFulfillmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
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
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
Name |
Description |
builderForValue |
Builder
|
Returns