Class Webhook.ServiceDirectoryConfig.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<Webhook.ServiceDirectoryConfig.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<Webhook.ServiceDirectoryConfig.Builder>
      • getDefaultInstanceForType

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

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

        public Webhook.ServiceDirectoryConfig 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<Webhook.ServiceDirectoryConfig.Builder>
      • getService

        public String getService()
         Required. The name of [Service
         Directory](https://cloud.google.com/service-directory) service.
         Format: `projects/<Project ID>/locations/<Location
         ID>/namespaces/<Namespace ID>/services/<Service ID>`.
         `Location ID` of the service directory must be the same as the location
         of the agent.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getService in interface Webhook.ServiceDirectoryConfigOrBuilder
        Returns:
        The service.
      • getServiceBytes

        public com.google.protobuf.ByteString getServiceBytes()
         Required. The name of [Service
         Directory](https://cloud.google.com/service-directory) service.
         Format: `projects/<Project ID>/locations/<Location
         ID>/namespaces/<Namespace ID>/services/<Service ID>`.
         `Location ID` of the service directory must be the same as the location
         of the agent.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getServiceBytes in interface Webhook.ServiceDirectoryConfigOrBuilder
        Returns:
        The bytes for service.
      • setService

        public Webhook.ServiceDirectoryConfig.Builder setService​(String value)
         Required. The name of [Service
         Directory](https://cloud.google.com/service-directory) service.
         Format: `projects/<Project ID>/locations/<Location
         ID>/namespaces/<Namespace ID>/services/<Service ID>`.
         `Location ID` of the service directory must be the same as the location
         of the agent.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The service to set.
        Returns:
        This builder for chaining.
      • clearService

        public Webhook.ServiceDirectoryConfig.Builder clearService()
         Required. The name of [Service
         Directory](https://cloud.google.com/service-directory) service.
         Format: `projects/<Project ID>/locations/<Location
         ID>/namespaces/<Namespace ID>/services/<Service ID>`.
         `Location ID` of the service directory must be the same as the location
         of the agent.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setServiceBytes

        public Webhook.ServiceDirectoryConfig.Builder setServiceBytes​(com.google.protobuf.ByteString value)
         Required. The name of [Service
         Directory](https://cloud.google.com/service-directory) service.
         Format: `projects/<Project ID>/locations/<Location
         ID>/namespaces/<Namespace ID>/services/<Service ID>`.
         `Location ID` of the service directory must be the same as the location
         of the agent.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for service to set.
        Returns:
        This builder for chaining.
      • hasGenericWebService

        public boolean hasGenericWebService()
         Generic Service configuration of this webhook.
         
        .google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
        Specified by:
        hasGenericWebService in interface Webhook.ServiceDirectoryConfigOrBuilder
        Returns:
        Whether the genericWebService field is set.
      • clearGenericWebService

        public Webhook.ServiceDirectoryConfig.Builder clearGenericWebService()
         Generic Service configuration of this webhook.
         
        .google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
      • getGenericWebServiceBuilder

        public Webhook.GenericWebService.Builder getGenericWebServiceBuilder()
         Generic Service configuration of this webhook.
         
        .google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;