Package com.google.cloud.visionai.v1
Class CustomProcessorSourceInfo.ModelSchema.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
com.google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema.Builder
- All Implemented Interfaces:
CustomProcessorSourceInfo.ModelSchemaOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CustomProcessorSourceInfo.ModelSchema
public static final class CustomProcessorSourceInfo.ModelSchema.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
implements CustomProcessorSourceInfo.ModelSchemaOrBuilder
The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).Protobuf type
google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.Cloud Storage location to a YAML file that defines the prediction and explanation parameters.Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.Cloud Storage location to a YAML file that defines the prediction and explanation parameters.Cloud Storage location to a YAML file that defines the prediction and explanation parameters.Cloud Storage location to a YAML file that defines the prediction and explanation parameters.Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.booleanCloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.booleanCloud Storage location to a YAML file that defines the prediction and explanation parameters.booleanCloud Storage location to a YAML file that defines the format of a single prediction or explanation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInstancesSchema(GcsSource value) Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.mergeParametersSchema(GcsSource value) Cloud Storage location to a YAML file that defines the prediction and explanation parameters.mergePredictionsSchema(GcsSource value) Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.setInstancesSchema(GcsSource value) Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.setInstancesSchema(GcsSource.Builder builderForValue) Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.setParametersSchema(GcsSource value) Cloud Storage location to a YAML file that defines the prediction and explanation parameters.setParametersSchema(GcsSource.Builder builderForValue) Cloud Storage location to a YAML file that defines the prediction and explanation parameters.setPredictionsSchema(GcsSource value) Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.setPredictionsSchema(GcsSource.Builder builderForValue) Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
-
mergeFrom
public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(CustomProcessorSourceInfo.ModelSchema other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
-
mergeFrom
public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>- Throws:
IOException
-
hasInstancesSchema
public boolean hasInstancesSchema()Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1;- Specified by:
hasInstancesSchemain interfaceCustomProcessorSourceInfo.ModelSchemaOrBuilder- Returns:
- Whether the instancesSchema field is set.
-
getInstancesSchema
Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1;- Specified by:
getInstancesSchemain interfaceCustomProcessorSourceInfo.ModelSchemaOrBuilder- Returns:
- The instancesSchema.
-
setInstancesSchema
Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1; -
setInstancesSchema
public CustomProcessorSourceInfo.ModelSchema.Builder setInstancesSchema(GcsSource.Builder builderForValue) Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1; -
mergeInstancesSchema
Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1; -
clearInstancesSchema
Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1; -
getInstancesSchemaBuilder
Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1; -
getInstancesSchemaOrBuilder
Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
.google.cloud.visionai.v1.GcsSource instances_schema = 1;- Specified by:
getInstancesSchemaOrBuilderin interfaceCustomProcessorSourceInfo.ModelSchemaOrBuilder
-
hasParametersSchema
public boolean hasParametersSchema()Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2;- Specified by:
hasParametersSchemain interfaceCustomProcessorSourceInfo.ModelSchemaOrBuilder- Returns:
- Whether the parametersSchema field is set.
-
getParametersSchema
Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2;- Specified by:
getParametersSchemain interfaceCustomProcessorSourceInfo.ModelSchemaOrBuilder- Returns:
- The parametersSchema.
-
setParametersSchema
Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2; -
setParametersSchema
public CustomProcessorSourceInfo.ModelSchema.Builder setParametersSchema(GcsSource.Builder builderForValue) Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2; -
mergeParametersSchema
Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2; -
clearParametersSchema
Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2; -
getParametersSchemaBuilder
Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2; -
getParametersSchemaOrBuilder
Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
.google.cloud.visionai.v1.GcsSource parameters_schema = 2;- Specified by:
getParametersSchemaOrBuilderin interfaceCustomProcessorSourceInfo.ModelSchemaOrBuilder
-
hasPredictionsSchema
public boolean hasPredictionsSchema()Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3;- Specified by:
hasPredictionsSchemain interfaceCustomProcessorSourceInfo.ModelSchemaOrBuilder- Returns:
- Whether the predictionsSchema field is set.
-
getPredictionsSchema
Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3;- Specified by:
getPredictionsSchemain interfaceCustomProcessorSourceInfo.ModelSchemaOrBuilder- Returns:
- The predictionsSchema.
-
setPredictionsSchema
Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3; -
setPredictionsSchema
public CustomProcessorSourceInfo.ModelSchema.Builder setPredictionsSchema(GcsSource.Builder builderForValue) Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3; -
mergePredictionsSchema
Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3; -
clearPredictionsSchema
Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3; -
getPredictionsSchemaBuilder
Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3; -
getPredictionsSchemaOrBuilder
Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
.google.cloud.visionai.v1.GcsSource predictions_schema = 3;- Specified by:
getPredictionsSchemaOrBuilderin interfaceCustomProcessorSourceInfo.ModelSchemaOrBuilder
-