Class CustomProcessorSourceInfo.ModelSchema.Builder

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

public static final class CustomProcessorSourceInfo.ModelSchema.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder> 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
  • 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.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
    • mergeFrom

      public CustomProcessorSourceInfo.ModelSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomProcessorSourceInfo.ModelSchema.Builder>
      Throws:
      IOException
    • 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.
    • setInstancesSchema

      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.cloud.visionai.v1.GcsSource instances_schema = 1;
    • setInstancesSchema

      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.cloud.visionai.v1.GcsSource instances_schema = 1;
    • mergeInstancesSchema

      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.cloud.visionai.v1.GcsSource instances_schema = 1;
    • 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.cloud.visionai.v1.GcsSource instances_schema = 1;
    • 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.cloud.visionai.v1.GcsSource instances_schema = 1;
    • 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.
    • setParametersSchema

      public CustomProcessorSourceInfo.ModelSchema.Builder setParametersSchema(GcsSource value)
       Cloud Storage location to a YAML file that defines the prediction and
       explanation parameters.
       
      .google.cloud.visionai.v1.GcsSource parameters_schema = 2;
    • setParametersSchema

      public CustomProcessorSourceInfo.ModelSchema.Builder setParametersSchema(GcsSource.Builder builderForValue)
       Cloud Storage location to a YAML file that defines the prediction and
       explanation parameters.
       
      .google.cloud.visionai.v1.GcsSource parameters_schema = 2;
    • mergeParametersSchema

      public CustomProcessorSourceInfo.ModelSchema.Builder mergeParametersSchema(GcsSource value)
       Cloud Storage location to a YAML file that defines the prediction and
       explanation parameters.
       
      .google.cloud.visionai.v1.GcsSource parameters_schema = 2;
    • clearParametersSchema

      public CustomProcessorSourceInfo.ModelSchema.Builder clearParametersSchema()
       Cloud Storage location to a YAML file that defines the prediction and
       explanation parameters.
       
      .google.cloud.visionai.v1.GcsSource parameters_schema = 2;
    • getParametersSchemaBuilder

      public GcsSource.Builder getParametersSchemaBuilder()
       Cloud Storage location to a YAML file that defines the prediction and
       explanation parameters.
       
      .google.cloud.visionai.v1.GcsSource parameters_schema = 2;
    • 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.
    • setPredictionsSchema

      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.cloud.visionai.v1.GcsSource predictions_schema = 3;
    • setPredictionsSchema

      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.cloud.visionai.v1.GcsSource predictions_schema = 3;
    • mergePredictionsSchema

      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.cloud.visionai.v1.GcsSource predictions_schema = 3;
    • clearPredictionsSchema

      public CustomProcessorSourceInfo.ModelSchema.Builder clearPredictionsSchema()
       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;
    • getPredictionsSchemaBuilder

      public GcsSource.Builder getPredictionsSchemaBuilder()
       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;
    • 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