Class WebhookRequest.FulfillmentInfo.Builder (0.94.0)

public static final class WebhookRequest.FulfillmentInfo.Builder extends GeneratedMessage.Builder<WebhookRequest.FulfillmentInfo.Builder> implements WebhookRequest.FulfillmentInfoOrBuilder

Represents fulfillment information communicated to the webhook.

Protobuf type google.cloud.dialogflow.cx.v3.WebhookRequest.FulfillmentInfo

Static Methods

getDescriptor()

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

Methods

build()

public WebhookRequest.FulfillmentInfo build()
Returns
Type Description
WebhookRequest.FulfillmentInfo

buildPartial()

public WebhookRequest.FulfillmentInfo buildPartial()
Returns
Type Description
WebhookRequest.FulfillmentInfo

clear()

public WebhookRequest.FulfillmentInfo.Builder clear()
Returns
Type Description
WebhookRequest.FulfillmentInfo.Builder
Overrides

clearTag()

public WebhookRequest.FulfillmentInfo.Builder clearTag()

Always present. The value of the Fulfillment.tag field will be populated in this field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes.

string tag = 1;

Returns
Type Description
WebhookRequest.FulfillmentInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public WebhookRequest.FulfillmentInfo getDefaultInstanceForType()
Returns
Type Description
WebhookRequest.FulfillmentInfo

getDescriptorForType()

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

getTag()

public String getTag()

Always present. The value of the Fulfillment.tag field will be populated in this field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes.

string tag = 1;

Returns
Type Description
String

The tag.

getTagBytes()

public ByteString getTagBytes()

Always present. The value of the Fulfillment.tag field will be populated in this field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes.

string tag = 1;

Returns
Type Description
ByteString

The bytes for tag.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WebhookRequest.FulfillmentInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setTag(String value)

public WebhookRequest.FulfillmentInfo.Builder setTag(String value)

Always present. The value of the Fulfillment.tag field will be populated in this field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes.

string tag = 1;

Parameter
Name Description
value String

The tag to set.

Returns
Type Description
WebhookRequest.FulfillmentInfo.Builder

This builder for chaining.

setTagBytes(ByteString value)

public WebhookRequest.FulfillmentInfo.Builder setTagBytes(ByteString value)

Always present. The value of the Fulfillment.tag field will be populated in this field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes.

string tag = 1;

Parameter
Name Description
value ByteString

The bytes for tag to set.

Returns
Type Description
WebhookRequest.FulfillmentInfo.Builder

This builder for chaining.