public static final class CachedContent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder> implements CachedContentOrBuilder
A resource used in LLM queries for users to explicitly specify what to cache and how to cache.Protobuf type
google.cloud.aiplatform.v1beta1.CachedContent| Modifier and Type | Method and Description |
|---|---|
CachedContent.Builder |
addAllContents(Iterable<? extends Content> values)
Optional.
|
CachedContent.Builder |
addAllTools(Iterable<? extends Tool> values)
Optional.
|
CachedContent.Builder |
addContents(Content.Builder builderForValue)
Optional.
|
CachedContent.Builder |
addContents(Content value)
Optional.
|
CachedContent.Builder |
addContents(int index,
Content.Builder builderForValue)
Optional.
|
CachedContent.Builder |
addContents(int index,
Content value)
Optional.
|
Content.Builder |
addContentsBuilder()
Optional.
|
Content.Builder |
addContentsBuilder(int index)
Optional.
|
CachedContent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CachedContent.Builder |
addTools(int index,
Tool.Builder builderForValue)
Optional.
|
CachedContent.Builder |
addTools(int index,
Tool value)
Optional.
|
CachedContent.Builder |
addTools(Tool.Builder builderForValue)
Optional.
|
CachedContent.Builder |
addTools(Tool value)
Optional.
|
Tool.Builder |
addToolsBuilder()
Optional.
|
Tool.Builder |
addToolsBuilder(int index)
Optional.
|
CachedContent |
build() |
CachedContent |
buildPartial() |
CachedContent.Builder |
clear() |
CachedContent.Builder |
clearContents()
Optional.
|
CachedContent.Builder |
clearCreateTime()
Output only.
|
CachedContent.Builder |
clearDisplayName()
Optional.
|
CachedContent.Builder |
clearExpiration() |
CachedContent.Builder |
clearExpireTime()
Timestamp of when this resource is considered expired.
|
CachedContent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CachedContent.Builder |
clearModel()
Immutable.
|
CachedContent.Builder |
clearName()
Immutable.
|
CachedContent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CachedContent.Builder |
clearSystemInstruction()
Optional.
|
CachedContent.Builder |
clearToolConfig()
Optional.
|
CachedContent.Builder |
clearTools()
Optional.
|
CachedContent.Builder |
clearTtl()
Input only.
|
CachedContent.Builder |
clearUpdateTime()
Output only.
|
CachedContent.Builder |
clearUsageMetadata()
Output only.
|
CachedContent.Builder |
clone() |
Content |
getContents(int index)
Optional.
|
Content.Builder |
getContentsBuilder(int index)
Optional.
|
List<Content.Builder> |
getContentsBuilderList()
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.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
CachedContent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Timestamp.Builder |
getExpireTimeBuilder()
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.
|
Content.Builder |
getSystemInstructionBuilder()
Optional.
|
ContentOrBuilder |
getSystemInstructionOrBuilder()
Optional.
|
ToolConfig |
getToolConfig()
Optional.
|
ToolConfig.Builder |
getToolConfigBuilder()
Optional.
|
ToolConfigOrBuilder |
getToolConfigOrBuilder()
Optional.
|
Tool |
getTools(int index)
Optional.
|
Tool.Builder |
getToolsBuilder(int index)
Optional.
|
List<Tool.Builder> |
getToolsBuilderList()
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.Duration.Builder |
getTtlBuilder()
Input only.
|
com.google.protobuf.DurationOrBuilder |
getTtlOrBuilder()
Input only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
CachedContent.UsageMetadata |
getUsageMetadata()
Output only.
|
CachedContent.UsageMetadata.Builder |
getUsageMetadataBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CachedContent.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
CachedContent.Builder |
mergeExpireTime(com.google.protobuf.Timestamp value)
Timestamp of when this resource is considered expired.
|
CachedContent.Builder |
mergeFrom(CachedContent other) |
CachedContent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CachedContent.Builder |
mergeFrom(com.google.protobuf.Message other) |
CachedContent.Builder |
mergeSystemInstruction(Content value)
Optional.
|
CachedContent.Builder |
mergeToolConfig(ToolConfig value)
Optional.
|
CachedContent.Builder |
mergeTtl(com.google.protobuf.Duration value)
Input only.
|
CachedContent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CachedContent.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
CachedContent.Builder |
mergeUsageMetadata(CachedContent.UsageMetadata value)
Output only.
|
CachedContent.Builder |
removeContents(int index)
Optional.
|
CachedContent.Builder |
removeTools(int index)
Optional.
|
CachedContent.Builder |
setContents(int index,
Content.Builder builderForValue)
Optional.
|
CachedContent.Builder |
setContents(int index,
Content value)
Optional.
|
CachedContent.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CachedContent.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
CachedContent.Builder |
setDisplayName(String value)
Optional.
|
CachedContent.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional.
|
CachedContent.Builder |
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp of when this resource is considered expired.
|
CachedContent.Builder |
setExpireTime(com.google.protobuf.Timestamp value)
Timestamp of when this resource is considered expired.
|
CachedContent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CachedContent.Builder |
setModel(String value)
Immutable.
|
CachedContent.Builder |
setModelBytes(com.google.protobuf.ByteString value)
Immutable.
|
CachedContent.Builder |
setName(String value)
Immutable.
|
CachedContent.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
CachedContent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CachedContent.Builder |
setSystemInstruction(Content.Builder builderForValue)
Optional.
|
CachedContent.Builder |
setSystemInstruction(Content value)
Optional.
|
CachedContent.Builder |
setToolConfig(ToolConfig.Builder builderForValue)
Optional.
|
CachedContent.Builder |
setToolConfig(ToolConfig value)
Optional.
|
CachedContent.Builder |
setTools(int index,
Tool.Builder builderForValue)
Optional.
|
CachedContent.Builder |
setTools(int index,
Tool value)
Optional.
|
CachedContent.Builder |
setTtl(com.google.protobuf.Duration.Builder builderForValue)
Input only.
|
CachedContent.Builder |
setTtl(com.google.protobuf.Duration value)
Input only.
|
CachedContent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CachedContent.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CachedContent.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
CachedContent.Builder |
setUsageMetadata(CachedContent.UsageMetadata.Builder builderForValue)
Output only.
|
CachedContent.Builder |
setUsageMetadata(CachedContent.UsageMetadata value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public CachedContent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public CachedContent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CachedContent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CachedContent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CachedContent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public CachedContent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public CachedContent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public CachedContent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public CachedContent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public CachedContent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public CachedContent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CachedContent.Builder>public CachedContent.Builder mergeFrom(CachedContent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public CachedContent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CachedContent.Builder>IOExceptionpublic CachedContent.ExpirationCase getExpirationCase()
getExpirationCase in interface CachedContentOrBuilderpublic CachedContent.Builder clearExpiration()
public boolean 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;hasExpireTime in interface CachedContentOrBuilderpublic 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;getExpireTime in interface CachedContentOrBuilderpublic CachedContent.Builder setExpireTime(com.google.protobuf.Timestamp value)
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;public CachedContent.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;public CachedContent.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
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;public CachedContent.Builder clearExpireTime()
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;public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
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;public 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;getExpireTimeOrBuilder in interface CachedContentOrBuilderpublic 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];hasTtl in interface CachedContentOrBuilderpublic 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];getTtl in interface CachedContentOrBuilderpublic CachedContent.Builder setTtl(com.google.protobuf.Duration value)
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];public CachedContent.Builder setTtl(com.google.protobuf.Duration.Builder builderForValue)
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];public CachedContent.Builder mergeTtl(com.google.protobuf.Duration value)
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];public CachedContent.Builder clearTtl()
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];public com.google.protobuf.Duration.Builder getTtlBuilder()
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];public 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];getTtlOrBuilder in interface CachedContentOrBuilderpublic 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];
getName in interface CachedContentOrBuilderpublic 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];
getNameBytes in interface CachedContentOrBuilderpublic CachedContent.Builder setName(String value)
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];
value - The name to set.public CachedContent.Builder clearName()
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];
public CachedContent.Builder setNameBytes(com.google.protobuf.ByteString value)
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];
value - The bytes for name to set.public 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];
getDisplayName in interface CachedContentOrBuilderpublic 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];
getDisplayNameBytes in interface CachedContentOrBuilderpublic CachedContent.Builder setDisplayName(String value)
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];
value - The displayName to set.public CachedContent.Builder clearDisplayName()
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];
public CachedContent.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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];
value - The bytes for displayName to set.public 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];getModel in interface CachedContentOrBuilderpublic 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];getModelBytes in interface CachedContentOrBuilderpublic CachedContent.Builder setModel(String value)
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];value - The model to set.public CachedContent.Builder clearModel()
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];public CachedContent.Builder setModelBytes(com.google.protobuf.ByteString value)
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];value - The bytes for model to set.public 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];
hasSystemInstruction in interface CachedContentOrBuilderpublic 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];
getSystemInstruction in interface CachedContentOrBuilderpublic CachedContent.Builder setSystemInstruction(Content value)
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];
public CachedContent.Builder setSystemInstruction(Content.Builder builderForValue)
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];
public CachedContent.Builder mergeSystemInstruction(Content value)
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];
public CachedContent.Builder clearSystemInstruction()
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];
public Content.Builder getSystemInstructionBuilder()
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];
public 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];
getSystemInstructionOrBuilder in interface CachedContentOrBuilderpublic 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];
getContentsList in interface CachedContentOrBuilderpublic 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];
getContentsCount in interface CachedContentOrBuilderpublic 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];
getContents in interface CachedContentOrBuilderpublic CachedContent.Builder setContents(int index, Content value)
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];
public CachedContent.Builder setContents(int index, Content.Builder builderForValue)
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];
public CachedContent.Builder addContents(Content value)
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];
public CachedContent.Builder addContents(int index, Content value)
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];
public CachedContent.Builder addContents(Content.Builder builderForValue)
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];
public CachedContent.Builder addContents(int index, Content.Builder builderForValue)
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];
public CachedContent.Builder addAllContents(Iterable<? extends Content> values)
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];
public CachedContent.Builder clearContents()
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];
public CachedContent.Builder removeContents(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];
public Content.Builder getContentsBuilder(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];
public 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];
getContentsOrBuilder in interface CachedContentOrBuilderpublic 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];
getContentsOrBuilderList in interface CachedContentOrBuilderpublic Content.Builder addContentsBuilder()
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];
public Content.Builder addContentsBuilder(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];
public List<Content.Builder> getContentsBuilderList()
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];
public 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];
getToolsList in interface CachedContentOrBuilderpublic 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];
getToolsCount in interface CachedContentOrBuilderpublic 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];
getTools in interface CachedContentOrBuilderpublic CachedContent.Builder setTools(int index, Tool value)
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];
public CachedContent.Builder setTools(int index, Tool.Builder builderForValue)
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];
public CachedContent.Builder addTools(Tool value)
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];
public CachedContent.Builder addTools(int index, Tool value)
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];
public CachedContent.Builder addTools(Tool.Builder builderForValue)
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];
public CachedContent.Builder addTools(int index, Tool.Builder builderForValue)
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];
public CachedContent.Builder addAllTools(Iterable<? extends Tool> values)
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];
public CachedContent.Builder clearTools()
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];
public CachedContent.Builder removeTools(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];
public Tool.Builder getToolsBuilder(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];
public 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];
getToolsOrBuilder in interface CachedContentOrBuilderpublic 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];
getToolsOrBuilderList in interface CachedContentOrBuilderpublic Tool.Builder addToolsBuilder()
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];
public Tool.Builder addToolsBuilder(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];
public List<Tool.Builder> getToolsBuilderList()
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];
public 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];
hasToolConfig in interface CachedContentOrBuilderpublic 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];
getToolConfig in interface CachedContentOrBuilderpublic CachedContent.Builder setToolConfig(ToolConfig value)
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];
public CachedContent.Builder setToolConfig(ToolConfig.Builder builderForValue)
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];
public CachedContent.Builder mergeToolConfig(ToolConfig value)
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];
public CachedContent.Builder clearToolConfig()
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];
public ToolConfig.Builder getToolConfigBuilder()
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];
public 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];
getToolConfigOrBuilder in interface CachedContentOrBuilderpublic boolean hasCreateTime()
Output only. Creatation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface CachedContentOrBuilderpublic 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];
getCreateTime in interface CachedContentOrBuilderpublic CachedContent.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Creatation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CachedContent.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Creatation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CachedContent.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Creatation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CachedContent.Builder clearCreateTime()
Output only. Creatation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Creatation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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];
getCreateTimeOrBuilder in interface CachedContentOrBuilderpublic 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];
hasUpdateTime in interface CachedContentOrBuilderpublic 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];
getUpdateTime in interface CachedContentOrBuilderpublic CachedContent.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. When the cache entry was last updated in UTC time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CachedContent.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. When the cache entry was last updated in UTC time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CachedContent.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. When the cache entry was last updated in UTC time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CachedContent.Builder clearUpdateTime()
Output only. When the cache entry was last updated in UTC time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. When the cache entry was last updated in UTC time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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];
getUpdateTimeOrBuilder in interface CachedContentOrBuilderpublic 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];
hasUsageMetadata in interface CachedContentOrBuilderpublic 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];
getUsageMetadata in interface CachedContentOrBuilderpublic CachedContent.Builder setUsageMetadata(CachedContent.UsageMetadata value)
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];
public CachedContent.Builder setUsageMetadata(CachedContent.UsageMetadata.Builder builderForValue)
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];
public CachedContent.Builder mergeUsageMetadata(CachedContent.UsageMetadata value)
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];
public CachedContent.Builder clearUsageMetadata()
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];
public CachedContent.UsageMetadata.Builder getUsageMetadataBuilder()
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];
public 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];
getUsageMetadataOrBuilder in interface CachedContentOrBuilderpublic final CachedContent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>public final CachedContent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CachedContent.Builder>Copyright © 2025 Google LLC. All rights reserved.