Class CustomProcessorSourceInfo.ModelSchema.Builder (0.14.1)

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.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomProcessorSourceInfo.ModelSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

build()

public CustomProcessorSourceInfo.ModelSchema build()
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema

buildPartial()

public CustomProcessorSourceInfo.ModelSchema buildPartial()
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema

clear()

public CustomProcessorSourceInfo.ModelSchema.Builder clear()
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CustomProcessorSourceInfo.ModelSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource instances_schema = 1;

Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomProcessorSourceInfo.ModelSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource parameters_schema = 2;

Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource predictions_schema = 3;

Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder

clone()

public CustomProcessorSourceInfo.ModelSchema.Builder clone()
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

getDefaultInstanceForType()

public CustomProcessorSourceInfo.ModelSchema getDefaultInstanceForType()
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource instances_schema = 1;

Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource instances_schema = 1;

Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource instances_schema = 1;

Returns
TypeDescription
GcsSourceOrBuilder

getParametersSchema()

public GcsSource getParametersSchema()

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

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

Returns
TypeDescription
GcsSource

The parametersSchema.

getParametersSchemaBuilder()

public GcsSource.Builder getParametersSchemaBuilder()

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

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

Returns
TypeDescription
GcsSource.Builder

getParametersSchemaOrBuilder()

public GcsSourceOrBuilder getParametersSchemaOrBuilder()

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

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

Returns
TypeDescription
GcsSourceOrBuilder

getPredictionsSchema()

public GcsSource getPredictionsSchema()

Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.

.google.events.cloud.visionai.v1.GcsSource predictions_schema = 3;

Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource predictions_schema = 3;

Returns
TypeDescription
GcsSource.Builder

getPredictionsSchemaOrBuilder()

public GcsSourceOrBuilder getPredictionsSchemaOrBuilder()

Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.

.google.events.cloud.visionai.v1.GcsSource predictions_schema = 3;

Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource instances_schema = 1;

Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource parameters_schema = 2;

Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource predictions_schema = 3;

Returns
TypeDescription
boolean

Whether the predictionsSchema field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CustomProcessorSourceInfo.ModelSchema other)

public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(CustomProcessorSourceInfo.ModelSchema other)
Parameter
NameDescription
otherCustomProcessorSourceInfo.ModelSchema
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource instances_schema = 1;

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource parameters_schema = 2;

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource predictions_schema = 3;

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomProcessorSourceInfo.ModelSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CustomProcessorSourceInfo.ModelSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource instances_schema = 1;

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource instances_schema = 1;

Parameter
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource parameters_schema = 2;

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource parameters_schema = 2;

Parameter
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource predictions_schema = 3;

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource predictions_schema = 3;

Parameter
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder

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

public CustomProcessorSourceInfo.ModelSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomProcessorSourceInfo.ModelSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides