Class CustomProcessorSourceInfo.ModelSchema.Builder (0.12.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
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()
Overrides

clearField(Descriptors.FieldDescriptor field)

public CustomProcessorSourceInfo.ModelSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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;

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomProcessorSourceInfo.ModelSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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;

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;

clone()

public CustomProcessorSourceInfo.ModelSchema.Builder clone()
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CustomProcessorSourceInfo.ModelSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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

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

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

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

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

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

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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