Class Memory

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.Memory
All Implemented Interfaces:
MemoryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Memory extends com.google.protobuf.GeneratedMessage implements MemoryOrBuilder
 A memory.
 
Protobuf type google.cloud.aiplatform.v1beta1.Memory
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A memory.
    static enum 
     

    Nested 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Required.
    boolean
     
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    static Memory
     
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
    static final com.google.protobuf.Descriptors.Descriptor
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
     
    com.google.protobuf.Timestamp
    Optional.
    com.google.protobuf.TimestampOrBuilder
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    Identifier.
    com.google.protobuf.ByteString
    Identifier.
    com.google.protobuf.Parser<Memory>
     
    Deprecated.
    int
    Required.
    Required.
    getScopeOrDefault(String key, String defaultValue)
    Required.
    Required.
    int
     
    com.google.protobuf.Duration
    Optional.
    com.google.protobuf.DurationOrBuilder
    Optional.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    boolean
    Output only.
    boolean
    Optional.
    int
     
    boolean
    Optional.
    boolean
    Output only.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
    newBuilder(Memory prototype)
     
     
    protected Memory.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Memory
     
    static Memory
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Memory
    parseFrom(byte[] data)
     
    static Memory
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Memory
    parseFrom(com.google.protobuf.ByteString data)
     
    static Memory
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Memory
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Memory
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Memory
     
    static Memory
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Memory
     
    static Memory
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Memory>
     
     
    void
    writeTo(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, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getExpirationCase

      public Memory.ExpirationCase getExpirationCase()
      Specified by:
      getExpirationCase in interface MemoryOrBuilder
    • hasExpireTime

      public boolean hasExpireTime()
       Optional. Timestamp of when this resource is considered expired.
       This is *always* provided on output, regardless of what `expiration` was
       sent on input.
       
      .google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasExpireTime in interface MemoryOrBuilder
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      public com.google.protobuf.Timestamp getExpireTime()
       Optional. Timestamp of when this resource is considered expired.
       This is *always* provided on output, regardless of what `expiration` was
       sent on input.
       
      .google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExpireTime in interface MemoryOrBuilder
      Returns:
      The expireTime.
    • getExpireTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Optional. Timestamp of when this resource is considered expired.
       This is *always* provided on output, regardless of what `expiration` was
       sent on input.
       
      .google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExpireTimeOrBuilder in interface MemoryOrBuilder
    • hasTtl

      public boolean hasTtl()
       Optional. Input only. The TTL for this resource. The expiration time is
       computed: now + TTL.
       
      .google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTtl in interface MemoryOrBuilder
      Returns:
      Whether the ttl field is set.
    • getTtl

      public com.google.protobuf.Duration getTtl()
       Optional. Input only. The TTL for this resource. The expiration time is
       computed: now + TTL.
       
      .google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTtl in interface MemoryOrBuilder
      Returns:
      The ttl.
    • getTtlOrBuilder

      public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
       Optional. Input only. The TTL for this resource. The expiration time is
       computed: now + TTL.
       
      .google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTtlOrBuilder in interface MemoryOrBuilder
    • getName

      public String getName()
       Identifier. The resource name of the Memory.
       Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface MemoryOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the Memory.
       Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface MemoryOrBuilder
      Returns:
      The bytes for name.
    • getDisplayName

      public String getDisplayName()
       Optional. Display name of the Memory.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface MemoryOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Display name of the Memory.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayNameBytes in interface MemoryOrBuilder
      Returns:
      The bytes for displayName.
    • getDescription

      public String getDescription()
       Optional. Description of the Memory.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface MemoryOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the Memory.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface MemoryOrBuilder
      Returns:
      The bytes for description.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Timestamp when this Memory was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface MemoryOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when this Memory was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface MemoryOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this Memory was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface MemoryOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Timestamp when this Memory was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface MemoryOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp when this Memory was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface MemoryOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when this Memory was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface MemoryOrBuilder
    • getFact

      public String getFact()
       Required. Semantic knowledge extracted from the source content.
       
      string fact = 10 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFact in interface MemoryOrBuilder
      Returns:
      The fact.
    • getFactBytes

      public com.google.protobuf.ByteString getFactBytes()
       Required. Semantic knowledge extracted from the source content.
       
      string fact = 10 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFactBytes in interface MemoryOrBuilder
      Returns:
      The bytes for fact.
    • getScopeCount

      public int getScopeCount()
      Description copied from interface: MemoryOrBuilder
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScopeCount in interface MemoryOrBuilder
    • containsScope

      public boolean containsScope(String key)
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      containsScope in interface MemoryOrBuilder
    • getScope

      @Deprecated public Map<String,String> getScope()
      Deprecated.
      Use getScopeMap() instead.
      Specified by:
      getScope in interface MemoryOrBuilder
    • getScopeMap

      public Map<String,String> getScopeMap()
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScopeMap in interface MemoryOrBuilder
    • getScopeOrDefault

      public String getScopeOrDefault(String key, String defaultValue)
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScopeOrDefault in interface MemoryOrBuilder
    • getScopeOrThrow

      public String getScopeOrThrow(String key)
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScopeOrThrow in interface MemoryOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Memory parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Memory parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Memory parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Memory parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Memory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Memory parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Memory parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Memory parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Memory parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Memory parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Memory parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Memory parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Memory.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Memory.Builder newBuilder()
    • newBuilder

      public static Memory.Builder newBuilder(Memory prototype)
    • toBuilder

      public Memory.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Memory.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Memory getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Memory> parser()
    • getParserForType

      public com.google.protobuf.Parser<Memory> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Memory getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder