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.v1.Model.ExportFormat
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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.v1.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.v1.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.v1.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.v1.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.v1.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];
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
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)
Returns |
Type |
Description |
Object |
|
Overrides
public Model.ExportFormat.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides