public static final class CreateMemoryRequest.Builder extends GeneratedMessage.Builder<CreateMemoryRequest.Builder> implements CreateMemoryRequestOrBuilderRequest message for MemoryBankService.CreateMemory.
Protobuf type google.cloud.aiplatform.v1beta1.CreateMemoryRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateMemoryRequest.BuilderImplements
CreateMemoryRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateMemoryRequest build()| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest |
|
buildPartial()
public CreateMemoryRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest |
|
clear()
public CreateMemoryRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
|
clearMemory()
public CreateMemoryRequest.Builder clearMemory()Required. The Memory to be created.
.google.cloud.aiplatform.v1beta1.Memory memory = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
|
clearMemoryId()
public CreateMemoryRequest.Builder clearMemoryId()Optional. The user defined ID to use for memory, which will become the final component of the memory resource name. If not provided, Vertex AI will generate a value for this ID.
This value may be up to 63 characters, and valid characters are
[a-z0-9-]. The first character must be a letter, and the last character
must be a letter or number.
string memory_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
This builder for chaining. |
clearParent()
public CreateMemoryRequest.Builder clearParent() Required. The resource name of the ReasoningEngine to create the Memory
under. Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateMemoryRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMemory()
public Memory getMemory()Required. The Memory to be created.
.google.cloud.aiplatform.v1beta1.Memory memory = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Memory |
The memory. |
getMemoryBuilder()
public Memory.Builder getMemoryBuilder()Required. The Memory to be created.
.google.cloud.aiplatform.v1beta1.Memory memory = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
getMemoryId()
public String getMemoryId()Optional. The user defined ID to use for memory, which will become the final component of the memory resource name. If not provided, Vertex AI will generate a value for this ID.
This value may be up to 63 characters, and valid characters are
[a-z0-9-]. The first character must be a letter, and the last character
must be a letter or number.
string memory_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The memoryId. |
getMemoryIdBytes()
public ByteString getMemoryIdBytes()Optional. The user defined ID to use for memory, which will become the final component of the memory resource name. If not provided, Vertex AI will generate a value for this ID.
This value may be up to 63 characters, and valid characters are
[a-z0-9-]. The first character must be a letter, and the last character
must be a letter or number.
string memory_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for memoryId. |
getMemoryOrBuilder()
public MemoryOrBuilder getMemoryOrBuilder()Required. The Memory to be created.
.google.cloud.aiplatform.v1beta1.Memory memory = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MemoryOrBuilder |
|
getParent()
public String getParent() Required. The resource name of the ReasoningEngine to create the Memory
under. Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The resource name of the ReasoningEngine to create the Memory
under. Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasMemory()
public boolean hasMemory()Required. The Memory to be created.
.google.cloud.aiplatform.v1beta1.Memory memory = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the memory field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateMemoryRequest other)
public CreateMemoryRequest.Builder mergeFrom(CreateMemoryRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateMemoryRequest |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateMemoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateMemoryRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
|
mergeMemory(Memory value)
public CreateMemoryRequest.Builder mergeMemory(Memory value)Required. The Memory to be created.
.google.cloud.aiplatform.v1beta1.Memory memory = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Memory |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
|
setMemory(Memory value)
public CreateMemoryRequest.Builder setMemory(Memory value)Required. The Memory to be created.
.google.cloud.aiplatform.v1beta1.Memory memory = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Memory |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
|
setMemory(Memory.Builder builderForValue)
public CreateMemoryRequest.Builder setMemory(Memory.Builder builderForValue)Required. The Memory to be created.
.google.cloud.aiplatform.v1beta1.Memory memory = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Memory.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
|
setMemoryId(String value)
public CreateMemoryRequest.Builder setMemoryId(String value)Optional. The user defined ID to use for memory, which will become the final component of the memory resource name. If not provided, Vertex AI will generate a value for this ID.
This value may be up to 63 characters, and valid characters are
[a-z0-9-]. The first character must be a letter, and the last character
must be a letter or number.
string memory_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe memoryId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
This builder for chaining. |
setMemoryIdBytes(ByteString value)
public CreateMemoryRequest.Builder setMemoryIdBytes(ByteString value)Optional. The user defined ID to use for memory, which will become the final component of the memory resource name. If not provided, Vertex AI will generate a value for this ID.
This value may be up to 63 characters, and valid characters are
[a-z0-9-]. The first character must be a letter, and the last character
must be a letter or number.
string memory_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for memoryId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateMemoryRequest.Builder setParent(String value) Required. The resource name of the ReasoningEngine to create the Memory
under. Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateMemoryRequest.Builder setParentBytes(ByteString value) Required. The resource name of the ReasoningEngine to create the Memory
under. Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMemoryRequest.Builder |
This builder for chaining. |