public static final class StructuredMemoryConfig.Builder extends GeneratedMessage.Builder<StructuredMemoryConfig.Builder> implements StructuredMemoryConfigOrBuilderRepresents configuration for organizing structured memories for a particular scope.
Protobuf type google.cloud.aiplatform.v1beta1.StructuredMemoryConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StructuredMemoryConfig.BuilderImplements
StructuredMemoryConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSchemaConfigs(Iterable<? extends StructuredMemoryConfig.SchemaConfig> values)
public StructuredMemoryConfig.Builder addAllSchemaConfigs(Iterable<? extends StructuredMemoryConfig.SchemaConfig> values)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig> |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
addAllScopeKeys(Iterable<String> values)
public StructuredMemoryConfig.Builder addAllScopeKeys(Iterable<String> values)Optional. Represents the scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The scopeKeys to add. |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
This builder for chaining. |
addSchemaConfigs(StructuredMemoryConfig.SchemaConfig value)
public StructuredMemoryConfig.Builder addSchemaConfigs(StructuredMemoryConfig.SchemaConfig value)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StructuredMemoryConfig.SchemaConfig |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
addSchemaConfigs(StructuredMemoryConfig.SchemaConfig.Builder builderForValue)
public StructuredMemoryConfig.Builder addSchemaConfigs(StructuredMemoryConfig.SchemaConfig.Builder builderForValue)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StructuredMemoryConfig.SchemaConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
addSchemaConfigs(int index, StructuredMemoryConfig.SchemaConfig value)
public StructuredMemoryConfig.Builder addSchemaConfigs(int index, StructuredMemoryConfig.SchemaConfig value)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StructuredMemoryConfig.SchemaConfig |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
addSchemaConfigs(int index, StructuredMemoryConfig.SchemaConfig.Builder builderForValue)
public StructuredMemoryConfig.Builder addSchemaConfigs(int index, StructuredMemoryConfig.SchemaConfig.Builder builderForValue)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StructuredMemoryConfig.SchemaConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
addSchemaConfigsBuilder()
public StructuredMemoryConfig.SchemaConfig.Builder addSchemaConfigsBuilder()Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
addSchemaConfigsBuilder(int index)
public StructuredMemoryConfig.SchemaConfig.Builder addSchemaConfigsBuilder(int index)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
addScopeKeys(String value)
public StructuredMemoryConfig.Builder addScopeKeys(String value)Optional. Represents the scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scopeKeys to add. |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
This builder for chaining. |
addScopeKeysBytes(ByteString value)
public StructuredMemoryConfig.Builder addScopeKeysBytes(ByteString value)Optional. Represents the scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the scopeKeys to add. |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
This builder for chaining. |
build()
public StructuredMemoryConfig build()| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig |
|
buildPartial()
public StructuredMemoryConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig |
|
clear()
public StructuredMemoryConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
clearSchemaConfigs()
public StructuredMemoryConfig.Builder clearSchemaConfigs()Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
clearScopeKeys()
public StructuredMemoryConfig.Builder clearScopeKeys()Optional. Represents the scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public StructuredMemoryConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSchemaConfigs(int index)
public StructuredMemoryConfig.SchemaConfig getSchemaConfigs(int index)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig |
|
getSchemaConfigsBuilder(int index)
public StructuredMemoryConfig.SchemaConfig.Builder getSchemaConfigsBuilder(int index)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
getSchemaConfigsBuilderList()
public List<StructuredMemoryConfig.SchemaConfig.Builder> getSchemaConfigsBuilderList()Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSchemaConfigsCount()
public int getSchemaConfigsCount()Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSchemaConfigsList()
public List<StructuredMemoryConfig.SchemaConfig> getSchemaConfigsList()Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<SchemaConfig> |
|
getSchemaConfigsOrBuilder(int index)
public StructuredMemoryConfig.SchemaConfigOrBuilder getSchemaConfigsOrBuilder(int index)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfigOrBuilder |
|
getSchemaConfigsOrBuilderList()
public List<? extends StructuredMemoryConfig.SchemaConfigOrBuilder> getSchemaConfigsOrBuilderList()Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfigOrBuilder> |
|
getScopeKeys(int index)
public String getScopeKeys(int index)Optional. Represents the scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The scopeKeys at the given index. |
getScopeKeysBytes(int index)
public ByteString getScopeKeysBytes(int index)Optional. Represents the scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the scopeKeys at the given index. |
getScopeKeysCount()
public int getScopeKeysCount()Optional. Represents the scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of scopeKeys. |
getScopeKeysList()
public ProtocolStringList getScopeKeysList()Optional. Represents the scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the scopeKeys. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StructuredMemoryConfig other)
public StructuredMemoryConfig.Builder mergeFrom(StructuredMemoryConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
StructuredMemoryConfig |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StructuredMemoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StructuredMemoryConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
removeSchemaConfigs(int index)
public StructuredMemoryConfig.Builder removeSchemaConfigs(int index)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
setSchemaConfigs(int index, StructuredMemoryConfig.SchemaConfig value)
public StructuredMemoryConfig.Builder setSchemaConfigs(int index, StructuredMemoryConfig.SchemaConfig value)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StructuredMemoryConfig.SchemaConfig |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
setSchemaConfigs(int index, StructuredMemoryConfig.SchemaConfig.Builder builderForValue)
public StructuredMemoryConfig.Builder setSchemaConfigs(int index, StructuredMemoryConfig.SchemaConfig.Builder builderForValue)Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StructuredMemoryConfig.SchemaConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
|
setScopeKeys(int index, String value)
public StructuredMemoryConfig.Builder setScopeKeys(int index, String value)Optional. Represents the scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe scopeKeys to set. |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.Builder |
This builder for chaining. |