Class Memory.StructuredContent (3.100.0)

public static final class Memory.StructuredContent extends GeneratedMessage implements Memory.StructuredContentOrBuilder

Represents the structured value of the memory.

Protobuf type google.cloud.aiplatform.v1beta1.Memory.StructuredContent

Static Fields

DATA_FIELD_NUMBER

public static final int DATA_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_ID_FIELD_NUMBER

public static final int SCHEMA_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Memory.StructuredContent getDefaultInstance()
Returns
Type Description
Memory.StructuredContent

getDescriptor()

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

newBuilder()

public static Memory.StructuredContent.Builder newBuilder()
Returns
Type Description
Memory.StructuredContent.Builder

newBuilder(Memory.StructuredContent prototype)

public static Memory.StructuredContent.Builder newBuilder(Memory.StructuredContent prototype)
Parameter
Name Description
prototype Memory.StructuredContent
Returns
Type Description
Memory.StructuredContent.Builder

parseDelimitedFrom(InputStream input)

public static Memory.StructuredContent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Memory.StructuredContent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Memory.StructuredContent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Memory.StructuredContent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Memory.StructuredContent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Memory.StructuredContent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Memory.StructuredContent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Memory.StructuredContent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Memory.StructuredContent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Memory.StructuredContent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Memory.StructuredContent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Memory.StructuredContent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Memory.StructuredContent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Memory.StructuredContent> parser()
Returns
Type Description
Parser<StructuredContent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getData()

public Struct getData()

Required. Represents the structured value of the memory.

.google.protobuf.Struct data = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Struct

The data.

getDataOrBuilder()

public StructOrBuilder getDataOrBuilder()

Required. Represents the structured value of the memory.

.google.protobuf.Struct data = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public Memory.StructuredContent getDefaultInstanceForType()
Returns
Type Description
Memory.StructuredContent

getParserForType()

public Parser<Memory.StructuredContent> getParserForType()
Returns
Type Description
Parser<StructuredContent>
Overrides

getSchemaId()

public String getSchemaId()

Required. Represents the schema ID for which this structured memory belongs to.

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

Returns
Type Description
String

The schemaId.

getSchemaIdBytes()

public ByteString getSchemaIdBytes()

Required. Represents the schema ID for which this structured memory belongs to.

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

Returns
Type Description
ByteString

The bytes for schemaId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasData()

public boolean hasData()

Required. Represents the structured value of the memory.

.google.protobuf.Struct data = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the data field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Memory.StructuredContent.Builder newBuilderForType()
Returns
Type Description
Memory.StructuredContent.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Memory.StructuredContent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Memory.StructuredContent.Builder
Overrides

toBuilder()

public Memory.StructuredContent.Builder toBuilder()
Returns
Type Description
Memory.StructuredContent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException