public final class Memory extends GeneratedMessageV3 implements MemoryOrBuilder
A memory.
Protobuf type google.cloud.aiplatform.v1beta1.Memory
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FACT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SCOPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Memory getDefaultInstance()
Returns |
Type |
Description |
Memory |
|
public static final Descriptors.Descriptor getDescriptor()
public static Memory.Builder newBuilder()
public static Memory.Builder newBuilder(Memory prototype)
Parameter |
Name |
Description |
prototype |
Memory
|
public static Memory parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Memory |
|
public static Memory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(ByteString data)
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(InputStream input)
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Memory |
|
public static Memory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Memory |
|
public static Parser<Memory> parser()
Methods
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];
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Memory getDefaultInstanceForType()
Returns |
Type |
Description |
Memory |
|
public String getDescription()
Optional. Description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The description.
|
public ByteString getDescriptionBytes()
Optional. Description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
public String getDisplayName()
Optional. Display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The displayName.
|
public ByteString getDisplayNameBytes()
Optional. Display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
Required. Semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The fact.
|
public ByteString getFactBytes()
Required. Semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for fact.
|
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];
Returns |
Type |
Description |
String |
The name.
|
public 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];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public Parser<Memory> getParserForType()
Overrides
public Map<String,String> getScope()
public int getScopeCount()
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];
Returns |
Type |
Description |
int |
|
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];
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];
Returns |
Type |
Description |
String |
|
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];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public Timestamp getUpdateTime()
Output only. Timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. Timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
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];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public Memory.Builder newBuilderForType()
protected Memory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Memory.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides