Class LargeModelReference.Builder (3.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LargeModelReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LargeModelReference.Builder
Overrides

build()

public LargeModelReference build()
Returns
TypeDescription
LargeModelReference

buildPartial()

public LargeModelReference buildPartial()
Returns
TypeDescription
LargeModelReference

clear()

public LargeModelReference.Builder clear()
Returns
TypeDescription
LargeModelReference.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LargeModelReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
LargeModelReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LargeModelReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LargeModelReference.Builder
Overrides

clone()

public LargeModelReference.Builder clone()
Returns
TypeDescription
LargeModelReference.Builder
Overrides

getDefaultInstanceForType()

public LargeModelReference getDefaultInstanceForType()
Returns
TypeDescription
LargeModelReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LargeModelReference other)

public LargeModelReference.Builder mergeFrom(LargeModelReference other)
Parameter
NameDescription
otherLargeModelReference
Returns
TypeDescription
LargeModelReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LargeModelReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeModelReference.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LargeModelReference.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LargeModelReference.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LargeModelReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LargeModelReference.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LargeModelReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LargeModelReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LargeModelReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LargeModelReference.Builder
Overrides