Class Model.LargeModelReference.Builder (3.14.0)

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

Contains information about the Large Model.

Protobuf type google.cloud.aiplatform.v1beta1.Model.LargeModelReference

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Model.LargeModelReference build()
Returns
TypeDescription
Model.LargeModelReference

buildPartial()

public Model.LargeModelReference buildPartial()
Returns
TypeDescription
Model.LargeModelReference

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Model.LargeModelReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Model.LargeModelReference.Builder
Overrides

clearName()

public Model.LargeModelReference.Builder clearName()

Required. The unique name of the large Foundation or pre-built model. Like "chat-panda", "text-panda".

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

Returns
TypeDescription
Model.LargeModelReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Model.LargeModelReference getDefaultInstanceForType()
Returns
TypeDescription
Model.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-panda", "text-panda".

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-panda", "text-panda".

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(Model.LargeModelReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Model.LargeModelReference.Builder setName(String value)

Required. The unique name of the large Foundation or pre-built model. Like "chat-panda", "text-panda".

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Model.LargeModelReference.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Model.LargeModelReference.Builder setNameBytes(ByteString value)

Required. The unique name of the large Foundation or pre-built model. Like "chat-panda", "text-panda".

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Model.LargeModelReference.Builder

This builder for chaining.

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

public Model.LargeModelReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Model.LargeModelReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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