Class CustomProcessorSourceInfo.ModelSchema (0.14.1)

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.events.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
TypeDescription
int

PARAMETERS_SCHEMA_FIELD_NUMBER

public static final int PARAMETERS_SCHEMA_FIELD_NUMBER
Field Value
TypeDescription
int

PREDICTIONS_SCHEMA_FIELD_NUMBER

public static final int PREDICTIONS_SCHEMA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CustomProcessorSourceInfo.ModelSchema getDefaultInstance()
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema

getDescriptor()

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

newBuilder()

public static CustomProcessorSourceInfo.ModelSchema.Builder newBuilder()
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder

newBuilder(CustomProcessorSourceInfo.ModelSchema prototype)

public static CustomProcessorSourceInfo.ModelSchema.Builder newBuilder(CustomProcessorSourceInfo.ModelSchema prototype)
Parameter
NameDescription
prototypeCustomProcessorSourceInfo.ModelSchema
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder

parseDelimitedFrom(InputStream input)

public static CustomProcessorSourceInfo.ModelSchema parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CustomProcessorSourceInfo.ModelSchema getDefaultInstanceForType()
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource instances_schema = 1;

Returns
TypeDescription
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.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.

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

getParserForType()

public Parser<CustomProcessorSourceInfo.ModelSchema> getParserForType()
Returns
TypeDescription
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.events.cloud.visionai.v1.GcsSource predictions_schema = 3;

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

Returns
TypeDescription
GcsSourceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CustomProcessorSourceInfo.ModelSchema.Builder newBuilderForType()
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomProcessorSourceInfo.ModelSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CustomProcessorSourceInfo.ModelSchema.Builder toBuilder()
Returns
TypeDescription
CustomProcessorSourceInfo.ModelSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException