Interface ModelGardenSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ModelGardenSource, ModelGardenSource.Builder

@Generated public interface ModelGardenSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPublicModelName

      String getPublicModelName()
       Required. The model garden source model resource name.
       
      string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The publicModelName.
    • getPublicModelNameBytes

      com.google.protobuf.ByteString getPublicModelNameBytes()
       Required. The model garden source model resource name.
       
      string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for publicModelName.
    • getVersionId

      String getVersionId()
       Optional. The model garden source model version ID.
       
      string version_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The versionId.
    • getVersionIdBytes

      com.google.protobuf.ByteString getVersionIdBytes()
       Optional. The model garden source model version ID.
       
      string version_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for versionId.
    • getSkipHfModelCache

      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:
      The skipHfModelCache.