Class LargeModelReference.Builder (3.46.0)

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

Contains information about the Large Model.

Protobuf type google.cloud.aiplatform.v1beta1.LargeModelReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LargeModelReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LargeModelReference.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public LargeModelReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public LargeModelReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LargeModelReference.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LargeModelReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LargeModelReference.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LargeModelReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LargeModelReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LargeModelReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LargeModelReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LargeModelReference.Builder
Overrides