ModelGardenSource class final
Contains information about the source of the models generated from Model Garden.
- Inheritance
-
- Object
- ProtoMessage
- ModelGardenSource
Constructors
- ModelGardenSource({required String publicModelName, String versionId = '', bool skipHfModelCache = false})
- ModelGardenSource.fromJson(Object? j)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicModelName → String
-
Required. The model garden source model resource name.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipHfModelCache → bool
-
Optional. Whether to avoid pulling the model from the HF cache.
final
- versionId → String
-
Optional. The model garden source model version ID.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String