Class PredictSchemata.Builder (3.17.0)

public static final class PredictSchemata.Builder extends GeneratedMessageV3.Builder<PredictSchemata.Builder> 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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PredictSchemata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PredictSchemata.Builder
Overrides

build()

public PredictSchemata build()
Returns
TypeDescription
PredictSchemata

buildPartial()

public PredictSchemata buildPartial()
Returns
TypeDescription
PredictSchemata

clear()

public PredictSchemata.Builder clear()
Returns
TypeDescription
PredictSchemata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PredictSchemata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PredictSchemata.Builder
Overrides

clearInstanceSchemaUri()

public PredictSchemata.Builder clearInstanceSchemaUri()

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
TypeDescription
PredictSchemata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PredictSchemata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PredictSchemata.Builder
Overrides

clearParametersSchemaUri()

public PredictSchemata.Builder clearParametersSchemaUri()

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
TypeDescription
PredictSchemata.Builder

This builder for chaining.

clearPredictionSchemaUri()

public PredictSchemata.Builder clearPredictionSchemaUri()

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
TypeDescription
PredictSchemata.Builder

This builder for chaining.

clone()

public PredictSchemata.Builder clone()
Returns
TypeDescription
PredictSchemata.Builder
Overrides

getDefaultInstanceForType()

public PredictSchemata getDefaultInstanceForType()
Returns
TypeDescription
PredictSchemata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceSchemaUri()

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
TypeDescription
String

The instanceSchemaUri.

getInstanceSchemaUriBytes()

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
TypeDescription
ByteString

The bytes for instanceSchemaUri.

getParametersSchemaUri()

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
TypeDescription
String

The parametersSchemaUri.

getParametersSchemaUriBytes()

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
TypeDescription
ByteString

The bytes for parametersSchemaUri.

getPredictionSchemaUri()

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
TypeDescription
String

The predictionSchemaUri.

getPredictionSchemaUriBytes()

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
TypeDescription
ByteString

The bytes for predictionSchemaUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PredictSchemata other)

public PredictSchemata.Builder mergeFrom(PredictSchemata other)
Parameter
NameDescription
otherPredictSchemata
Returns
TypeDescription
PredictSchemata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PredictSchemata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PredictSchemata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PredictSchemata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PredictSchemata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PredictSchemata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PredictSchemata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PredictSchemata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PredictSchemata.Builder
Overrides

setInstanceSchemaUri(String value)

public PredictSchemata.Builder setInstanceSchemaUri(String value)

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];

Parameter
NameDescription
valueString

The instanceSchemaUri to set.

Returns
TypeDescription
PredictSchemata.Builder

This builder for chaining.

setInstanceSchemaUriBytes(ByteString value)

public PredictSchemata.Builder setInstanceSchemaUriBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for instanceSchemaUri to set.

Returns
TypeDescription
PredictSchemata.Builder

This builder for chaining.

setParametersSchemaUri(String value)

public PredictSchemata.Builder setParametersSchemaUri(String value)

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];

Parameter
NameDescription
valueString

The parametersSchemaUri to set.

Returns
TypeDescription
PredictSchemata.Builder

This builder for chaining.

setParametersSchemaUriBytes(ByteString value)

public PredictSchemata.Builder setParametersSchemaUriBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for parametersSchemaUri to set.

Returns
TypeDescription
PredictSchemata.Builder

This builder for chaining.

setPredictionSchemaUri(String value)

public PredictSchemata.Builder setPredictionSchemaUri(String value)

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];

Parameter
NameDescription
valueString

The predictionSchemaUri to set.

Returns
TypeDescription
PredictSchemata.Builder

This builder for chaining.

setPredictionSchemaUriBytes(ByteString value)

public PredictSchemata.Builder setPredictionSchemaUriBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for predictionSchemaUri to set.

Returns
TypeDescription
PredictSchemata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PredictSchemata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PredictSchemata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PredictSchemata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PredictSchemata.Builder
Overrides