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

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

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

        public CreateTransitionRouteGroupRequest 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<CreateTransitionRouteGroupRequest.Builder>
      • getParent

        public String getParent()
         Required. The flow to create an
         [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
         for. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`
         or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`
         for agent-level groups.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateTransitionRouteGroupRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The flow to create an
         [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
         for. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`
         or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`
         for agent-level groups.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateTransitionRouteGroupRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateTransitionRouteGroupRequest.Builder setParent​(String value)
         Required. The flow to create an
         [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
         for. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`
         or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`
         for agent-level groups.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateTransitionRouteGroupRequest.Builder clearParent()
         Required. The flow to create an
         [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
         for. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`
         or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`
         for agent-level groups.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateTransitionRouteGroupRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The flow to create an
         [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
         for. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`
         or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`
         for agent-level groups.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasTransitionRouteGroup

        public boolean hasTransitionRouteGroup()
         Required. The transition route group to create.
         
        .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasTransitionRouteGroup in interface CreateTransitionRouteGroupRequestOrBuilder
        Returns:
        Whether the transitionRouteGroup field is set.
      • setTransitionRouteGroup

        public CreateTransitionRouteGroupRequest.Builder setTransitionRouteGroup​(TransitionRouteGroup value)
         Required. The transition route group to create.
         
        .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeTransitionRouteGroup

        public CreateTransitionRouteGroupRequest.Builder mergeTransitionRouteGroup​(TransitionRouteGroup value)
         Required. The transition route group to create.
         
        .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearTransitionRouteGroup

        public CreateTransitionRouteGroupRequest.Builder clearTransitionRouteGroup()
         Required. The transition route group to create.
         
        .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 2 [(.google.api.field_behavior) = REQUIRED];
      • getTransitionRouteGroupBuilder

        public TransitionRouteGroup.Builder getTransitionRouteGroupBuilder()
         Required. The transition route group to create.
         
        .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 2 [(.google.api.field_behavior) = REQUIRED];
      • getLanguageCode

        public String getLanguageCode()
         The language of the following fields in `TransitionRouteGroup`:
        
         *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
         *
         `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 3;
        Specified by:
        getLanguageCode in interface CreateTransitionRouteGroupRequestOrBuilder
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        public com.google.protobuf.ByteString getLanguageCodeBytes()
         The language of the following fields in `TransitionRouteGroup`:
        
         *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
         *
         `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 3;
        Specified by:
        getLanguageCodeBytes in interface CreateTransitionRouteGroupRequestOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public CreateTransitionRouteGroupRequest.Builder setLanguageCode​(String value)
         The language of the following fields in `TransitionRouteGroup`:
        
         *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
         *
         `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 3;
        Parameters:
        value - The languageCode to set.
        Returns:
        This builder for chaining.
      • clearLanguageCode

        public CreateTransitionRouteGroupRequest.Builder clearLanguageCode()
         The language of the following fields in `TransitionRouteGroup`:
        
         *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
         *
         `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 3;
        Returns:
        This builder for chaining.
      • setLanguageCodeBytes

        public CreateTransitionRouteGroupRequest.Builder setLanguageCodeBytes​(com.google.protobuf.ByteString value)
         The language of the following fields in `TransitionRouteGroup`:
        
         *  `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
         *
         `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 3;
        Parameters:
        value - The bytes for languageCode to set.
        Returns:
        This builder for chaining.