Interface GenerateAppResourceRequest.ToolGenerationConfigOrBuilder (0.7.0)

public static interface GenerateAppResourceRequest.ToolGenerationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContext()

public abstract String getContext()

Optional. The context which describes the tool to be generated. This can be empty if the tool request & response are provided.

string context = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The context.

getContextBytes()

public abstract ByteString getContextBytes()

Optional. The context which describes the tool to be generated. This can be empty if the tool request & response are provided.

string context = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for context.

getFileContexts(int index)

public abstract FileContext getFileContexts(int index)

Optional. The files to be used as context.

repeated .google.cloud.ces.v1beta.FileContext file_contexts = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FileContext

getFileContextsCount()

public abstract int getFileContextsCount()

Optional. The files to be used as context.

repeated .google.cloud.ces.v1beta.FileContext file_contexts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFileContextsList()

public abstract List<FileContext> getFileContextsList()

Optional. The files to be used as context.

repeated .google.cloud.ces.v1beta.FileContext file_contexts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<FileContext>

getFileContextsOrBuilder(int index)

public abstract FileContextOrBuilder getFileContextsOrBuilder(int index)

Optional. The files to be used as context.

repeated .google.cloud.ces.v1beta.FileContext file_contexts = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FileContextOrBuilder

getFileContextsOrBuilderList()

public abstract List<? extends FileContextOrBuilder> getFileContextsOrBuilderList()

Optional. The files to be used as context.

repeated .google.cloud.ces.v1beta.FileContext file_contexts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.FileContextOrBuilder>

getOpenApiToolsetGenerationConfig()

public abstract GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfig getOpenApiToolsetGenerationConfig()

Optional. The configuration to be used to generate an Open API schema.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfig open_api_toolset_generation_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfig

The openApiToolsetGenerationConfig.

getOpenApiToolsetGenerationConfigOrBuilder()

public abstract GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfigOrBuilder getOpenApiToolsetGenerationConfigOrBuilder()

Optional. The configuration to be used to generate an Open API schema.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfig open_api_toolset_generation_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfigOrBuilder

hasOpenApiToolsetGenerationConfig()

public abstract boolean hasOpenApiToolsetGenerationConfig()

Optional. The configuration to be used to generate an Open API schema.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfig open_api_toolset_generation_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the openApiToolsetGenerationConfig field is set.