Interface Model.ExportFormatOrBuilder (3.18.0)

public static interface Model.ExportFormatOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExportableContents(int index)

public abstract Model.ExportFormat.ExportableContent getExportableContents(int index)

Output only. The content of this Model that may be exported.

repeated .google.cloud.aiplatform.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
Model.ExportFormat.ExportableContent

The exportableContents at the given index.

getExportableContentsCount()

public abstract int getExportableContentsCount()

Output only. The content of this Model that may be exported.

repeated .google.cloud.aiplatform.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of exportableContents.

getExportableContentsList()

public abstract List<Model.ExportFormat.ExportableContent> getExportableContentsList()

Output only. The content of this Model that may be exported.

repeated .google.cloud.aiplatform.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<ExportableContent>

A list containing the exportableContents.

getExportableContentsValue(int index)

public abstract int getExportableContentsValue(int index)

Output only. The content of this Model that may be exported.

repeated .google.cloud.aiplatform.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of exportableContents at the given index.

getExportableContentsValueList()

public abstract List<Integer> getExportableContentsValueList()

Output only. The content of this Model that may be exported.

repeated .google.cloud.aiplatform.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for exportableContents.

getId()

public abstract String getId()

Output only. The ID of the export format. The possible format IDs are:

  • tflite Used for Android mobile devices.
  • edgetpu-tflite Used for Edge TPU devices.
  • tf-saved-model A tensorflow model in SavedModel format.
  • tf-js A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript.
  • core-ml Used for iOS mobile devices.
  • custom-trained A Model that was uploaded or trained by custom code.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Output only. The ID of the export format. The possible format IDs are:

  • tflite Used for Android mobile devices.
  • edgetpu-tflite Used for Edge TPU devices.
  • tf-saved-model A tensorflow model in SavedModel format.
  • tf-js A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript.
  • core-ml Used for iOS mobile devices.
  • custom-trained A Model that was uploaded or trained by custom code.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for id.