Class WebhookRequest.FulfillmentInfo.Builder (0.59.0)

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

Represents fulfillment information communicated to the webhook.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WebhookRequest.FulfillmentInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WebhookRequest.FulfillmentInfo.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public WebhookRequest.FulfillmentInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WebhookRequest.FulfillmentInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WebhookRequest.FulfillmentInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WebhookRequest.FulfillmentInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebhookRequest.FulfillmentInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WebhookRequest.FulfillmentInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WebhookRequest.FulfillmentInfo.Builder
Overrides

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

public WebhookRequest.FulfillmentInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final WebhookRequest.FulfillmentInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebhookRequest.FulfillmentInfo.Builder
Overrides