public final class ModelGardenSource extends GeneratedMessage implements ModelGardenSourceOrBuilderContains information about the source of the models generated from Model Garden.
Protobuf type google.cloud.aiplatform.v1beta1.ModelGardenSource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ModelGardenSourceImplements
ModelGardenSourceOrBuilderStatic Fields
PUBLIC_MODEL_NAME_FIELD_NUMBER
public static final int PUBLIC_MODEL_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SKIP_HF_MODEL_CACHE_FIELD_NUMBER
public static final int SKIP_HF_MODEL_CACHE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VERSION_ID_FIELD_NUMBER
public static final int VERSION_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ModelGardenSource getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ModelGardenSource.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ModelGardenSource.Builder |
|
newBuilder(ModelGardenSource prototype)
public static ModelGardenSource.Builder newBuilder(ModelGardenSource prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ModelGardenSource |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource.Builder |
|
parseDelimitedFrom(InputStream input)
public static ModelGardenSource parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ModelGardenSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ModelGardenSource parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ModelGardenSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ModelGardenSource parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ModelGardenSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ModelGardenSource parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ModelGardenSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ModelGardenSource parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ModelGardenSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ModelGardenSource parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ModelGardenSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ModelGardenSource> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ModelGardenSource> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ModelGardenSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ModelGardenSource |
|
getParserForType()
public Parser<ModelGardenSource> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ModelGardenSource> |
|
getPublicModelName()
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. |
getPublicModelNameBytes()
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. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSkipHfModelCache()
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. |
getVersionId()
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. |
getVersionIdBytes()
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ModelGardenSource.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ModelGardenSource.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ModelGardenSource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ModelGardenSource.Builder |
|
toBuilder()
public ModelGardenSource.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ModelGardenSource.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|