Class CustomProcessorSourceInfo.ModelSchema.Builder (0.1.0)

public static final class CustomProcessorSourceInfo.ModelSchema.Builder extends GeneratedMessageV3.Builder<CustomProcessorSourceInfo.ModelSchema.Builder> implements CustomProcessorSourceInfo.ModelSchemaOrBuilder

The schema is defined as an OpenAPI 3.0.2 Schema Object.

Protobuf type google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomProcessorSourceInfo.ModelSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

build()

public CustomProcessorSourceInfo.ModelSchema build()
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema

buildPartial()

public CustomProcessorSourceInfo.ModelSchema buildPartial()
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema

clear()

public CustomProcessorSourceInfo.ModelSchema.Builder clear()
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CustomProcessorSourceInfo.ModelSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

clearInstancesSchema()

public CustomProcessorSourceInfo.ModelSchema.Builder 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;

Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomProcessorSourceInfo.ModelSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

clearParametersSchema()

public CustomProcessorSourceInfo.ModelSchema.Builder clearParametersSchema()

Cloud Storage location to a YAML file that defines the prediction and explanation parameters.

.google.cloud.visionai.v1.GcsSource parameters_schema = 2;

Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

clearPredictionsSchema()

public CustomProcessorSourceInfo.ModelSchema.Builder 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;

Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

clone()

public CustomProcessorSourceInfo.ModelSchema.Builder clone()
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

getDefaultInstanceForType()

public CustomProcessorSourceInfo.ModelSchema getDefaultInstanceForType()
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstancesSchema()

public GcsSource 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;

Returns
Type Description
GcsSource

The instancesSchema.

getInstancesSchemaBuilder()

public GcsSource.Builder 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;

Returns
Type Description
GcsSource.Builder

getInstancesSchemaOrBuilder()

public GcsSourceOrBuilder 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;

Returns
Type Description
GcsSourceOrBuilder

getParametersSchema()

public GcsSource getParametersSchema()

Cloud Storage location to a YAML file that defines the prediction and explanation parameters.

.google.cloud.visionai.v1.GcsSource parameters_schema = 2;

Returns
Type Description
GcsSource

The parametersSchema.

getParametersSchemaBuilder()

public GcsSource.Builder getParametersSchemaBuilder()

Cloud Storage location to a YAML file that defines the prediction and explanation parameters.

.google.cloud.visionai.v1.GcsSource parameters_schema = 2;

Returns
Type Description
GcsSource.Builder

getParametersSchemaOrBuilder()

public GcsSourceOrBuilder getParametersSchemaOrBuilder()

Cloud Storage location to a YAML file that defines the prediction and explanation parameters.

.google.cloud.visionai.v1.GcsSource parameters_schema = 2;

Returns
Type Description
GcsSourceOrBuilder

getPredictionsSchema()

public GcsSource 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;

Returns
Type Description
GcsSource

The predictionsSchema.

getPredictionsSchemaBuilder()

public GcsSource.Builder 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;

Returns
Type Description
GcsSource.Builder

getPredictionsSchemaOrBuilder()

public GcsSourceOrBuilder 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;

Returns
Type Description
GcsSourceOrBuilder

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;

Returns
Type Description
boolean

Whether the instancesSchema field is set.

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;

Returns
Type Description
boolean

Whether the parametersSchema field is set.

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;

Returns
Type Description
boolean

Whether the predictionsSchema field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomProcessorSourceInfo.ModelSchema other)

public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(CustomProcessorSourceInfo.ModelSchema other)
Parameter
Name Description
other CustomProcessorSourceInfo.ModelSchema
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

mergeInstancesSchema(GcsSource value)

public CustomProcessorSourceInfo.ModelSchema.Builder mergeInstancesSchema(GcsSource value)

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;

Parameter
Name Description
value GcsSource
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

mergeParametersSchema(GcsSource value)

public CustomProcessorSourceInfo.ModelSchema.Builder mergeParametersSchema(GcsSource value)

Cloud Storage location to a YAML file that defines the prediction and explanation parameters.

.google.cloud.visionai.v1.GcsSource parameters_schema = 2;

Parameter
Name Description
value GcsSource
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

mergePredictionsSchema(GcsSource value)

public CustomProcessorSourceInfo.ModelSchema.Builder mergePredictionsSchema(GcsSource value)

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;

Parameter
Name Description
value GcsSource
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomProcessorSourceInfo.ModelSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CustomProcessorSourceInfo.ModelSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

setInstancesSchema(GcsSource value)

public CustomProcessorSourceInfo.ModelSchema.Builder setInstancesSchema(GcsSource value)

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;

Parameter
Name Description
value GcsSource
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

setInstancesSchema(GcsSource.Builder builderForValue)

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;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

setParametersSchema(GcsSource value)

public CustomProcessorSourceInfo.ModelSchema.Builder setParametersSchema(GcsSource value)

Cloud Storage location to a YAML file that defines the prediction and explanation parameters.

.google.cloud.visionai.v1.GcsSource parameters_schema = 2;

Parameter
Name Description
value GcsSource
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

setParametersSchema(GcsSource.Builder builderForValue)

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;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

setPredictionsSchema(GcsSource value)

public CustomProcessorSourceInfo.ModelSchema.Builder setPredictionsSchema(GcsSource value)

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;

Parameter
Name Description
value GcsSource
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

setPredictionsSchema(GcsSource.Builder builderForValue)

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;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CustomProcessorSourceInfo.ModelSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomProcessorSourceInfo.ModelSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides