Interface CreateGeneratorRequestOrBuilder (4.59.0)

public interface CreateGeneratorRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGenerator()

public abstract Generator getGenerator()

Required. The generator to create.

.google.cloud.dialogflow.v2beta1.Generator generator = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Generator

The generator.

getGeneratorId()

public abstract 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* 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];

Returns
Type Description
String

The generatorId.

getGeneratorIdBytes()

public abstract ByteString getGeneratorIdBytes()

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* 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];

Returns
Type Description
ByteString

The bytes for generatorId.

getGeneratorOrBuilder()

public abstract GeneratorOrBuilder getGeneratorOrBuilder()

Required. The generator to create.

.google.cloud.dialogflow.v2beta1.Generator generator = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GeneratorOrBuilder

getParent()

public abstract 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) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasGenerator()

public abstract boolean hasGenerator()

Required. The generator to create.

.google.cloud.dialogflow.v2beta1.Generator generator = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the generator field is set.