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

com.google.cloud.dialogflow.v2.CreateGeneratorRequestOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.59.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/v2/generator.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.v2;

public interface CreateGeneratorRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.CreateGeneratorRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. The project/location to create generator for. Format:
   * `projects/<Project ID>/locations/<Location ID>`
   * 
* * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The parent. */ java.lang.String getParent(); /** * * *
   * Required. The project/location to create generator for. Format:
   * `projects/<Project ID>/locations/<Location ID>`
   * 
* * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); /** * * *
   * Required. The generator to create.
   * 
* * * .google.cloud.dialogflow.v2.Generator generator = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the generator field is set. */ boolean hasGenerator(); /** * * *
   * Required. The generator to create.
   * 
* * * .google.cloud.dialogflow.v2.Generator generator = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return The generator. */ com.google.cloud.dialogflow.v2.Generator getGenerator(); /** * * *
   * Required. The generator to create.
   * 
* * * .google.cloud.dialogflow.v2.Generator generator = 2 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.cloud.dialogflow.v2.GeneratorOrBuilder getGeneratorOrBuilder(); /** * * *
   * Optional. The ID to use for the generator, which will become the final
   * component of the generator's resource name.
   *
   * The generator ID must be compliant with the regression fomula
   * `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64].
   * If the field is not provided, an Id will be auto-generated.
   * If the field is provided, the caller is resposible for
   * 1. the uniqueness of the ID, otherwise the request will be rejected.
   * 2. the consistency for whether to use custom ID or not under a project to
   * better ensure uniqueness.
   * 
* * string generator_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The generatorId. */ java.lang.String getGeneratorId(); /** * * *
   * Optional. The ID to use for the generator, which will become the final
   * component of the generator's resource name.
   *
   * The generator ID must be compliant with the regression fomula
   * `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64].
   * If the field is not provided, an Id will be auto-generated.
   * If the field is provided, the caller is resposible for
   * 1. the uniqueness of the ID, otherwise the request will be rejected.
   * 2. the consistency for whether to use custom ID or not under a project to
   * better ensure uniqueness.
   * 
* * string generator_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for generatorId. */ com.google.protobuf.ByteString getGeneratorIdBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy