Class WebhookRequest.FulfillmentInfo.Builder (0.52.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WebhookRequest.FulfillmentInfo build()
Returns
TypeDescription
WebhookRequest.FulfillmentInfo

buildPartial()

public WebhookRequest.FulfillmentInfo buildPartial()
Returns
TypeDescription
WebhookRequest.FulfillmentInfo

clear()

public WebhookRequest.FulfillmentInfo.Builder clear()
Returns
TypeDescription
WebhookRequest.FulfillmentInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WebhookRequest.FulfillmentInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WebhookRequest.FulfillmentInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public WebhookRequest.FulfillmentInfo.Builder clone()
Returns
TypeDescription
WebhookRequest.FulfillmentInfo.Builder
Overrides

getDefaultInstanceForType()

public WebhookRequest.FulfillmentInfo getDefaultInstanceForType()
Returns
TypeDescription
WebhookRequest.FulfillmentInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for tag.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WebhookRequest.FulfillmentInfo other)

public WebhookRequest.FulfillmentInfo.Builder mergeFrom(WebhookRequest.FulfillmentInfo other)
Parameter
NameDescription
otherWebhookRequest.FulfillmentInfo
Returns
TypeDescription
WebhookRequest.FulfillmentInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WebhookRequest.FulfillmentInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WebhookRequest.FulfillmentInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WebhookRequest.FulfillmentInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WebhookRequest.FulfillmentInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WebhookRequest.FulfillmentInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The tag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tag to set.

Returns
TypeDescription
WebhookRequest.FulfillmentInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final WebhookRequest.FulfillmentInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WebhookRequest.FulfillmentInfo.Builder
Overrides