Class MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder (3.100.0)

public static final class MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder extends GeneratedMessage.Builder<MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder> implements MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopicOrBuilder

A custom memory topic defined by the developer.

Protobuf type google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic build()
Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic

buildPartial()

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic buildPartial()
Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic

clear()

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder clear()
Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder
Overrides

clearDescription()

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder clearDescription()

Required. Represents the description of the memory topic. This should explain what information should be extracted for this topic.

string description = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder

This builder for chaining.

clearLabel()

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder clearLabel()

Required. Represents the label of the topic.

string label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder

This builder for chaining.

getDefaultInstanceForType()

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic getDefaultInstanceForType()
Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic

getDescription()

public String getDescription()

Required. Represents the description of the memory topic. This should explain what information should be extracted for this topic.

string description = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Required. Represents the description of the memory topic. This should explain what information should be extracted for this topic.

string description = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabel()

public String getLabel()

Required. Represents the label of the topic.

string label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

Required. Represents the label of the topic.

string label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for label.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic other)

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder mergeFrom(MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic other)
Parameter
Name Description
other MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic
Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder
Overrides

setDescription(String value)

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder setDescription(String value)

Required. Represents the description of the memory topic. This should explain what information should be extracted for this topic.

string description = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder setDescriptionBytes(ByteString value)

Required. Represents the description of the memory topic. This should explain what information should be extracted for this topic.

string description = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder

This builder for chaining.

setLabel(String value)

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder setLabel(String value)

Required. Represents the label of the topic.

string label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The label to set.

Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder

This builder for chaining.

setLabelBytes(ByteString value)

public MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder setLabelBytes(ByteString value)

Required. Represents the label of the topic.

string label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for label to set.

Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic.CustomMemoryTopic.Builder

This builder for chaining.