public static final class Model.ExportFormat.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder> implements Model.ExportFormatOrBuilder
Represents export format supported by the Model. All formats export to Google Cloud Storage.Protobuf type
google.cloud.aiplatform.v1.Model.ExportFormatgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public Model.ExportFormat.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public Model.ExportFormat getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Model.ExportFormat build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Model.ExportFormat buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Model.ExportFormat.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public Model.ExportFormat.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public Model.ExportFormat.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public Model.ExportFormat.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public Model.ExportFormat.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public Model.ExportFormat.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public Model.ExportFormat.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Model.ExportFormat.Builder>public Model.ExportFormat.Builder mergeFrom(Model.ExportFormat other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public Model.ExportFormat.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Model.ExportFormat.Builder>IOExceptionpublic 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];getId in interface Model.ExportFormatOrBuilderpublic 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];getIdBytes in interface Model.ExportFormatOrBuilderpublic Model.ExportFormat.Builder setId(String value)
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];value - The id to set.public Model.ExportFormat.Builder clearId()
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];public Model.ExportFormat.Builder setIdBytes(com.google.protobuf.ByteString value)
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];value - The bytes for id to set.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];
getExportableContentsList in interface Model.ExportFormatOrBuilderpublic 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];
getExportableContentsCount in interface Model.ExportFormatOrBuilderpublic 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];
getExportableContents in interface Model.ExportFormatOrBuilderindex - The index of the element to return.public Model.ExportFormat.Builder setExportableContents(int index, Model.ExportFormat.ExportableContent value)
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];
index - The index to set the value at.value - The exportableContents to set.public Model.ExportFormat.Builder addExportableContents(Model.ExportFormat.ExportableContent value)
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];
value - The exportableContents to add.public Model.ExportFormat.Builder addAllExportableContents(Iterable<? extends Model.ExportFormat.ExportableContent> values)
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];
values - The exportableContents to add.public Model.ExportFormat.Builder clearExportableContents()
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];
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];
getExportableContentsValueList in interface Model.ExportFormatOrBuilderpublic 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];
getExportableContentsValue in interface Model.ExportFormatOrBuilderindex - The index of the value to return.public Model.ExportFormat.Builder setExportableContentsValue(int index, int value)
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];
index - The index to set the value at.value - The enum numeric value on the wire for exportableContents to set.public Model.ExportFormat.Builder addExportableContentsValue(int value)
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];
value - The enum numeric value on the wire for exportableContents to add.public Model.ExportFormat.Builder addAllExportableContentsValue(Iterable<Integer> values)
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];
values - The enum numeric values on the wire for exportableContents to add.public final Model.ExportFormat.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>public final Model.ExportFormat.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Model.ExportFormat.Builder>Copyright © 2023 Google LLC. All rights reserved.