Interface PreTunedModelOrBuilder (3.75.0)

public interface PreTunedModelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseModel()

public abstract String getBaseModel()

Output only. The name of the base model this PreTunedModel was tuned from.

string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The baseModel.

getBaseModelBytes()

public abstract ByteString getBaseModelBytes()

Output only. The name of the base model this PreTunedModel was tuned from.

string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for baseModel.

getCheckpointId()

public abstract String getCheckpointId()

Optional. The source checkpoint id. If not specified, the default checkpoint will be used.

string checkpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The checkpointId.

getCheckpointIdBytes()

public abstract ByteString getCheckpointIdBytes()

Optional. The source checkpoint id. If not specified, the default checkpoint will be used.

string checkpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for checkpointId.

getTunedModelName()

public abstract String getTunedModelName()

The resource name of the Model. E.g., a model resource name with a specified version id or alias:

projects/{project}/locations/{location}/models/{model}@{version_id}

projects/{project}/locations/{location}/models/{model}@{alias}

Or, omit the version id to use the default version:

projects/{project}/locations/{location}/models/{model}

string tuned_model_name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The tunedModelName.

getTunedModelNameBytes()

public abstract ByteString getTunedModelNameBytes()

The resource name of the Model. E.g., a model resource name with a specified version id or alias:

projects/{project}/locations/{location}/models/{model}@{version_id}

projects/{project}/locations/{location}/models/{model}@{alias}

Or, omit the version id to use the default version:

projects/{project}/locations/{location}/models/{model}

string tuned_model_name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for tunedModelName.