public static final class GenerateAppResourceRequest.AppVersionContext.Builder extends GeneratedMessage.Builder<GenerateAppResourceRequest.AppVersionContext.Builder> implements GenerateAppResourceRequest.AppVersionContextOrBuilderThe app version context specifying the base snapshot and target agent.
Protobuf type google.cloud.ces.v1beta.GenerateAppResourceRequest.AppVersionContext
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateAppResourceRequest.AppVersionContext.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GenerateAppResourceRequest.AppVersionContext build()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
buildPartial()
public GenerateAppResourceRequest.AppVersionContext buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
clear()
public GenerateAppResourceRequest.AppVersionContext.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
|
clearAgentResourceName()
public GenerateAppResourceRequest.AppVersionContext.Builder clearAgentResourceName() The resource name of the target agent to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string agent_resource_name = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
This builder for chaining. |
clearAppVersion()
public GenerateAppResourceRequest.AppVersionContext.Builder clearAppVersion() The resource name of the app version to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
This builder for chaining. |
getAgentResourceName()
public String getAgentResourceName() The resource name of the target agent to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string agent_resource_name = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The agentResourceName. |
getAgentResourceNameBytes()
public ByteString getAgentResourceNameBytes() The resource name of the target agent to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string agent_resource_name = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for agentResourceName. |
getAppVersion()
public String getAppVersion() The resource name of the app version to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The appVersion. |
getAppVersionBytes()
public ByteString getAppVersionBytes() The resource name of the app version to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for appVersion. |
getDefaultInstanceForType()
public GenerateAppResourceRequest.AppVersionContext getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenerateAppResourceRequest.AppVersionContext other)
public GenerateAppResourceRequest.AppVersionContext.Builder mergeFrom(GenerateAppResourceRequest.AppVersionContext other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateAppResourceRequest.AppVersionContext |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateAppResourceRequest.AppVersionContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateAppResourceRequest.AppVersionContext.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
|
setAgentResourceName(String value)
public GenerateAppResourceRequest.AppVersionContext.Builder setAgentResourceName(String value) The resource name of the target agent to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string agent_resource_name = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe agentResourceName to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
This builder for chaining. |
setAgentResourceNameBytes(ByteString value)
public GenerateAppResourceRequest.AppVersionContext.Builder setAgentResourceNameBytes(ByteString value) The resource name of the target agent to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string agent_resource_name = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for agentResourceName to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
This builder for chaining. |
setAppVersion(String value)
public GenerateAppResourceRequest.AppVersionContext.Builder setAppVersion(String value) The resource name of the app version to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe appVersion to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
This builder for chaining. |
setAppVersionBytes(ByteString value)
public GenerateAppResourceRequest.AppVersionContext.Builder setAppVersionBytes(ByteString value) The resource name of the app version to be used by the LLM assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for appVersion to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
This builder for chaining. |