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
Static Fields
EXPORTABLE_CONTENTS_FIELD_NUMBER
public static final int EXPORTABLE_CONTENTS_FIELD_NUMBER
Field Value
public static final int ID_FIELD_NUMBER
Field Value
Static Methods
public static Model.ExportFormat getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Model.ExportFormat.Builder newBuilder()
Returns
public static Model.ExportFormat.Builder newBuilder(Model.ExportFormat prototype)
Parameter
Returns
public static Model.ExportFormat parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Model.ExportFormat parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Model.ExportFormat parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Model.ExportFormat parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Model.ExportFormat parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Model.ExportFormat parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Model.ExportFormat parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Model.ExportFormat parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Model.ExportFormat parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Model.ExportFormat parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Model.ExportFormat parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Model.ExportFormat parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Model.ExportFormat> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Model.ExportFormat getDefaultInstanceForType()
Returns
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.
|
Returns
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];
Returns
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
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
public Parser<Model.ExportFormat> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Model.ExportFormat.Builder newBuilderForType()
Returns
protected Model.ExportFormat.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Model.ExportFormat.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions