Class MemoryProfile.Builder (3.100.0)

public static final class MemoryProfile.Builder extends GeneratedMessage.Builder<MemoryProfile.Builder> implements MemoryProfileOrBuilder

A memory profile.

Protobuf type google.cloud.aiplatform.v1beta1.MemoryProfile

Static Methods

getDescriptor()

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

Methods

build()

public MemoryProfile build()
Returns
Type Description
MemoryProfile

buildPartial()

public MemoryProfile buildPartial()
Returns
Type Description
MemoryProfile

clear()

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

clearProfile()

public MemoryProfile.Builder clearProfile()

Represents the profile data.

.google.protobuf.Struct profile = 2;

Returns
Type Description
MemoryProfile.Builder

clearSchemaId()

public MemoryProfile.Builder clearSchemaId()

Represents the ID of the schema. This ID corresponds to the schema_id defined inside the SchemaConfig, under StructuredMemoryCustomizationConfig.

string schema_id = 1;

Returns
Type Description
MemoryProfile.Builder

This builder for chaining.

getDefaultInstanceForType()

public MemoryProfile getDefaultInstanceForType()
Returns
Type Description
MemoryProfile

getDescriptorForType()

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

getProfile()

public Struct getProfile()

Represents the profile data.

.google.protobuf.Struct profile = 2;

Returns
Type Description
Struct

The profile.

getProfileBuilder()

public Struct.Builder getProfileBuilder()

Represents the profile data.

.google.protobuf.Struct profile = 2;

Returns
Type Description
Builder

getProfileOrBuilder()

public StructOrBuilder getProfileOrBuilder()

Represents the profile data.

.google.protobuf.Struct profile = 2;

Returns
Type Description
StructOrBuilder

getSchemaId()

public String getSchemaId()

Represents the ID of the schema. This ID corresponds to the schema_id defined inside the SchemaConfig, under StructuredMemoryCustomizationConfig.

string schema_id = 1;

Returns
Type Description
String

The schemaId.

getSchemaIdBytes()

public ByteString getSchemaIdBytes()

Represents the ID of the schema. This ID corresponds to the schema_id defined inside the SchemaConfig, under StructuredMemoryCustomizationConfig.

string schema_id = 1;

Returns
Type Description
ByteString

The bytes for schemaId.

hasProfile()

public boolean hasProfile()

Represents the profile data.

.google.protobuf.Struct profile = 2;

Returns
Type Description
boolean

Whether the profile field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MemoryProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProfile(Struct value)

public MemoryProfile.Builder mergeProfile(Struct value)

Represents the profile data.

.google.protobuf.Struct profile = 2;

Parameter
Name Description
value Struct
Returns
Type Description
MemoryProfile.Builder

setProfile(Struct value)

public MemoryProfile.Builder setProfile(Struct value)

Represents the profile data.

.google.protobuf.Struct profile = 2;

Parameter
Name Description
value Struct
Returns
Type Description
MemoryProfile.Builder

setProfile(Struct.Builder builderForValue)

public MemoryProfile.Builder setProfile(Struct.Builder builderForValue)

Represents the profile data.

.google.protobuf.Struct profile = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MemoryProfile.Builder

setSchemaId(String value)

public MemoryProfile.Builder setSchemaId(String value)

Represents the ID of the schema. This ID corresponds to the schema_id defined inside the SchemaConfig, under StructuredMemoryCustomizationConfig.

string schema_id = 1;

Parameter
Name Description
value String

The schemaId to set.

Returns
Type Description
MemoryProfile.Builder

This builder for chaining.

setSchemaIdBytes(ByteString value)

public MemoryProfile.Builder setSchemaIdBytes(ByteString value)

Represents the ID of the schema. This ID corresponds to the schema_id defined inside the SchemaConfig, under StructuredMemoryCustomizationConfig.

string schema_id = 1;

Parameter
Name Description
value ByteString

The bytes for schemaId to set.

Returns
Type Description
MemoryProfile.Builder

This builder for chaining.