Class OriginalDetectIntentRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OriginalDetectIntentRequest.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.GeneratedMessageV3.Builder<OriginalDetectIntentRequest.Builder>
      • getDefaultInstanceForType

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

        public OriginalDetectIntentRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public OriginalDetectIntentRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public OriginalDetectIntentRequest.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<OriginalDetectIntentRequest.Builder>
        Throws:
        IOException
      • getSource

        public String getSource()
         The source of this request, e.g., `google`, `facebook`, `slack`. It is set
         by Dialogflow-owned servers.
         
        string source = 1;
        Specified by:
        getSource in interface OriginalDetectIntentRequestOrBuilder
        Returns:
        The source.
      • getSourceBytes

        public com.google.protobuf.ByteString getSourceBytes()
         The source of this request, e.g., `google`, `facebook`, `slack`. It is set
         by Dialogflow-owned servers.
         
        string source = 1;
        Specified by:
        getSourceBytes in interface OriginalDetectIntentRequestOrBuilder
        Returns:
        The bytes for source.
      • setSource

        public OriginalDetectIntentRequest.Builder setSource​(String value)
         The source of this request, e.g., `google`, `facebook`, `slack`. It is set
         by Dialogflow-owned servers.
         
        string source = 1;
        Parameters:
        value - The source to set.
        Returns:
        This builder for chaining.
      • clearSource

        public OriginalDetectIntentRequest.Builder clearSource()
         The source of this request, e.g., `google`, `facebook`, `slack`. It is set
         by Dialogflow-owned servers.
         
        string source = 1;
        Returns:
        This builder for chaining.
      • setSourceBytes

        public OriginalDetectIntentRequest.Builder setSourceBytes​(com.google.protobuf.ByteString value)
         The source of this request, e.g., `google`, `facebook`, `slack`. It is set
         by Dialogflow-owned servers.
         
        string source = 1;
        Parameters:
        value - The bytes for source to set.
        Returns:
        This builder for chaining.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Optional. The version of the protocol used for this request.
         This field is AoG-specific.
         
        string version = 2;
        Specified by:
        getVersionBytes in interface OriginalDetectIntentRequestOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public OriginalDetectIntentRequest.Builder setVersion​(String value)
         Optional. The version of the protocol used for this request.
         This field is AoG-specific.
         
        string version = 2;
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public OriginalDetectIntentRequest.Builder clearVersion()
         Optional. The version of the protocol used for this request.
         This field is AoG-specific.
         
        string version = 2;
        Returns:
        This builder for chaining.
      • setVersionBytes

        public OriginalDetectIntentRequest.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Optional. The version of the protocol used for this request.
         This field is AoG-specific.
         
        string version = 2;
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • hasPayload

        public boolean hasPayload()
         Optional. This field is set to the value of the `QueryParameters.payload`
         field passed in the request. Some integrations that query a Dialogflow
         agent may provide additional information in the payload.
        
         In particular, for the Dialogflow Phone Gateway integration, this field has
         the form:
         <pre>{
          "telephony": {
            "caller_id": "+18558363987"
          }
         }</pre>
         Note: The caller ID field (`caller_id`) will be redacted for Trial
         Edition agents and populated with the caller ID in [E.164
         format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
         
        .google.protobuf.Struct payload = 3;
        Specified by:
        hasPayload in interface OriginalDetectIntentRequestOrBuilder
        Returns:
        Whether the payload field is set.
      • getPayload

        public com.google.protobuf.Struct getPayload()
         Optional. This field is set to the value of the `QueryParameters.payload`
         field passed in the request. Some integrations that query a Dialogflow
         agent may provide additional information in the payload.
        
         In particular, for the Dialogflow Phone Gateway integration, this field has
         the form:
         <pre>{
          "telephony": {
            "caller_id": "+18558363987"
          }
         }</pre>
         Note: The caller ID field (`caller_id`) will be redacted for Trial
         Edition agents and populated with the caller ID in [E.164
         format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
         
        .google.protobuf.Struct payload = 3;
        Specified by:
        getPayload in interface OriginalDetectIntentRequestOrBuilder
        Returns:
        The payload.
      • setPayload

        public OriginalDetectIntentRequest.Builder setPayload​(com.google.protobuf.Struct value)
         Optional. This field is set to the value of the `QueryParameters.payload`
         field passed in the request. Some integrations that query a Dialogflow
         agent may provide additional information in the payload.
        
         In particular, for the Dialogflow Phone Gateway integration, this field has
         the form:
         <pre>{
          "telephony": {
            "caller_id": "+18558363987"
          }
         }</pre>
         Note: The caller ID field (`caller_id`) will be redacted for Trial
         Edition agents and populated with the caller ID in [E.164
         format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
         
        .google.protobuf.Struct payload = 3;
      • setPayload

        public OriginalDetectIntentRequest.Builder setPayload​(com.google.protobuf.Struct.Builder builderForValue)
         Optional. This field is set to the value of the `QueryParameters.payload`
         field passed in the request. Some integrations that query a Dialogflow
         agent may provide additional information in the payload.
        
         In particular, for the Dialogflow Phone Gateway integration, this field has
         the form:
         <pre>{
          "telephony": {
            "caller_id": "+18558363987"
          }
         }</pre>
         Note: The caller ID field (`caller_id`) will be redacted for Trial
         Edition agents and populated with the caller ID in [E.164
         format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
         
        .google.protobuf.Struct payload = 3;
      • mergePayload

        public OriginalDetectIntentRequest.Builder mergePayload​(com.google.protobuf.Struct value)
         Optional. This field is set to the value of the `QueryParameters.payload`
         field passed in the request. Some integrations that query a Dialogflow
         agent may provide additional information in the payload.
        
         In particular, for the Dialogflow Phone Gateway integration, this field has
         the form:
         <pre>{
          "telephony": {
            "caller_id": "+18558363987"
          }
         }</pre>
         Note: The caller ID field (`caller_id`) will be redacted for Trial
         Edition agents and populated with the caller ID in [E.164
         format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
         
        .google.protobuf.Struct payload = 3;
      • clearPayload

        public OriginalDetectIntentRequest.Builder clearPayload()
         Optional. This field is set to the value of the `QueryParameters.payload`
         field passed in the request. Some integrations that query a Dialogflow
         agent may provide additional information in the payload.
        
         In particular, for the Dialogflow Phone Gateway integration, this field has
         the form:
         <pre>{
          "telephony": {
            "caller_id": "+18558363987"
          }
         }</pre>
         Note: The caller ID field (`caller_id`) will be redacted for Trial
         Edition agents and populated with the caller ID in [E.164
         format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
         
        .google.protobuf.Struct payload = 3;
      • getPayloadBuilder

        public com.google.protobuf.Struct.Builder getPayloadBuilder()
         Optional. This field is set to the value of the `QueryParameters.payload`
         field passed in the request. Some integrations that query a Dialogflow
         agent may provide additional information in the payload.
        
         In particular, for the Dialogflow Phone Gateway integration, this field has
         the form:
         <pre>{
          "telephony": {
            "caller_id": "+18558363987"
          }
         }</pre>
         Note: The caller ID field (`caller_id`) will be redacted for Trial
         Edition agents and populated with the caller ID in [E.164
         format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
         
        .google.protobuf.Struct payload = 3;
      • getPayloadOrBuilder

        public com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
         Optional. This field is set to the value of the `QueryParameters.payload`
         field passed in the request. Some integrations that query a Dialogflow
         agent may provide additional information in the payload.
        
         In particular, for the Dialogflow Phone Gateway integration, this field has
         the form:
         <pre>{
          "telephony": {
            "caller_id": "+18558363987"
          }
         }</pre>
         Note: The caller ID field (`caller_id`) will be redacted for Trial
         Edition agents and populated with the caller ID in [E.164
         format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
         
        .google.protobuf.Struct payload = 3;
        Specified by:
        getPayloadOrBuilder in interface OriginalDetectIntentRequestOrBuilder
      • mergeUnknownFields

        public final OriginalDetectIntentRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OriginalDetectIntentRequest.Builder>