Class WebhookRequest.FulfillmentInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.FulfillmentInfo.Builder>
com.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo.Builder
All Implemented Interfaces:
WebhookRequest.FulfillmentInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
WebhookRequest.FulfillmentInfo

public static final class WebhookRequest.FulfillmentInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.FulfillmentInfo.Builder> implements WebhookRequest.FulfillmentInfoOrBuilder
 Represents fulfillment information communicated to the webhook.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.FulfillmentInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.FulfillmentInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.FulfillmentInfo.Builder>
    • getDefaultInstanceForType

      public WebhookRequest.FulfillmentInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public WebhookRequest.FulfillmentInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public WebhookRequest.FulfillmentInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WebhookRequest.FulfillmentInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.FulfillmentInfo.Builder>
    • mergeFrom

      public WebhookRequest.FulfillmentInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WebhookRequest.FulfillmentInfo.Builder>
      Throws:
      IOException
    • getTag

      public String getTag()
       Always present.
       The value of the
       [Fulfillment.tag][google.cloud.dialogflow.cx.v3beta1.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;
      Specified by:
      getTag in interface WebhookRequest.FulfillmentInfoOrBuilder
      Returns:
      The tag.
    • getTagBytes

      public com.google.protobuf.ByteString getTagBytes()
       Always present.
       The value of the
       [Fulfillment.tag][google.cloud.dialogflow.cx.v3beta1.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;
      Specified by:
      getTagBytes in interface WebhookRequest.FulfillmentInfoOrBuilder
      Returns:
      The bytes for tag.
    • setTag

       Always present.
       The value of the
       [Fulfillment.tag][google.cloud.dialogflow.cx.v3beta1.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;
      Parameters:
      value - The tag to set.
      Returns:
      This builder for chaining.
    • clearTag

       Always present.
       The value of the
       [Fulfillment.tag][google.cloud.dialogflow.cx.v3beta1.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:
      This builder for chaining.
    • setTagBytes

      public WebhookRequest.FulfillmentInfo.Builder setTagBytes(com.google.protobuf.ByteString value)
       Always present.
       The value of the
       [Fulfillment.tag][google.cloud.dialogflow.cx.v3beta1.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;
      Parameters:
      value - The bytes for tag to set.
      Returns:
      This builder for chaining.