- 3.52.0 (latest)
- 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.v1.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()
Returns | |
---|---|
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.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.Model.ExportFormat.ExportableContent> The exportableContents to add. |
Returns | |
---|---|
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.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for exportableContents to add. |
Returns | |
---|---|
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.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Model.ExportFormat.ExportableContent The exportableContents to add. |
Returns | |
---|---|
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.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for exportableContents to add. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder |
build()
public Model.ExportFormat build()
Returns | |
---|---|
Type | Description |
Model.ExportFormat |
buildPartial()
public Model.ExportFormat buildPartial()
Returns | |
---|---|
Type | Description |
Model.ExportFormat |
clear()
public Model.ExportFormat.Builder clear()
Returns | |
---|---|
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.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Model.ExportFormat.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Model.ExportFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder |
clone()
public Model.ExportFormat.Builder clone()
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder |
getDefaultInstanceForType()
public Model.ExportFormat getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Model.ExportFormat |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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.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. |
Returns | |
---|---|
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.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];
Returns | |
---|---|
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.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. |
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Model.ExportFormat other)
public Model.ExportFormat.Builder mergeFrom(Model.ExportFormat other)
Parameter | |
---|---|
Name | Description |
other | Model.ExportFormat |
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Model.ExportFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Model.ExportFormat.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Model.ExportFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | Model.ExportFormat.ExportableContent The exportableContents to set. |
Returns | |
---|---|
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.v1.Model.ExportFormat.ExportableContent exportable_contents = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for exportableContents to set. |
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Model.ExportFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The id to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for id to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Model.ExportFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Model.ExportFormat.Builder |