Interface CreateGeneratorRequestOrBuilder (0.66.0)

public interface CreateGeneratorRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGenerator()

public abstract Generator getGenerator()

Required. The generator to create.

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

Returns
Type Description
Generator

The generator.

getGeneratorOrBuilder()

public abstract GeneratorOrBuilder getGeneratorOrBuilder()

Required. The generator to create.

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

Returns
Type Description
GeneratorOrBuilder

getLanguageCode()

public abstract String getLanguageCode()

The language to create generators for the following fields:

  • Generator.prompt_text.text If not specified, the agent's default language is used.

string language_code = 3;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

The language to create generators for the following fields:

  • Generator.prompt_text.text If not specified, the agent's default language is used.

string language_code = 3;

Returns
Type Description
ByteString

The bytes for languageCode.

getParent()

public abstract String getParent()

Required. The agent to create a generator for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

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 agent to create a generator for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

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.cx.v3beta1.Generator generator = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the generator field is set.