Class GenerateAppResourceRequest (0.7.0)

public final class GenerateAppResourceRequest extends GeneratedMessage implements GenerateAppResourceRequestOrBuilder

Request message for AgentService.GenerateAppResource.

Protobuf type google.cloud.ces.v1beta.GenerateAppResourceRequest

Static Fields

AGENT_FIELD_NUMBER

public static final int AGENT_FIELD_NUMBER
Field Value
Type Description
int

APP_GENERATION_CONFIG_FIELD_NUMBER

public static final int APP_GENERATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

EVALUATION_GENERATION_CONFIG_FIELD_NUMBER

public static final int EVALUATION_GENERATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

EVALUATION_PERSONAS_GENERATION_CONFIG_FIELD_NUMBER

public static final int EVALUATION_PERSONAS_GENERATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

HILL_CLIMBING_FIX_CONFIG_FIELD_NUMBER

public static final int HILL_CLIMBING_FIX_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

QUALITY_REPORT_GENERATION_CONFIG_FIELD_NUMBER

public static final int QUALITY_REPORT_GENERATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

REFINE_INSTRUCTIONS_FIELD_NUMBER

public static final int REFINE_INSTRUCTIONS_FIELD_NUMBER
Field Value
Type Description
int

TOOLSET_FIELD_NUMBER

public static final int TOOLSET_FIELD_NUMBER
Field Value
Type Description
int

TOOL_FIELD_NUMBER

public static final int TOOL_FIELD_NUMBER
Field Value
Type Description
int

TOOL_GENERATION_CONFIG_FIELD_NUMBER

public static final int TOOL_GENERATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateAppResourceRequest getDefaultInstance()
Returns
Type Description
GenerateAppResourceRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GenerateAppResourceRequest.Builder newBuilder()
Returns
Type Description
GenerateAppResourceRequest.Builder

newBuilder(GenerateAppResourceRequest prototype)

public static GenerateAppResourceRequest.Builder newBuilder(GenerateAppResourceRequest prototype)
Parameter
Name Description
prototype GenerateAppResourceRequest
Returns
Type Description
GenerateAppResourceRequest.Builder

parseDelimitedFrom(InputStream input)

public static GenerateAppResourceRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateAppResourceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateAppResourceRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateAppResourceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateAppResourceRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateAppResourceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateAppResourceRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateAppResourceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateAppResourceRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateAppResourceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateAppResourceRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateAppResourceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAppResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateAppResourceRequest> parser()
Returns
Type Description
Parser<GenerateAppResourceRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAgent()

public Agent getAgent()

The agent resource to be used by the LLM assistant, can be empty for generating a new agent.

.google.cloud.ces.v1beta.Agent agent = 2;

Returns
Type Description
Agent

The agent.

getAgentOrBuilder()

public AgentOrBuilder getAgentOrBuilder()

The agent resource to be used by the LLM assistant, can be empty for generating a new agent.

.google.cloud.ces.v1beta.Agent agent = 2;

Returns
Type Description
AgentOrBuilder

getAppGenerationConfig()

public GenerateAppResourceRequest.AppGenerationConfig getAppGenerationConfig()

Optional. The configuration to be used to generate the agents and tools.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.AppGenerationConfig app_generation_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.AppGenerationConfig

The appGenerationConfig.

getAppGenerationConfigOrBuilder()

public GenerateAppResourceRequest.AppGenerationConfigOrBuilder getAppGenerationConfigOrBuilder()

Optional. The configuration to be used to generate the agents and tools.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.AppGenerationConfig app_generation_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.AppGenerationConfigOrBuilder

getDefaultInstanceForType()

public GenerateAppResourceRequest getDefaultInstanceForType()
Returns
Type Description
GenerateAppResourceRequest

getEvaluationGenerationConfig()

public GenerateAppResourceRequest.EvaluationGenerationConfig getEvaluationGenerationConfig()

Optional. The configuration to be used to generate the evaluations.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.EvaluationGenerationConfig evaluation_generation_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.EvaluationGenerationConfig

The evaluationGenerationConfig.

getEvaluationGenerationConfigOrBuilder()

public GenerateAppResourceRequest.EvaluationGenerationConfigOrBuilder getEvaluationGenerationConfigOrBuilder()

Optional. The configuration to be used to generate the evaluations.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.EvaluationGenerationConfig evaluation_generation_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.EvaluationGenerationConfigOrBuilder

getEvaluationPersonasGenerationConfig()

public GenerateAppResourceRequest.EvaluationPersonasGenerationConfig getEvaluationPersonasGenerationConfig()

Optional. The configuration to be used to generate the evaluation personas.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.EvaluationPersonasGenerationConfig evaluation_personas_generation_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.EvaluationPersonasGenerationConfig

The evaluationPersonasGenerationConfig.

getEvaluationPersonasGenerationConfigOrBuilder()

public GenerateAppResourceRequest.EvaluationPersonasGenerationConfigOrBuilder getEvaluationPersonasGenerationConfigOrBuilder()

Optional. The configuration to be used to generate the evaluation personas.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.EvaluationPersonasGenerationConfig evaluation_personas_generation_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.EvaluationPersonasGenerationConfigOrBuilder

getHillClimbingFixConfig()

public GenerateAppResourceRequest.HillClimbingFixConfig getHillClimbingFixConfig()

Optional. The configuration to be used for hill climbing fixes.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.HillClimbingFixConfig hill_climbing_fix_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.HillClimbingFixConfig

The hillClimbingFixConfig.

getHillClimbingFixConfigOrBuilder()

public GenerateAppResourceRequest.HillClimbingFixConfigOrBuilder getHillClimbingFixConfigOrBuilder()

Optional. The configuration to be used for hill climbing fixes.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.HillClimbingFixConfig hill_climbing_fix_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.HillClimbingFixConfigOrBuilder

getParent()

public String getParent()

Required. The resource name of the app to generate the resource for.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the app to generate the resource for.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<GenerateAppResourceRequest> getParserForType()
Returns
Type Description
Parser<GenerateAppResourceRequest>
Overrides

getQualityReportGenerationConfig()

public GenerateAppResourceRequest.QualityReportGenerationConfig getQualityReportGenerationConfig()

Optional. The configuration to be used for quality report generation.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.QualityReportGenerationConfig quality_report_generation_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.QualityReportGenerationConfig

The qualityReportGenerationConfig.

getQualityReportGenerationConfigOrBuilder()

public GenerateAppResourceRequest.QualityReportGenerationConfigOrBuilder getQualityReportGenerationConfigOrBuilder()

Optional. The configuration to be used for quality report generation.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.QualityReportGenerationConfig quality_report_generation_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.QualityReportGenerationConfigOrBuilder

getRefineInstructions(int index)

public GenerateAppResourceRequest.RefineInstructions getRefineInstructions(int index)

Optional. List of refine instructions to be used to refine the resource.

repeated .google.cloud.ces.v1beta.GenerateAppResourceRequest.RefineInstructions refine_instructions = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GenerateAppResourceRequest.RefineInstructions

getRefineInstructionsCount()

public int getRefineInstructionsCount()

Optional. List of refine instructions to be used to refine the resource.

repeated .google.cloud.ces.v1beta.GenerateAppResourceRequest.RefineInstructions refine_instructions = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getRefineInstructionsList()

public List<GenerateAppResourceRequest.RefineInstructions> getRefineInstructionsList()

Optional. List of refine instructions to be used to refine the resource.

repeated .google.cloud.ces.v1beta.GenerateAppResourceRequest.RefineInstructions refine_instructions = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<RefineInstructions>

getRefineInstructionsOrBuilder(int index)

public GenerateAppResourceRequest.RefineInstructionsOrBuilder getRefineInstructionsOrBuilder(int index)

Optional. List of refine instructions to be used to refine the resource.

repeated .google.cloud.ces.v1beta.GenerateAppResourceRequest.RefineInstructions refine_instructions = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GenerateAppResourceRequest.RefineInstructionsOrBuilder

getRefineInstructionsOrBuilderList()

public List<? extends GenerateAppResourceRequest.RefineInstructionsOrBuilder> getRefineInstructionsOrBuilderList()

Optional. List of refine instructions to be used to refine the resource.

repeated .google.cloud.ces.v1beta.GenerateAppResourceRequest.RefineInstructions refine_instructions = 3 [(.google.api.field_behavior) = OPTIONAL];

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

getResourceCase()

public GenerateAppResourceRequest.ResourceCase getResourceCase()
Returns
Type Description
GenerateAppResourceRequest.ResourceCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTool()

public Tool getTool()

The tool resource to be used by the LLM assistant, can be empty for generating a new tool.

.google.cloud.ces.v1beta.Tool tool = 4;

Returns
Type Description
Tool

The tool.

getToolGenerationConfig()

public GenerateAppResourceRequest.ToolGenerationConfig getToolGenerationConfig()

Optional. The configuration to be used to generate the tool.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.ToolGenerationConfig tool_generation_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.ToolGenerationConfig

The toolGenerationConfig.

getToolGenerationConfigOrBuilder()

public GenerateAppResourceRequest.ToolGenerationConfigOrBuilder getToolGenerationConfigOrBuilder()

Optional. The configuration to be used to generate the tool.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.ToolGenerationConfig tool_generation_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAppResourceRequest.ToolGenerationConfigOrBuilder

getToolOrBuilder()

public ToolOrBuilder getToolOrBuilder()

The tool resource to be used by the LLM assistant, can be empty for generating a new tool.

.google.cloud.ces.v1beta.Tool tool = 4;

Returns
Type Description
ToolOrBuilder

getToolset()

public Toolset getToolset()

The toolset resource to be used by the LLM assistant, can be empty for generating a new toolset.

.google.cloud.ces.v1beta.Toolset toolset = 6;

Returns
Type Description
Toolset

The toolset.

getToolsetOrBuilder()

public ToolsetOrBuilder getToolsetOrBuilder()

The toolset resource to be used by the LLM assistant, can be empty for generating a new toolset.

.google.cloud.ces.v1beta.Toolset toolset = 6;

Returns
Type Description
ToolsetOrBuilder

hasAgent()

public boolean hasAgent()

The agent resource to be used by the LLM assistant, can be empty for generating a new agent.

.google.cloud.ces.v1beta.Agent agent = 2;

Returns
Type Description
boolean

Whether the agent field is set.

hasAppGenerationConfig()

public boolean hasAppGenerationConfig()

Optional. The configuration to be used to generate the agents and tools.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.AppGenerationConfig app_generation_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the appGenerationConfig field is set.

hasEvaluationGenerationConfig()

public boolean hasEvaluationGenerationConfig()

Optional. The configuration to be used to generate the evaluations.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.EvaluationGenerationConfig evaluation_generation_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the evaluationGenerationConfig field is set.

hasEvaluationPersonasGenerationConfig()

public boolean hasEvaluationPersonasGenerationConfig()

Optional. The configuration to be used to generate the evaluation personas.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.EvaluationPersonasGenerationConfig evaluation_personas_generation_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the evaluationPersonasGenerationConfig field is set.

hasHillClimbingFixConfig()

public boolean hasHillClimbingFixConfig()

Optional. The configuration to be used for hill climbing fixes.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.HillClimbingFixConfig hill_climbing_fix_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the hillClimbingFixConfig field is set.

hasQualityReportGenerationConfig()

public boolean hasQualityReportGenerationConfig()

Optional. The configuration to be used for quality report generation.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.QualityReportGenerationConfig quality_report_generation_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the qualityReportGenerationConfig field is set.

hasTool()

public boolean hasTool()

The tool resource to be used by the LLM assistant, can be empty for generating a new tool.

.google.cloud.ces.v1beta.Tool tool = 4;

Returns
Type Description
boolean

Whether the tool field is set.

hasToolGenerationConfig()

public boolean hasToolGenerationConfig()

Optional. The configuration to be used to generate the tool.

.google.cloud.ces.v1beta.GenerateAppResourceRequest.ToolGenerationConfig tool_generation_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the toolGenerationConfig field is set.

hasToolset()

public boolean hasToolset()

The toolset resource to be used by the LLM assistant, can be empty for generating a new toolset.

.google.cloud.ces.v1beta.Toolset toolset = 6;

Returns
Type Description
boolean

Whether the toolset field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateAppResourceRequest.Builder newBuilderForType()
Returns
Type Description
GenerateAppResourceRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GenerateAppResourceRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateAppResourceRequest.Builder
Overrides

toBuilder()

public GenerateAppResourceRequest.Builder toBuilder()
Returns
Type Description
GenerateAppResourceRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException