Class LargeModelReference (3.31.0)

public final class LargeModelReference extends GeneratedMessageV3 implements LargeModelReferenceOrBuilder

Contains information about the Large Model.

Protobuf type google.cloud.aiplatform.v1beta1.LargeModelReference

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LargeModelReference getDefaultInstance()
Returns
TypeDescription
LargeModelReference

getDescriptor()

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

newBuilder()

public static LargeModelReference.Builder newBuilder()
Returns
TypeDescription
LargeModelReference.Builder

newBuilder(LargeModelReference prototype)

public static LargeModelReference.Builder newBuilder(LargeModelReference prototype)
Parameter
NameDescription
prototypeLargeModelReference
Returns
TypeDescription
LargeModelReference.Builder

parseDelimitedFrom(InputStream input)

public static LargeModelReference parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeModelReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LargeModelReference parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LargeModelReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LargeModelReference parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LargeModelReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LargeModelReference parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeModelReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LargeModelReference parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeModelReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LargeModelReference parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LargeModelReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeModelReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LargeModelReference> parser()
Returns
TypeDescription
Parser<LargeModelReference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LargeModelReference getDefaultInstanceForType()
Returns
TypeDescription
LargeModelReference

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.

getParserForType()

public Parser<LargeModelReference> getParserForType()
Returns
TypeDescription
Parser<LargeModelReference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LargeModelReference.Builder newBuilderForType()
Returns
TypeDescription
LargeModelReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LargeModelReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LargeModelReference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LargeModelReference.Builder toBuilder()
Returns
TypeDescription
LargeModelReference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException