public final class PredictSchemata extends GeneratedMessageV3 implements PredictSchemataOrBuilder
Contains the schemata used in Model's predictions and explanations via
PredictionService.Predict, PredictionService.Explain and
BatchPredictionJob.
Protobuf type google.cloud.aiplatform.v1beta1.PredictSchemata
Static Fields
public static final int INSTANCE_SCHEMA_URI_FIELD_NUMBER
Field Value
public static final int PARAMETERS_SCHEMA_URI_FIELD_NUMBER
Field Value
public static final int PREDICTION_SCHEMA_URI_FIELD_NUMBER
Field Value
Static Methods
public static PredictSchemata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static PredictSchemata.Builder newBuilder()
Returns
public static PredictSchemata.Builder newBuilder(PredictSchemata prototype)
Parameter
Returns
public static PredictSchemata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PredictSchemata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PredictSchemata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static PredictSchemata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PredictSchemata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static PredictSchemata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PredictSchemata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PredictSchemata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PredictSchemata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PredictSchemata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PredictSchemata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static PredictSchemata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<PredictSchemata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public PredictSchemata getDefaultInstanceForType()
Returns
public String getInstanceSchemaUri()
Immutable. Points to a YAML file stored on Google Cloud Storage describing the format
of a single instance, which are used in PredictRequest.instances,
ExplainRequest.instances and
BatchPredictionJob.input_config.
The schema is defined as an OpenAPI 3.0.2 Schema
Object.
AutoML Models always have this field populated by Vertex AI.
Note: The URI given on output will be immutable and probably different,
including the URI scheme, than the one given on input. The output URI will
point to a location where the user only has a read access.
string instance_schema_uri = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
String | The instanceSchemaUri.
|
public ByteString getInstanceSchemaUriBytes()
Immutable. Points to a YAML file stored on Google Cloud Storage describing the format
of a single instance, which are used in PredictRequest.instances,
ExplainRequest.instances and
BatchPredictionJob.input_config.
The schema is defined as an OpenAPI 3.0.2 Schema
Object.
AutoML Models always have this field populated by Vertex AI.
Note: The URI given on output will be immutable and probably different,
including the URI scheme, than the one given on input. The output URI will
point to a location where the user only has a read access.
string instance_schema_uri = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
ByteString | The bytes for instanceSchemaUri.
|
public String getParametersSchemaUri()
Immutable. Points to a YAML file stored on Google Cloud Storage describing the
parameters of prediction and explanation via
PredictRequest.parameters, ExplainRequest.parameters and
BatchPredictionJob.model_parameters.
The schema is defined as an OpenAPI 3.0.2 Schema
Object.
AutoML Models always have this field populated by Vertex AI, if no
parameters are supported, then it is set to an empty string.
Note: The URI given on output will be immutable and probably different,
including the URI scheme, than the one given on input. The output URI will
point to a location where the user only has a read access.
string parameters_schema_uri = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
String | The parametersSchemaUri.
|
public ByteString getParametersSchemaUriBytes()
Immutable. Points to a YAML file stored on Google Cloud Storage describing the
parameters of prediction and explanation via
PredictRequest.parameters, ExplainRequest.parameters and
BatchPredictionJob.model_parameters.
The schema is defined as an OpenAPI 3.0.2 Schema
Object.
AutoML Models always have this field populated by Vertex AI, if no
parameters are supported, then it is set to an empty string.
Note: The URI given on output will be immutable and probably different,
including the URI scheme, than the one given on input. The output URI will
point to a location where the user only has a read access.
string parameters_schema_uri = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
ByteString | The bytes for parametersSchemaUri.
|
public Parser<PredictSchemata> getParserForType()
Returns
Overrides
public String getPredictionSchemaUri()
Immutable. Points to a YAML file stored on Google Cloud Storage describing the format
of a single prediction produced by this Model, which are returned via
PredictResponse.predictions, ExplainResponse.explanations, and
BatchPredictionJob.output_config.
The schema is defined as an OpenAPI 3.0.2 Schema
Object.
AutoML Models always have this field populated by Vertex AI.
Note: The URI given on output will be immutable and probably different,
including the URI scheme, than the one given on input. The output URI will
point to a location where the user only has a read access.
string prediction_schema_uri = 3 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
String | The predictionSchemaUri.
|
public ByteString getPredictionSchemaUriBytes()
Immutable. Points to a YAML file stored on Google Cloud Storage describing the format
of a single prediction produced by this Model, which are returned via
PredictResponse.predictions, ExplainResponse.explanations, and
BatchPredictionJob.output_config.
The schema is defined as an OpenAPI 3.0.2 Schema
Object.
AutoML Models always have this field populated by Vertex AI.
Note: The URI given on output will be immutable and probably different,
including the URI scheme, than the one given on input. The output URI will
point to a location where the user only has a read access.
string prediction_schema_uri = 3 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
ByteString | The bytes for predictionSchemaUri.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public PredictSchemata.Builder newBuilderForType()
Returns
protected PredictSchemata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public PredictSchemata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions