Class Model.ExportFormat

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.Model.ExportFormat
All Implemented Interfaces:
Model.ExportFormatOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Model

public static final class Model.ExportFormat extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • EXPORTABLE_CONTENTS_FIELD_NUMBER

      public static final int EXPORTABLE_CONTENTS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getId

      public 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];
      Specified by:
      getId in interface Model.ExportFormatOrBuilder
      Returns:
      The id.
    • getIdBytes

      public 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];
      Specified by:
      getIdBytes in interface Model.ExportFormatOrBuilder
      Returns:
      The bytes for id.
    • 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];
      Specified by:
      getExportableContentsList in interface Model.ExportFormatOrBuilder
      Returns:
      A list containing the exportableContents.
    • 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];
      Specified by:
      getExportableContentsCount in interface Model.ExportFormatOrBuilder
      Returns:
      The count of exportableContents.
    • getExportableContents

      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];
      Specified by:
      getExportableContents in interface Model.ExportFormatOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The 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];
      Specified by:
      getExportableContentsValueList in interface Model.ExportFormatOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for exportableContents.
    • getExportableContentsValue

      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];
      Specified by:
      getExportableContentsValue in interface Model.ExportFormatOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of exportableContents at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Model.ExportFormat parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Model.ExportFormat parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Model.ExportFormat parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Model.ExportFormat parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Model.ExportFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Model.ExportFormat parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Model.ExportFormat parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Model.ExportFormat parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Model.ExportFormat parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Model.ExportFormat parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Model.ExportFormat parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Model.ExportFormat parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Model.ExportFormat.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Model.ExportFormat.Builder newBuilder()
    • newBuilder

      public static Model.ExportFormat.Builder newBuilder(Model.ExportFormat prototype)
    • toBuilder

      public Model.ExportFormat.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Model.ExportFormat.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Model.ExportFormat getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Model.ExportFormat> parser()
    • getParserForType

      public com.google.protobuf.Parser<Model.ExportFormat> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Model.ExportFormat getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder