Send feedback
Class ModelGardenSource (3.61.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class ModelGardenSource extends GeneratedMessageV3 implements ModelGardenSourceOrBuilder
Contains information about the source of the models generated from Model
Garden.
Protobuf type google.cloud.aiplatform.v1beta1.ModelGardenSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int PUBLIC_MODEL_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SKIP_HF_MODEL_CACHE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int VERSION_ID_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ModelGardenSource getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ModelGardenSource . Builder newBuilder ()
public static ModelGardenSource . Builder newBuilder ( ModelGardenSource prototype )
public static ModelGardenSource parseDelimitedFrom ( InputStream input )
public static ModelGardenSource parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelGardenSource parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ModelGardenSource parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ModelGardenSource parseFrom ( ByteString data )
public static ModelGardenSource parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ModelGardenSource parseFrom ( CodedInputStream input )
public static ModelGardenSource parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelGardenSource parseFrom ( InputStream input )
public static ModelGardenSource parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelGardenSource parseFrom ( ByteBuffer data )
public static ModelGardenSource parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ModelGardenSource> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public ModelGardenSource getDefaultInstanceForType ()
public Parser<ModelGardenSource> getParserForType ()
Overrides
public String getPublicModelName ()
Required. The model garden source model resource name.
string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The publicModelName.
public ByteString getPublicModelNameBytes ()
Required. The model garden source model resource name.
string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for publicModelName.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean getSkipHfModelCache ()
Optional. Whether to avoid pulling the model from the HF cache.
bool skip_hf_model_cache = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
The skipHfModelCache.
public String getVersionId ()
Optional. The model garden source model version ID.
string version_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The versionId.
public ByteString getVersionIdBytes ()
Optional. The model garden source model version ID.
string version_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for versionId.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ModelGardenSource . Builder newBuilderForType ()
protected ModelGardenSource . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ModelGardenSource . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[],[]]