Class CustomProcessorSourceInfo.ModelSchema (0.4.0)

public static final class CustomProcessorSourceInfo.ModelSchema extends GeneratedMessageV3 implements CustomProcessorSourceInfo.ModelSchemaOrBuilder

The schema is defined as an OpenAPI 3.0.2 Schema Object.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomProcessorSourceInfo.ModelSchema

Static Fields

INSTANCES_SCHEMA_FIELD_NUMBER

public static final int INSTANCES_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

PARAMETERS_SCHEMA_FIELD_NUMBER

public static final int PARAMETERS_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

PREDICTIONS_SCHEMA_FIELD_NUMBER

public static final int PREDICTIONS_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomProcessorSourceInfo.ModelSchema getDefaultInstance()
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema

getDescriptor()

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

newBuilder()

public static CustomProcessorSourceInfo.ModelSchema.Builder newBuilder()
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

newBuilder(CustomProcessorSourceInfo.ModelSchema prototype)

public static CustomProcessorSourceInfo.ModelSchema.Builder newBuilder(CustomProcessorSourceInfo.ModelSchema prototype)
Parameter
Name Description
prototype CustomProcessorSourceInfo.ModelSchema
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

parseDelimitedFrom(InputStream input)

public static CustomProcessorSourceInfo.ModelSchema parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CustomProcessorSourceInfo.ModelSchema> parser()
Returns
Type Description
Parser<ModelSchema>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

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

getParserForType()

public Parser<CustomProcessorSourceInfo.ModelSchema> getParserForType()
Returns
Type Description
Parser<ModelSchema>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CustomProcessorSourceInfo.ModelSchema.Builder newBuilderForType()
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomProcessorSourceInfo.ModelSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CustomProcessorSourceInfo.ModelSchema.Builder toBuilder()
Returns
Type Description
CustomProcessorSourceInfo.ModelSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException