- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class Model.ExportFormat.Builder extends 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.v1beta1.Model.ExportFormat
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Model.ExportFormat.BuilderImplements
Model.ExportFormatOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllExportableContents(Iterable<? extends Model.ExportFormat.ExportableContent> values)
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.v1beta1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.Model.ExportFormat.ExportableContent> The exportableContents to add. |
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
addAllExportableContentsValue(Iterable<Integer> values)
public Model.ExportFormat.Builder addAllExportableContentsValue(Iterable<Integer> values)
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];
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for exportableContents to add. |
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
addExportableContents(Model.ExportFormat.ExportableContent value)
public Model.ExportFormat.Builder addExportableContents(Model.ExportFormat.ExportableContent value)
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];
Name | Description |
value | Model.ExportFormat.ExportableContent The exportableContents to add. |
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
addExportableContentsValue(int value)
public Model.ExportFormat.Builder addExportableContentsValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for exportableContents to add. |
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Model.ExportFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Model.ExportFormat.Builder |
build()
public Model.ExportFormat build()
Type | Description |
Model.ExportFormat |
buildPartial()
public Model.ExportFormat buildPartial()
Type | Description |
Model.ExportFormat |
clear()
public Model.ExportFormat.Builder clear()
Type | Description |
Model.ExportFormat.Builder |
clearExportableContents()
public Model.ExportFormat.Builder clearExportableContents()
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];
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Model.ExportFormat.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Model.ExportFormat.Builder |
clearId()
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 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];
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Model.ExportFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Model.ExportFormat.Builder |
clone()
public Model.ExportFormat.Builder clone()
Type | Description |
Model.ExportFormat.Builder |
getDefaultInstanceForType()
public Model.ExportFormat getDefaultInstanceForType()
Type | Description |
Model.ExportFormat |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Name | Description |
index | int The index of the element to return. |
Type | Description |
Model.ExportFormat.ExportableContent | The exportableContents at the given index. |
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];
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];
Type | Description |
List<ExportableContent> | A list containing the exportableContents. |
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];
Name | Description |
index | int The index of the value to return. |
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];
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for exportableContents. |
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 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];
Type | Description |
String | The id. |
getIdBytes()
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];
Type | Description |
ByteString | The bytes for id. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Model.ExportFormat other)
public Model.ExportFormat.Builder mergeFrom(Model.ExportFormat other)
Name | Description |
other | Model.ExportFormat |
Type | Description |
Model.ExportFormat.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Model.ExportFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Model.ExportFormat.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Model.ExportFormat.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Model.ExportFormat.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Model.ExportFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Model.ExportFormat.Builder |
setExportableContents(int index, Model.ExportFormat.ExportableContent value)
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.v1beta1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index to set the value at. |
value | Model.ExportFormat.ExportableContent The exportableContents to set. |
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
setExportableContentsValue(int index, int value)
public Model.ExportFormat.Builder setExportableContentsValue(int index, int value)
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];
Name | Description |
index | int The index of the value to return. |
value | int |
Type | Description |
Model.ExportFormat.Builder | The enum numeric value on the wire of exportableContents at the given index. |
setField(Descriptors.FieldDescriptor field, Object value)
public Model.ExportFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Model.ExportFormat.Builder |
setId(String value)
public 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 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];
Name | Description |
value | String The id to set. |
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public Model.ExportFormat.Builder setIdBytes(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 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];
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Model.ExportFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Model.ExportFormat.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Model.ExportFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Model.ExportFormat.Builder |