Package com.google.cloud.aiplatform.v1
Class CachedContent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.CachedContent
- All Implemented Interfaces:
CachedContentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CachedContent
extends com.google.protobuf.GeneratedMessage
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.v1.CachedContent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA resource used in LLM queries for users to explicitly specify what to cache and how to cache.static enumstatic final classMetadata on the usage of the cached content.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetContents(int index) Optional.intOptional.Optional.getContentsOrBuilder(int index) Optional.List<? extends ContentOrBuilder>Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static CachedContentstatic final com.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Input only.Input only.com.google.protobuf.TimestampTimestamp of when this resource is considered expired.com.google.protobuf.TimestampOrBuilderTimestamp of when this resource is considered expired.getModel()Immutable.com.google.protobuf.ByteStringImmutable.getName()Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.Parser<CachedContent>intOptional.Optional.Optional.Optional.getTools(int index) Optional.intOptional.Optional.getToolsOrBuilder(int index) Optional.List<? extends ToolOrBuilder>Optional.com.google.protobuf.DurationgetTtl()Input only.com.google.protobuf.DurationOrBuilderInput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.booleanOutput only.booleanInput only.booleanTimestamp of when this resource is considered expired.inthashCode()booleanOptional.booleanOptional.booleanhasTtl()Input only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic CachedContent.Builderstatic CachedContent.BuildernewBuilder(CachedContent prototype) protected CachedContent.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CachedContentparseDelimitedFrom(InputStream input) static CachedContentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CachedContentparseFrom(byte[] data) static CachedContentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CachedContentparseFrom(com.google.protobuf.ByteString data) static CachedContentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CachedContentparseFrom(com.google.protobuf.CodedInputStream input) static CachedContentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CachedContentparseFrom(InputStream input) static CachedContentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CachedContentparseFrom(ByteBuffer data) static CachedContentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CachedContent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER- See Also:
-
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER- See Also:
-
SYSTEM_INSTRUCTION_FIELD_NUMBER
public static final int SYSTEM_INSTRUCTION_FIELD_NUMBER- See Also:
-
CONTENTS_FIELD_NUMBER
public static final int CONTENTS_FIELD_NUMBER- See Also:
-
TOOLS_FIELD_NUMBER
public static final int TOOLS_FIELD_NUMBER- See Also:
-
TOOL_CONFIG_FIELD_NUMBER
public static final int TOOL_CONFIG_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
USAGE_METADATA_FIELD_NUMBER
public static final int USAGE_METADATA_FIELD_NUMBER- See Also:
-
ENCRYPTION_SPEC_FIELD_NUMBER
public static final int ENCRYPTION_SPEC_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getExpirationCase
- Specified by:
getExpirationCasein interfaceCachedContentOrBuilder
-
hasExpireTime
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;- Specified by:
hasExpireTimein interfaceCachedContentOrBuilder- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public 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;- Specified by:
getExpireTimein interfaceCachedContentOrBuilder- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
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;- Specified by:
getExpireTimeOrBuilderin interfaceCachedContentOrBuilder
-
hasTtl
public 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];- Specified by:
hasTtlin interfaceCachedContentOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
public 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];- Specified by:
getTtlin interfaceCachedContentOrBuilder- Returns:
- The ttl.
-
getTtlOrBuilder
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];- Specified by:
getTtlOrBuilderin interfaceCachedContentOrBuilder
-
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];- Specified by:
getNamein interfaceCachedContentOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceCachedContentOrBuilder- Returns:
- The bytes for name.
-
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];- Specified by:
getDisplayNamein interfaceCachedContentOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public 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];- Specified by:
getDisplayNameBytesin interfaceCachedContentOrBuilder- Returns:
- The bytes for displayName.
-
getModel
Immutable. The name of the `Model` to use for cached content. Currently, only the published Gemini base models are supported, in form of projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL}string model = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getModelin interfaceCachedContentOrBuilder- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()Immutable. The name of the `Model` to use for cached content. Currently, only the published Gemini base models are supported, in form of projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL}string model = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getModelBytesin interfaceCachedContentOrBuilder- Returns:
- The bytes for model.
-
hasSystemInstruction
public boolean hasSystemInstruction()Optional. Input only. Immutable. Developer set system instruction. Currently, text only
.google.cloud.aiplatform.v1.Content system_instruction = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
hasSystemInstructionin interfaceCachedContentOrBuilder- Returns:
- Whether the systemInstruction field is set.
-
getSystemInstruction
Optional. Input only. Immutable. Developer set system instruction. Currently, text only
.google.cloud.aiplatform.v1.Content system_instruction = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getSystemInstructionin interfaceCachedContentOrBuilder- Returns:
- The systemInstruction.
-
getSystemInstructionOrBuilder
Optional. Input only. Immutable. Developer set system instruction. Currently, text only
.google.cloud.aiplatform.v1.Content system_instruction = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getSystemInstructionOrBuilderin interfaceCachedContentOrBuilder
-
getContentsList
Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getContentsListin interfaceCachedContentOrBuilder
-
getContentsOrBuilderList
Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getContentsOrBuilderListin interfaceCachedContentOrBuilder
-
getContentsCount
public int getContentsCount()Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getContentsCountin interfaceCachedContentOrBuilder
-
getContents
Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getContentsin interfaceCachedContentOrBuilder
-
getContentsOrBuilder
Optional. Input only. Immutable. The content to cache
repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getContentsOrBuilderin interfaceCachedContentOrBuilder
-
getToolsList
Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getToolsListin interfaceCachedContentOrBuilder
-
getToolsOrBuilderList
Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getToolsOrBuilderListin interfaceCachedContentOrBuilder
-
getToolsCount
public int getToolsCount()Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getToolsCountin interfaceCachedContentOrBuilder
-
getTools
Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getToolsin interfaceCachedContentOrBuilder
-
getToolsOrBuilder
Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
repeated .google.cloud.aiplatform.v1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getToolsOrBuilderin interfaceCachedContentOrBuilder
-
hasToolConfig
public boolean hasToolConfig()Optional. Input only. Immutable. Tool config. This config is shared for all tools
.google.cloud.aiplatform.v1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
hasToolConfigin interfaceCachedContentOrBuilder- Returns:
- Whether the toolConfig field is set.
-
getToolConfig
Optional. Input only. Immutable. Tool config. This config is shared for all tools
.google.cloud.aiplatform.v1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getToolConfigin interfaceCachedContentOrBuilder- Returns:
- The toolConfig.
-
getToolConfigOrBuilder
Optional. Input only. Immutable. Tool config. This config is shared for all tools
.google.cloud.aiplatform.v1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getToolConfigOrBuilderin interfaceCachedContentOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceCachedContentOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceCachedContentOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of the cache entry.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceCachedContentOrBuilder
-
hasUpdateTime
public 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];- Specified by:
hasUpdateTimein interfaceCachedContentOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceCachedContentOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];- Specified by:
getUpdateTimeOrBuilderin interfaceCachedContentOrBuilder
-
hasUsageMetadata
public boolean hasUsageMetadata()Output only. Metadata on the usage of the cached content.
.google.cloud.aiplatform.v1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUsageMetadatain interfaceCachedContentOrBuilder- Returns:
- Whether the usageMetadata field is set.
-
getUsageMetadata
Output only. Metadata on the usage of the cached content.
.google.cloud.aiplatform.v1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUsageMetadatain interfaceCachedContentOrBuilder- Returns:
- The usageMetadata.
-
getUsageMetadataOrBuilder
Output only. Metadata on the usage of the cached content.
.google.cloud.aiplatform.v1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUsageMetadataOrBuilderin interfaceCachedContentOrBuilder
-
hasEncryptionSpec
public boolean hasEncryptionSpec()Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this `CachedContent` and all its sub-resources will be secured by this key.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasEncryptionSpecin interfaceCachedContentOrBuilder- Returns:
- Whether the encryptionSpec field is set.
-
getEncryptionSpec
Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this `CachedContent` and all its sub-resources will be secured by this key.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEncryptionSpecin interfaceCachedContentOrBuilder- Returns:
- The encryptionSpec.
-
getEncryptionSpecOrBuilder
Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this `CachedContent` and all its sub-resources will be secured by this key.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEncryptionSpecOrBuilderin interfaceCachedContentOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CachedContent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CachedContent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CachedContent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CachedContent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CachedContent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CachedContent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CachedContent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CachedContent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CachedContent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CachedContent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CachedContent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-