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

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomProcessorSourceInfo.ModelSchema build()

buildPartial()

public CustomProcessorSourceInfo.ModelSchema buildPartial()

clear()

public CustomProcessorSourceInfo.ModelSchema.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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;

clone()

public CustomProcessorSourceInfo.ModelSchema.Builder clone()
Overrides

getDefaultInstanceForType()

public CustomProcessorSourceInfo.ModelSchema getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

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

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

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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