public static final class GenerateAppResourceRequest.AppVersionContext extends GeneratedMessage implements GenerateAppResourceRequest.AppVersionContextOrBuilderThe app version context specifying the base snapshot and target agent.
Protobuf type google.cloud.ces.v1beta.GenerateAppResourceRequest.AppVersionContext
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GenerateAppResourceRequest.AppVersionContextStatic Fields
AGENT_RESOURCE_NAME_FIELD_NUMBER
public static final int AGENT_RESOURCE_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APP_VERSION_FIELD_NUMBER
public static final int APP_VERSION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateAppResourceRequest.AppVersionContext getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static GenerateAppResourceRequest.AppVersionContext.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
|
newBuilder(GenerateAppResourceRequest.AppVersionContext prototype)
public static GenerateAppResourceRequest.AppVersionContext.Builder newBuilder(GenerateAppResourceRequest.AppVersionContext prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
GenerateAppResourceRequest.AppVersionContext |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
|
parseDelimitedFrom(InputStream input)
public static GenerateAppResourceRequest.AppVersionContext parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppVersionContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppVersionContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<GenerateAppResourceRequest.AppVersionContext> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AppVersionContext> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
getParserForType()
public Parser<GenerateAppResourceRequest.AppVersionContext> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AppVersionContext> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public GenerateAppResourceRequest.AppVersionContext.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GenerateAppResourceRequest.AppVersionContext.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
|
toBuilder()
public GenerateAppResourceRequest.AppVersionContext.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppVersionContext.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|