All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dialogflow.v2.outputs.GetConversationModelResult Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.googlenative.dialogflow.v2.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse;
import com.pulumi.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2InputDatasetResponse;
import com.pulumi.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2SmartReplyModelMetadataResponse;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetConversationModelResult {
    /**
     * @return Metadata for article suggestion models.
     * 
     */
    private GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse articleSuggestionModelMetadata;
    /**
     * @return Creation time of this model.
     * 
     */
    private String createTime;
    /**
     * @return Datasets used to create model.
     * 
     */
    private List datasets;
    /**
     * @return The display name of the model. At most 64 bytes long.
     * 
     */
    private String displayName;
    /**
     * @return Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
     * 
     */
    private String languageCode;
    /**
     * @return ConversationModel resource name. Format: `projects//conversationModels/`
     * 
     */
    private String name;
    /**
     * @return Metadata for smart reply models.
     * 
     */
    private GoogleCloudDialogflowV2SmartReplyModelMetadataResponse smartReplyModelMetadata;
    /**
     * @return State of the model. A model can only serve prediction requests after it gets deployed.
     * 
     */
    private String state;

    private GetConversationModelResult() {}
    /**
     * @return Metadata for article suggestion models.
     * 
     */
    public GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse articleSuggestionModelMetadata() {
        return this.articleSuggestionModelMetadata;
    }
    /**
     * @return Creation time of this model.
     * 
     */
    public String createTime() {
        return this.createTime;
    }
    /**
     * @return Datasets used to create model.
     * 
     */
    public List datasets() {
        return this.datasets;
    }
    /**
     * @return The display name of the model. At most 64 bytes long.
     * 
     */
    public String displayName() {
        return this.displayName;
    }
    /**
     * @return Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
     * 
     */
    public String languageCode() {
        return this.languageCode;
    }
    /**
     * @return ConversationModel resource name. Format: `projects//conversationModels/`
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Metadata for smart reply models.
     * 
     */
    public GoogleCloudDialogflowV2SmartReplyModelMetadataResponse smartReplyModelMetadata() {
        return this.smartReplyModelMetadata;
    }
    /**
     * @return State of the model. A model can only serve prediction requests after it gets deployed.
     * 
     */
    public String state() {
        return this.state;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetConversationModelResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse articleSuggestionModelMetadata;
        private String createTime;
        private List datasets;
        private String displayName;
        private String languageCode;
        private String name;
        private GoogleCloudDialogflowV2SmartReplyModelMetadataResponse smartReplyModelMetadata;
        private String state;
        public Builder() {}
        public Builder(GetConversationModelResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.articleSuggestionModelMetadata = defaults.articleSuggestionModelMetadata;
    	      this.createTime = defaults.createTime;
    	      this.datasets = defaults.datasets;
    	      this.displayName = defaults.displayName;
    	      this.languageCode = defaults.languageCode;
    	      this.name = defaults.name;
    	      this.smartReplyModelMetadata = defaults.smartReplyModelMetadata;
    	      this.state = defaults.state;
        }

        @CustomType.Setter
        public Builder articleSuggestionModelMetadata(GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse articleSuggestionModelMetadata) {
            this.articleSuggestionModelMetadata = Objects.requireNonNull(articleSuggestionModelMetadata);
            return this;
        }
        @CustomType.Setter
        public Builder createTime(String createTime) {
            this.createTime = Objects.requireNonNull(createTime);
            return this;
        }
        @CustomType.Setter
        public Builder datasets(List datasets) {
            this.datasets = Objects.requireNonNull(datasets);
            return this;
        }
        public Builder datasets(GoogleCloudDialogflowV2InputDatasetResponse... datasets) {
            return datasets(List.of(datasets));
        }
        @CustomType.Setter
        public Builder displayName(String displayName) {
            this.displayName = Objects.requireNonNull(displayName);
            return this;
        }
        @CustomType.Setter
        public Builder languageCode(String languageCode) {
            this.languageCode = Objects.requireNonNull(languageCode);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder smartReplyModelMetadata(GoogleCloudDialogflowV2SmartReplyModelMetadataResponse smartReplyModelMetadata) {
            this.smartReplyModelMetadata = Objects.requireNonNull(smartReplyModelMetadata);
            return this;
        }
        @CustomType.Setter
        public Builder state(String state) {
            this.state = Objects.requireNonNull(state);
            return this;
        }
        public GetConversationModelResult build() {
            final var o = new GetConversationModelResult();
            o.articleSuggestionModelMetadata = articleSuggestionModelMetadata;
            o.createTime = createTime;
            o.datasets = datasets;
            o.displayName = displayName;
            o.languageCode = languageCode;
            o.name = name;
            o.smartReplyModelMetadata = smartReplyModelMetadata;
            o.state = state;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy