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.v1.PredictSchemata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int INSTANCE_SCHEMA_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PARAMETERS_SCHEMA_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PREDICTION_SCHEMA_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static PredictSchemata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static PredictSchemata.Builder newBuilder()
public static PredictSchemata.Builder newBuilder(PredictSchemata prototype)
public static PredictSchemata parseDelimitedFrom(InputStream input)
public static PredictSchemata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PredictSchemata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static PredictSchemata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PredictSchemata parseFrom(ByteString data)
public static PredictSchemata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PredictSchemata parseFrom(CodedInputStream input)
public static PredictSchemata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PredictSchemata parseFrom(InputStream input)
public static PredictSchemata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PredictSchemata parseFrom(ByteBuffer data)
public static PredictSchemata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<PredictSchemata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public PredictSchemata getDefaultInstanceForType()
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()
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 |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PredictSchemata.Builder newBuilderForType()
protected PredictSchemata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public PredictSchemata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides