Send feedback
Class Model.ExportFormat (3.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.23.0 keyboard_arrow_down
public static final class Model . ExportFormat extends GeneratedMessageV3 implements Model . ExportFormatOrBuilder
Represents export format supported by the Model.
All formats export to Google Cloud Storage.
Protobuf type google.cloud.aiplatform.v1beta1.Model.ExportFormat
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
EXPORTABLE_CONTENTS_FIELD_NUMBER
public static final int EXPORTABLE_CONTENTS_FIELD_NUMBER
Field Value Type Description int
public static final int ID_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static Model . ExportFormat getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Model . ExportFormat . Builder newBuilder ()
public static Model . ExportFormat . Builder newBuilder ( Model . ExportFormat prototype )
public static Model . ExportFormat parseDelimitedFrom ( InputStream input )
public static Model . ExportFormat parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Model . ExportFormat parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static Model . ExportFormat parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Model . ExportFormat parseFrom ( ByteString data )
public static Model . ExportFormat parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Model . ExportFormat parseFrom ( CodedInputStream input )
public static Model . ExportFormat parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Model . ExportFormat parseFrom ( InputStream input )
public static Model . ExportFormat parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Model . ExportFormat parseFrom ( ByteBuffer data )
public static Model . ExportFormat parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Model . ExportFormat > parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public Model . ExportFormat getDefaultInstanceForType ()
getExportableContents(int index)
public 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];
Parameter Name Description index
int
The index of the element to return.
getExportableContentsCount()
public 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 Type Description int
The count of exportableContents.
getExportableContentsList()
public 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];
getExportableContentsValue(int index)
public 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];
Parameter Name Description index
int
The index of the value to return.
Returns Type Description int
The enum numeric value on the wire of exportableContents at the given index.
getExportableContentsValueList()
public 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 Type Description List <Integer >
A list containing the enum numeric values on the wire for exportableContents.
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 Type Description String
The id.
public 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];
public Parser<Model . ExportFormat > getParserForType ()
Overrides
public int getSerializedSize ()
Returns Type Description int
Overrides
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Model . ExportFormat . Builder newBuilderForType ()
protected Model . ExportFormat . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public Model . ExportFormat . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]