Class ModelMonitoringObjectiveConfig.TrainingDataset (2.4.0)

public static final class ModelMonitoringObjectiveConfig.TrainingDataset extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder

Training Dataset information.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelMonitoringObjectiveConfig.TrainingDataset

Fields

BIGQUERY_SOURCE_FIELD_NUMBER

public static final int BIGQUERY_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

DATASET_FIELD_NUMBER

public static final int DATASET_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_FORMAT_FIELD_NUMBER

public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER

public static final int LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_FIELD_FIELD_NUMBER

public static final int TARGET_FIELD_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBigquerySource()

public BigQuerySource getBigquerySource()

The BigQuery table of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 5;

Returns
TypeDescription
BigQuerySource

The bigquerySource.

getBigquerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()

The BigQuery table of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 5;

Returns
TypeDescription
BigQuerySourceOrBuilder

getDataFormat()

public String getDataFormat()

Data format of the dataset, only applicable if the input is from Google Cloud Storage. The possible formats are: "tf-record" The source file is a TFRecord file. "csv" The source file is a CSV file.

string data_format = 2;

Returns
TypeDescription
String

The dataFormat.

getDataFormatBytes()

public ByteString getDataFormatBytes()

Data format of the dataset, only applicable if the input is from Google Cloud Storage. The possible formats are: "tf-record" The source file is a TFRecord file. "csv" The source file is a CSV file.

string data_format = 2;

Returns
TypeDescription
ByteString

The bytes for dataFormat.

getDataSourceCase()

public ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase getDataSourceCase()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase

getDataset()

public String getDataset()

The resource name of the Dataset used to train this Model.

string dataset = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

The resource name of the Dataset used to train this Model.

string dataset = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstance()

public static ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstance()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstanceForType()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset

getDescriptor()

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

getGcsSource()

public GcsSource getGcsSource()

The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 4;

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 4;

Returns
TypeDescription
GcsSourceOrBuilder

getLoggingSamplingStrategy()

public SamplingStrategy getLoggingSamplingStrategy()

Strategy to sample data from Training Dataset. If not set, we process the whole dataset.

.google.cloud.aiplatform.v1beta1.SamplingStrategy logging_sampling_strategy = 7;

Returns
TypeDescription
SamplingStrategy

The loggingSamplingStrategy.

getLoggingSamplingStrategyOrBuilder()

public SamplingStrategyOrBuilder getLoggingSamplingStrategyOrBuilder()

Strategy to sample data from Training Dataset. If not set, we process the whole dataset.

.google.cloud.aiplatform.v1beta1.SamplingStrategy logging_sampling_strategy = 7;

Returns
TypeDescription
SamplingStrategyOrBuilder

getParserForType()

public Parser<ModelMonitoringObjectiveConfig.TrainingDataset> getParserForType()
Returns
TypeDescription
Parser<TrainingDataset>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetField()

public String getTargetField()

The target field name the model is to predict. This field will be excluded when doing Predict and (or) Explain for the training data.

string target_field = 6;

Returns
TypeDescription
String

The targetField.

getTargetFieldBytes()

public ByteString getTargetFieldBytes()

The target field name the model is to predict. This field will be excluded when doing Predict and (or) Explain for the training data.

string target_field = 6;

Returns
TypeDescription
ByteString

The bytes for targetField.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasBigquerySource()

public boolean hasBigquerySource()

The BigQuery table of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 5;

Returns
TypeDescription
boolean

Whether the bigquerySource field is set.

hasDataset()

public boolean hasDataset()

The resource name of the Dataset used to train this Model.

string dataset = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the dataset field is set.

hasGcsSource()

public boolean hasGcsSource()

The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 4;

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hasLoggingSamplingStrategy()

public boolean hasLoggingSamplingStrategy()

Strategy to sample data from Training Dataset. If not set, we process the whole dataset.

.google.cloud.aiplatform.v1beta1.SamplingStrategy logging_sampling_strategy = 7;

Returns
TypeDescription
boolean

Whether the loggingSamplingStrategy field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilder()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset.Builder

newBuilder(ModelMonitoringObjectiveConfig.TrainingDataset prototype)

public static ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilder(ModelMonitoringObjectiveConfig.TrainingDataset prototype)
Parameter
NameDescription
prototypeModelMonitoringObjectiveConfig.TrainingDataset
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset.Builder

newBuilderForType()

public ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringObjectiveConfig.TrainingDataset> parser()
Returns
TypeDescription
Parser<TrainingDataset>

toBuilder()

public ModelMonitoringObjectiveConfig.TrainingDataset.Builder toBuilder()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDataset.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException