Class LargeModelReference.Builder (3.84.0)

public static final class LargeModelReference.Builder extends GeneratedMessage.Builder<LargeModelReference.Builder> implements LargeModelReferenceOrBuilder

Contains information about the Large Model.

Protobuf type google.cloud.aiplatform.v1.LargeModelReference

Static Methods

getDescriptor()

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

Methods

build()

public LargeModelReference build()
Returns
Type Description
LargeModelReference

buildPartial()

public LargeModelReference buildPartial()
Returns
Type Description
LargeModelReference

clear()

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

clearName()

public LargeModelReference.Builder clearName()

Required. The unique name of the large Foundation or pre-built model. Like "chat-bison", "text-bison". Or model name with version ID, like "chat-bison@001", "text-bison@005", etc.

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

Returns
Type Description
LargeModelReference.Builder

This builder for chaining.

getDefaultInstanceForType()

public LargeModelReference getDefaultInstanceForType()
Returns
Type Description
LargeModelReference

getDescriptorForType()

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

getName()

public String getName()

Required. The unique name of the large Foundation or pre-built model. Like "chat-bison", "text-bison". Or model name with version ID, like "chat-bison@001", "text-bison@005", etc.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The unique name of the large Foundation or pre-built model. Like "chat-bison", "text-bison". Or model name with version ID, like "chat-bison@001", "text-bison@005", etc.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LargeModelReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public LargeModelReference.Builder setName(String value)

Required. The unique name of the large Foundation or pre-built model. Like "chat-bison", "text-bison". Or model name with version ID, like "chat-bison@001", "text-bison@005", etc.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LargeModelReference.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LargeModelReference.Builder setNameBytes(ByteString value)

Required. The unique name of the large Foundation or pre-built model. Like "chat-bison", "text-bison". Or model name with version ID, like "chat-bison@001", "text-bison@005", etc.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
LargeModelReference.Builder

This builder for chaining.