Class IntermediateExtractedMemory.Builder (3.100.0)

public static final class IntermediateExtractedMemory.Builder extends GeneratedMessage.Builder<IntermediateExtractedMemory.Builder> implements IntermediateExtractedMemoryOrBuilder

An extracted memory that is the intermediate result before consolidation.

Protobuf type google.cloud.aiplatform.v1beta1.IntermediateExtractedMemory

Static Methods

getDescriptor()

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

Methods

build()

public IntermediateExtractedMemory build()
Returns
Type Description
IntermediateExtractedMemory

buildPartial()

public IntermediateExtractedMemory buildPartial()
Returns
Type Description
IntermediateExtractedMemory

clear()

public IntermediateExtractedMemory.Builder clear()
Returns
Type Description
IntermediateExtractedMemory.Builder
Overrides

clearContext()

public IntermediateExtractedMemory.Builder clearContext()

Output only. Represents the explanation of why the information was extracted from the source content.

string context = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntermediateExtractedMemory.Builder

This builder for chaining.

clearFact()

public IntermediateExtractedMemory.Builder clearFact()

Output only. Represents the fact of the extracted memory.

string fact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntermediateExtractedMemory.Builder

This builder for chaining.

clearStructuredData()

public IntermediateExtractedMemory.Builder clearStructuredData()

Output only. Represents the structured value of the extracted memory.

.google.protobuf.Struct structured_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntermediateExtractedMemory.Builder

getContext()

public String getContext()

Output only. Represents the explanation of why the information was extracted from the source content.

string context = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The context.

getContextBytes()

public ByteString getContextBytes()

Output only. Represents the explanation of why the information was extracted from the source content.

string context = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for context.

getDefaultInstanceForType()

public IntermediateExtractedMemory getDefaultInstanceForType()
Returns
Type Description
IntermediateExtractedMemory

getDescriptorForType()

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

getFact()

public String getFact()

Output only. Represents the fact of the extracted memory.

string fact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The fact.

getFactBytes()

public ByteString getFactBytes()

Output only. Represents the fact of the extracted memory.

string fact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for fact.

getStructuredData()

public Struct getStructuredData()

Output only. Represents the structured value of the extracted memory.

.google.protobuf.Struct structured_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The structuredData.

getStructuredDataBuilder()

public Struct.Builder getStructuredDataBuilder()

Output only. Represents the structured value of the extracted memory.

.google.protobuf.Struct structured_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStructuredDataOrBuilder()

public StructOrBuilder getStructuredDataOrBuilder()

Output only. Represents the structured value of the extracted memory.

.google.protobuf.Struct structured_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

hasStructuredData()

public boolean hasStructuredData()

Output only. Represents the structured value of the extracted memory.

.google.protobuf.Struct structured_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the structuredData field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IntermediateExtractedMemory other)

public IntermediateExtractedMemory.Builder mergeFrom(IntermediateExtractedMemory other)
Parameter
Name Description
other IntermediateExtractedMemory
Returns
Type Description
IntermediateExtractedMemory.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public IntermediateExtractedMemory.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IntermediateExtractedMemory.Builder
Overrides

mergeStructuredData(Struct value)

public IntermediateExtractedMemory.Builder mergeStructuredData(Struct value)

Output only. Represents the structured value of the extracted memory.

.google.protobuf.Struct structured_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Struct
Returns
Type Description
IntermediateExtractedMemory.Builder

setContext(String value)

public IntermediateExtractedMemory.Builder setContext(String value)

Output only. Represents the explanation of why the information was extracted from the source content.

string context = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The context to set.

Returns
Type Description
IntermediateExtractedMemory.Builder

This builder for chaining.

setContextBytes(ByteString value)

public IntermediateExtractedMemory.Builder setContextBytes(ByteString value)

Output only. Represents the explanation of why the information was extracted from the source content.

string context = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for context to set.

Returns
Type Description
IntermediateExtractedMemory.Builder

This builder for chaining.

setFact(String value)

public IntermediateExtractedMemory.Builder setFact(String value)

Output only. Represents the fact of the extracted memory.

string fact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The fact to set.

Returns
Type Description
IntermediateExtractedMemory.Builder

This builder for chaining.

setFactBytes(ByteString value)

public IntermediateExtractedMemory.Builder setFactBytes(ByteString value)

Output only. Represents the fact of the extracted memory.

string fact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for fact to set.

Returns
Type Description
IntermediateExtractedMemory.Builder

This builder for chaining.

setStructuredData(Struct value)

public IntermediateExtractedMemory.Builder setStructuredData(Struct value)

Output only. Represents the structured value of the extracted memory.

.google.protobuf.Struct structured_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Struct
Returns
Type Description
IntermediateExtractedMemory.Builder

setStructuredData(Struct.Builder builderForValue)

public IntermediateExtractedMemory.Builder setStructuredData(Struct.Builder builderForValue)

Output only. Represents the structured value of the extracted memory.

.google.protobuf.Struct structured_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IntermediateExtractedMemory.Builder