- 3.69.0 (latest)
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class Memory.Builder extends GeneratedMessageV3.Builder<Memory.Builder> implements MemoryOrBuilder
A memory.
Protobuf type google.cloud.aiplatform.v1beta1.Memory
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Memory.BuilderImplements
MemoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Memory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Memory.Builder |
build()
public Memory build()
Returns | |
---|---|
Type | Description |
Memory |
buildPartial()
public Memory buildPartial()
Returns | |
---|---|
Type | Description |
Memory |
clear()
public Memory.Builder clear()
Returns | |
---|---|
Type | Description |
Memory.Builder |
clearCreateTime()
public Memory.Builder clearCreateTime()
Output only. Timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Memory.Builder |
clearDescription()
public Memory.Builder clearDescription()
Optional. Description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
clearDisplayName()
public Memory.Builder clearDisplayName()
Optional. Display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
clearFact()
public Memory.Builder clearFact()
Required. Semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Memory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Memory.Builder |
clearName()
public Memory.Builder clearName()
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 |
Memory.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Memory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Memory.Builder |
clearScope()
public Memory.Builder clearScope()
Returns | |
---|---|
Type | Description |
Memory.Builder |
clearUpdateTime()
public Memory.Builder clearUpdateTime()
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 |
Memory.Builder |
clone()
public Memory.Builder clone()
Returns | |
---|---|
Type | Description |
Memory.Builder |
containsScope(String key)
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 |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Memory getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Memory |
getDescription()
public String getDescription()
Optional. Description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Optional. Display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
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. |
getFact()
public String getFact()
Required. Semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The fact. |
getFactBytes()
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. |
getMutableScope() (deprecated)
public Map<String,String> getMutableScope()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
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];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
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. |
getScope() (deprecated)
public Map<String,String> getScope()
Use #getScopeMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getScopeCount()
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 |
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];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getScopeOrDefault(String key, String defaultValue)
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];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getScopeOrThrow(String key)
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 |
getUpdateTime()
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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
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 |
Builder |
getUpdateTimeOrBuilder()
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
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. |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Memory.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Memory.Builder |
mergeFrom(Memory other)
public Memory.Builder mergeFrom(Memory other)
Parameter | |
---|---|
Name | Description |
other |
Memory |
Returns | |
---|---|
Type | Description |
Memory.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Memory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Memory.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Memory.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Memory.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Memory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Memory.Builder |
mergeUpdateTime(Timestamp value)
public Memory.Builder mergeUpdateTime(Timestamp value)
Output only. Timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Memory.Builder |
putAllScope(Map<String,String> values)
public Memory.Builder putAllScope(Map<String,String> values)
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 |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Memory.Builder |
putScope(String key, String value)
public Memory.Builder putScope(String key, String value)
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];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Memory.Builder |
removeScope(String key)
public Memory.Builder removeScope(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 |
Memory.Builder |
setCreateTime(Timestamp value)
public Memory.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Memory.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Memory.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Memory.Builder |
setDescription(String value)
public Memory.Builder setDescription(String value)
Optional. Description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Memory.Builder setDescriptionBytes(ByteString value)
Optional. Description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
setDisplayName(String value)
public Memory.Builder setDisplayName(String value)
Optional. Display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Memory.Builder setDisplayNameBytes(ByteString value)
Optional. Display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
setFact(String value)
public Memory.Builder setFact(String value)
Required. Semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The fact to set. |
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
setFactBytes(ByteString value)
public Memory.Builder setFactBytes(ByteString value)
Required. Semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for fact to set. |
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Memory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Memory.Builder |
setName(String value)
public Memory.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Memory.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Memory.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Memory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Memory.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Memory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Memory.Builder |
setUpdateTime(Timestamp value)
public Memory.Builder setUpdateTime(Timestamp value)
Output only. Timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Memory.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Memory.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Memory.Builder |