Class CustomProcessorSourceInfo.ModelSchema

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema
All Implemented Interfaces:
CustomProcessorSourceInfo.ModelSchemaOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
CustomProcessorSourceInfo

public static final class CustomProcessorSourceInfo.ModelSchema extends com.google.protobuf.GeneratedMessage implements CustomProcessorSourceInfo.ModelSchemaOrBuilder
 The schema is defined as an OpenAPI 3.0.2 [Schema
 Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
 
Protobuf type google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema
See Also:
  • Field Details

    • INSTANCES_SCHEMA_FIELD_NUMBER

      public static final int INSTANCES_SCHEMA_FIELD_NUMBER
      See Also:
    • PARAMETERS_SCHEMA_FIELD_NUMBER

      public static final int PARAMETERS_SCHEMA_FIELD_NUMBER
      See Also:
    • PREDICTIONS_SCHEMA_FIELD_NUMBER

      public static final int PREDICTIONS_SCHEMA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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;
      Specified by:
      hasInstancesSchema in interface CustomProcessorSourceInfo.ModelSchemaOrBuilder
      Returns:
      Whether the instancesSchema field is set.
    • 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;
      Specified by:
      getInstancesSchema in interface CustomProcessorSourceInfo.ModelSchemaOrBuilder
      Returns:
      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;
      Specified by:
      getInstancesSchemaOrBuilder in interface CustomProcessorSourceInfo.ModelSchemaOrBuilder
    • 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;
      Specified by:
      hasParametersSchema in interface CustomProcessorSourceInfo.ModelSchemaOrBuilder
      Returns:
      Whether the parametersSchema field is set.
    • 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;
      Specified by:
      getParametersSchema in interface CustomProcessorSourceInfo.ModelSchemaOrBuilder
      Returns:
      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;
      Specified by:
      getParametersSchemaOrBuilder in interface CustomProcessorSourceInfo.ModelSchemaOrBuilder
    • 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;
      Specified by:
      hasPredictionsSchema in interface CustomProcessorSourceInfo.ModelSchemaOrBuilder
      Returns:
      Whether the predictionsSchema field is set.
    • 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;
      Specified by:
      getPredictionsSchema in interface CustomProcessorSourceInfo.ModelSchemaOrBuilder
      Returns:
      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;
      Specified by:
      getPredictionsSchemaOrBuilder in interface CustomProcessorSourceInfo.ModelSchemaOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CustomProcessorSourceInfo.ModelSchema parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CustomProcessorSourceInfo.ModelSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CustomProcessorSourceInfo.ModelSchema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CustomProcessorSourceInfo.ModelSchema.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CustomProcessorSourceInfo.ModelSchema getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CustomProcessorSourceInfo.ModelSchema> parser()
    • getParserForType

      public com.google.protobuf.Parser<CustomProcessorSourceInfo.ModelSchema> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CustomProcessorSourceInfo.ModelSchema getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder