public interface CachedContentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Content |
getContents(int index)
Optional.
|
int |
getContentsCount()
Optional.
|
List<Content> |
getContentsList()
Optional.
|
ContentOrBuilder |
getContentsOrBuilder(int index)
Optional.
|
List<? extends ContentOrBuilder> |
getContentsOrBuilderList()
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Optional.
|
CachedContent.ExpirationCase |
getExpirationCase() |
com.google.protobuf.Timestamp |
getExpireTime()
Timestamp of when this resource is considered expired.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Timestamp of when this resource is considered expired.
|
String |
getModel()
Immutable.
|
com.google.protobuf.ByteString |
getModelBytes()
Immutable.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
Content |
getSystemInstruction()
Optional.
|
ContentOrBuilder |
getSystemInstructionOrBuilder()
Optional.
|
ToolConfig |
getToolConfig()
Optional.
|
ToolConfigOrBuilder |
getToolConfigOrBuilder()
Optional.
|
Tool |
getTools(int index)
Optional.
|
int |
getToolsCount()
Optional.
|
List<Tool> |
getToolsList()
Optional.
|
ToolOrBuilder |
getToolsOrBuilder(int index)
Optional.
|
List<? extends ToolOrBuilder> |
getToolsOrBuilderList()
Optional.
|
com.google.protobuf.Duration |
getTtl()
Input only.
|
com.google.protobuf.DurationOrBuilder |
getTtlOrBuilder()
Input only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
CachedContent.UsageMetadata |
getUsageMetadata()
Output only.
|
CachedContent.UsageMetadataOrBuilder |
getUsageMetadataOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasExpireTime()
Timestamp of when this resource is considered expired.
|
boolean |
hasSystemInstruction()
Optional.
|
boolean |
hasToolConfig()
Optional.
|
boolean |
hasTtl()
Input only.
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasUsageMetadata()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasExpireTime()
Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
.google.protobuf.Timestamp expire_time = 9;com.google.protobuf.Timestamp getExpireTime()
Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
.google.protobuf.Timestamp expire_time = 9;com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
.google.protobuf.Timestamp expire_time = 9;boolean hasTtl()
Input only. The TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 10 [(.google.api.field_behavior) = INPUT_ONLY];com.google.protobuf.Duration getTtl()
Input only. The TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 10 [(.google.api.field_behavior) = INPUT_ONLY];com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
Input only. The TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 10 [(.google.api.field_behavior) = INPUT_ONLY];String getName()
Immutable. Identifier. The server-generated resource name of the cached
content Format:
projects/{project}/locations/{location}/cachedContents/{cached_content}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];
com.google.protobuf.ByteString getNameBytes()
Immutable. Identifier. The server-generated resource name of the cached
content Format:
projects/{project}/locations/{location}/cachedContents/{cached_content}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];
String getDisplayName()
Optional. Immutable. The user-generated meaningful display name of the cached content.
string display_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
com.google.protobuf.ByteString getDisplayNameBytes()
Optional. Immutable. The user-generated meaningful display name of the cached content.
string display_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
String getModel()
Immutable. The name of the publisher model to use for cached content.
Format:
projects/{project}/locations/{location}/publishers/{publisher}/models/{model}
string model = 2 [(.google.api.field_behavior) = IMMUTABLE];com.google.protobuf.ByteString getModelBytes()
Immutable. The name of the publisher model to use for cached content.
Format:
projects/{project}/locations/{location}/publishers/{publisher}/models/{model}
string model = 2 [(.google.api.field_behavior) = IMMUTABLE];boolean hasSystemInstruction()
Optional. Input only. Immutable. Developer set system instruction. Currently, text only
.google.cloud.aiplatform.v1beta1.Content system_instruction = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
Content getSystemInstruction()
Optional. Input only. Immutable. Developer set system instruction. Currently, text only
.google.cloud.aiplatform.v1beta1.Content system_instruction = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
ContentOrBuilder getSystemInstructionOrBuilder()
Optional. Input only. Immutable. Developer set system instruction. Currently, text only
.google.cloud.aiplatform.v1beta1.Content system_instruction = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
List<Content> getContentsList()
Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
Content getContents(int index)
Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
int getContentsCount()
Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
List<? extends ContentOrBuilder> getContentsOrBuilderList()
Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
ContentOrBuilder getContentsOrBuilder(int index)
Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1beta1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
List<Tool> getToolsList()
Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
Tool getTools(int index)
Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
int getToolsCount()
Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
List<? extends ToolOrBuilder> getToolsOrBuilderList()
Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
ToolOrBuilder getToolsOrBuilder(int index)
Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
boolean hasToolConfig()
Optional. Input only. Immutable. Tool config. This config is shared for all tools
.google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
ToolConfig getToolConfig()
Optional. Input only. Immutable. Tool config. This config is shared for all tools
.google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
ToolConfigOrBuilder getToolConfigOrBuilder()
Optional. Input only. Immutable. Tool config. This config is shared for all tools
.google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
boolean hasCreateTime()
Output only. Creatation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. Creatation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creatation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. When the cache entry was last updated in UTC time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getUpdateTime()
Output only. When the cache entry was last updated in UTC time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. When the cache entry was last updated in UTC time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUsageMetadata()
Output only. Metadata on the usage of the cached content.
.google.cloud.aiplatform.v1beta1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
CachedContent.UsageMetadata getUsageMetadata()
Output only. Metadata on the usage of the cached content.
.google.cloud.aiplatform.v1beta1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
CachedContent.UsageMetadataOrBuilder getUsageMetadataOrBuilder()
Output only. Metadata on the usage of the cached content.
.google.cloud.aiplatform.v1beta1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
CachedContent.ExpirationCase getExpirationCase()
Copyright © 2024 Google LLC. All rights reserved.