public final class GenerateAppResourceRequest extends GeneratedMessage implements GenerateAppResourceRequestOrBuilder
Request message for
AgentService.GenerateAppResource.
Protobuf type google.cloud.ces.v1beta.GenerateAppResourceRequest
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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 |
|
public static final int TOOLSET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOL_GENERATION_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateAppResourceRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateAppResourceRequest.Builder newBuilder()
newBuilder(GenerateAppResourceRequest prototype)
public static GenerateAppResourceRequest.Builder newBuilder(GenerateAppResourceRequest prototype)
public static GenerateAppResourceRequest parseDelimitedFrom(InputStream input)
public static GenerateAppResourceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateAppResourceRequest parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateAppResourceRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest parseFrom(CodedInputStream input)
public static GenerateAppResourceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest parseFrom(InputStream input)
public static GenerateAppResourceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateAppResourceRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateAppResourceRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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;
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];
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];
getDefaultInstanceForType()
public GenerateAppResourceRequest getDefaultInstanceForType()
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];
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];
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];
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];
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];
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];
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()
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];
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];
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
|
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];
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
|
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()
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
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];
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];
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;
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.
|
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;
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.
|
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.
|
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.
|
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateAppResourceRequest.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GenerateAppResourceRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public GenerateAppResourceRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides