- 4.58.0 (latest)
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class Fulfillment.Builder extends GeneratedMessageV3.Builder<Fulfillment.Builder> implements FulfillmentOrBuilder
By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday. For more information, see the fulfillment guide.
Protobuf type google.cloud.dialogflow.v2beta1.Fulfillment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Fulfillment.BuilderImplements
FulfillmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllFeatures(Iterable<? extends Fulfillment.Feature> values)
public Fulfillment.Builder addAllFeatures(Iterable<? extends Fulfillment.Feature> values)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.Fulfillment.Feature> |
Type | Description |
Fulfillment.Builder |
addFeatures(Fulfillment.Feature value)
public Fulfillment.Builder addFeatures(Fulfillment.Feature value)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
value |
Fulfillment.Feature |
Type | Description |
Fulfillment.Builder |
addFeatures(Fulfillment.Feature.Builder builderForValue)
public Fulfillment.Builder addFeatures(Fulfillment.Feature.Builder builderForValue)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
builderForValue |
Fulfillment.Feature.Builder |
Type | Description |
Fulfillment.Builder |
addFeatures(int index, Fulfillment.Feature value)
public Fulfillment.Builder addFeatures(int index, Fulfillment.Feature value)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
index |
int |
value |
Fulfillment.Feature |
Type | Description |
Fulfillment.Builder |
addFeatures(int index, Fulfillment.Feature.Builder builderForValue)
public Fulfillment.Builder addFeatures(int index, Fulfillment.Feature.Builder builderForValue)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
index |
int |
builderForValue |
Fulfillment.Feature.Builder |
Type | Description |
Fulfillment.Builder |
addFeaturesBuilder()
public Fulfillment.Feature.Builder addFeaturesBuilder()
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Type | Description |
Fulfillment.Feature.Builder |
addFeaturesBuilder(int index)
public Fulfillment.Feature.Builder addFeaturesBuilder(int index)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
index |
int |
Type | Description |
Fulfillment.Feature.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Fulfillment.Builder |
build()
public Fulfillment build()
Type | Description |
Fulfillment |
buildPartial()
public Fulfillment buildPartial()
Type | Description |
Fulfillment |
clear()
public Fulfillment.Builder clear()
Type | Description |
Fulfillment.Builder |
clearDisplayName()
public Fulfillment.Builder clearDisplayName()
The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
string display_name = 2;
Type | Description |
Fulfillment.Builder |
This builder for chaining. |
clearEnabled()
public Fulfillment.Builder clearEnabled()
Whether fulfillment is enabled.
bool enabled = 4;
Type | Description |
Fulfillment.Builder |
This builder for chaining. |
clearFeatures()
public Fulfillment.Builder clearFeatures()
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Type | Description |
Fulfillment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Fulfillment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
Fulfillment.Builder |
clearFulfillment()
public Fulfillment.Builder clearFulfillment()
Type | Description |
Fulfillment.Builder |
clearGenericWebService()
public Fulfillment.Builder clearGenericWebService()
Configuration for a generic web service.
.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService generic_web_service = 3;
Type | Description |
Fulfillment.Builder |
clearName()
public Fulfillment.Builder clearName()
Required. The unique identifier of the fulfillment. Supported formats:
projects/<Project ID>/agent/fulfillment
projects/<Project ID>/locations/<Location ID>/agent/fulfillment
This field is not used for Fulfillment in an Environment.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Fulfillment.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Fulfillment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
Fulfillment.Builder |
clone()
public Fulfillment.Builder clone()
Type | Description |
Fulfillment.Builder |
getDefaultInstanceForType()
public Fulfillment getDefaultInstanceForType()
Type | Description |
Fulfillment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
string display_name = 2;
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
string display_name = 2;
Type | Description |
ByteString |
The bytes for displayName. |
getEnabled()
public boolean getEnabled()
Whether fulfillment is enabled.
bool enabled = 4;
Type | Description |
boolean |
The enabled. |
getFeatures(int index)
public Fulfillment.Feature getFeatures(int index)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
index |
int |
Type | Description |
Fulfillment.Feature |
getFeaturesBuilder(int index)
public Fulfillment.Feature.Builder getFeaturesBuilder(int index)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
index |
int |
Type | Description |
Fulfillment.Feature.Builder |
getFeaturesBuilderList()
public List<Fulfillment.Feature.Builder> getFeaturesBuilderList()
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Type | Description |
List<Builder> |
getFeaturesCount()
public int getFeaturesCount()
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Type | Description |
int |
getFeaturesList()
public List<Fulfillment.Feature> getFeaturesList()
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Type | Description |
List<Feature> |
getFeaturesOrBuilder(int index)
public Fulfillment.FeatureOrBuilder getFeaturesOrBuilder(int index)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
index |
int |
Type | Description |
Fulfillment.FeatureOrBuilder |
getFeaturesOrBuilderList()
public List<? extends Fulfillment.FeatureOrBuilder> getFeaturesOrBuilderList()
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Fulfillment.FeatureOrBuilder> |
getFulfillmentCase()
public Fulfillment.FulfillmentCase getFulfillmentCase()
Type | Description |
Fulfillment.FulfillmentCase |
getGenericWebService()
public Fulfillment.GenericWebService getGenericWebService()
Configuration for a generic web service.
.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService generic_web_service = 3;
Type | Description |
Fulfillment.GenericWebService |
The genericWebService. |
getGenericWebServiceBuilder()
public Fulfillment.GenericWebService.Builder getGenericWebServiceBuilder()
Configuration for a generic web service.
.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService generic_web_service = 3;
Type | Description |
Fulfillment.GenericWebService.Builder |
getGenericWebServiceOrBuilder()
public Fulfillment.GenericWebServiceOrBuilder getGenericWebServiceOrBuilder()
Configuration for a generic web service.
.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService generic_web_service = 3;
Type | Description |
Fulfillment.GenericWebServiceOrBuilder |
getName()
public String getName()
Required. The unique identifier of the fulfillment. Supported formats:
projects/<Project ID>/agent/fulfillment
projects/<Project ID>/locations/<Location ID>/agent/fulfillment
This field is not used for Fulfillment in an Environment.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The unique identifier of the fulfillment. Supported formats:
projects/<Project ID>/agent/fulfillment
projects/<Project ID>/locations/<Location ID>/agent/fulfillment
This field is not used for Fulfillment in an Environment.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString |
The bytes for name. |
hasGenericWebService()
public boolean hasGenericWebService()
Configuration for a generic web service.
.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService generic_web_service = 3;
Type | Description |
boolean |
Whether the genericWebService field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Fulfillment other)
public Fulfillment.Builder mergeFrom(Fulfillment other)
Name | Description |
other |
Fulfillment |
Type | Description |
Fulfillment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Fulfillment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Fulfillment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Fulfillment.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
Fulfillment.Builder |
mergeGenericWebService(Fulfillment.GenericWebService value)
public Fulfillment.Builder mergeGenericWebService(Fulfillment.GenericWebService value)
Configuration for a generic web service.
.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService generic_web_service = 3;
Name | Description |
value |
Fulfillment.GenericWebService |
Type | Description |
Fulfillment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Fulfillment.Builder |
removeFeatures(int index)
public Fulfillment.Builder removeFeatures(int index)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
index |
int |
Type | Description |
Fulfillment.Builder |
setDisplayName(String value)
public Fulfillment.Builder setDisplayName(String value)
The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
string display_name = 2;
Name | Description |
value |
String The displayName to set. |
Type | Description |
Fulfillment.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Fulfillment.Builder setDisplayNameBytes(ByteString value)
The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
string display_name = 2;
Name | Description |
value |
ByteString The bytes for displayName to set. |
Type | Description |
Fulfillment.Builder |
This builder for chaining. |
setEnabled(boolean value)
public Fulfillment.Builder setEnabled(boolean value)
Whether fulfillment is enabled.
bool enabled = 4;
Name | Description |
value |
boolean The enabled to set. |
Type | Description |
Fulfillment.Builder |
This builder for chaining. |
setFeatures(int index, Fulfillment.Feature value)
public Fulfillment.Builder setFeatures(int index, Fulfillment.Feature value)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
index |
int |
value |
Fulfillment.Feature |
Type | Description |
Fulfillment.Builder |
setFeatures(int index, Fulfillment.Feature.Builder builderForValue)
public Fulfillment.Builder setFeatures(int index, Fulfillment.Feature.Builder builderForValue)
The field defines whether the fulfillment is enabled for certain features.
repeated .google.cloud.dialogflow.v2beta1.Fulfillment.Feature features = 5;
Name | Description |
index |
int |
builderForValue |
Fulfillment.Feature.Builder |
Type | Description |
Fulfillment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Fulfillment.Builder |
setGenericWebService(Fulfillment.GenericWebService value)
public Fulfillment.Builder setGenericWebService(Fulfillment.GenericWebService value)
Configuration for a generic web service.
.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService generic_web_service = 3;
Name | Description |
value |
Fulfillment.GenericWebService |
Type | Description |
Fulfillment.Builder |
setGenericWebService(Fulfillment.GenericWebService.Builder builderForValue)
public Fulfillment.Builder setGenericWebService(Fulfillment.GenericWebService.Builder builderForValue)
Configuration for a generic web service.
.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService generic_web_service = 3;
Name | Description |
builderForValue |
Fulfillment.GenericWebService.Builder |
Type | Description |
Fulfillment.Builder |
setName(String value)
public Fulfillment.Builder setName(String value)
Required. The unique identifier of the fulfillment. Supported formats:
projects/<Project ID>/agent/fulfillment
projects/<Project ID>/locations/<Location ID>/agent/fulfillment
This field is not used for Fulfillment in an Environment.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value |
String The name to set. |
Type | Description |
Fulfillment.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Fulfillment.Builder setNameBytes(ByteString value)
Required. The unique identifier of the fulfillment. Supported formats:
projects/<Project ID>/agent/fulfillment
projects/<Project ID>/locations/<Location ID>/agent/fulfillment
This field is not used for Fulfillment in an Environment.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value |
ByteString The bytes for name to set. |
Type | Description |
Fulfillment.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Fulfillment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
Fulfillment.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Fulfillment.Builder |