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

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

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

        public CreateConversationModelRequest 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<CreateConversationModelRequest.Builder>
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         The project to create conversation model for. Format:
         `projects/<Project ID>`
         
        string parent = 1;
        Specified by:
        getParentBytes in interface CreateConversationModelRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateConversationModelRequest.Builder setParent​(String value)
         The project to create conversation model for. Format:
         `projects/<Project ID>`
         
        string parent = 1;
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateConversationModelRequest.Builder clearParent()
         The project to create conversation model for. Format:
         `projects/<Project ID>`
         
        string parent = 1;
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateConversationModelRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         The project to create conversation model for. Format:
         `projects/<Project ID>`
         
        string parent = 1;
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasConversationModel

        public boolean hasConversationModel()
         Required. The conversation model to create.
         
        .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasConversationModel in interface CreateConversationModelRequestOrBuilder
        Returns:
        Whether the conversationModel field is set.
      • setConversationModel

        public CreateConversationModelRequest.Builder setConversationModel​(ConversationModel value)
         Required. The conversation model to create.
         
        .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeConversationModel

        public CreateConversationModelRequest.Builder mergeConversationModel​(ConversationModel value)
         Required. The conversation model to create.
         
        .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearConversationModel

        public CreateConversationModelRequest.Builder clearConversationModel()
         Required. The conversation model to create.
         
        .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
      • getConversationModelBuilder

        public ConversationModel.Builder getConversationModelBuilder()
         Required. The conversation model to create.
         
        .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];