Interface Model.ExportFormatOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Model.ExportFormat
,Model.ExportFormat.Builder
- Enclosing class:
- Model
public static interface Model.ExportFormatOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Model.ExportFormat.ExportableContent
getExportableContents(int index)
Output only.int
getExportableContentsCount()
Output only.List<Model.ExportFormat.ExportableContent>
getExportableContentsList()
Output only.int
getExportableContentsValue(int index)
Output only.List<Integer>
getExportableContentsValueList()
Output only.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
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](https://cloud.google.com/edge-tpu/) devices. * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js` A [TensorFlow.js](https://www.tensorflow.org/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:
- The id.
-
getIdBytes
com.google.protobuf.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](https://cloud.google.com/edge-tpu/) devices. * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js` A [TensorFlow.js](https://www.tensorflow.org/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:
- The bytes for id.
-
getExportableContentsList
List<Model.ExportFormat.ExportableContent> getExportableContentsList()
Output only. The content of this Model that may be exported.
repeated .google.cloud.aiplatform.v1beta1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- A list containing the exportableContents.
-
getExportableContentsCount
int getExportableContentsCount()
Output only. The content of this Model that may be exported.
repeated .google.cloud.aiplatform.v1beta1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The count of exportableContents.
-
getExportableContents
Model.ExportFormat.ExportableContent getExportableContents(int index)
Output only. The content of this Model that may be exported.
repeated .google.cloud.aiplatform.v1beta1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
index
- The index of the element to return.- Returns:
- The exportableContents at the given index.
-
getExportableContentsValueList
List<Integer> getExportableContentsValueList()
Output only. The content of this Model that may be exported.
repeated .google.cloud.aiplatform.v1beta1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- A list containing the enum numeric values on the wire for exportableContents.
-
getExportableContentsValue
int getExportableContentsValue(int index)
Output only. The content of this Model that may be exported.
repeated .google.cloud.aiplatform.v1beta1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of exportableContents at the given index.
-
-