+ * Max number of human labeled DataItems. + *+ * + *
int64 max_data_item_count = 1;
+ *
+ * @return Whether the maxDataItemCount field is set.
+ */
+ @java.lang.Override
+ public boolean hasMaxDataItemCount() {
+ return humanLabelingBudgetCase_ == 1;
+ }
/**
*
*
@@ -216,6 +231,21 @@ public long getMaxDataItemCount() {
}
public static final int MAX_DATA_ITEM_PERCENTAGE_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Max percent of total DataItems for human labeling. + *+ * + *
int32 max_data_item_percentage = 2;
+ *
+ * @return Whether the maxDataItemPercentage field is set.
+ */
+ @java.lang.Override
+ public boolean hasMaxDataItemPercentage() {
+ return humanLabelingBudgetCase_ == 2;
+ }
/**
*
*
@@ -778,6 +808,20 @@ public Builder clearHumanLabelingBudget() {
return this;
}
+ /**
+ *
+ *
+ * + * Max number of human labeled DataItems. + *+ * + *
int64 max_data_item_count = 1;
+ *
+ * @return Whether the maxDataItemCount field is set.
+ */
+ public boolean hasMaxDataItemCount() {
+ return humanLabelingBudgetCase_ == 1;
+ }
/**
*
*
@@ -833,6 +877,20 @@ public Builder clearMaxDataItemCount() {
return this;
}
+ /**
+ *
+ *
+ * + * Max percent of total DataItems for human labeling. + *+ * + *
int32 max_data_item_percentage = 2;
+ *
+ * @return Whether the maxDataItemPercentage field is set.
+ */
+ public boolean hasMaxDataItemPercentage() {
+ return humanLabelingBudgetCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ActiveLearningConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ActiveLearningConfigOrBuilder.java
index 6ec2924d5..61ad7931f 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ActiveLearningConfigOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ActiveLearningConfigOrBuilder.java
@@ -23,6 +23,18 @@ public interface ActiveLearningConfigOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ActiveLearningConfig)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * Max number of human labeled DataItems. + *+ * + *
int64 max_data_item_count = 1;
+ *
+ * @return Whether the maxDataItemCount field is set.
+ */
+ boolean hasMaxDataItemCount();
/**
*
*
@@ -36,6 +48,18 @@ public interface ActiveLearningConfigOrBuilder
*/
long getMaxDataItemCount();
+ /**
+ *
+ *
+ * + * Max percent of total DataItems for human labeling. + *+ * + *
int32 max_data_item_percentage = 2;
+ *
+ * @return Whether the maxDataItemPercentage field is set.
+ */
+ boolean hasMaxDataItemPercentage();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchMigrateResourcesOperationMetadata.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchMigrateResourcesOperationMetadata.java
index fa0751fec..249576963 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchMigrateResourcesOperationMetadata.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchMigrateResourcesOperationMetadata.java
@@ -183,6 +183,18 @@ public interface PartialResultOrBuilder
*/
com.google.rpc.StatusOrBuilder getErrorOrBuilder();
+ /**
+ *
+ *
+ * + * Migrated model resource name. + *+ * + *
string model = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ boolean hasModel();
/**
*
*
@@ -208,6 +220,18 @@ public interface PartialResultOrBuilder
*/
com.google.protobuf.ByteString getModelBytes();
+ /**
+ *
+ *
+ * + * Migrated dataset resource name. + *+ * + *
string dataset = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ boolean hasDataset();
/**
*
*
@@ -510,6 +534,20 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
}
public static final int MODEL_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ * + * Migrated model resource name. + *+ * + *
string model = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ public boolean hasModel() {
+ return resultCase_ == 3;
+ }
/**
*
*
@@ -566,6 +604,20 @@ public com.google.protobuf.ByteString getModelBytes() {
}
public static final int DATASET_FIELD_NUMBER = 4;
+ /**
+ *
+ *
+ * + * Migrated dataset resource name. + *+ * + *
string dataset = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ public boolean hasDataset() {
+ return resultCase_ == 4;
+ }
/**
*
*
@@ -1354,6 +1406,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
return errorBuilder_;
}
+ /**
+ *
+ *
+ * + * Migrated model resource name. + *+ * + *
string model = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ @java.lang.Override
+ public boolean hasModel() {
+ return resultCase_ == 3;
+ }
/**
*
*
@@ -1473,6 +1540,21 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) {
return this;
}
+ /**
+ *
+ *
+ * + * Migrated dataset resource name. + *+ * + *
string dataset = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ @java.lang.Override
+ public boolean hasDataset() {
+ return resultCase_ == 4;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJob.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJob.java
index 6e2883ba7..e24663c42 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJob.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJob.java
@@ -3915,6 +3915,19 @@ public interface OutputInfoOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.BatchPredictionJob.OutputInfo)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * Output only. The full path of the Cloud Storage directory created, into which + * the prediction output is written. + *+ * + *
string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the gcsOutputDirectory field is set.
+ */
+ boolean hasGcsOutputDirectory();
/**
*
*
@@ -3942,6 +3955,20 @@ public interface OutputInfoOrBuilder
*/
com.google.protobuf.ByteString getGcsOutputDirectoryBytes();
+ /**
+ *
+ *
+ * + * Output only. The path of the BigQuery dataset created, in + * `bq://projectId.bqDatasetId` + * format, into which the prediction output is written. + *+ * + *
string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the bigqueryOutputDataset field is set.
+ */
+ boolean hasBigqueryOutputDataset();
/**
*
*
@@ -4121,6 +4148,21 @@ public OutputLocationCase getOutputLocationCase() {
}
public static final int GCS_OUTPUT_DIRECTORY_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * Output only. The full path of the Cloud Storage directory created, into which + * the prediction output is written. + *+ * + *
string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the gcsOutputDirectory field is set.
+ */
+ public boolean hasGcsOutputDirectory() {
+ return outputLocationCase_ == 1;
+ }
/**
*
*
@@ -4179,6 +4221,22 @@ public com.google.protobuf.ByteString getGcsOutputDirectoryBytes() {
}
public static final int BIGQUERY_OUTPUT_DATASET_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Output only. The path of the BigQuery dataset created, in + * `bq://projectId.bqDatasetId` + * format, into which the prediction output is written. + *+ * + *
string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the bigqueryOutputDataset field is set.
+ */
+ public boolean hasBigqueryOutputDataset() {
+ return outputLocationCase_ == 2;
+ }
/**
*
*
@@ -4627,6 +4685,22 @@ public Builder clearOutputLocation() {
return this;
}
+ /**
+ *
+ *
+ * + * Output only. The full path of the Cloud Storage directory created, into which + * the prediction output is written. + *+ * + *
string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the gcsOutputDirectory field is set.
+ */
+ @java.lang.Override
+ public boolean hasGcsOutputDirectory() {
+ return outputLocationCase_ == 1;
+ }
/**
*
*
@@ -4751,6 +4825,24 @@ public Builder setGcsOutputDirectoryBytes(com.google.protobuf.ByteString value)
return this;
}
+ /**
+ *
+ *
+ * + * Output only. The path of the BigQuery dataset created, in + * `bq://projectId.bqDatasetId` + * format, into which the prediction output is written. + *+ * + *
string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the bigqueryOutputDataset field is set.
+ */
+ @java.lang.Override
+ public boolean hasBigqueryOutputDataset() {
+ return outputLocationCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrateResourceResponse.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrateResourceResponse.java
index 9f5d810d0..de3debdb9 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrateResourceResponse.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrateResourceResponse.java
@@ -181,6 +181,20 @@ public MigratedResourceCase getMigratedResourceCase() {
}
public static final int DATASET_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * Migrated Dataset's resource name. + *+ * + *
string dataset = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ public boolean hasDataset() {
+ return migratedResourceCase_ == 1;
+ }
/**
*
*
@@ -237,6 +251,20 @@ public com.google.protobuf.ByteString getDatasetBytes() {
}
public static final int MODEL_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Migrated Model's resource name. + *+ * + *
string model = 2 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ public boolean hasModel() {
+ return migratedResourceCase_ == 2;
+ }
/**
*
*
@@ -753,6 +781,21 @@ public Builder clearMigratedResource() {
return this;
}
+ /**
+ *
+ *
+ * + * Migrated Dataset's resource name. + *+ * + *
string dataset = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ @java.lang.Override
+ public boolean hasDataset() {
+ return migratedResourceCase_ == 1;
+ }
/**
*
*
@@ -872,6 +915,21 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) {
return this;
}
+ /**
+ *
+ *
+ * + * Migrated Model's resource name. + *+ * + *
string model = 2 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ @java.lang.Override
+ public boolean hasModel() {
+ return migratedResourceCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrateResourceResponseOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrateResourceResponseOrBuilder.java
index 5273b637e..13de7a82a 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrateResourceResponseOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrateResourceResponseOrBuilder.java
@@ -23,6 +23,18 @@ public interface MigrateResourceResponseOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.MigrateResourceResponse)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * Migrated Dataset's resource name. + *+ * + *
string dataset = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ boolean hasDataset();
/**
*
*
@@ -48,6 +60,18 @@ public interface MigrateResourceResponseOrBuilder
*/
com.google.protobuf.ByteString getDatasetBytes();
+ /**
+ *
+ *
+ * + * Migrated Model's resource name. + *+ * + *
string model = 2 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ boolean hasModel();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SampleConfig.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SampleConfig.java
index 866fbdf35..ecf6c622b 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SampleConfig.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SampleConfig.java
@@ -349,6 +349,21 @@ public FollowingBatchSampleSizeCase getFollowingBatchSampleSizeCase() {
}
public static final int INITIAL_BATCH_SAMPLE_PERCENTAGE_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in the first batch. + *+ * + *
int32 initial_batch_sample_percentage = 1;
+ *
+ * @return Whether the initialBatchSamplePercentage field is set.
+ */
+ @java.lang.Override
+ public boolean hasInitialBatchSamplePercentage() {
+ return initialBatchSampleSizeCase_ == 1;
+ }
/**
*
*
@@ -369,6 +384,22 @@ public int getInitialBatchSamplePercentage() {
}
public static final int FOLLOWING_BATCH_SAMPLE_PERCENTAGE_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in each following batch + * (except the first batch). + *+ * + *
int32 following_batch_sample_percentage = 3;
+ *
+ * @return Whether the followingBatchSamplePercentage field is set.
+ */
+ @java.lang.Override
+ public boolean hasFollowingBatchSamplePercentage() {
+ return followingBatchSampleSizeCase_ == 3;
+ }
/**
*
*
@@ -863,6 +894,20 @@ public Builder clearFollowingBatchSampleSize() {
return this;
}
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in the first batch. + *+ * + *
int32 initial_batch_sample_percentage = 1;
+ *
+ * @return Whether the initialBatchSamplePercentage field is set.
+ */
+ public boolean hasInitialBatchSamplePercentage() {
+ return initialBatchSampleSizeCase_ == 1;
+ }
/**
*
*
@@ -918,6 +963,21 @@ public Builder clearInitialBatchSamplePercentage() {
return this;
}
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in each following batch + * (except the first batch). + *+ * + *
int32 following_batch_sample_percentage = 3;
+ *
+ * @return Whether the followingBatchSamplePercentage field is set.
+ */
+ public boolean hasFollowingBatchSamplePercentage() {
+ return followingBatchSampleSizeCase_ == 3;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SampleConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SampleConfigOrBuilder.java
index 7492c4a20..9a2cb4855 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SampleConfigOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SampleConfigOrBuilder.java
@@ -23,6 +23,18 @@ public interface SampleConfigOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.SampleConfig)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in the first batch. + *+ * + *
int32 initial_batch_sample_percentage = 1;
+ *
+ * @return Whether the initialBatchSamplePercentage field is set.
+ */
+ boolean hasInitialBatchSamplePercentage();
/**
*
*
@@ -36,6 +48,19 @@ public interface SampleConfigOrBuilder
*/
int getInitialBatchSamplePercentage();
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in each following batch + * (except the first batch). + *+ * + *
int32 following_batch_sample_percentage = 3;
+ *
+ * @return Whether the followingBatchSamplePercentage field is set.
+ */
+ boolean hasFollowingBatchSamplePercentage();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReference.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReference.java
index 622b9acb1..6ad96389b 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReference.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReference.java
@@ -174,6 +174,23 @@ public ReferenceCase getReferenceCase() {
}
public static final int OPERATION_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * For API calls that return a long running operation. + * Resource name of the long running operation. + * Format: + * 'projects/{project}/locations/{location}/operations/{operation}' + *+ * + *
string operation = 1;
+ *
+ * @return Whether the operation field is set.
+ */
+ public boolean hasOperation() {
+ return referenceCase_ == 1;
+ }
/**
*
*
@@ -236,6 +253,23 @@ public com.google.protobuf.ByteString getOperationBytes() {
}
public static final int DATA_LABELING_JOB_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * For API calls that start a LabelingJob. + * Resource name of the LabelingJob. + * Format: + * 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' + *+ * + *
string data_labeling_job = 2;
+ *
+ * @return Whether the dataLabelingJob field is set.
+ */
+ public boolean hasDataLabelingJob() {
+ return referenceCase_ == 2;
+ }
/**
*
*
@@ -745,6 +779,24 @@ public Builder clearReference() {
return this;
}
+ /**
+ *
+ *
+ * + * For API calls that return a long running operation. + * Resource name of the long running operation. + * Format: + * 'projects/{project}/locations/{location}/operations/{operation}' + *+ * + *
string operation = 1;
+ *
+ * @return Whether the operation field is set.
+ */
+ @java.lang.Override
+ public boolean hasOperation() {
+ return referenceCase_ == 1;
+ }
/**
*
*
@@ -879,6 +931,24 @@ public Builder setOperationBytes(com.google.protobuf.ByteString value) {
return this;
}
+ /**
+ *
+ *
+ * + * For API calls that start a LabelingJob. + * Resource name of the LabelingJob. + * Format: + * 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' + *+ * + *
string data_labeling_job = 2;
+ *
+ * @return Whether the dataLabelingJob field is set.
+ */
+ @java.lang.Override
+ public boolean hasDataLabelingJob() {
+ return referenceCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceOrBuilder.java
index 9770e4d3a..780770e6e 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceOrBuilder.java
@@ -23,6 +23,21 @@ public interface UserActionReferenceOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.UserActionReference)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * For API calls that return a long running operation. + * Resource name of the long running operation. + * Format: + * 'projects/{project}/locations/{location}/operations/{operation}' + *+ * + *
string operation = 1;
+ *
+ * @return Whether the operation field is set.
+ */
+ boolean hasOperation();
/**
*
*
@@ -54,6 +69,21 @@ public interface UserActionReferenceOrBuilder
*/
com.google.protobuf.ByteString getOperationBytes();
+ /**
+ *
+ *
+ * + * For API calls that start a LabelingJob. + * Resource name of the LabelingJob. + * Format: + * 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' + *+ * + *
string data_labeling_job = 2;
+ *
+ * @return Whether the dataLabelingJob field is set.
+ */
+ boolean hasDataLabelingJob();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMlTablesInputs.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMlTablesInputs.java
index a678839d4..d5facd1f0 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMlTablesInputs.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMlTablesInputs.java
@@ -9763,6 +9763,22 @@ public AdditionalOptimizationObjectiveConfigCase getAdditionalOptimizationObject
}
public static final int OPTIMIZATION_OBJECTIVE_RECALL_VALUE_FIELD_NUMBER = 5;
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-precision-at-recall". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_recall_value = 5;
+ *
+ * @return Whether the optimizationObjectiveRecallValue field is set.
+ */
+ @java.lang.Override
+ public boolean hasOptimizationObjectiveRecallValue() {
+ return additionalOptimizationObjectiveConfigCase_ == 5;
+ }
/**
*
*
@@ -9784,6 +9800,22 @@ public float getOptimizationObjectiveRecallValue() {
}
public static final int OPTIMIZATION_OBJECTIVE_PRECISION_VALUE_FIELD_NUMBER = 6;
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-recall-at-precision". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_precision_value = 6;
+ *
+ * @return Whether the optimizationObjectivePrecisionValue field is set.
+ */
+ @java.lang.Override
+ public boolean hasOptimizationObjectivePrecisionValue() {
+ return additionalOptimizationObjectiveConfigCase_ == 6;
+ }
/**
*
*
@@ -10869,6 +10901,21 @@ public Builder clearAdditionalOptimizationObjectiveConfig() {
private int bitField0_;
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-precision-at-recall". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_recall_value = 5;
+ *
+ * @return Whether the optimizationObjectiveRecallValue field is set.
+ */
+ public boolean hasOptimizationObjectiveRecallValue() {
+ return additionalOptimizationObjectiveConfigCase_ == 5;
+ }
/**
*
*
@@ -10927,6 +10974,21 @@ public Builder clearOptimizationObjectiveRecallValue() {
return this;
}
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-recall-at-precision". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_precision_value = 6;
+ *
+ * @return Whether the optimizationObjectivePrecisionValue field is set.
+ */
+ public boolean hasOptimizationObjectivePrecisionValue() {
+ return additionalOptimizationObjectiveConfigCase_ == 6;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMlTablesInputsOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMlTablesInputsOrBuilder.java
index 7997df6c8..29ebc3f4a 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMlTablesInputsOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMlTablesInputsOrBuilder.java
@@ -23,6 +23,19 @@ public interface AutoMlTablesInputsOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-precision-at-recall". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_recall_value = 5;
+ *
+ * @return Whether the optimizationObjectiveRecallValue field is set.
+ */
+ boolean hasOptimizationObjectiveRecallValue();
/**
*
*
@@ -37,6 +50,19 @@ public interface AutoMlTablesInputsOrBuilder
*/
float getOptimizationObjectiveRecallValue();
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-recall-at-precision". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_precision_value = 6;
+ *
+ * @return Whether the optimizationObjectivePrecisionValue field is set.
+ */
+ boolean hasOptimizationObjectivePrecisionValue();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto
index fa34d829a..6edde6ea9 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto
index 17121a34b..42fc99732 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto
index e10d11e4d..bec1d6746 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto
index f7baf1582..8adb28325 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto
index 927f807a4..6a20c75a9 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto
index 4d5f32b98..4ee124384 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto
index b3520dd82..74e80068f 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto
index d552a4ade..0a7cbb883 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto
index ac5cb96ad..959ad9494 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto
index d85d8a280..d4a9e4b8d 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto
index 975dfdc1d..50775f03c 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto
index 39c0181c6..f1ae51c1e 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto
index 78a3b5043..1c5fb631d 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto
index b5db64438..76c636ec8 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto
index 9f7e90d15..235199208 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto
index 2fe492c5d..a11739285 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto
index b3456f4de..28c75b4d8 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto
index 973dcbc79..01a119095 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto
index 75023856a..a2a3c94f8 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto
index f93acb9a6..e45ccef2a 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto
index c518a73f8..873350394 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto
index 375bd1494..2a39204b7 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto
index ef40620e6..d5f365aef 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto
index 5d01485a0..5abceb55b 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto
index 23452641b..09ecd2dd7 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto
index f0080be30..3f03fcb97 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto
index 157d81260..9a08edd6e 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto
index 6b5b02b4a..2d9120976 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto
index b502ff78e..8ed75139a 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto
index d20921518..ca94acd18 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto
index 66d3ee349..d7a931119 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto
index 799f4e896..a22461df9 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/clirr-ignored-differences.xml b/proto-google-cloud-aiplatform-v1beta1/clirr-ignored-differences.xml
index b291fabc7..96edc75e4 100644
--- a/proto-google-cloud-aiplatform-v1beta1/clirr-ignored-differences.xml
+++ b/proto-google-cloud-aiplatform-v1beta1/clirr-ignored-differences.xml
@@ -106,4 +106,23 @@
+ * Max number of human labeled DataItems. + *+ * + *
int64 max_data_item_count = 1;
+ *
+ * @return Whether the maxDataItemCount field is set.
+ */
+ @java.lang.Override
+ public boolean hasMaxDataItemCount() {
+ return humanLabelingBudgetCase_ == 1;
+ }
/**
*
*
@@ -217,6 +232,21 @@ public long getMaxDataItemCount() {
}
public static final int MAX_DATA_ITEM_PERCENTAGE_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Max percent of total DataItems for human labeling. + *+ * + *
int32 max_data_item_percentage = 2;
+ *
+ * @return Whether the maxDataItemPercentage field is set.
+ */
+ @java.lang.Override
+ public boolean hasMaxDataItemPercentage() {
+ return humanLabelingBudgetCase_ == 2;
+ }
/**
*
*
@@ -780,6 +810,20 @@ public Builder clearHumanLabelingBudget() {
return this;
}
+ /**
+ *
+ *
+ * + * Max number of human labeled DataItems. + *+ * + *
int64 max_data_item_count = 1;
+ *
+ * @return Whether the maxDataItemCount field is set.
+ */
+ public boolean hasMaxDataItemCount() {
+ return humanLabelingBudgetCase_ == 1;
+ }
/**
*
*
@@ -835,6 +879,20 @@ public Builder clearMaxDataItemCount() {
return this;
}
+ /**
+ *
+ *
+ * + * Max percent of total DataItems for human labeling. + *+ * + *
int32 max_data_item_percentage = 2;
+ *
+ * @return Whether the maxDataItemPercentage field is set.
+ */
+ public boolean hasMaxDataItemPercentage() {
+ return humanLabelingBudgetCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ActiveLearningConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ActiveLearningConfigOrBuilder.java
index bb6593d77..074945a9d 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ActiveLearningConfigOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ActiveLearningConfigOrBuilder.java
@@ -23,6 +23,18 @@ public interface ActiveLearningConfigOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ActiveLearningConfig)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * Max number of human labeled DataItems. + *+ * + *
int64 max_data_item_count = 1;
+ *
+ * @return Whether the maxDataItemCount field is set.
+ */
+ boolean hasMaxDataItemCount();
/**
*
*
@@ -36,6 +48,18 @@ public interface ActiveLearningConfigOrBuilder
*/
long getMaxDataItemCount();
+ /**
+ *
+ *
+ * + * Max percent of total DataItems for human labeling. + *+ * + *
int32 max_data_item_percentage = 2;
+ *
+ * @return Whether the maxDataItemPercentage field is set.
+ */
+ boolean hasMaxDataItemPercentage();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchMigrateResourcesOperationMetadata.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchMigrateResourcesOperationMetadata.java
index dbfb12ec4..5e35fd92e 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchMigrateResourcesOperationMetadata.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchMigrateResourcesOperationMetadata.java
@@ -185,6 +185,18 @@ public interface PartialResultOrBuilder
*/
com.google.rpc.StatusOrBuilder getErrorOrBuilder();
+ /**
+ *
+ *
+ * + * Migrated model resource name. + *+ * + *
string model = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ boolean hasModel();
/**
*
*
@@ -210,6 +222,18 @@ public interface PartialResultOrBuilder
*/
com.google.protobuf.ByteString getModelBytes();
+ /**
+ *
+ *
+ * + * Migrated dataset resource name. + *+ * + *
string dataset = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ boolean hasDataset();
/**
*
*
@@ -513,6 +537,20 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
}
public static final int MODEL_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ * + * Migrated model resource name. + *+ * + *
string model = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ public boolean hasModel() {
+ return resultCase_ == 3;
+ }
/**
*
*
@@ -569,6 +607,20 @@ public com.google.protobuf.ByteString getModelBytes() {
}
public static final int DATASET_FIELD_NUMBER = 4;
+ /**
+ *
+ *
+ * + * Migrated dataset resource name. + *+ * + *
string dataset = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ public boolean hasDataset() {
+ return resultCase_ == 4;
+ }
/**
*
*
@@ -1369,6 +1421,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
return errorBuilder_;
}
+ /**
+ *
+ *
+ * + * Migrated model resource name. + *+ * + *
string model = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ @java.lang.Override
+ public boolean hasModel() {
+ return resultCase_ == 3;
+ }
/**
*
*
@@ -1488,6 +1555,21 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) {
return this;
}
+ /**
+ *
+ *
+ * + * Migrated dataset resource name. + *+ * + *
string dataset = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ @java.lang.Override
+ public boolean hasDataset() {
+ return resultCase_ == 4;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java
index ce4996373..66030fb3e 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java
@@ -3963,6 +3963,19 @@ public interface OutputInfoOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * Output only. The full path of the Cloud Storage directory created, into which + * the prediction output is written. + *+ * + *
string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the gcsOutputDirectory field is set.
+ */
+ boolean hasGcsOutputDirectory();
/**
*
*
@@ -3990,6 +4003,20 @@ public interface OutputInfoOrBuilder
*/
com.google.protobuf.ByteString getGcsOutputDirectoryBytes();
+ /**
+ *
+ *
+ * + * Output only. The path of the BigQuery dataset created, in + * `bq://projectId.bqDatasetId` + * format, into which the prediction output is written. + *+ * + *
string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the bigqueryOutputDataset field is set.
+ */
+ boolean hasBigqueryOutputDataset();
/**
*
*
@@ -4169,6 +4196,21 @@ public OutputLocationCase getOutputLocationCase() {
}
public static final int GCS_OUTPUT_DIRECTORY_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * Output only. The full path of the Cloud Storage directory created, into which + * the prediction output is written. + *+ * + *
string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the gcsOutputDirectory field is set.
+ */
+ public boolean hasGcsOutputDirectory() {
+ return outputLocationCase_ == 1;
+ }
/**
*
*
@@ -4227,6 +4269,22 @@ public com.google.protobuf.ByteString getGcsOutputDirectoryBytes() {
}
public static final int BIGQUERY_OUTPUT_DATASET_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Output only. The path of the BigQuery dataset created, in + * `bq://projectId.bqDatasetId` + * format, into which the prediction output is written. + *+ * + *
string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the bigqueryOutputDataset field is set.
+ */
+ public boolean hasBigqueryOutputDataset() {
+ return outputLocationCase_ == 2;
+ }
/**
*
*
@@ -4680,6 +4738,22 @@ public Builder clearOutputLocation() {
return this;
}
+ /**
+ *
+ *
+ * + * Output only. The full path of the Cloud Storage directory created, into which + * the prediction output is written. + *+ * + *
string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the gcsOutputDirectory field is set.
+ */
+ @java.lang.Override
+ public boolean hasGcsOutputDirectory() {
+ return outputLocationCase_ == 1;
+ }
/**
*
*
@@ -4804,6 +4878,24 @@ public Builder setGcsOutputDirectoryBytes(com.google.protobuf.ByteString value)
return this;
}
+ /**
+ *
+ *
+ * + * Output only. The path of the BigQuery dataset created, in + * `bq://projectId.bqDatasetId` + * format, into which the prediction output is written. + *+ * + *
string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the bigqueryOutputDataset field is set.
+ */
+ @java.lang.Override
+ public boolean hasBigqueryOutputDataset() {
+ return outputLocationCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationMetadata.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationMetadata.java
index 511c22b5e..149120646 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationMetadata.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationMetadata.java
@@ -8841,6 +8841,22 @@ public interface OutputMetadataOrBuilder
*/
com.google.protobuf.ValueOrBuilder getIndexDisplayNameMappingOrBuilder();
+ /**
+ *
+ *
+ * + * Specify a field name in the prediction to look for the display name. + * Use this if the prediction contains the display names for the outputs. + * The display names in the prediction must have the same shape of the + * outputs, so that it can be located by [Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index] for + * a specific output. + *+ * + *
string display_name_mapping_key = 2;
+ *
+ * @return Whether the displayNameMappingKey field is set.
+ */
+ boolean hasDisplayNameMappingKey();
/**
*
*
@@ -9146,6 +9162,24 @@ public com.google.protobuf.ValueOrBuilder getIndexDisplayNameMappingOrBuilder()
}
public static final int DISPLAY_NAME_MAPPING_KEY_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Specify a field name in the prediction to look for the display name. + * Use this if the prediction contains the display names for the outputs. + * The display names in the prediction must have the same shape of the + * outputs, so that it can be located by [Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index] for + * a specific output. + *+ * + *
string display_name_mapping_key = 2;
+ *
+ * @return Whether the displayNameMappingKey field is set.
+ */
+ public boolean hasDisplayNameMappingKey() {
+ return displayNameMappingCase_ == 2;
+ }
/**
*
*
@@ -9967,6 +10001,25 @@ public com.google.protobuf.ValueOrBuilder getIndexDisplayNameMappingOrBuilder()
return indexDisplayNameMappingBuilder_;
}
+ /**
+ *
+ *
+ * + * Specify a field name in the prediction to look for the display name. + * Use this if the prediction contains the display names for the outputs. + * The display names in the prediction must have the same shape of the + * outputs, so that it can be located by [Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index] for + * a specific output. + *+ * + *
string display_name_mapping_key = 2;
+ *
+ * @return Whether the displayNameMappingKey field is set.
+ */
+ @java.lang.Override
+ public boolean hasDisplayNameMappingKey() {
+ return displayNameMappingCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrateResourceResponse.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrateResourceResponse.java
index 3a5a03820..ed313855f 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrateResourceResponse.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrateResourceResponse.java
@@ -181,6 +181,20 @@ public MigratedResourceCase getMigratedResourceCase() {
}
public static final int DATASET_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * Migrated Dataset's resource name. + *+ * + *
string dataset = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ public boolean hasDataset() {
+ return migratedResourceCase_ == 1;
+ }
/**
*
*
@@ -237,6 +251,20 @@ public com.google.protobuf.ByteString getDatasetBytes() {
}
public static final int MODEL_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Migrated Model's resource name. + *+ * + *
string model = 2 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ public boolean hasModel() {
+ return migratedResourceCase_ == 2;
+ }
/**
*
*
@@ -753,6 +781,21 @@ public Builder clearMigratedResource() {
return this;
}
+ /**
+ *
+ *
+ * + * Migrated Dataset's resource name. + *+ * + *
string dataset = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ @java.lang.Override
+ public boolean hasDataset() {
+ return migratedResourceCase_ == 1;
+ }
/**
*
*
@@ -872,6 +915,21 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) {
return this;
}
+ /**
+ *
+ *
+ * + * Migrated Model's resource name. + *+ * + *
string model = 2 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ @java.lang.Override
+ public boolean hasModel() {
+ return migratedResourceCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrateResourceResponseOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrateResourceResponseOrBuilder.java
index 82e7eff35..c3e80826c 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrateResourceResponseOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrateResourceResponseOrBuilder.java
@@ -23,6 +23,18 @@ public interface MigrateResourceResponseOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.MigrateResourceResponse)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * Migrated Dataset's resource name. + *+ * + *
string dataset = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the dataset field is set.
+ */
+ boolean hasDataset();
/**
*
*
@@ -48,6 +60,18 @@ public interface MigrateResourceResponseOrBuilder
*/
com.google.protobuf.ByteString getDatasetBytes();
+ /**
+ *
+ *
+ * + * Migrated Model's resource name. + *+ * + *
string model = 2 [(.google.api.resource_reference) = { ... }
+ *
+ * @return Whether the model field is set.
+ */
+ boolean hasModel();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SampleConfig.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SampleConfig.java
index 86506a756..1d18cc9bb 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SampleConfig.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SampleConfig.java
@@ -349,6 +349,21 @@ public FollowingBatchSampleSizeCase getFollowingBatchSampleSizeCase() {
}
public static final int INITIAL_BATCH_SAMPLE_PERCENTAGE_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in the first batch. + *+ * + *
int32 initial_batch_sample_percentage = 1;
+ *
+ * @return Whether the initialBatchSamplePercentage field is set.
+ */
+ @java.lang.Override
+ public boolean hasInitialBatchSamplePercentage() {
+ return initialBatchSampleSizeCase_ == 1;
+ }
/**
*
*
@@ -369,6 +384,22 @@ public int getInitialBatchSamplePercentage() {
}
public static final int FOLLOWING_BATCH_SAMPLE_PERCENTAGE_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in each following batch + * (except the first batch). + *+ * + *
int32 following_batch_sample_percentage = 3;
+ *
+ * @return Whether the followingBatchSamplePercentage field is set.
+ */
+ @java.lang.Override
+ public boolean hasFollowingBatchSamplePercentage() {
+ return followingBatchSampleSizeCase_ == 3;
+ }
/**
*
*
@@ -866,6 +897,20 @@ public Builder clearFollowingBatchSampleSize() {
return this;
}
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in the first batch. + *+ * + *
int32 initial_batch_sample_percentage = 1;
+ *
+ * @return Whether the initialBatchSamplePercentage field is set.
+ */
+ public boolean hasInitialBatchSamplePercentage() {
+ return initialBatchSampleSizeCase_ == 1;
+ }
/**
*
*
@@ -921,6 +966,21 @@ public Builder clearInitialBatchSamplePercentage() {
return this;
}
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in each following batch + * (except the first batch). + *+ * + *
int32 following_batch_sample_percentage = 3;
+ *
+ * @return Whether the followingBatchSamplePercentage field is set.
+ */
+ public boolean hasFollowingBatchSamplePercentage() {
+ return followingBatchSampleSizeCase_ == 3;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SampleConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SampleConfigOrBuilder.java
index 0049a306e..741c8b81f 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SampleConfigOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SampleConfigOrBuilder.java
@@ -23,6 +23,18 @@ public interface SampleConfigOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.SampleConfig)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in the first batch. + *+ * + *
int32 initial_batch_sample_percentage = 1;
+ *
+ * @return Whether the initialBatchSamplePercentage field is set.
+ */
+ boolean hasInitialBatchSamplePercentage();
/**
*
*
@@ -36,6 +48,19 @@ public interface SampleConfigOrBuilder
*/
int getInitialBatchSamplePercentage();
+ /**
+ *
+ *
+ * + * The percentage of data needed to be labeled in each following batch + * (except the first batch). + *+ * + *
int32 following_batch_sample_percentage = 3;
+ *
+ * @return Whether the followingBatchSamplePercentage field is set.
+ */
+ boolean hasFollowingBatchSamplePercentage();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SmoothGradConfig.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SmoothGradConfig.java
index 3948ee145..69af0bc16 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SmoothGradConfig.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SmoothGradConfig.java
@@ -185,6 +185,32 @@ public GradientNoiseSigmaCase getGradientNoiseSigmaCase() {
}
public static final int NOISE_SIGMA_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * This is a single float value and will be used to add noise to all the + * features. Use this field when all features are normalized to have the + * same distribution: scale to range [0, 1], [-1, 1] or z-scoring, where + * features are normalized to have 0-mean and 1-variance. For more details + * about normalization: + * https://tinyurl.com/dgc-normalization. + * For best results the recommended value is about 10% - 20% of the standard + * deviation of the input feature. Refer to section 3.2 of the SmoothGrad + * paper: https://arxiv.org/pdf/1706.03825.pdf. Defaults to 0.1. + * If the distribution is different per feature, set + * [feature_noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.feature_noise_sigma] instead + * for each feature. + *+ * + *
float noise_sigma = 1;
+ *
+ * @return Whether the noiseSigma field is set.
+ */
+ @java.lang.Override
+ public boolean hasNoiseSigma() {
+ return gradientNoiseSigmaCase_ == 1;
+ }
/**
*
*
@@ -708,6 +734,31 @@ public Builder clearGradientNoiseSigma() {
return this;
}
+ /**
+ *
+ *
+ * + * This is a single float value and will be used to add noise to all the + * features. Use this field when all features are normalized to have the + * same distribution: scale to range [0, 1], [-1, 1] or z-scoring, where + * features are normalized to have 0-mean and 1-variance. For more details + * about normalization: + * https://tinyurl.com/dgc-normalization. + * For best results the recommended value is about 10% - 20% of the standard + * deviation of the input feature. Refer to section 3.2 of the SmoothGrad + * paper: https://arxiv.org/pdf/1706.03825.pdf. Defaults to 0.1. + * If the distribution is different per feature, set + * [feature_noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.feature_noise_sigma] instead + * for each feature. + *+ * + *
float noise_sigma = 1;
+ *
+ * @return Whether the noiseSigma field is set.
+ */
+ public boolean hasNoiseSigma() {
+ return gradientNoiseSigmaCase_ == 1;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SmoothGradConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SmoothGradConfigOrBuilder.java
index fd7bd2dfe..f60632608 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SmoothGradConfigOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SmoothGradConfigOrBuilder.java
@@ -23,6 +23,29 @@ public interface SmoothGradConfigOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.SmoothGradConfig)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * This is a single float value and will be used to add noise to all the + * features. Use this field when all features are normalized to have the + * same distribution: scale to range [0, 1], [-1, 1] or z-scoring, where + * features are normalized to have 0-mean and 1-variance. For more details + * about normalization: + * https://tinyurl.com/dgc-normalization. + * For best results the recommended value is about 10% - 20% of the standard + * deviation of the input feature. Refer to section 3.2 of the SmoothGrad + * paper: https://arxiv.org/pdf/1706.03825.pdf. Defaults to 0.1. + * If the distribution is different per feature, set + * [feature_noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.feature_noise_sigma] instead + * for each feature. + *+ * + *
float noise_sigma = 1;
+ *
+ * @return Whether the noiseSigma field is set.
+ */
+ boolean hasNoiseSigma();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReference.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReference.java
index 804043c7e..8184d824a 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReference.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReference.java
@@ -174,6 +174,23 @@ public ReferenceCase getReferenceCase() {
}
public static final int OPERATION_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * For API calls that return a long running operation. + * Resource name of the long running operation. + * Format: + * 'projects/{project}/locations/{location}/operations/{operation}' + *+ * + *
string operation = 1;
+ *
+ * @return Whether the operation field is set.
+ */
+ public boolean hasOperation() {
+ return referenceCase_ == 1;
+ }
/**
*
*
@@ -236,6 +253,23 @@ public com.google.protobuf.ByteString getOperationBytes() {
}
public static final int DATA_LABELING_JOB_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * For API calls that start a LabelingJob. + * Resource name of the LabelingJob. + * Format: + * 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' + *+ * + *
string data_labeling_job = 2;
+ *
+ * @return Whether the dataLabelingJob field is set.
+ */
+ public boolean hasDataLabelingJob() {
+ return referenceCase_ == 2;
+ }
/**
*
*
@@ -746,6 +780,24 @@ public Builder clearReference() {
return this;
}
+ /**
+ *
+ *
+ * + * For API calls that return a long running operation. + * Resource name of the long running operation. + * Format: + * 'projects/{project}/locations/{location}/operations/{operation}' + *+ * + *
string operation = 1;
+ *
+ * @return Whether the operation field is set.
+ */
+ @java.lang.Override
+ public boolean hasOperation() {
+ return referenceCase_ == 1;
+ }
/**
*
*
@@ -880,6 +932,24 @@ public Builder setOperationBytes(com.google.protobuf.ByteString value) {
return this;
}
+ /**
+ *
+ *
+ * + * For API calls that start a LabelingJob. + * Resource name of the LabelingJob. + * Format: + * 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' + *+ * + *
string data_labeling_job = 2;
+ *
+ * @return Whether the dataLabelingJob field is set.
+ */
+ @java.lang.Override
+ public boolean hasDataLabelingJob() {
+ return referenceCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReferenceOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReferenceOrBuilder.java
index 404666273..2349faa68 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReferenceOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReferenceOrBuilder.java
@@ -23,6 +23,21 @@ public interface UserActionReferenceOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.UserActionReference)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * For API calls that return a long running operation. + * Resource name of the long running operation. + * Format: + * 'projects/{project}/locations/{location}/operations/{operation}' + *+ * + *
string operation = 1;
+ *
+ * @return Whether the operation field is set.
+ */
+ boolean hasOperation();
/**
*
*
@@ -54,6 +69,21 @@ public interface UserActionReferenceOrBuilder
*/
com.google.protobuf.ByteString getOperationBytes();
+ /**
+ *
+ *
+ * + * For API calls that start a LabelingJob. + * Resource name of the LabelingJob. + * Format: + * 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' + *+ * + *
string data_labeling_job = 2;
+ *
+ * @return Whether the dataLabelingJob field is set.
+ */
+ boolean hasDataLabelingJob();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResult.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResult.java
deleted file mode 100644
index f7670b130..000000000
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResult.java
+++ /dev/null
@@ -1,806 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto
-
-package com.google.cloud.aiplatform.v1beta1.schema.predict.prediction;
-
-/**
- *
- *
- * - * Prediction output format for Time Series Forecasting. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.predict.prediction.TimeSeriesForecastingPredictionResult} - */ -public final class TimeSeriesForecastingPredictionResult - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.predict.prediction.TimeSeriesForecastingPredictionResult) - TimeSeriesForecastingPredictionResultOrBuilder { - private static final long serialVersionUID = 0L; - // Use TimeSeriesForecastingPredictionResult.newBuilder() to construct. - private TimeSeriesForecastingPredictionResult( - com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private TimeSeriesForecastingPredictionResult() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TimeSeriesForecastingPredictionResult(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private TimeSeriesForecastingPredictionResult( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 13: - { - value_ = input.readFloat(); - break; - } - case 21: - { - lowerBound_ = input.readFloat(); - break; - } - case 29: - { - upperBound_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.predict.prediction - .TimeSeriesForecastingPredictionResultProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TimeSeriesForecastingPredictionResult_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.predict.prediction - .TimeSeriesForecastingPredictionResultProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TimeSeriesForecastingPredictionResult_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.predict.prediction - .TimeSeriesForecastingPredictionResult.class, - com.google.cloud.aiplatform.v1beta1.schema.predict.prediction - .TimeSeriesForecastingPredictionResult.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private float value_; - /** - * - * - *
- * The regression value. - *- * - *
float value = 1;
- *
- * @return The value.
- */
- @java.lang.Override
- public float getValue() {
- return value_;
- }
-
- public static final int LOWER_BOUND_FIELD_NUMBER = 2;
- private float lowerBound_;
- /**
- *
- *
- * - * The lower bound of the prediction interval. - *- * - *
float lower_bound = 2;
- *
- * @return The lowerBound.
- */
- @java.lang.Override
- public float getLowerBound() {
- return lowerBound_;
- }
-
- public static final int UPPER_BOUND_FIELD_NUMBER = 3;
- private float upperBound_;
- /**
- *
- *
- * - * The upper bound of the prediction interval. - *- * - *
float upper_bound = 3;
- *
- * @return The upperBound.
- */
- @java.lang.Override
- public float getUpperBound() {
- return upperBound_;
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (value_ != 0F) {
- output.writeFloat(1, value_);
- }
- if (lowerBound_ != 0F) {
- output.writeFloat(2, lowerBound_);
- }
- if (upperBound_ != 0F) {
- output.writeFloat(3, upperBound_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (value_ != 0F) {
- size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, value_);
- }
- if (lowerBound_ != 0F) {
- size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, lowerBound_);
- }
- if (upperBound_ != 0F) {
- size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, upperBound_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult)
- obj;
-
- if (java.lang.Float.floatToIntBits(getValue())
- != java.lang.Float.floatToIntBits(other.getValue())) return false;
- if (java.lang.Float.floatToIntBits(getLowerBound())
- != java.lang.Float.floatToIntBits(other.getLowerBound())) return false;
- if (java.lang.Float.floatToIntBits(getUpperBound())
- != java.lang.Float.floatToIntBits(other.getUpperBound())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + VALUE_FIELD_NUMBER;
- hash = (53 * hash) + java.lang.Float.floatToIntBits(getValue());
- hash = (37 * hash) + LOWER_BOUND_FIELD_NUMBER;
- hash = (53 * hash) + java.lang.Float.floatToIntBits(getLowerBound());
- hash = (37 * hash) + UPPER_BOUND_FIELD_NUMBER;
- hash = (53 * hash) + java.lang.Float.floatToIntBits(getUpperBound());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Prediction output format for Time Series Forecasting. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.predict.prediction.TimeSeriesForecastingPredictionResult} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * The regression value. - *- * - *
float value = 1;
- *
- * @return The value.
- */
- @java.lang.Override
- public float getValue() {
- return value_;
- }
- /**
- *
- *
- * - * The regression value. - *- * - *
float value = 1;
- *
- * @param value The value to set.
- * @return This builder for chaining.
- */
- public Builder setValue(float value) {
-
- value_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The regression value. - *- * - *
float value = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearValue() {
-
- value_ = 0F;
- onChanged();
- return this;
- }
-
- private float lowerBound_;
- /**
- *
- *
- * - * The lower bound of the prediction interval. - *- * - *
float lower_bound = 2;
- *
- * @return The lowerBound.
- */
- @java.lang.Override
- public float getLowerBound() {
- return lowerBound_;
- }
- /**
- *
- *
- * - * The lower bound of the prediction interval. - *- * - *
float lower_bound = 2;
- *
- * @param value The lowerBound to set.
- * @return This builder for chaining.
- */
- public Builder setLowerBound(float value) {
-
- lowerBound_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The lower bound of the prediction interval. - *- * - *
float lower_bound = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearLowerBound() {
-
- lowerBound_ = 0F;
- onChanged();
- return this;
- }
-
- private float upperBound_;
- /**
- *
- *
- * - * The upper bound of the prediction interval. - *- * - *
float upper_bound = 3;
- *
- * @return The upperBound.
- */
- @java.lang.Override
- public float getUpperBound() {
- return upperBound_;
- }
- /**
- *
- *
- * - * The upper bound of the prediction interval. - *- * - *
float upper_bound = 3;
- *
- * @param value The upperBound to set.
- * @return This builder for chaining.
- */
- public Builder setUpperBound(float value) {
-
- upperBound_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The upper bound of the prediction interval. - *- * - *
float upper_bound = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearUpperBound() {
-
- upperBound_ = 0F;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.predict.prediction.TimeSeriesForecastingPredictionResult)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.predict.prediction.TimeSeriesForecastingPredictionResult)
- private static final com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.predict.prediction
- .TimeSeriesForecastingPredictionResult
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * The regression value. - *- * - *
float value = 1;
- *
- * @return The value.
- */
- float getValue();
-
- /**
- *
- *
- * - * The lower bound of the prediction interval. - *- * - *
float lower_bound = 2;
- *
- * @return The lowerBound.
- */
- float getLowerBound();
-
- /**
- *
- *
- * - * The upper bound of the prediction interval. - *- * - *
float upper_bound = 3;
- *
- * @return The upperBound.
- */
- float getUpperBound();
-}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java
deleted file mode 100644
index bccf02c30..000000000
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto
-
-package com.google.cloud.aiplatform.v1beta1.schema.predict.prediction;
-
-public final class TimeSeriesForecastingPredictionResultProto {
- private TimeSeriesForecastingPredictionResultProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TimeSeriesForecastingPredictionResult_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TimeSeriesForecastingPredictionResult_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\nWgoogle/cloud/aiplatform/v1beta1/schema"
- + "/predict/prediction/time_series_forecast"
- + "ing.proto\0229google.cloud.aiplatform.v1bet"
- + "a1.schema.predict.prediction\032\034google/api"
- + "/annotations.proto\"`\n%TimeSeriesForecast"
- + "ingPredictionResult\022\r\n\005value\030\001 \001(\002\022\023\n\013lo"
- + "wer_bound\030\002 \001(\002\022\023\n\013upper_bound\030\003 \001(\002B\322\001\n"
- + "=com.google.cloud.aiplatform.v1beta1.sch"
- + "ema.predict.predictionB*TimeSeriesForeca"
- + "stingPredictionResultProtoP\001Zcgoogle.gol"
- + "ang.org/genproto/googleapis/cloud/aiplat"
- + "form/v1beta1/schema/predict/prediction;p"
- + "redictionb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TimeSeriesForecastingPredictionResult_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TimeSeriesForecastingPredictionResult_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TimeSeriesForecastingPredictionResult_descriptor,
- new java.lang.String[] {
- "Value", "LowerBound", "UpperBound",
- });
- com.google.api.AnnotationsProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java
deleted file mode 100644
index 6d17c462a..000000000
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java
+++ /dev/null
@@ -1,341 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source:
-// google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto
-
-package com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition;
-
-public final class AutoMLForecastingProto {
- private AutoMLForecastingProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecasting_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecasting_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_AutoTransformation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_AutoTransformation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericTransformation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericTransformation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalTransformation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalTransformation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TimestampTransformation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TimestampTransformation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextTransformation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextTransformation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericArrayTransformation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericArrayTransformation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextArrayTransformation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextArrayTransformation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Period_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Period_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingMetadata_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingMetadata_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\nbgoogle/cloud/aiplatform/v1beta1/schema"
- + "/trainingjob/definition/automl_time_seri"
- + "es_forecasting.proto\022=google.cloud.aipla"
- + "tform.v1beta1.schema.trainingjob.definit"
- + "ion\032fgoogle/cloud/aiplatform/v1beta1/sch"
- + "ema/trainingjob/definition/export_evalua"
- + "ted_data_items_config.proto\032\034google/api/"
- + "annotations.proto\"\347\001\n\021AutoMlForecasting\022"
- + "f\n\006inputs\030\001 \001(\0132V.google.cloud.aiplatfor"
- + "m.v1beta1.schema.trainingjob.definition."
- + "AutoMlForecastingInputs\022j\n\010metadata\030\002 \001("
- + "\0132X.google.cloud.aiplatform.v1beta1.sche"
- + "ma.trainingjob.definition.AutoMlForecast"
- + "ingMetadata\"\265\024\n\027AutoMlForecastingInputs\022"
- + "\025\n\rtarget_column\030\001 \001(\t\022%\n\035time_series_id"
- + "entifier_column\030\002 \001(\t\022\023\n\013time_column\030\003 \001"
- + "(\t\022~\n\017transformations\030\004 \003(\0132e.google.clo"
- + "ud.aiplatform.v1beta1.schema.trainingjob"
- + ".definition.AutoMlForecastingInputs.Tran"
- + "sformation\022\036\n\026optimization_objective\030\005 \001"
- + "(\t\022%\n\035train_budget_milli_node_hours\030\006 \001("
- + "\003\022\025\n\rweight_column\030\007 \001(\t\022\026\n\016static_colum"
- + "ns\030\010 \003(\t\022&\n\036time_variant_past_only_colum"
- + "ns\030\t \003(\t\022,\n$time_variant_past_and_future"
- + "_columns\030\n \003(\t\022m\n\006period\030\013 \001(\0132].google."
- + "cloud.aiplatform.v1beta1.schema.training"
- + "job.definition.AutoMlForecastingInputs.P"
- + "eriod\022\035\n\025forecast_window_start\030\014 \001(\003\022\033\n\023"
- + "forecast_window_end\030\r \001(\003\022\024\n\014past_horizo"
- + "n\030\016 \001(\003\022\211\001\n\"export_evaluated_data_items_"
- + "config\030\017 \001(\0132].google.cloud.aiplatform.v"
- + "1beta1.schema.trainingjob.definition.Exp"
- + "ortEvaluatedDataItemsConfig\022\021\n\tquantiles"
- + "\030\020 \003(\001\022\032\n\022validation_options\030\021 \001(\t\032\324\r\n\016T"
- + "ransformation\022\210\001\n\004auto\030\001 \001(\0132x.google.cl"
- + "oud.aiplatform.v1beta1.schema.trainingjo"
- + "b.definition.AutoMlForecastingInputs.Tra"
- + "nsformation.AutoTransformationH\000\022\216\001\n\007num"
- + "eric\030\002 \001(\0132{.google.cloud.aiplatform.v1b"
- + "eta1.schema.trainingjob.definition.AutoM"
- + "lForecastingInputs.Transformation.Numeri"
- + "cTransformationH\000\022\226\001\n\013categorical\030\003 \001(\0132"
- + "\177.google.cloud.aiplatform.v1beta1.schema"
- + ".trainingjob.definition.AutoMlForecastin"
- + "gInputs.Transformation.CategoricalTransf"
- + "ormationH\000\022\222\001\n\ttimestamp\030\004 \001(\0132}.google."
- + "cloud.aiplatform.v1beta1.schema.training"
- + "job.definition.AutoMlForecastingInputs.T"
- + "ransformation.TimestampTransformationH\000\022"
- + "\210\001\n\004text\030\005 \001(\0132x.google.cloud.aiplatform"
- + ".v1beta1.schema.trainingjob.definition.A"
- + "utoMlForecastingInputs.Transformation.Te"
- + "xtTransformationH\000\022\235\001\n\020repeated_numeric\030"
- + "\006 \001(\0132\200\001.google.cloud.aiplatform.v1beta1"
- + ".schema.trainingjob.definition.AutoMlFor"
- + "ecastingInputs.Transformation.NumericArr"
- + "ayTransformationH\000\022\245\001\n\024repeated_categori"
- + "cal\030\007 \001(\0132\204\001.google.cloud.aiplatform.v1b"
- + "eta1.schema.trainingjob.definition.AutoM"
- + "lForecastingInputs.Transformation.Catego"
- + "ricalArrayTransformationH\000\022\226\001\n\rrepeated_"
- + "text\030\010 \001(\0132}.google.cloud.aiplatform.v1b"
- + "eta1.schema.trainingjob.definition.AutoM"
- + "lForecastingInputs.Transformation.TextAr"
- + "rayTransformationH\000\032)\n\022AutoTransformatio"
- + "n\022\023\n\013column_name\030\001 \001(\t\032L\n\025NumericTransfo"
- + "rmation\022\023\n\013column_name\030\001 \001(\t\022\036\n\026invalid_"
- + "values_allowed\030\002 \001(\010\0320\n\031CategoricalTrans"
- + "formation\022\023\n\013column_name\030\001 \001(\t\032c\n\027Timest"
- + "ampTransformation\022\023\n\013column_name\030\001 \001(\t\022\023"
- + "\n\013time_format\030\002 \001(\t\022\036\n\026invalid_values_al"
- + "lowed\030\003 \001(\010\032)\n\022TextTransformation\022\023\n\013col"
- + "umn_name\030\001 \001(\t\032Q\n\032NumericArrayTransforma"
- + "tion\022\023\n\013column_name\030\001 \001(\t\022\036\n\026invalid_val"
- + "ues_allowed\030\002 \001(\010\0325\n\036CategoricalArrayTra"
- + "nsformation\022\023\n\013column_name\030\001 \001(\t\032.\n\027Text"
- + "ArrayTransformation\022\023\n\013column_name\030\001 \001(\t"
- + "B\027\n\025transformation_detail\032(\n\006Period\022\014\n\004u"
- + "nit\030\001 \001(\t\022\020\n\010quantity\030\002 \001(\003\"@\n\031AutoMlFor"
- + "ecastingMetadata\022#\n\033train_cost_milli_nod"
- + "e_hours\030\001 \001(\003B\306\001\nAcom.google.cloud.aipla"
- + "tform.v1beta1.schema.trainingjob.definit"
- + "ionB\026AutoMLForecastingProtoP\001Zggoogle.go"
- + "lang.org/genproto/googleapis/cloud/aipla"
- + "tform/v1beta1/schema/trainingjob/definit"
- + "ion;definitionb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfigProto.getDescriptor(),
- com.google.api.AnnotationsProto.getDescriptor(),
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecasting_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecasting_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecasting_descriptor,
- new java.lang.String[] {
- "Inputs", "Metadata",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_descriptor,
- new java.lang.String[] {
- "TargetColumn",
- "TimeSeriesIdentifierColumn",
- "TimeColumn",
- "Transformations",
- "OptimizationObjective",
- "TrainBudgetMilliNodeHours",
- "WeightColumn",
- "StaticColumns",
- "TimeVariantPastOnlyColumns",
- "TimeVariantPastAndFutureColumns",
- "Period",
- "ForecastWindowStart",
- "ForecastWindowEnd",
- "PastHorizon",
- "ExportEvaluatedDataItemsConfig",
- "Quantiles",
- "ValidationOptions",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_descriptor
- .getNestedTypes()
- .get(0);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor,
- new java.lang.String[] {
- "Auto",
- "Numeric",
- "Categorical",
- "Timestamp",
- "Text",
- "RepeatedNumeric",
- "RepeatedCategorical",
- "RepeatedText",
- "TransformationDetail",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_AutoTransformation_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor
- .getNestedTypes()
- .get(0);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_AutoTransformation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_AutoTransformation_descriptor,
- new java.lang.String[] {
- "ColumnName",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericTransformation_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor
- .getNestedTypes()
- .get(1);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericTransformation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericTransformation_descriptor,
- new java.lang.String[] {
- "ColumnName", "InvalidValuesAllowed",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalTransformation_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor
- .getNestedTypes()
- .get(2);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalTransformation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalTransformation_descriptor,
- new java.lang.String[] {
- "ColumnName",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TimestampTransformation_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor
- .getNestedTypes()
- .get(3);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TimestampTransformation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TimestampTransformation_descriptor,
- new java.lang.String[] {
- "ColumnName", "TimeFormat", "InvalidValuesAllowed",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextTransformation_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor
- .getNestedTypes()
- .get(4);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextTransformation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextTransformation_descriptor,
- new java.lang.String[] {
- "ColumnName",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericArrayTransformation_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor
- .getNestedTypes()
- .get(5);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericArrayTransformation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericArrayTransformation_descriptor,
- new java.lang.String[] {
- "ColumnName", "InvalidValuesAllowed",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor
- .getNestedTypes()
- .get(6);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation_descriptor,
- new java.lang.String[] {
- "ColumnName",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextArrayTransformation_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor
- .getNestedTypes()
- .get(7);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextArrayTransformation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextArrayTransformation_descriptor,
- new java.lang.String[] {
- "ColumnName",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Period_descriptor =
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_descriptor
- .getNestedTypes()
- .get(1);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Period_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Period_descriptor,
- new java.lang.String[] {
- "Unit", "Quantity",
- });
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingMetadata_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingMetadata_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingMetadata_descriptor,
- new java.lang.String[] {
- "TrainCostMilliNodeHours",
- });
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfigProto.getDescriptor();
- com.google.api.AnnotationsProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecasting.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecasting.java
deleted file mode 100644
index 3b1455031..000000000
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecasting.java
+++ /dev/null
@@ -1,1170 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source:
-// google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto
-
-package com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition;
-
-/**
- *
- *
- * - * A TrainingJob that trains and uploads an AutoML Forecasting Model. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting} - */ -public final class AutoMlForecasting extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting) - AutoMlForecastingOrBuilder { - private static final long serialVersionUID = 0L; - // Use AutoMlForecasting.newBuilder() to construct. - private AutoMlForecasting(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private AutoMlForecasting() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AutoMlForecasting(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private AutoMlForecasting( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Builder - subBuilder = null; - if (inputs_ != null) { - subBuilder = inputs_.toBuilder(); - } - inputs_ = - input.readMessage( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputs_); - inputs_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingMetadata.Builder - subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = - input.readMessage( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingMetadata.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecasting_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecasting_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting - .class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting - .Builder.class); - } - - public static final int INPUTS_FIELD_NUMBER = 1; - private com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs - inputs_; - /** - * - * - *
- * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- *
- * @return Whether the inputs field is set.
- */
- @java.lang.Override
- public boolean hasInputs() {
- return inputs_ != null;
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- *
- * @return The inputs.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- getInputs() {
- return inputs_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .getDefaultInstance()
- : inputs_;
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputsOrBuilder
- getInputsOrBuilder() {
- return getInputs();
- }
-
- public static final int METADATA_FIELD_NUMBER = 2;
- private com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- metadata_;
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- *
- * @return Whether the metadata field is set.
- */
- @java.lang.Override
- public boolean hasMetadata() {
- return metadata_ != null;
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- *
- * @return The metadata.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata
- getMetadata() {
- return metadata_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata.getDefaultInstance()
- : metadata_;
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadataOrBuilder
- getMetadataOrBuilder() {
- return getMetadata();
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (inputs_ != null) {
- output.writeMessage(1, getInputs());
- }
- if (metadata_ != null) {
- output.writeMessage(2, getMetadata());
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (inputs_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInputs());
- }
- if (metadata_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata());
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting) obj;
-
- if (hasInputs() != other.hasInputs()) return false;
- if (hasInputs()) {
- if (!getInputs().equals(other.getInputs())) return false;
- }
- if (hasMetadata() != other.hasMetadata()) return false;
- if (hasMetadata()) {
- if (!getMetadata().equals(other.getMetadata())) return false;
- }
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasInputs()) {
- hash = (37 * hash) + INPUTS_FIELD_NUMBER;
- hash = (53 * hash) + getInputs().hashCode();
- }
- if (hasMetadata()) {
- hash = (37 * hash) + METADATA_FIELD_NUMBER;
- hash = (53 * hash) + getMetadata().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * A TrainingJob that trains and uploads an AutoML Forecasting Model. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- *
- * @return Whether the inputs field is set.
- */
- public boolean hasInputs() {
- return inputsBuilder_ != null || inputs_ != null;
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- *
- * @return The inputs.
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- getInputs() {
- if (inputsBuilder_ == null) {
- return inputs_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.getDefaultInstance()
- : inputs_;
- } else {
- return inputsBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- */
- public Builder setInputs(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- value) {
- if (inputsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- inputs_ = value;
- onChanged();
- } else {
- inputsBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- */
- public Builder setInputs(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Builder
- builderForValue) {
- if (inputsBuilder_ == null) {
- inputs_ = builderForValue.build();
- onChanged();
- } else {
- inputsBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- */
- public Builder mergeInputs(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- value) {
- if (inputsBuilder_ == null) {
- if (inputs_ != null) {
- inputs_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.newBuilder(inputs_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- inputs_ = value;
- }
- onChanged();
- } else {
- inputsBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- */
- public Builder clearInputs() {
- if (inputsBuilder_ == null) {
- inputs_ = null;
- onChanged();
- } else {
- inputs_ = null;
- inputsBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Builder
- getInputsBuilder() {
-
- onChanged();
- return getInputsFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputsOrBuilder
- getInputsOrBuilder() {
- if (inputsBuilder_ != null) {
- return inputsBuilder_.getMessageOrBuilder();
- } else {
- return inputs_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.getDefaultInstance()
- : inputs_;
- }
- }
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputsOrBuilder>
- getInputsFieldBuilder() {
- if (inputsBuilder_ == null) {
- inputsBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputsOrBuilder>(
- getInputs(), getParentForChildren(), isClean());
- inputs_ = null;
- }
- return inputsBuilder_;
- }
-
- private com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- metadata_;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadataOrBuilder>
- metadataBuilder_;
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- *
- * @return Whether the metadata field is set.
- */
- public boolean hasMetadata() {
- return metadataBuilder_ != null || metadata_ != null;
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- *
- * @return The metadata.
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- getMetadata() {
- if (metadataBuilder_ == null) {
- return metadata_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata.getDefaultInstance()
- : metadata_;
- } else {
- return metadataBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- */
- public Builder setMetadata(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata
- value) {
- if (metadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- metadata_ = value;
- onChanged();
- } else {
- metadataBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- */
- public Builder setMetadata(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata
- .Builder
- builderForValue) {
- if (metadataBuilder_ == null) {
- metadata_ = builderForValue.build();
- onChanged();
- } else {
- metadataBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- */
- public Builder mergeMetadata(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata
- value) {
- if (metadataBuilder_ == null) {
- if (metadata_ != null) {
- metadata_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata.newBuilder(metadata_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- metadata_ = value;
- }
- onChanged();
- } else {
- metadataBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- */
- public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = null;
- onChanged();
- } else {
- metadata_ = null;
- metadataBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata.Builder
- getMetadataBuilder() {
-
- onChanged();
- return getMetadataFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadataOrBuilder
- getMetadataOrBuilder() {
- if (metadataBuilder_ != null) {
- return metadataBuilder_.getMessageOrBuilder();
- } else {
- return metadata_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata.getDefaultInstance()
- : metadata_;
- }
- }
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadataOrBuilder>
- getMetadataFieldBuilder() {
- if (metadataBuilder_ == null) {
- metadataBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadataOrBuilder>(
- getMetadata(), getParentForChildren(), isClean());
- metadata_ = null;
- }
- return metadataBuilder_;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecasting
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- *
- * @return Whether the auto field is set.
- */
- boolean hasAuto();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- *
- * @return The auto.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.AutoTransformation
- getAuto();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.AutoTransformationOrBuilder
- getAutoOrBuilder();
-
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- *
- * @return Whether the numeric field is set.
- */
- boolean hasNumeric();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- *
- * @return The numeric.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericTransformation
- getNumeric();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericTransformationOrBuilder
- getNumericOrBuilder();
-
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- *
- * @return Whether the categorical field is set.
- */
- boolean hasCategorical();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- *
- * @return The categorical.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalTransformation
- getCategorical();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalTransformationOrBuilder
- getCategoricalOrBuilder();
-
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- *
- * @return Whether the timestamp field is set.
- */
- boolean hasTimestamp();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- *
- * @return The timestamp.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TimestampTransformation
- getTimestamp();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TimestampTransformationOrBuilder
- getTimestampOrBuilder();
-
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- *
- * @return Whether the text field is set.
- */
- boolean hasText();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- *
- * @return The text.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextTransformation
- getText();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextTransformationOrBuilder
- getTextOrBuilder();
-
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- *
- * @return Whether the repeatedNumeric field is set.
- */
- boolean hasRepeatedNumeric();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- *
- * @return The repeatedNumeric.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericArrayTransformation
- getRepeatedNumeric();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericArrayTransformationOrBuilder
- getRepeatedNumericOrBuilder();
-
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- *
- * @return Whether the repeatedCategorical field is set.
- */
- boolean hasRepeatedCategorical();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- *
- * @return The repeatedCategorical.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalArrayTransformation
- getRepeatedCategorical();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalArrayTransformationOrBuilder
- getRepeatedCategoricalOrBuilder();
-
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- *
- * @return Whether the repeatedText field is set.
- */
- boolean hasRepeatedText();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- *
- * @return The repeatedText.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextArrayTransformation
- getRepeatedText();
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextArrayTransformationOrBuilder
- getRepeatedTextOrBuilder();
-
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TransformationDetailCase
- getTransformationDetailCase();
- }
- /**
- * Protobuf type {@code
- * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation}
- */
- public static final class Transformation extends com.google.protobuf.GeneratedMessageV3
- implements
- // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation)
- TransformationOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use Transformation.newBuilder() to construct.
- private Transformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
-
- private Transformation() {}
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new Transformation();
- }
-
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
- private Transformation(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10:
- {
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.Builder
- subBuilder = null;
- if (transformationDetailCase_ == 1) {
- subBuilder =
- ((com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_)
- .toBuilder();
- }
- transformationDetail_ =
- input.readMessage(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.parser(),
- extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_);
- transformationDetail_ = subBuilder.buildPartial();
- }
- transformationDetailCase_ = 1;
- break;
- }
- case 18:
- {
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.Builder
- subBuilder = null;
- if (transformationDetailCase_ == 2) {
- subBuilder =
- ((com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_)
- .toBuilder();
- }
- transformationDetail_ =
- input.readMessage(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.parser(),
- extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_);
- transformationDetail_ = subBuilder.buildPartial();
- }
- transformationDetailCase_ = 2;
- break;
- }
- case 26:
- {
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
- subBuilder = null;
- if (transformationDetailCase_ == 3) {
- subBuilder =
- ((com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_)
- .toBuilder();
- }
- transformationDetail_ =
- input.readMessage(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- .parser(),
- extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_);
- transformationDetail_ = subBuilder.buildPartial();
- }
- transformationDetailCase_ = 3;
- break;
- }
- case 34:
- {
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder
- subBuilder = null;
- if (transformationDetailCase_ == 4) {
- subBuilder =
- ((com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_)
- .toBuilder();
- }
- transformationDetail_ =
- input.readMessage(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- .parser(),
- extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_);
- transformationDetail_ = subBuilder.buildPartial();
- }
- transformationDetailCase_ = 4;
- break;
- }
- case 42:
- {
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.Builder
- subBuilder = null;
- if (transformationDetailCase_ == 5) {
- subBuilder =
- ((com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_)
- .toBuilder();
- }
- transformationDetail_ =
- input.readMessage(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.parser(),
- extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_);
- transformationDetail_ = subBuilder.buildPartial();
- }
- transformationDetailCase_ = 5;
- break;
- }
- case 50:
- {
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.Builder
- subBuilder = null;
- if (transformationDetailCase_ == 6) {
- subBuilder =
- ((com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- .NumericArrayTransformation)
- transformationDetail_)
- .toBuilder();
- }
- transformationDetail_ =
- input.readMessage(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- .parser(),
- extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- transformationDetail_);
- transformationDetail_ = subBuilder.buildPartial();
- }
- transformationDetailCase_ = 6;
- break;
- }
- case 58:
- {
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .Builder
- subBuilder = null;
- if (transformationDetailCase_ == 7) {
- subBuilder =
- ((com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- .CategoricalArrayTransformation)
- transformationDetail_)
- .toBuilder();
- }
- transformationDetail_ =
- input.readMessage(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .parser(),
- extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- .CategoricalArrayTransformation)
- transformationDetail_);
- transformationDetail_ = subBuilder.buildPartial();
- }
- transformationDetailCase_ = 7;
- break;
- }
- case 66:
- {
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.Builder
- subBuilder = null;
- if (transformationDetailCase_ == 8) {
- subBuilder =
- ((com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_)
- .toBuilder();
- }
- transformationDetail_ =
- input.readMessage(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- .parser(),
- extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_);
- transformationDetail_ = subBuilder.buildPartial();
- }
- transformationDetailCase_ = 8;
- break;
- }
- default:
- {
- if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMLForecastingProto
- .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMLForecastingProto
- .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.class,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.Builder.class);
- }
-
- public interface AutoTransformationOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * string column_name = 1;
- *
- * @return The columnName.
- */
- java.lang.String getColumnName();
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- com.google.protobuf.ByteString getColumnNameBytes();
- }
- /**
- *
- *
- * - * Training pipeline will infer the proper transformation based on the - * statistic of dataset. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation} - */ - public static final class AutoTransformation extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation) - AutoTransformationOrBuilder { - private static final long serialVersionUID = 0L; - // Use AutoTransformation.newBuilder() to construct. - private AutoTransformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private AutoTransformation() { - columnName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AutoTransformation(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private AutoTransformation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - columnName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_AutoTransformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_AutoTransformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.AutoTransformation.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.AutoTransformation.Builder.class); - } - - public static final int COLUMN_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object columnName_; - /** - *
string column_name = 1;
- *
- * @return The columnName.
- */
- @java.lang.Override
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getColumnNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.AutoTransformation
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- obj;
-
- if (!getColumnName().equals(other.getColumnName())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getColumnName().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.AutoTransformation
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Training pipeline will infer the proper transformation based on the - * statistic of dataset. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder
string column_name = 1;
- *
- * @return The columnName.
- */
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @param value The columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- columnName_ = value;
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearColumnName() {
-
- columnName_ = getDefaultInstance().getColumnName();
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @param value The bytes for columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnNameBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- columnName_ = value;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parserstring column_name = 1;
- *
- * @return The columnName.
- */
- java.lang.String getColumnName();
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- com.google.protobuf.ByteString getColumnNameBytes();
-
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @return The invalidValuesAllowed.
- */
- boolean getInvalidValuesAllowed();
- }
- /**
- *
- *
- * - * Training pipeline will perform following transformation functions. - * * The value converted to float32. - * * The z_score of the value. - * * log(value+1) when the value is greater than or equal to 0. Otherwise, - * this transformation is not applied and the value is considered a - * missing value. - * * z_score of log(value+1) when the value is greater than or equal to 0. - * Otherwise, this transformation is not applied and the value is - * considered a missing value. - * * A boolean value that indicates whether the value is valid. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation} - */ - public static final class NumericTransformation extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation) - NumericTransformationOrBuilder { - private static final long serialVersionUID = 0L; - // Use NumericTransformation.newBuilder() to construct. - private NumericTransformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private NumericTransformation() { - columnName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new NumericTransformation(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private NumericTransformation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - columnName_ = s; - break; - } - case 16: - { - invalidValuesAllowed_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericTransformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericTransformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.NumericTransformation.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.NumericTransformation.Builder.class); - } - - public static final int COLUMN_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object columnName_; - /** - *
string column_name = 1;
- *
- * @return The columnName.
- */
- @java.lang.Override
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int INVALID_VALUES_ALLOWED_FIELD_NUMBER = 2;
- private boolean invalidValuesAllowed_;
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @return The invalidValuesAllowed.
- */
- @java.lang.Override
- public boolean getInvalidValuesAllowed() {
- return invalidValuesAllowed_;
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
- }
- if (invalidValuesAllowed_ != false) {
- output.writeBool(2, invalidValuesAllowed_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getColumnNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
- }
- if (invalidValuesAllowed_ != false) {
- size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, invalidValuesAllowed_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericTransformation
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- obj;
-
- if (!getColumnName().equals(other.getColumnName())) return false;
- if (getInvalidValuesAllowed() != other.getInvalidValuesAllowed()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getColumnName().hashCode();
- hash = (37 * hash) + INVALID_VALUES_ALLOWED_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInvalidValuesAllowed());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericTransformation
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Training pipeline will perform following transformation functions. - * * The value converted to float32. - * * The z_score of the value. - * * log(value+1) when the value is greater than or equal to 0. Otherwise, - * this transformation is not applied and the value is considered a - * missing value. - * * z_score of log(value+1) when the value is greater than or equal to 0. - * Otherwise, this transformation is not applied and the value is - * considered a missing value. - * * A boolean value that indicates whether the value is valid. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder
string column_name = 1;
- *
- * @return The columnName.
- */
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @param value The columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- columnName_ = value;
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearColumnName() {
-
- columnName_ = getDefaultInstance().getColumnName();
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @param value The bytes for columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnNameBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- columnName_ = value;
- onChanged();
- return this;
- }
-
- private boolean invalidValuesAllowed_;
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @return The invalidValuesAllowed.
- */
- @java.lang.Override
- public boolean getInvalidValuesAllowed() {
- return invalidValuesAllowed_;
- }
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @param value The invalidValuesAllowed to set.
- * @return This builder for chaining.
- */
- public Builder setInvalidValuesAllowed(boolean value) {
-
- invalidValuesAllowed_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearInvalidValuesAllowed() {
-
- invalidValuesAllowed_ = false;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parserstring column_name = 1;
- *
- * @return The columnName.
- */
- java.lang.String getColumnName();
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- com.google.protobuf.ByteString getColumnNameBytes();
- }
- /**
- *
- *
- * - * Training pipeline will perform following transformation functions. - * * The categorical string as is--no change to case, punctuation, - * spelling, - * tense, and so on. - * * Convert the category name to a dictionary lookup index and generate an - * embedding for each index. - * * Categories that appear less than 5 times in the training dataset are - * treated as the "unknown" category. The "unknown" category gets its own - * special lookup index and resulting embedding. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation} - */ - public static final class CategoricalTransformation - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation) - CategoricalTransformationOrBuilder { - private static final long serialVersionUID = 0L; - // Use CategoricalTransformation.newBuilder() to construct. - private CategoricalTransformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private CategoricalTransformation() { - columnName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CategoricalTransformation(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CategoricalTransformation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - columnName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalTransformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalTransformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.CategoricalTransformation.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder - .class); - } - - public static final int COLUMN_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object columnName_; - /** - *
string column_name = 1;
- *
- * @return The columnName.
- */
- @java.lang.Override
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getColumnNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalTransformation
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- obj;
-
- if (!getColumnName().equals(other.getColumnName())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getColumnName().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalTransformation
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Training pipeline will perform following transformation functions. - * * The categorical string as is--no change to case, punctuation, - * spelling, - * tense, and so on. - * * Convert the category name to a dictionary lookup index and generate an - * embedding for each index. - * * Categories that appear less than 5 times in the training dataset are - * treated as the "unknown" category. The "unknown" category gets its own - * special lookup index and resulting embedding. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder
string column_name = 1;
- *
- * @return The columnName.
- */
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @param value The columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- columnName_ = value;
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearColumnName() {
-
- columnName_ = getDefaultInstance().getColumnName();
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @param value The bytes for columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnNameBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- columnName_ = value;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parserstring column_name = 1;
- *
- * @return The columnName.
- */
- java.lang.String getColumnName();
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- com.google.protobuf.ByteString getColumnNameBytes();
-
- /**
- *
- *
- * - * The format in which that time field is expressed. The time_format must - * either be one of: - * * `unix-seconds` - * * `unix-milliseconds` - * * `unix-microseconds` - * * `unix-nanoseconds` - * (for respectively number of seconds, milliseconds, microseconds and - * nanoseconds since start of the Unix epoch); - * or be written in `strftime` syntax. If time_format is not set, then the - * default format is RFC 3339 `date-time` format, where - * `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) - *- * - *
string time_format = 2;
- *
- * @return The timeFormat.
- */
- java.lang.String getTimeFormat();
- /**
- *
- *
- * - * The format in which that time field is expressed. The time_format must - * either be one of: - * * `unix-seconds` - * * `unix-milliseconds` - * * `unix-microseconds` - * * `unix-nanoseconds` - * (for respectively number of seconds, milliseconds, microseconds and - * nanoseconds since start of the Unix epoch); - * or be written in `strftime` syntax. If time_format is not set, then the - * default format is RFC 3339 `date-time` format, where - * `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) - *- * - *
string time_format = 2;
- *
- * @return The bytes for timeFormat.
- */
- com.google.protobuf.ByteString getTimeFormatBytes();
-
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 3;
- *
- * @return The invalidValuesAllowed.
- */
- boolean getInvalidValuesAllowed();
- }
- /**
- *
- *
- * - * Training pipeline will perform following transformation functions. - * * Apply the transformation functions for Numerical columns. - * * Determine the year, month, day,and weekday. Treat each value from the - * * timestamp as a Categorical column. - * * Invalid numerical values (for example, values that fall outside of a - * typical timestamp range, or are extreme values) receive no special - * treatment and are not removed. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation} - */ - public static final class TimestampTransformation extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation) - TimestampTransformationOrBuilder { - private static final long serialVersionUID = 0L; - // Use TimestampTransformation.newBuilder() to construct. - private TimestampTransformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private TimestampTransformation() { - columnName_ = ""; - timeFormat_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TimestampTransformation(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private TimestampTransformation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - columnName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - timeFormat_ = s; - break; - } - case 24: - { - invalidValuesAllowed_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TimestampTransformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TimestampTransformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.TimestampTransformation.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder.class); - } - - public static final int COLUMN_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object columnName_; - /** - *
string column_name = 1;
- *
- * @return The columnName.
- */
- @java.lang.Override
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int TIME_FORMAT_FIELD_NUMBER = 2;
- private volatile java.lang.Object timeFormat_;
- /**
- *
- *
- * - * The format in which that time field is expressed. The time_format must - * either be one of: - * * `unix-seconds` - * * `unix-milliseconds` - * * `unix-microseconds` - * * `unix-nanoseconds` - * (for respectively number of seconds, milliseconds, microseconds and - * nanoseconds since start of the Unix epoch); - * or be written in `strftime` syntax. If time_format is not set, then the - * default format is RFC 3339 `date-time` format, where - * `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) - *- * - *
string time_format = 2;
- *
- * @return The timeFormat.
- */
- @java.lang.Override
- public java.lang.String getTimeFormat() {
- java.lang.Object ref = timeFormat_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- timeFormat_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * The format in which that time field is expressed. The time_format must - * either be one of: - * * `unix-seconds` - * * `unix-milliseconds` - * * `unix-microseconds` - * * `unix-nanoseconds` - * (for respectively number of seconds, milliseconds, microseconds and - * nanoseconds since start of the Unix epoch); - * or be written in `strftime` syntax. If time_format is not set, then the - * default format is RFC 3339 `date-time` format, where - * `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) - *- * - *
string time_format = 2;
- *
- * @return The bytes for timeFormat.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getTimeFormatBytes() {
- java.lang.Object ref = timeFormat_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- timeFormat_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int INVALID_VALUES_ALLOWED_FIELD_NUMBER = 3;
- private boolean invalidValuesAllowed_;
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 3;
- *
- * @return The invalidValuesAllowed.
- */
- @java.lang.Override
- public boolean getInvalidValuesAllowed() {
- return invalidValuesAllowed_;
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
- }
- if (!getTimeFormatBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timeFormat_);
- }
- if (invalidValuesAllowed_ != false) {
- output.writeBool(3, invalidValuesAllowed_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getColumnNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
- }
- if (!getTimeFormatBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, timeFormat_);
- }
- if (invalidValuesAllowed_ != false) {
- size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, invalidValuesAllowed_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TimestampTransformation
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- obj;
-
- if (!getColumnName().equals(other.getColumnName())) return false;
- if (!getTimeFormat().equals(other.getTimeFormat())) return false;
- if (getInvalidValuesAllowed() != other.getInvalidValuesAllowed()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getColumnName().hashCode();
- hash = (37 * hash) + TIME_FORMAT_FIELD_NUMBER;
- hash = (53 * hash) + getTimeFormat().hashCode();
- hash = (37 * hash) + INVALID_VALUES_ALLOWED_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInvalidValuesAllowed());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TimestampTransformation
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Training pipeline will perform following transformation functions. - * * Apply the transformation functions for Numerical columns. - * * Determine the year, month, day,and weekday. Treat each value from the - * * timestamp as a Categorical column. - * * Invalid numerical values (for example, values that fall outside of a - * typical timestamp range, or are extreme values) receive no special - * treatment and are not removed. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder
string column_name = 1;
- *
- * @return The columnName.
- */
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @param value The columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- columnName_ = value;
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearColumnName() {
-
- columnName_ = getDefaultInstance().getColumnName();
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @param value The bytes for columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnNameBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- columnName_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object timeFormat_ = "";
- /**
- *
- *
- * - * The format in which that time field is expressed. The time_format must - * either be one of: - * * `unix-seconds` - * * `unix-milliseconds` - * * `unix-microseconds` - * * `unix-nanoseconds` - * (for respectively number of seconds, milliseconds, microseconds and - * nanoseconds since start of the Unix epoch); - * or be written in `strftime` syntax. If time_format is not set, then the - * default format is RFC 3339 `date-time` format, where - * `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) - *- * - *
string time_format = 2;
- *
- * @return The timeFormat.
- */
- public java.lang.String getTimeFormat() {
- java.lang.Object ref = timeFormat_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- timeFormat_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * The format in which that time field is expressed. The time_format must - * either be one of: - * * `unix-seconds` - * * `unix-milliseconds` - * * `unix-microseconds` - * * `unix-nanoseconds` - * (for respectively number of seconds, milliseconds, microseconds and - * nanoseconds since start of the Unix epoch); - * or be written in `strftime` syntax. If time_format is not set, then the - * default format is RFC 3339 `date-time` format, where - * `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) - *- * - *
string time_format = 2;
- *
- * @return The bytes for timeFormat.
- */
- public com.google.protobuf.ByteString getTimeFormatBytes() {
- java.lang.Object ref = timeFormat_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- timeFormat_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * The format in which that time field is expressed. The time_format must - * either be one of: - * * `unix-seconds` - * * `unix-milliseconds` - * * `unix-microseconds` - * * `unix-nanoseconds` - * (for respectively number of seconds, milliseconds, microseconds and - * nanoseconds since start of the Unix epoch); - * or be written in `strftime` syntax. If time_format is not set, then the - * default format is RFC 3339 `date-time` format, where - * `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) - *- * - *
string time_format = 2;
- *
- * @param value The timeFormat to set.
- * @return This builder for chaining.
- */
- public Builder setTimeFormat(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- timeFormat_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The format in which that time field is expressed. The time_format must - * either be one of: - * * `unix-seconds` - * * `unix-milliseconds` - * * `unix-microseconds` - * * `unix-nanoseconds` - * (for respectively number of seconds, milliseconds, microseconds and - * nanoseconds since start of the Unix epoch); - * or be written in `strftime` syntax. If time_format is not set, then the - * default format is RFC 3339 `date-time` format, where - * `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) - *- * - *
string time_format = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearTimeFormat() {
-
- timeFormat_ = getDefaultInstance().getTimeFormat();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The format in which that time field is expressed. The time_format must - * either be one of: - * * `unix-seconds` - * * `unix-milliseconds` - * * `unix-microseconds` - * * `unix-nanoseconds` - * (for respectively number of seconds, milliseconds, microseconds and - * nanoseconds since start of the Unix epoch); - * or be written in `strftime` syntax. If time_format is not set, then the - * default format is RFC 3339 `date-time` format, where - * `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) - *- * - *
string time_format = 2;
- *
- * @param value The bytes for timeFormat to set.
- * @return This builder for chaining.
- */
- public Builder setTimeFormatBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- timeFormat_ = value;
- onChanged();
- return this;
- }
-
- private boolean invalidValuesAllowed_;
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 3;
- *
- * @return The invalidValuesAllowed.
- */
- @java.lang.Override
- public boolean getInvalidValuesAllowed() {
- return invalidValuesAllowed_;
- }
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 3;
- *
- * @param value The invalidValuesAllowed to set.
- * @return This builder for chaining.
- */
- public Builder setInvalidValuesAllowed(boolean value) {
-
- invalidValuesAllowed_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearInvalidValuesAllowed() {
-
- invalidValuesAllowed_ = false;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parserstring column_name = 1;
- *
- * @return The columnName.
- */
- java.lang.String getColumnName();
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- com.google.protobuf.ByteString getColumnNameBytes();
- }
- /**
- *
- *
- * - * Training pipeline will perform following transformation functions. - * * The text as is--no change to case, punctuation, spelling, tense, and - * so - * on. - * * Tokenize text to words. Convert each words to a dictionary lookup - * index - * and generate an embedding for each index. Combine the embedding of all - * elements into a single embedding using the mean. - * * Tokenization is based on unicode script boundaries. - * * Missing values get their own lookup index and resulting embedding. - * * Stop-words receive no special treatment and are not removed. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation} - */ - public static final class TextTransformation extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation) - TextTransformationOrBuilder { - private static final long serialVersionUID = 0L; - // Use TextTransformation.newBuilder() to construct. - private TextTransformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private TextTransformation() { - columnName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TextTransformation(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private TextTransformation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - columnName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextTransformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextTransformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.TextTransformation.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.TextTransformation.Builder.class); - } - - public static final int COLUMN_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object columnName_; - /** - *
string column_name = 1;
- *
- * @return The columnName.
- */
- @java.lang.Override
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getColumnNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextTransformation
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- obj;
-
- if (!getColumnName().equals(other.getColumnName())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getColumnName().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextTransformation
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Training pipeline will perform following transformation functions. - * * The text as is--no change to case, punctuation, spelling, tense, and - * so - * on. - * * Tokenize text to words. Convert each words to a dictionary lookup - * index - * and generate an embedding for each index. Combine the embedding of all - * elements into a single embedding using the mean. - * * Tokenization is based on unicode script boundaries. - * * Missing values get their own lookup index and resulting embedding. - * * Stop-words receive no special treatment and are not removed. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder
string column_name = 1;
- *
- * @return The columnName.
- */
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @param value The columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- columnName_ = value;
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearColumnName() {
-
- columnName_ = getDefaultInstance().getColumnName();
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @param value The bytes for columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnNameBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- columnName_ = value;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parserstring column_name = 1;
- *
- * @return The columnName.
- */
- java.lang.String getColumnName();
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- com.google.protobuf.ByteString getColumnNameBytes();
-
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @return The invalidValuesAllowed.
- */
- boolean getInvalidValuesAllowed();
- }
- /**
- *
- *
- * - * Treats the column as numerical array and performs following - * transformation functions. - * * All transformations for Numerical types applied to the average of the - * all elements. - * * The average of empty arrays is treated as zero. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation} - */ - public static final class NumericArrayTransformation - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation) - NumericArrayTransformationOrBuilder { - private static final long serialVersionUID = 0L; - // Use NumericArrayTransformation.newBuilder() to construct. - private NumericArrayTransformation( - com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private NumericArrayTransformation() { - columnName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new NumericArrayTransformation(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private NumericArrayTransformation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - columnName_ = s; - break; - } - case 16: - { - invalidValuesAllowed_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericArrayTransformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_NumericArrayTransformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.Builder - .class); - } - - public static final int COLUMN_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object columnName_; - /** - *
string column_name = 1;
- *
- * @return The columnName.
- */
- @java.lang.Override
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int INVALID_VALUES_ALLOWED_FIELD_NUMBER = 2;
- private boolean invalidValuesAllowed_;
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @return The invalidValuesAllowed.
- */
- @java.lang.Override
- public boolean getInvalidValuesAllowed() {
- return invalidValuesAllowed_;
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
- }
- if (invalidValuesAllowed_ != false) {
- output.writeBool(2, invalidValuesAllowed_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getColumnNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
- }
- if (invalidValuesAllowed_ != false) {
- size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, invalidValuesAllowed_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericArrayTransformation
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- obj;
-
- if (!getColumnName().equals(other.getColumnName())) return false;
- if (getInvalidValuesAllowed() != other.getInvalidValuesAllowed()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getColumnName().hashCode();
- hash = (37 * hash) + INVALID_VALUES_ALLOWED_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInvalidValuesAllowed());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericArrayTransformation
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Treats the column as numerical array and performs following - * transformation functions. - * * All transformations for Numerical types applied to the average of the - * all elements. - * * The average of empty arrays is treated as zero. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder
string column_name = 1;
- *
- * @return The columnName.
- */
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @param value The columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- columnName_ = value;
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearColumnName() {
-
- columnName_ = getDefaultInstance().getColumnName();
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @param value The bytes for columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnNameBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- columnName_ = value;
- onChanged();
- return this;
- }
-
- private boolean invalidValuesAllowed_;
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @return The invalidValuesAllowed.
- */
- @java.lang.Override
- public boolean getInvalidValuesAllowed() {
- return invalidValuesAllowed_;
- }
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @param value The invalidValuesAllowed to set.
- * @return This builder for chaining.
- */
- public Builder setInvalidValuesAllowed(boolean value) {
-
- invalidValuesAllowed_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * If invalid values is allowed, the training pipeline will create a - * boolean feature that indicated whether the value is valid. - * Otherwise, the training pipeline will discard the input row from - * trainining data. - *- * - *
bool invalid_values_allowed = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearInvalidValuesAllowed() {
-
- invalidValuesAllowed_ = false;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parserstring column_name = 1;
- *
- * @return The columnName.
- */
- java.lang.String getColumnName();
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- com.google.protobuf.ByteString getColumnNameBytes();
- }
- /**
- *
- *
- * - * Treats the column as categorical array and performs following - * transformation functions. - * * For each element in the array, convert the category name to a - * dictionary - * lookup index and generate an embedding for each index. - * Combine the embedding of all elements into a single embedding using - * the mean. - * * Empty arrays treated as an embedding of zeroes. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation} - */ - public static final class CategoricalArrayTransformation - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation) - CategoricalArrayTransformationOrBuilder { - private static final long serialVersionUID = 0L; - // Use CategoricalArrayTransformation.newBuilder() to construct. - private CategoricalArrayTransformation( - com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private CategoricalArrayTransformation() { - columnName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CategoricalArrayTransformation(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CategoricalArrayTransformation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - columnName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation.Builder - .class); - } - - public static final int COLUMN_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object columnName_; - /** - *
string column_name = 1;
- *
- * @return The columnName.
- */
- @java.lang.Override
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getColumnNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalArrayTransformation
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- obj;
-
- if (!getColumnName().equals(other.getColumnName())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getColumnName().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalArrayTransformation
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Treats the column as categorical array and performs following - * transformation functions. - * * For each element in the array, convert the category name to a - * dictionary - * lookup index and generate an embedding for each index. - * Combine the embedding of all elements into a single embedding using - * the mean. - * * Empty arrays treated as an embedding of zeroes. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder
string column_name = 1;
- *
- * @return The columnName.
- */
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @param value The columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- columnName_ = value;
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearColumnName() {
-
- columnName_ = getDefaultInstance().getColumnName();
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @param value The bytes for columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnNameBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- columnName_ = value;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parserstring column_name = 1;
- *
- * @return The columnName.
- */
- java.lang.String getColumnName();
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- com.google.protobuf.ByteString getColumnNameBytes();
- }
- /**
- *
- *
- * - * Treats the column as text array and performs following transformation - * functions. - * * Concatenate all text values in the array into a single text value - * using - * a space (" ") as a delimiter, and then treat the result as a single - * text value. Apply the transformations for Text columns. - * * Empty arrays treated as an empty text. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation} - */ - public static final class TextArrayTransformation extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation) - TextArrayTransformationOrBuilder { - private static final long serialVersionUID = 0L; - // Use TextArrayTransformation.newBuilder() to construct. - private TextArrayTransformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private TextArrayTransformation() { - columnName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TextArrayTransformation(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private TextArrayTransformation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - columnName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextArrayTransformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Transformation_TextArrayTransformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.TextArrayTransformation.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Transformation.TextArrayTransformation.Builder.class); - } - - public static final int COLUMN_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object columnName_; - /** - *
string column_name = 1;
- *
- * @return The columnName.
- */
- @java.lang.Override
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getColumnNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextArrayTransformation
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- obj;
-
- if (!getColumnName().equals(other.getColumnName())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getColumnName().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextArrayTransformation
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Treats the column as text array and performs following transformation - * functions. - * * Concatenate all text values in the array into a single text value - * using - * a space (" ") as a delimiter, and then treat the result as a single - * text value. Apply the transformations for Text columns. - * * Empty arrays treated as an empty text. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder
string column_name = 1;
- *
- * @return The columnName.
- */
- public java.lang.String getColumnName() {
- java.lang.Object ref = columnName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- columnName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @return The bytes for columnName.
- */
- public com.google.protobuf.ByteString getColumnNameBytes() {
- java.lang.Object ref = columnName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- columnName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string column_name = 1;
- *
- * @param value The columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- columnName_ = value;
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearColumnName() {
-
- columnName_ = getDefaultInstance().getColumnName();
- onChanged();
- return this;
- }
- /**
- * string column_name = 1;
- *
- * @param value The bytes for columnName to set.
- * @return This builder for chaining.
- */
- public Builder setColumnNameBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- columnName_ = value;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- *
- * @return Whether the auto field is set.
- */
- @java.lang.Override
- public boolean hasAuto() {
- return transformationDetailCase_ == 1;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- *
- * @return The auto.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.AutoTransformation
- getAuto() {
- if (transformationDetailCase_ == 1) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.getDefaultInstance();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.AutoTransformationOrBuilder
- getAutoOrBuilder() {
- if (transformationDetailCase_ == 1) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.getDefaultInstance();
- }
-
- public static final int NUMERIC_FIELD_NUMBER = 2;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- *
- * @return Whether the numeric field is set.
- */
- @java.lang.Override
- public boolean hasNumeric() {
- return transformationDetailCase_ == 2;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- *
- * @return The numeric.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericTransformation
- getNumeric() {
- if (transformationDetailCase_ == 2) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.getDefaultInstance();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericTransformationOrBuilder
- getNumericOrBuilder() {
- if (transformationDetailCase_ == 2) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.getDefaultInstance();
- }
-
- public static final int CATEGORICAL_FIELD_NUMBER = 3;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- *
- * @return Whether the categorical field is set.
- */
- @java.lang.Override
- public boolean hasCategorical() {
- return transformationDetailCase_ == 3;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- *
- * @return The categorical.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalTransformation
- getCategorical() {
- if (transformationDetailCase_ == 3) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation.getDefaultInstance();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalTransformationOrBuilder
- getCategoricalOrBuilder() {
- if (transformationDetailCase_ == 3) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation.getDefaultInstance();
- }
-
- public static final int TIMESTAMP_FIELD_NUMBER = 4;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- *
- * @return Whether the timestamp field is set.
- */
- @java.lang.Override
- public boolean hasTimestamp() {
- return transformationDetailCase_ == 4;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- *
- * @return The timestamp.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TimestampTransformation
- getTimestamp() {
- if (transformationDetailCase_ == 4) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.getDefaultInstance();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TimestampTransformationOrBuilder
- getTimestampOrBuilder() {
- if (transformationDetailCase_ == 4) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.getDefaultInstance();
- }
-
- public static final int TEXT_FIELD_NUMBER = 5;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- *
- * @return Whether the text field is set.
- */
- @java.lang.Override
- public boolean hasText() {
- return transformationDetailCase_ == 5;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- *
- * @return The text.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextTransformation
- getText() {
- if (transformationDetailCase_ == 5) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.getDefaultInstance();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextTransformationOrBuilder
- getTextOrBuilder() {
- if (transformationDetailCase_ == 5) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.getDefaultInstance();
- }
-
- public static final int REPEATED_NUMERIC_FIELD_NUMBER = 6;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- *
- * @return Whether the repeatedNumeric field is set.
- */
- @java.lang.Override
- public boolean hasRepeatedNumeric() {
- return transformationDetailCase_ == 6;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- *
- * @return The repeatedNumeric.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericArrayTransformation
- getRepeatedNumeric() {
- if (transformationDetailCase_ == 6) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.getDefaultInstance();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericArrayTransformationOrBuilder
- getRepeatedNumericOrBuilder() {
- if (transformationDetailCase_ == 6) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.getDefaultInstance();
- }
-
- public static final int REPEATED_CATEGORICAL_FIELD_NUMBER = 7;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- *
- * @return Whether the repeatedCategorical field is set.
- */
- @java.lang.Override
- public boolean hasRepeatedCategorical() {
- return transformationDetailCase_ == 7;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- *
- * @return The repeatedCategorical.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalArrayTransformation
- getRepeatedCategorical() {
- if (transformationDetailCase_ == 7) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .getDefaultInstance();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalArrayTransformationOrBuilder
- getRepeatedCategoricalOrBuilder() {
- if (transformationDetailCase_ == 7) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .getDefaultInstance();
- }
-
- public static final int REPEATED_TEXT_FIELD_NUMBER = 8;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- *
- * @return Whether the repeatedText field is set.
- */
- @java.lang.Override
- public boolean hasRepeatedText() {
- return transformationDetailCase_ == 8;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- *
- * @return The repeatedText.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextArrayTransformation
- getRepeatedText() {
- if (transformationDetailCase_ == 8) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.getDefaultInstance();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextArrayTransformationOrBuilder
- getRepeatedTextOrBuilder() {
- if (transformationDetailCase_ == 8) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.getDefaultInstance();
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (transformationDetailCase_ == 1) {
- output.writeMessage(
- 1,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 2) {
- output.writeMessage(
- 2,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 3) {
- output.writeMessage(
- 3,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 4) {
- output.writeMessage(
- 4,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 5) {
- output.writeMessage(
- 5,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 6) {
- output.writeMessage(
- 6,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 7) {
- output.writeMessage(
- 7,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 8) {
- output.writeMessage(
- 8,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (transformationDetailCase_ == 1) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 1,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 2) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 2,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 3) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 3,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 4) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 4,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 5) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 5,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 6) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 6,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 7) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 7,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- transformationDetail_);
- }
- if (transformationDetailCase_ == 8) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 8,
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation)
- obj;
-
- if (!getTransformationDetailCase().equals(other.getTransformationDetailCase())) return false;
- switch (transformationDetailCase_) {
- case 1:
- if (!getAuto().equals(other.getAuto())) return false;
- break;
- case 2:
- if (!getNumeric().equals(other.getNumeric())) return false;
- break;
- case 3:
- if (!getCategorical().equals(other.getCategorical())) return false;
- break;
- case 4:
- if (!getTimestamp().equals(other.getTimestamp())) return false;
- break;
- case 5:
- if (!getText().equals(other.getText())) return false;
- break;
- case 6:
- if (!getRepeatedNumeric().equals(other.getRepeatedNumeric())) return false;
- break;
- case 7:
- if (!getRepeatedCategorical().equals(other.getRepeatedCategorical())) return false;
- break;
- case 8:
- if (!getRepeatedText().equals(other.getRepeatedText())) return false;
- break;
- case 0:
- default:
- }
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- switch (transformationDetailCase_) {
- case 1:
- hash = (37 * hash) + AUTO_FIELD_NUMBER;
- hash = (53 * hash) + getAuto().hashCode();
- break;
- case 2:
- hash = (37 * hash) + NUMERIC_FIELD_NUMBER;
- hash = (53 * hash) + getNumeric().hashCode();
- break;
- case 3:
- hash = (37 * hash) + CATEGORICAL_FIELD_NUMBER;
- hash = (53 * hash) + getCategorical().hashCode();
- break;
- case 4:
- hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
- hash = (53 * hash) + getTimestamp().hashCode();
- break;
- case 5:
- hash = (37 * hash) + TEXT_FIELD_NUMBER;
- hash = (53 * hash) + getText().hashCode();
- break;
- case 6:
- hash = (37 * hash) + REPEATED_NUMERIC_FIELD_NUMBER;
- hash = (53 * hash) + getRepeatedNumeric().hashCode();
- break;
- case 7:
- hash = (37 * hash) + REPEATED_CATEGORICAL_FIELD_NUMBER;
- hash = (53 * hash) + getRepeatedCategorical().hashCode();
- break;
- case 8:
- hash = (37 * hash) + REPEATED_TEXT_FIELD_NUMBER;
- hash = (53 * hash) + getRepeatedText().hashCode();
- break;
- case 0:
- default:
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code
- * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation}
- */
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageV3.Builder
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- *
- * @return Whether the auto field is set.
- */
- @java.lang.Override
- public boolean hasAuto() {
- return transformationDetailCase_ == 1;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- *
- * @return The auto.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- getAuto() {
- if (autoBuilder_ == null) {
- if (transformationDetailCase_ == 1) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.getDefaultInstance();
- } else {
- if (transformationDetailCase_ == 1) {
- return autoBuilder_.getMessage();
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- */
- public Builder setAuto(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.AutoTransformation
- value) {
- if (autoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- transformationDetail_ = value;
- onChanged();
- } else {
- autoBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 1;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- */
- public Builder setAuto(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.AutoTransformation.Builder
- builderForValue) {
- if (autoBuilder_ == null) {
- transformationDetail_ = builderForValue.build();
- onChanged();
- } else {
- autoBuilder_.setMessage(builderForValue.build());
- }
- transformationDetailCase_ = 1;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- */
- public Builder mergeAuto(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.AutoTransformation
- value) {
- if (autoBuilder_ == null) {
- if (transformationDetailCase_ == 1
- && transformationDetail_
- != com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation
- .getDefaultInstance()) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- transformationDetail_ = value;
- }
- onChanged();
- } else {
- if (transformationDetailCase_ == 1) {
- autoBuilder_.mergeFrom(value);
- }
- autoBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 1;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- */
- public Builder clearAuto() {
- if (autoBuilder_ == null) {
- if (transformationDetailCase_ == 1) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- onChanged();
- }
- } else {
- if (transformationDetailCase_ == 1) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- }
- autoBuilder_.clear();
- }
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.Builder
- getAutoBuilder() {
- return getAutoFieldBuilder().getBuilder();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformationOrBuilder
- getAutoOrBuilder() {
- if ((transformationDetailCase_ == 1) && (autoBuilder_ != null)) {
- return autoBuilder_.getMessageOrBuilder();
- } else {
- if (transformationDetailCase_ == 1) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation auto = 1;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformationOrBuilder>
- getAutoFieldBuilder() {
- if (autoBuilder_ == null) {
- if (!(transformationDetailCase_ == 1)) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.getDefaultInstance();
- }
- autoBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformationOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.AutoTransformation)
- transformationDetail_,
- getParentForChildren(),
- isClean());
- transformationDetail_ = null;
- }
- transformationDetailCase_ = 1;
- onChanged();
- ;
- return autoBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformationOrBuilder>
- numericBuilder_;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- *
- * @return Whether the numeric field is set.
- */
- @java.lang.Override
- public boolean hasNumeric() {
- return transformationDetailCase_ == 2;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- *
- * @return The numeric.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- getNumeric() {
- if (numericBuilder_ == null) {
- if (transformationDetailCase_ == 2) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.getDefaultInstance();
- } else {
- if (transformationDetailCase_ == 2) {
- return numericBuilder_.getMessage();
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- */
- public Builder setNumeric(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericTransformation
- value) {
- if (numericBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- transformationDetail_ = value;
- onChanged();
- } else {
- numericBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 2;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- */
- public Builder setNumeric(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericTransformation.Builder
- builderForValue) {
- if (numericBuilder_ == null) {
- transformationDetail_ = builderForValue.build();
- onChanged();
- } else {
- numericBuilder_.setMessage(builderForValue.build());
- }
- transformationDetailCase_ = 2;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- */
- public Builder mergeNumeric(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericTransformation
- value) {
- if (numericBuilder_ == null) {
- if (transformationDetailCase_ == 2
- && transformationDetail_
- != com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- .getDefaultInstance()) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- transformationDetail_ = value;
- }
- onChanged();
- } else {
- if (transformationDetailCase_ == 2) {
- numericBuilder_.mergeFrom(value);
- }
- numericBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 2;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- */
- public Builder clearNumeric() {
- if (numericBuilder_ == null) {
- if (transformationDetailCase_ == 2) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- onChanged();
- }
- } else {
- if (transformationDetailCase_ == 2) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- }
- numericBuilder_.clear();
- }
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.Builder
- getNumericBuilder() {
- return getNumericFieldBuilder().getBuilder();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformationOrBuilder
- getNumericOrBuilder() {
- if ((transformationDetailCase_ == 2) && (numericBuilder_ != null)) {
- return numericBuilder_.getMessageOrBuilder();
- } else {
- if (transformationDetailCase_ == 2) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation numeric = 2;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformationOrBuilder>
- getNumericFieldBuilder() {
- if (numericBuilder_ == null) {
- if (!(transformationDetailCase_ == 2)) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation
- .getDefaultInstance();
- }
- numericBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformationOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericTransformation)
- transformationDetail_,
- getParentForChildren(),
- isClean());
- transformationDetail_ = null;
- }
- transformationDetailCase_ = 2;
- onChanged();
- ;
- return numericBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformationOrBuilder>
- categoricalBuilder_;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- *
- * @return Whether the categorical field is set.
- */
- @java.lang.Override
- public boolean hasCategorical() {
- return transformationDetailCase_ == 3;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- *
- * @return The categorical.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- getCategorical() {
- if (categoricalBuilder_ == null) {
- if (transformationDetailCase_ == 3) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- .getDefaultInstance();
- } else {
- if (transformationDetailCase_ == 3) {
- return categoricalBuilder_.getMessage();
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- .getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- */
- public Builder setCategorical(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalTransformation
- value) {
- if (categoricalBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- transformationDetail_ = value;
- onChanged();
- } else {
- categoricalBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 3;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- */
- public Builder setCategorical(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalTransformation.Builder
- builderForValue) {
- if (categoricalBuilder_ == null) {
- transformationDetail_ = builderForValue.build();
- onChanged();
- } else {
- categoricalBuilder_.setMessage(builderForValue.build());
- }
- transformationDetailCase_ = 3;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- */
- public Builder mergeCategorical(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalTransformation
- value) {
- if (categoricalBuilder_ == null) {
- if (transformationDetailCase_ == 3
- && transformationDetail_
- != com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- .getDefaultInstance()) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- transformationDetail_ = value;
- }
- onChanged();
- } else {
- if (transformationDetailCase_ == 3) {
- categoricalBuilder_.mergeFrom(value);
- }
- categoricalBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 3;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- */
- public Builder clearCategorical() {
- if (categoricalBuilder_ == null) {
- if (transformationDetailCase_ == 3) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- onChanged();
- }
- } else {
- if (transformationDetailCase_ == 3) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- }
- categoricalBuilder_.clear();
- }
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
- getCategoricalBuilder() {
- return getCategoricalFieldBuilder().getBuilder();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformationOrBuilder
- getCategoricalOrBuilder() {
- if ((transformationDetailCase_ == 3) && (categoricalBuilder_ != null)) {
- return categoricalBuilder_.getMessageOrBuilder();
- } else {
- if (transformationDetailCase_ == 3) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- .getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation categorical = 3;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformationOrBuilder>
- getCategoricalFieldBuilder() {
- if (categoricalBuilder_ == null) {
- if (!(transformationDetailCase_ == 3)) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation
- .getDefaultInstance();
- }
- categoricalBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformationOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalTransformation)
- transformationDetail_,
- getParentForChildren(),
- isClean());
- transformationDetail_ = null;
- }
- transformationDetailCase_ = 3;
- onChanged();
- ;
- return categoricalBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilder>
- timestampBuilder_;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- *
- * @return Whether the timestamp field is set.
- */
- @java.lang.Override
- public boolean hasTimestamp() {
- return transformationDetailCase_ == 4;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- *
- * @return The timestamp.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- getTimestamp() {
- if (timestampBuilder_ == null) {
- if (transformationDetailCase_ == 4) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.getDefaultInstance();
- } else {
- if (transformationDetailCase_ == 4) {
- return timestampBuilder_.getMessage();
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- */
- public Builder setTimestamp(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TimestampTransformation
- value) {
- if (timestampBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- transformationDetail_ = value;
- onChanged();
- } else {
- timestampBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 4;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- */
- public Builder setTimestamp(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TimestampTransformation.Builder
- builderForValue) {
- if (timestampBuilder_ == null) {
- transformationDetail_ = builderForValue.build();
- onChanged();
- } else {
- timestampBuilder_.setMessage(builderForValue.build());
- }
- transformationDetailCase_ = 4;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- */
- public Builder mergeTimestamp(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TimestampTransformation
- value) {
- if (timestampBuilder_ == null) {
- if (transformationDetailCase_ == 4
- && transformationDetail_
- != com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- .getDefaultInstance()) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- transformationDetail_ = value;
- }
- onChanged();
- } else {
- if (transformationDetailCase_ == 4) {
- timestampBuilder_.mergeFrom(value);
- }
- timestampBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 4;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- */
- public Builder clearTimestamp() {
- if (timestampBuilder_ == null) {
- if (transformationDetailCase_ == 4) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- onChanged();
- }
- } else {
- if (transformationDetailCase_ == 4) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- }
- timestampBuilder_.clear();
- }
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder
- getTimestampBuilder() {
- return getTimestampFieldBuilder().getBuilder();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilder
- getTimestampOrBuilder() {
- if ((transformationDetailCase_ == 4) && (timestampBuilder_ != null)) {
- return timestampBuilder_.getMessageOrBuilder();
- } else {
- if (transformationDetailCase_ == 4) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation timestamp = 4;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilder>
- getTimestampFieldBuilder() {
- if (timestampBuilder_ == null) {
- if (!(transformationDetailCase_ == 4)) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation
- .getDefaultInstance();
- }
- timestampBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TimestampTransformation)
- transformationDetail_,
- getParentForChildren(),
- isClean());
- transformationDetail_ = null;
- }
- transformationDetailCase_ = 4;
- onChanged();
- ;
- return timestampBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformationOrBuilder>
- textBuilder_;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- *
- * @return Whether the text field is set.
- */
- @java.lang.Override
- public boolean hasText() {
- return transformationDetailCase_ == 5;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- *
- * @return The text.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- getText() {
- if (textBuilder_ == null) {
- if (transformationDetailCase_ == 5) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.getDefaultInstance();
- } else {
- if (transformationDetailCase_ == 5) {
- return textBuilder_.getMessage();
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- */
- public Builder setText(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextTransformation
- value) {
- if (textBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- transformationDetail_ = value;
- onChanged();
- } else {
- textBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 5;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- */
- public Builder setText(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextTransformation.Builder
- builderForValue) {
- if (textBuilder_ == null) {
- transformationDetail_ = builderForValue.build();
- onChanged();
- } else {
- textBuilder_.setMessage(builderForValue.build());
- }
- transformationDetailCase_ = 5;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- */
- public Builder mergeText(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextTransformation
- value) {
- if (textBuilder_ == null) {
- if (transformationDetailCase_ == 5
- && transformationDetail_
- != com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation
- .getDefaultInstance()) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- transformationDetail_ = value;
- }
- onChanged();
- } else {
- if (transformationDetailCase_ == 5) {
- textBuilder_.mergeFrom(value);
- }
- textBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 5;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- */
- public Builder clearText() {
- if (textBuilder_ == null) {
- if (transformationDetailCase_ == 5) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- onChanged();
- }
- } else {
- if (transformationDetailCase_ == 5) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- }
- textBuilder_.clear();
- }
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.Builder
- getTextBuilder() {
- return getTextFieldBuilder().getBuilder();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformationOrBuilder
- getTextOrBuilder() {
- if ((transformationDetailCase_ == 5) && (textBuilder_ != null)) {
- return textBuilder_.getMessageOrBuilder();
- } else {
- if (transformationDetailCase_ == 5) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation text = 5;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformationOrBuilder>
- getTextFieldBuilder() {
- if (textBuilder_ == null) {
- if (!(transformationDetailCase_ == 5)) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.getDefaultInstance();
- }
- textBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformationOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextTransformation)
- transformationDetail_,
- getParentForChildren(),
- isClean());
- transformationDetail_ = null;
- }
- transformationDetailCase_ = 5;
- onChanged();
- ;
- return textBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformationOrBuilder>
- repeatedNumericBuilder_;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- *
- * @return Whether the repeatedNumeric field is set.
- */
- @java.lang.Override
- public boolean hasRepeatedNumeric() {
- return transformationDetailCase_ == 6;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- *
- * @return The repeatedNumeric.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- getRepeatedNumeric() {
- if (repeatedNumericBuilder_ == null) {
- if (transformationDetailCase_ == 6) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- .getDefaultInstance();
- } else {
- if (transformationDetailCase_ == 6) {
- return repeatedNumericBuilder_.getMessage();
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- .getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- */
- public Builder setRepeatedNumeric(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericArrayTransformation
- value) {
- if (repeatedNumericBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- transformationDetail_ = value;
- onChanged();
- } else {
- repeatedNumericBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 6;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- */
- public Builder setRepeatedNumeric(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericArrayTransformation.Builder
- builderForValue) {
- if (repeatedNumericBuilder_ == null) {
- transformationDetail_ = builderForValue.build();
- onChanged();
- } else {
- repeatedNumericBuilder_.setMessage(builderForValue.build());
- }
- transformationDetailCase_ = 6;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- */
- public Builder mergeRepeatedNumeric(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.NumericArrayTransformation
- value) {
- if (repeatedNumericBuilder_ == null) {
- if (transformationDetailCase_ == 6
- && transformationDetail_
- != com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- .getDefaultInstance()) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- transformationDetail_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- transformationDetail_ = value;
- }
- onChanged();
- } else {
- if (transformationDetailCase_ == 6) {
- repeatedNumericBuilder_.mergeFrom(value);
- }
- repeatedNumericBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 6;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- */
- public Builder clearRepeatedNumeric() {
- if (repeatedNumericBuilder_ == null) {
- if (transformationDetailCase_ == 6) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- onChanged();
- }
- } else {
- if (transformationDetailCase_ == 6) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- }
- repeatedNumericBuilder_.clear();
- }
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.Builder
- getRepeatedNumericBuilder() {
- return getRepeatedNumericFieldBuilder().getBuilder();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformationOrBuilder
- getRepeatedNumericOrBuilder() {
- if ((transformationDetailCase_ == 6) && (repeatedNumericBuilder_ != null)) {
- return repeatedNumericBuilder_.getMessageOrBuilder();
- } else {
- if (transformationDetailCase_ == 6) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- .getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation repeated_numeric = 6;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformationOrBuilder>
- getRepeatedNumericFieldBuilder() {
- if (repeatedNumericBuilder_ == null) {
- if (!(transformationDetailCase_ == 6)) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation
- .getDefaultInstance();
- }
- repeatedNumericBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformationOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.NumericArrayTransformation)
- transformationDetail_,
- getParentForChildren(),
- isClean());
- transformationDetail_ = null;
- }
- transformationDetailCase_ = 6;
- onChanged();
- ;
- return repeatedNumericBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformationOrBuilder>
- repeatedCategoricalBuilder_;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- *
- * @return Whether the repeatedCategorical field is set.
- */
- @java.lang.Override
- public boolean hasRepeatedCategorical() {
- return transformationDetailCase_ == 7;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- *
- * @return The repeatedCategorical.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- getRepeatedCategorical() {
- if (repeatedCategoricalBuilder_ == null) {
- if (transformationDetailCase_ == 7) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .getDefaultInstance();
- } else {
- if (transformationDetailCase_ == 7) {
- return repeatedCategoricalBuilder_.getMessage();
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- */
- public Builder setRepeatedCategorical(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalArrayTransformation
- value) {
- if (repeatedCategoricalBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- transformationDetail_ = value;
- onChanged();
- } else {
- repeatedCategoricalBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 7;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- */
- public Builder setRepeatedCategorical(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalArrayTransformation.Builder
- builderForValue) {
- if (repeatedCategoricalBuilder_ == null) {
- transformationDetail_ = builderForValue.build();
- onChanged();
- } else {
- repeatedCategoricalBuilder_.setMessage(builderForValue.build());
- }
- transformationDetailCase_ = 7;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- */
- public Builder mergeRepeatedCategorical(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.CategoricalArrayTransformation
- value) {
- if (repeatedCategoricalBuilder_ == null) {
- if (transformationDetailCase_ == 7
- && transformationDetail_
- != com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .getDefaultInstance()) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .newBuilder(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- .CategoricalArrayTransformation)
- transformationDetail_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- transformationDetail_ = value;
- }
- onChanged();
- } else {
- if (transformationDetailCase_ == 7) {
- repeatedCategoricalBuilder_.mergeFrom(value);
- }
- repeatedCategoricalBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 7;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- */
- public Builder clearRepeatedCategorical() {
- if (repeatedCategoricalBuilder_ == null) {
- if (transformationDetailCase_ == 7) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- onChanged();
- }
- } else {
- if (transformationDetailCase_ == 7) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- }
- repeatedCategoricalBuilder_.clear();
- }
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation.Builder
- getRepeatedCategoricalBuilder() {
- return getRepeatedCategoricalFieldBuilder().getBuilder();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformationOrBuilder
- getRepeatedCategoricalOrBuilder() {
- if ((transformationDetailCase_ == 7) && (repeatedCategoricalBuilder_ != null)) {
- return repeatedCategoricalBuilder_.getMessageOrBuilder();
- } else {
- if (transformationDetailCase_ == 7) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation repeated_categorical = 7;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformationOrBuilder>
- getRepeatedCategoricalFieldBuilder() {
- if (repeatedCategoricalBuilder_ == null) {
- if (!(transformationDetailCase_ == 7)) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .getDefaultInstance();
- }
- repeatedCategoricalBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation
- .Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- .CategoricalArrayTransformationOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation)
- transformationDetail_,
- getParentForChildren(),
- isClean());
- transformationDetail_ = null;
- }
- transformationDetailCase_ = 7;
- onChanged();
- ;
- return repeatedCategoricalBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformationOrBuilder>
- repeatedTextBuilder_;
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- *
- * @return Whether the repeatedText field is set.
- */
- @java.lang.Override
- public boolean hasRepeatedText() {
- return transformationDetailCase_ == 8;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- *
- * @return The repeatedText.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- getRepeatedText() {
- if (repeatedTextBuilder_ == null) {
- if (transformationDetailCase_ == 8) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.getDefaultInstance();
- } else {
- if (transformationDetailCase_ == 8) {
- return repeatedTextBuilder_.getMessage();
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- */
- public Builder setRepeatedText(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextArrayTransformation
- value) {
- if (repeatedTextBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- transformationDetail_ = value;
- onChanged();
- } else {
- repeatedTextBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 8;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- */
- public Builder setRepeatedText(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextArrayTransformation.Builder
- builderForValue) {
- if (repeatedTextBuilder_ == null) {
- transformationDetail_ = builderForValue.build();
- onChanged();
- } else {
- repeatedTextBuilder_.setMessage(builderForValue.build());
- }
- transformationDetailCase_ = 8;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- */
- public Builder mergeRepeatedText(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.TextArrayTransformation
- value) {
- if (repeatedTextBuilder_ == null) {
- if (transformationDetailCase_ == 8
- && transformationDetail_
- != com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- .getDefaultInstance()) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- transformationDetail_ = value;
- }
- onChanged();
- } else {
- if (transformationDetailCase_ == 8) {
- repeatedTextBuilder_.mergeFrom(value);
- }
- repeatedTextBuilder_.setMessage(value);
- }
- transformationDetailCase_ = 8;
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- */
- public Builder clearRepeatedText() {
- if (repeatedTextBuilder_ == null) {
- if (transformationDetailCase_ == 8) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- onChanged();
- }
- } else {
- if (transformationDetailCase_ == 8) {
- transformationDetailCase_ = 0;
- transformationDetail_ = null;
- }
- repeatedTextBuilder_.clear();
- }
- return this;
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.Builder
- getRepeatedTextBuilder() {
- return getRepeatedTextFieldBuilder().getBuilder();
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformationOrBuilder
- getRepeatedTextOrBuilder() {
- if ((transformationDetailCase_ == 8) && (repeatedTextBuilder_ != null)) {
- return repeatedTextBuilder_.getMessageOrBuilder();
- } else {
- if (transformationDetailCase_ == 8) {
- return (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_;
- }
- return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.getDefaultInstance();
- }
- }
- /**
- *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation repeated_text = 8;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformationOrBuilder>
- getRepeatedTextFieldBuilder() {
- if (repeatedTextBuilder_ == null) {
- if (!(transformationDetailCase_ == 8)) {
- transformationDetail_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation
- .getDefaultInstance();
- }
- repeatedTextBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformationOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.TextArrayTransformation)
- transformationDetail_,
- getParentForChildren(),
- isClean());
- transformationDetail_ = null;
- }
- transformationDetailCase_ = 8;
- onChanged();
- ;
- return repeatedTextBuilder_;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * The time granularity unit of this time period. - * The supported unit are: - * "minute" - * "hour" - * "day" - * "week" - * "month" - * "year" - *- * - *
string unit = 1;
- *
- * @return The unit.
- */
- java.lang.String getUnit();
- /**
- *
- *
- * - * The time granularity unit of this time period. - * The supported unit are: - * "minute" - * "hour" - * "day" - * "week" - * "month" - * "year" - *- * - *
string unit = 1;
- *
- * @return The bytes for unit.
- */
- com.google.protobuf.ByteString getUnitBytes();
-
- /**
- *
- *
- * - * The number of units per period, e.g. 3 weeks or 2 months. - *- * - *
int64 quantity = 2;
- *
- * @return The quantity.
- */
- long getQuantity();
- }
- /**
- *
- *
- * - * A duration of time expressed in time granularity units. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period} - */ - public static final class Period extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period) - PeriodOrBuilder { - private static final long serialVersionUID = 0L; - // Use Period.newBuilder() to construct. - private Period(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private Period() { - unit_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Period(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Period( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - unit_ = s; - break; - } - case 16: - { - quantity_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Period_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingInputs_Period_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Period.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingInputs.Period.Builder.class); - } - - public static final int UNIT_FIELD_NUMBER = 1; - private volatile java.lang.Object unit_; - /** - * - * - *
- * The time granularity unit of this time period. - * The supported unit are: - * "minute" - * "hour" - * "day" - * "week" - * "month" - * "year" - *- * - *
string unit = 1;
- *
- * @return The unit.
- */
- @java.lang.Override
- public java.lang.String getUnit() {
- java.lang.Object ref = unit_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- unit_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * The time granularity unit of this time period. - * The supported unit are: - * "minute" - * "hour" - * "day" - * "week" - * "month" - * "year" - *- * - *
string unit = 1;
- *
- * @return The bytes for unit.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getUnitBytes() {
- java.lang.Object ref = unit_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- unit_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int QUANTITY_FIELD_NUMBER = 2;
- private long quantity_;
- /**
- *
- *
- * - * The number of units per period, e.g. 3 weeks or 2 months. - *- * - *
int64 quantity = 2;
- *
- * @return The quantity.
- */
- @java.lang.Override
- public long getQuantity() {
- return quantity_;
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getUnitBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, unit_);
- }
- if (quantity_ != 0L) {
- output.writeInt64(2, quantity_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getUnitBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, unit_);
- }
- if (quantity_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, quantity_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period)
- obj;
-
- if (!getUnit().equals(other.getUnit())) return false;
- if (getQuantity() != other.getQuantity()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + UNIT_FIELD_NUMBER;
- hash = (53 * hash) + getUnit().hashCode();
- hash = (37 * hash) + QUANTITY_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getQuantity());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * A duration of time expressed in time granularity units. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder
- * The time granularity unit of this time period. - * The supported unit are: - * "minute" - * "hour" - * "day" - * "week" - * "month" - * "year" - *- * - *
string unit = 1;
- *
- * @return The unit.
- */
- public java.lang.String getUnit() {
- java.lang.Object ref = unit_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- unit_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * The time granularity unit of this time period. - * The supported unit are: - * "minute" - * "hour" - * "day" - * "week" - * "month" - * "year" - *- * - *
string unit = 1;
- *
- * @return The bytes for unit.
- */
- public com.google.protobuf.ByteString getUnitBytes() {
- java.lang.Object ref = unit_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- unit_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * The time granularity unit of this time period. - * The supported unit are: - * "minute" - * "hour" - * "day" - * "week" - * "month" - * "year" - *- * - *
string unit = 1;
- *
- * @param value The unit to set.
- * @return This builder for chaining.
- */
- public Builder setUnit(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- unit_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The time granularity unit of this time period. - * The supported unit are: - * "minute" - * "hour" - * "day" - * "week" - * "month" - * "year" - *- * - *
string unit = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearUnit() {
-
- unit_ = getDefaultInstance().getUnit();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The time granularity unit of this time period. - * The supported unit are: - * "minute" - * "hour" - * "day" - * "week" - * "month" - * "year" - *- * - *
string unit = 1;
- *
- * @param value The bytes for unit to set.
- * @return This builder for chaining.
- */
- public Builder setUnitBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- unit_ = value;
- onChanged();
- return this;
- }
-
- private long quantity_;
- /**
- *
- *
- * - * The number of units per period, e.g. 3 weeks or 2 months. - *- * - *
int64 quantity = 2;
- *
- * @return The quantity.
- */
- @java.lang.Override
- public long getQuantity() {
- return quantity_;
- }
- /**
- *
- *
- * - * The number of units per period, e.g. 3 weeks or 2 months. - *- * - *
int64 quantity = 2;
- *
- * @param value The quantity to set.
- * @return This builder for chaining.
- */
- public Builder setQuantity(long value) {
-
- quantity_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The number of units per period, e.g. 3 weeks or 2 months. - *- * - *
int64 quantity = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearQuantity() {
-
- quantity_ = 0L;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * The name of the column that the model is to predict. - *- * - *
string target_column = 1;
- *
- * @return The targetColumn.
- */
- @java.lang.Override
- public java.lang.String getTargetColumn() {
- java.lang.Object ref = targetColumn_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- targetColumn_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * The name of the column that the model is to predict. - *- * - *
string target_column = 1;
- *
- * @return The bytes for targetColumn.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getTargetColumnBytes() {
- java.lang.Object ref = targetColumn_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- targetColumn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int TIME_SERIES_IDENTIFIER_COLUMN_FIELD_NUMBER = 2;
- private volatile java.lang.Object timeSeriesIdentifierColumn_;
- /**
- *
- *
- * - * The name of the column that identifies the time series. - *- * - *
string time_series_identifier_column = 2;
- *
- * @return The timeSeriesIdentifierColumn.
- */
- @java.lang.Override
- public java.lang.String getTimeSeriesIdentifierColumn() {
- java.lang.Object ref = timeSeriesIdentifierColumn_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- timeSeriesIdentifierColumn_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * The name of the column that identifies the time series. - *- * - *
string time_series_identifier_column = 2;
- *
- * @return The bytes for timeSeriesIdentifierColumn.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getTimeSeriesIdentifierColumnBytes() {
- java.lang.Object ref = timeSeriesIdentifierColumn_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- timeSeriesIdentifierColumn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int TIME_COLUMN_FIELD_NUMBER = 3;
- private volatile java.lang.Object timeColumn_;
- /**
- *
- *
- * - * The name of the column that identifies time order in the time series. - *- * - *
string time_column = 3;
- *
- * @return The timeColumn.
- */
- @java.lang.Override
- public java.lang.String getTimeColumn() {
- java.lang.Object ref = timeColumn_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- timeColumn_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * The name of the column that identifies time order in the time series. - *- * - *
string time_column = 3;
- *
- * @return The bytes for timeColumn.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getTimeColumnBytes() {
- java.lang.Object ref = timeColumn_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- timeColumn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int TRANSFORMATIONS_FIELD_NUMBER = 4;
- private java.util.List<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation>
- transformations_;
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- @java.lang.Override
- public java.util.List<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation>
- getTransformationsList() {
- return transformations_;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- @java.lang.Override
- public java.util.List<
- ? extends
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.TransformationOrBuilder>
- getTransformationsOrBuilderList() {
- return transformations_;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- @java.lang.Override
- public int getTransformationsCount() {
- return transformations_.size();
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation
- getTransformations(int index) {
- return transformations_.get(index);
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .TransformationOrBuilder
- getTransformationsOrBuilder(int index) {
- return transformations_.get(index);
- }
-
- public static final int OPTIMIZATION_OBJECTIVE_FIELD_NUMBER = 5;
- private volatile java.lang.Object optimizationObjective_;
- /**
- *
- *
- * - * Objective function the model is optimizing towards. The training process - * creates a model that optimizes the value of the objective - * function over the validation set. - * The supported optimization objectives: - * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). - * "minimize-mae" - Minimize mean-absolute error (MAE). - * "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). - * "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). - * "minimize-wape-mae" - Minimize the combination of weighted absolute - * percentage error (WAPE) and mean-absolute-error (MAE). - * "minimize-quantile-loss" - Minimize the quantile loss at the quantiles - * defined in `quantiles`. - *- * - *
string optimization_objective = 5;
- *
- * @return The optimizationObjective.
- */
- @java.lang.Override
- public java.lang.String getOptimizationObjective() {
- java.lang.Object ref = optimizationObjective_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- optimizationObjective_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * Objective function the model is optimizing towards. The training process - * creates a model that optimizes the value of the objective - * function over the validation set. - * The supported optimization objectives: - * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). - * "minimize-mae" - Minimize mean-absolute error (MAE). - * "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). - * "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). - * "minimize-wape-mae" - Minimize the combination of weighted absolute - * percentage error (WAPE) and mean-absolute-error (MAE). - * "minimize-quantile-loss" - Minimize the quantile loss at the quantiles - * defined in `quantiles`. - *- * - *
string optimization_objective = 5;
- *
- * @return The bytes for optimizationObjective.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getOptimizationObjectiveBytes() {
- java.lang.Object ref = optimizationObjective_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- optimizationObjective_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int TRAIN_BUDGET_MILLI_NODE_HOURS_FIELD_NUMBER = 6;
- private long trainBudgetMilliNodeHours_;
- /**
- *
- *
- * - * Required. The train budget of creating this model, expressed in milli node - * hours i.e. 1,000 value in this field means 1 node hour. - * The training cost of the model will not exceed this budget. The final cost - * will be attempted to be close to the budget, though may end up being (even) - * noticeably smaller - at the backend's discretion. This especially may - * happen when further model training ceases to provide any improvements. - * If the budget is set to a value known to be insufficient to train a - * model for the given dataset, the training won't be attempted and - * will error. - * The train budget must be between 1,000 and 72,000 milli node hours, - * inclusive. - *- * - *
int64 train_budget_milli_node_hours = 6;
- *
- * @return The trainBudgetMilliNodeHours.
- */
- @java.lang.Override
- public long getTrainBudgetMilliNodeHours() {
- return trainBudgetMilliNodeHours_;
- }
-
- public static final int WEIGHT_COLUMN_FIELD_NUMBER = 7;
- private volatile java.lang.Object weightColumn_;
- /**
- *
- *
- * - * Column name that should be used as the weight column. - * Higher values in this column give more importance to the row - * during model training. The column must have numeric values between 0 and - * 10000 inclusively; 0 means the row is ignored for training. If weight - * column field is not set, then all rows are assumed to have equal weight - * of 1. - *- * - *
string weight_column = 7;
- *
- * @return The weightColumn.
- */
- @java.lang.Override
- public java.lang.String getWeightColumn() {
- java.lang.Object ref = weightColumn_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- weightColumn_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * Column name that should be used as the weight column. - * Higher values in this column give more importance to the row - * during model training. The column must have numeric values between 0 and - * 10000 inclusively; 0 means the row is ignored for training. If weight - * column field is not set, then all rows are assumed to have equal weight - * of 1. - *- * - *
string weight_column = 7;
- *
- * @return The bytes for weightColumn.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getWeightColumnBytes() {
- java.lang.Object ref = weightColumn_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- weightColumn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int STATIC_COLUMNS_FIELD_NUMBER = 8;
- private com.google.protobuf.LazyStringList staticColumns_;
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @return A list containing the staticColumns.
- */
- public com.google.protobuf.ProtocolStringList getStaticColumnsList() {
- return staticColumns_;
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @return The count of staticColumns.
- */
- public int getStaticColumnsCount() {
- return staticColumns_.size();
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param index The index of the element to return.
- * @return The staticColumns at the given index.
- */
- public java.lang.String getStaticColumns(int index) {
- return staticColumns_.get(index);
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param index The index of the value to return.
- * @return The bytes of the staticColumns at the given index.
- */
- public com.google.protobuf.ByteString getStaticColumnsBytes(int index) {
- return staticColumns_.getByteString(index);
- }
-
- public static final int TIME_VARIANT_PAST_ONLY_COLUMNS_FIELD_NUMBER = 9;
- private com.google.protobuf.LazyStringList timeVariantPastOnlyColumns_;
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @return A list containing the timeVariantPastOnlyColumns.
- */
- public com.google.protobuf.ProtocolStringList getTimeVariantPastOnlyColumnsList() {
- return timeVariantPastOnlyColumns_;
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @return The count of timeVariantPastOnlyColumns.
- */
- public int getTimeVariantPastOnlyColumnsCount() {
- return timeVariantPastOnlyColumns_.size();
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param index The index of the element to return.
- * @return The timeVariantPastOnlyColumns at the given index.
- */
- public java.lang.String getTimeVariantPastOnlyColumns(int index) {
- return timeVariantPastOnlyColumns_.get(index);
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param index The index of the value to return.
- * @return The bytes of the timeVariantPastOnlyColumns at the given index.
- */
- public com.google.protobuf.ByteString getTimeVariantPastOnlyColumnsBytes(int index) {
- return timeVariantPastOnlyColumns_.getByteString(index);
- }
-
- public static final int TIME_VARIANT_PAST_AND_FUTURE_COLUMNS_FIELD_NUMBER = 10;
- private com.google.protobuf.LazyStringList timeVariantPastAndFutureColumns_;
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @return A list containing the timeVariantPastAndFutureColumns.
- */
- public com.google.protobuf.ProtocolStringList getTimeVariantPastAndFutureColumnsList() {
- return timeVariantPastAndFutureColumns_;
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @return The count of timeVariantPastAndFutureColumns.
- */
- public int getTimeVariantPastAndFutureColumnsCount() {
- return timeVariantPastAndFutureColumns_.size();
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param index The index of the element to return.
- * @return The timeVariantPastAndFutureColumns at the given index.
- */
- public java.lang.String getTimeVariantPastAndFutureColumns(int index) {
- return timeVariantPastAndFutureColumns_.get(index);
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param index The index of the value to return.
- * @return The bytes of the timeVariantPastAndFutureColumns at the given index.
- */
- public com.google.protobuf.ByteString getTimeVariantPastAndFutureColumnsBytes(int index) {
- return timeVariantPastAndFutureColumns_.getByteString(index);
- }
-
- public static final int PERIOD_FIELD_NUMBER = 11;
- private com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period
- period_;
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- *
- * @return Whether the period field is set.
- */
- @java.lang.Override
- public boolean hasPeriod() {
- return period_ != null;
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- *
- * @return The period.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period
- getPeriod() {
- return period_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period.getDefaultInstance()
- : period_;
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .PeriodOrBuilder
- getPeriodOrBuilder() {
- return getPeriod();
- }
-
- public static final int FORECAST_WINDOW_START_FIELD_NUMBER = 12;
- private long forecastWindowStart_;
- /**
- *
- *
- * - * The number of periods offset into the future as the start of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Default to 0. Inclusive. - *- * - *
int64 forecast_window_start = 12;
- *
- * @return The forecastWindowStart.
- */
- @java.lang.Override
- public long getForecastWindowStart() {
- return forecastWindowStart_;
- }
-
- public static final int FORECAST_WINDOW_END_FIELD_NUMBER = 13;
- private long forecastWindowEnd_;
- /**
- *
- *
- * - * The number of periods offset into the future as the end of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Inclusive. - *- * - *
int64 forecast_window_end = 13;
- *
- * @return The forecastWindowEnd.
- */
- @java.lang.Override
- public long getForecastWindowEnd() {
- return forecastWindowEnd_;
- }
-
- public static final int PAST_HORIZON_FIELD_NUMBER = 14;
- private long pastHorizon_;
- /**
- *
- *
- * - * The number of periods offset into the past to restrict past sequence, where - * each period is one unit of granularity as defined by the `period`. Default - * value 0 means that it lets algorithm to define the value. Inclusive. - *- * - *
int64 past_horizon = 14;
- *
- * @return The pastHorizon.
- */
- @java.lang.Override
- public long getPastHorizon() {
- return pastHorizon_;
- }
-
- public static final int EXPORT_EVALUATED_DATA_ITEMS_CONFIG_FIELD_NUMBER = 15;
- private com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig
- exportEvaluatedDataItemsConfig_;
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- *
- * @return Whether the exportEvaluatedDataItemsConfig field is set.
- */
- @java.lang.Override
- public boolean hasExportEvaluatedDataItemsConfig() {
- return exportEvaluatedDataItemsConfig_ != null;
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- *
- * @return The exportEvaluatedDataItemsConfig.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig
- getExportEvaluatedDataItemsConfig() {
- return exportEvaluatedDataItemsConfig_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig.getDefaultInstance()
- : exportEvaluatedDataItemsConfig_;
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfigOrBuilder
- getExportEvaluatedDataItemsConfigOrBuilder() {
- return getExportEvaluatedDataItemsConfig();
- }
-
- public static final int QUANTILES_FIELD_NUMBER = 16;
- private com.google.protobuf.Internal.DoubleList quantiles_;
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @return A list containing the quantiles.
- */
- @java.lang.Override
- public java.util.List- * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @return The count of quantiles.
- */
- public int getQuantilesCount() {
- return quantiles_.size();
- }
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @param index The index of the element to return.
- * @return The quantiles at the given index.
- */
- public double getQuantiles(int index) {
- return quantiles_.getDouble(index);
- }
-
- private int quantilesMemoizedSerializedSize = -1;
-
- public static final int VALIDATION_OPTIONS_FIELD_NUMBER = 17;
- private volatile java.lang.Object validationOptions_;
- /**
- *
- *
- * - * Validation options for the data validation component. The available options - * are: - * "fail-pipeline" - default, will validate against the validation and - * fail the pipeline if it fails. - * "ignore-validation" - ignore the results of the validation and continue - *- * - *
string validation_options = 17;
- *
- * @return The validationOptions.
- */
- @java.lang.Override
- public java.lang.String getValidationOptions() {
- java.lang.Object ref = validationOptions_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- validationOptions_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * Validation options for the data validation component. The available options - * are: - * "fail-pipeline" - default, will validate against the validation and - * fail the pipeline if it fails. - * "ignore-validation" - ignore the results of the validation and continue - *- * - *
string validation_options = 17;
- *
- * @return The bytes for validationOptions.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getValidationOptionsBytes() {
- java.lang.Object ref = validationOptions_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- validationOptions_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (!getTargetColumnBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetColumn_);
- }
- if (!getTimeSeriesIdentifierColumnBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timeSeriesIdentifierColumn_);
- }
- if (!getTimeColumnBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, timeColumn_);
- }
- for (int i = 0; i < transformations_.size(); i++) {
- output.writeMessage(4, transformations_.get(i));
- }
- if (!getOptimizationObjectiveBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, optimizationObjective_);
- }
- if (trainBudgetMilliNodeHours_ != 0L) {
- output.writeInt64(6, trainBudgetMilliNodeHours_);
- }
- if (!getWeightColumnBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 7, weightColumn_);
- }
- for (int i = 0; i < staticColumns_.size(); i++) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 8, staticColumns_.getRaw(i));
- }
- for (int i = 0; i < timeVariantPastOnlyColumns_.size(); i++) {
- com.google.protobuf.GeneratedMessageV3.writeString(
- output, 9, timeVariantPastOnlyColumns_.getRaw(i));
- }
- for (int i = 0; i < timeVariantPastAndFutureColumns_.size(); i++) {
- com.google.protobuf.GeneratedMessageV3.writeString(
- output, 10, timeVariantPastAndFutureColumns_.getRaw(i));
- }
- if (period_ != null) {
- output.writeMessage(11, getPeriod());
- }
- if (forecastWindowStart_ != 0L) {
- output.writeInt64(12, forecastWindowStart_);
- }
- if (forecastWindowEnd_ != 0L) {
- output.writeInt64(13, forecastWindowEnd_);
- }
- if (pastHorizon_ != 0L) {
- output.writeInt64(14, pastHorizon_);
- }
- if (exportEvaluatedDataItemsConfig_ != null) {
- output.writeMessage(15, getExportEvaluatedDataItemsConfig());
- }
- if (getQuantilesList().size() > 0) {
- output.writeUInt32NoTag(130);
- output.writeUInt32NoTag(quantilesMemoizedSerializedSize);
- }
- for (int i = 0; i < quantiles_.size(); i++) {
- output.writeDoubleNoTag(quantiles_.getDouble(i));
- }
- if (!getValidationOptionsBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 17, validationOptions_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getTargetColumnBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, targetColumn_);
- }
- if (!getTimeSeriesIdentifierColumnBytes().isEmpty()) {
- size +=
- com.google.protobuf.GeneratedMessageV3.computeStringSize(2, timeSeriesIdentifierColumn_);
- }
- if (!getTimeColumnBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, timeColumn_);
- }
- for (int i = 0; i < transformations_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, transformations_.get(i));
- }
- if (!getOptimizationObjectiveBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, optimizationObjective_);
- }
- if (trainBudgetMilliNodeHours_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, trainBudgetMilliNodeHours_);
- }
- if (!getWeightColumnBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, weightColumn_);
- }
- {
- int dataSize = 0;
- for (int i = 0; i < staticColumns_.size(); i++) {
- dataSize += computeStringSizeNoTag(staticColumns_.getRaw(i));
- }
- size += dataSize;
- size += 1 * getStaticColumnsList().size();
- }
- {
- int dataSize = 0;
- for (int i = 0; i < timeVariantPastOnlyColumns_.size(); i++) {
- dataSize += computeStringSizeNoTag(timeVariantPastOnlyColumns_.getRaw(i));
- }
- size += dataSize;
- size += 1 * getTimeVariantPastOnlyColumnsList().size();
- }
- {
- int dataSize = 0;
- for (int i = 0; i < timeVariantPastAndFutureColumns_.size(); i++) {
- dataSize += computeStringSizeNoTag(timeVariantPastAndFutureColumns_.getRaw(i));
- }
- size += dataSize;
- size += 1 * getTimeVariantPastAndFutureColumnsList().size();
- }
- if (period_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getPeriod());
- }
- if (forecastWindowStart_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, forecastWindowStart_);
- }
- if (forecastWindowEnd_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(13, forecastWindowEnd_);
- }
- if (pastHorizon_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(14, pastHorizon_);
- }
- if (exportEvaluatedDataItemsConfig_ != null) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 15, getExportEvaluatedDataItemsConfig());
- }
- {
- int dataSize = 0;
- dataSize = 8 * getQuantilesList().size();
- size += dataSize;
- if (!getQuantilesList().isEmpty()) {
- size += 2;
- size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
- }
- quantilesMemoizedSerializedSize = dataSize;
- }
- if (!getValidationOptionsBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, validationOptions_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs)
- obj;
-
- if (!getTargetColumn().equals(other.getTargetColumn())) return false;
- if (!getTimeSeriesIdentifierColumn().equals(other.getTimeSeriesIdentifierColumn()))
- return false;
- if (!getTimeColumn().equals(other.getTimeColumn())) return false;
- if (!getTransformationsList().equals(other.getTransformationsList())) return false;
- if (!getOptimizationObjective().equals(other.getOptimizationObjective())) return false;
- if (getTrainBudgetMilliNodeHours() != other.getTrainBudgetMilliNodeHours()) return false;
- if (!getWeightColumn().equals(other.getWeightColumn())) return false;
- if (!getStaticColumnsList().equals(other.getStaticColumnsList())) return false;
- if (!getTimeVariantPastOnlyColumnsList().equals(other.getTimeVariantPastOnlyColumnsList()))
- return false;
- if (!getTimeVariantPastAndFutureColumnsList()
- .equals(other.getTimeVariantPastAndFutureColumnsList())) return false;
- if (hasPeriod() != other.hasPeriod()) return false;
- if (hasPeriod()) {
- if (!getPeriod().equals(other.getPeriod())) return false;
- }
- if (getForecastWindowStart() != other.getForecastWindowStart()) return false;
- if (getForecastWindowEnd() != other.getForecastWindowEnd()) return false;
- if (getPastHorizon() != other.getPastHorizon()) return false;
- if (hasExportEvaluatedDataItemsConfig() != other.hasExportEvaluatedDataItemsConfig())
- return false;
- if (hasExportEvaluatedDataItemsConfig()) {
- if (!getExportEvaluatedDataItemsConfig().equals(other.getExportEvaluatedDataItemsConfig()))
- return false;
- }
- if (!getQuantilesList().equals(other.getQuantilesList())) return false;
- if (!getValidationOptions().equals(other.getValidationOptions())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + TARGET_COLUMN_FIELD_NUMBER;
- hash = (53 * hash) + getTargetColumn().hashCode();
- hash = (37 * hash) + TIME_SERIES_IDENTIFIER_COLUMN_FIELD_NUMBER;
- hash = (53 * hash) + getTimeSeriesIdentifierColumn().hashCode();
- hash = (37 * hash) + TIME_COLUMN_FIELD_NUMBER;
- hash = (53 * hash) + getTimeColumn().hashCode();
- if (getTransformationsCount() > 0) {
- hash = (37 * hash) + TRANSFORMATIONS_FIELD_NUMBER;
- hash = (53 * hash) + getTransformationsList().hashCode();
- }
- hash = (37 * hash) + OPTIMIZATION_OBJECTIVE_FIELD_NUMBER;
- hash = (53 * hash) + getOptimizationObjective().hashCode();
- hash = (37 * hash) + TRAIN_BUDGET_MILLI_NODE_HOURS_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrainBudgetMilliNodeHours());
- hash = (37 * hash) + WEIGHT_COLUMN_FIELD_NUMBER;
- hash = (53 * hash) + getWeightColumn().hashCode();
- if (getStaticColumnsCount() > 0) {
- hash = (37 * hash) + STATIC_COLUMNS_FIELD_NUMBER;
- hash = (53 * hash) + getStaticColumnsList().hashCode();
- }
- if (getTimeVariantPastOnlyColumnsCount() > 0) {
- hash = (37 * hash) + TIME_VARIANT_PAST_ONLY_COLUMNS_FIELD_NUMBER;
- hash = (53 * hash) + getTimeVariantPastOnlyColumnsList().hashCode();
- }
- if (getTimeVariantPastAndFutureColumnsCount() > 0) {
- hash = (37 * hash) + TIME_VARIANT_PAST_AND_FUTURE_COLUMNS_FIELD_NUMBER;
- hash = (53 * hash) + getTimeVariantPastAndFutureColumnsList().hashCode();
- }
- if (hasPeriod()) {
- hash = (37 * hash) + PERIOD_FIELD_NUMBER;
- hash = (53 * hash) + getPeriod().hashCode();
- }
- hash = (37 * hash) + FORECAST_WINDOW_START_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getForecastWindowStart());
- hash = (37 * hash) + FORECAST_WINDOW_END_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getForecastWindowEnd());
- hash = (37 * hash) + PAST_HORIZON_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPastHorizon());
- if (hasExportEvaluatedDataItemsConfig()) {
- hash = (37 * hash) + EXPORT_EVALUATED_DATA_ITEMS_CONFIG_FIELD_NUMBER;
- hash = (53 * hash) + getExportEvaluatedDataItemsConfig().hashCode();
- }
- if (getQuantilesCount() > 0) {
- hash = (37 * hash) + QUANTILES_FIELD_NUMBER;
- hash = (53 * hash) + getQuantilesList().hashCode();
- }
- hash = (37 * hash) + VALIDATION_OPTIONS_FIELD_NUMBER;
- hash = (53 * hash) + getValidationOptions().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code
- * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs}
- */
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder- * The name of the column that the model is to predict. - *- * - *
string target_column = 1;
- *
- * @return The targetColumn.
- */
- public java.lang.String getTargetColumn() {
- java.lang.Object ref = targetColumn_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- targetColumn_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * The name of the column that the model is to predict. - *- * - *
string target_column = 1;
- *
- * @return The bytes for targetColumn.
- */
- public com.google.protobuf.ByteString getTargetColumnBytes() {
- java.lang.Object ref = targetColumn_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- targetColumn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * The name of the column that the model is to predict. - *- * - *
string target_column = 1;
- *
- * @param value The targetColumn to set.
- * @return This builder for chaining.
- */
- public Builder setTargetColumn(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- targetColumn_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The name of the column that the model is to predict. - *- * - *
string target_column = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearTargetColumn() {
-
- targetColumn_ = getDefaultInstance().getTargetColumn();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The name of the column that the model is to predict. - *- * - *
string target_column = 1;
- *
- * @param value The bytes for targetColumn to set.
- * @return This builder for chaining.
- */
- public Builder setTargetColumnBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- targetColumn_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object timeSeriesIdentifierColumn_ = "";
- /**
- *
- *
- * - * The name of the column that identifies the time series. - *- * - *
string time_series_identifier_column = 2;
- *
- * @return The timeSeriesIdentifierColumn.
- */
- public java.lang.String getTimeSeriesIdentifierColumn() {
- java.lang.Object ref = timeSeriesIdentifierColumn_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- timeSeriesIdentifierColumn_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * The name of the column that identifies the time series. - *- * - *
string time_series_identifier_column = 2;
- *
- * @return The bytes for timeSeriesIdentifierColumn.
- */
- public com.google.protobuf.ByteString getTimeSeriesIdentifierColumnBytes() {
- java.lang.Object ref = timeSeriesIdentifierColumn_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- timeSeriesIdentifierColumn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * The name of the column that identifies the time series. - *- * - *
string time_series_identifier_column = 2;
- *
- * @param value The timeSeriesIdentifierColumn to set.
- * @return This builder for chaining.
- */
- public Builder setTimeSeriesIdentifierColumn(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- timeSeriesIdentifierColumn_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The name of the column that identifies the time series. - *- * - *
string time_series_identifier_column = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearTimeSeriesIdentifierColumn() {
-
- timeSeriesIdentifierColumn_ = getDefaultInstance().getTimeSeriesIdentifierColumn();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The name of the column that identifies the time series. - *- * - *
string time_series_identifier_column = 2;
- *
- * @param value The bytes for timeSeriesIdentifierColumn to set.
- * @return This builder for chaining.
- */
- public Builder setTimeSeriesIdentifierColumnBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- timeSeriesIdentifierColumn_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object timeColumn_ = "";
- /**
- *
- *
- * - * The name of the column that identifies time order in the time series. - *- * - *
string time_column = 3;
- *
- * @return The timeColumn.
- */
- public java.lang.String getTimeColumn() {
- java.lang.Object ref = timeColumn_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- timeColumn_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * The name of the column that identifies time order in the time series. - *- * - *
string time_column = 3;
- *
- * @return The bytes for timeColumn.
- */
- public com.google.protobuf.ByteString getTimeColumnBytes() {
- java.lang.Object ref = timeColumn_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- timeColumn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * The name of the column that identifies time order in the time series. - *- * - *
string time_column = 3;
- *
- * @param value The timeColumn to set.
- * @return This builder for chaining.
- */
- public Builder setTimeColumn(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- timeColumn_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The name of the column that identifies time order in the time series. - *- * - *
string time_column = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearTimeColumn() {
-
- timeColumn_ = getDefaultInstance().getTimeColumn();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The name of the column that identifies time order in the time series. - *- * - *
string time_column = 3;
- *
- * @param value The bytes for timeColumn to set.
- * @return This builder for chaining.
- */
- public Builder setTimeColumnBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- timeColumn_ = value;
- onChanged();
- return this;
- }
-
- private java.util.List<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation>
- transformations_ = java.util.Collections.emptyList();
-
- private void ensureTransformationsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
- transformations_ =
- new java.util.ArrayList<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation>(transformations_);
- bitField0_ |= 0x00000001;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.TransformationOrBuilder>
- transformationsBuilder_;
-
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public java.util.List<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation>
- getTransformationsList() {
- if (transformationsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(transformations_);
- } else {
- return transformationsBuilder_.getMessageList();
- }
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public int getTransformationsCount() {
- if (transformationsBuilder_ == null) {
- return transformations_.size();
- } else {
- return transformationsBuilder_.getCount();
- }
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation
- getTransformations(int index) {
- if (transformationsBuilder_ == null) {
- return transformations_.get(index);
- } else {
- return transformationsBuilder_.getMessage(index);
- }
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public Builder setTransformations(
- int index,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation
- value) {
- if (transformationsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTransformationsIsMutable();
- transformations_.set(index, value);
- onChanged();
- } else {
- transformationsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public Builder setTransformations(
- int index,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.Builder
- builderForValue) {
- if (transformationsBuilder_ == null) {
- ensureTransformationsIsMutable();
- transformations_.set(index, builderForValue.build());
- onChanged();
- } else {
- transformationsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public Builder addTransformations(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation
- value) {
- if (transformationsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTransformationsIsMutable();
- transformations_.add(value);
- onChanged();
- } else {
- transformationsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public Builder addTransformations(
- int index,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation
- value) {
- if (transformationsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTransformationsIsMutable();
- transformations_.add(index, value);
- onChanged();
- } else {
- transformationsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public Builder addTransformations(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.Builder
- builderForValue) {
- if (transformationsBuilder_ == null) {
- ensureTransformationsIsMutable();
- transformations_.add(builderForValue.build());
- onChanged();
- } else {
- transformationsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public Builder addTransformations(
- int index,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.Builder
- builderForValue) {
- if (transformationsBuilder_ == null) {
- ensureTransformationsIsMutable();
- transformations_.add(index, builderForValue.build());
- onChanged();
- } else {
- transformationsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public Builder addAllTransformations(
- java.lang.Iterable<
- ? extends
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation>
- values) {
- if (transformationsBuilder_ == null) {
- ensureTransformationsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformations_);
- onChanged();
- } else {
- transformationsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public Builder clearTransformations() {
- if (transformationsBuilder_ == null) {
- transformations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- transformationsBuilder_.clear();
- }
- return this;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public Builder removeTransformations(int index) {
- if (transformationsBuilder_ == null) {
- ensureTransformationsIsMutable();
- transformations_.remove(index);
- onChanged();
- } else {
- transformationsBuilder_.remove(index);
- }
- return this;
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.Builder
- getTransformationsBuilder(int index) {
- return getTransformationsFieldBuilder().getBuilder(index);
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .TransformationOrBuilder
- getTransformationsOrBuilder(int index) {
- if (transformationsBuilder_ == null) {
- return transformations_.get(index);
- } else {
- return transformationsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public java.util.List<
- ? extends
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.TransformationOrBuilder>
- getTransformationsOrBuilderList() {
- if (transformationsBuilder_ != null) {
- return transformationsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(transformations_);
- }
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.Builder
- addTransformationsBuilder() {
- return getTransformationsFieldBuilder()
- .addBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.getDefaultInstance());
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation.Builder
- addTransformationsBuilder(int index) {
- return getTransformationsFieldBuilder()
- .addBuilder(
- index,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.getDefaultInstance());
- }
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- public java.util.List<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.Builder>
- getTransformationsBuilderList() {
- return getTransformationsFieldBuilder().getBuilderList();
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.TransformationOrBuilder>
- getTransformationsFieldBuilder() {
- if (transformationsBuilder_ == null) {
- transformationsBuilder_ =
- new com.google.protobuf.RepeatedFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Transformation.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.TransformationOrBuilder>(
- transformations_,
- ((bitField0_ & 0x00000001) != 0),
- getParentForChildren(),
- isClean());
- transformations_ = null;
- }
- return transformationsBuilder_;
- }
-
- private java.lang.Object optimizationObjective_ = "";
- /**
- *
- *
- * - * Objective function the model is optimizing towards. The training process - * creates a model that optimizes the value of the objective - * function over the validation set. - * The supported optimization objectives: - * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). - * "minimize-mae" - Minimize mean-absolute error (MAE). - * "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). - * "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). - * "minimize-wape-mae" - Minimize the combination of weighted absolute - * percentage error (WAPE) and mean-absolute-error (MAE). - * "minimize-quantile-loss" - Minimize the quantile loss at the quantiles - * defined in `quantiles`. - *- * - *
string optimization_objective = 5;
- *
- * @return The optimizationObjective.
- */
- public java.lang.String getOptimizationObjective() {
- java.lang.Object ref = optimizationObjective_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- optimizationObjective_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * Objective function the model is optimizing towards. The training process - * creates a model that optimizes the value of the objective - * function over the validation set. - * The supported optimization objectives: - * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). - * "minimize-mae" - Minimize mean-absolute error (MAE). - * "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). - * "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). - * "minimize-wape-mae" - Minimize the combination of weighted absolute - * percentage error (WAPE) and mean-absolute-error (MAE). - * "minimize-quantile-loss" - Minimize the quantile loss at the quantiles - * defined in `quantiles`. - *- * - *
string optimization_objective = 5;
- *
- * @return The bytes for optimizationObjective.
- */
- public com.google.protobuf.ByteString getOptimizationObjectiveBytes() {
- java.lang.Object ref = optimizationObjective_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- optimizationObjective_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * Objective function the model is optimizing towards. The training process - * creates a model that optimizes the value of the objective - * function over the validation set. - * The supported optimization objectives: - * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). - * "minimize-mae" - Minimize mean-absolute error (MAE). - * "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). - * "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). - * "minimize-wape-mae" - Minimize the combination of weighted absolute - * percentage error (WAPE) and mean-absolute-error (MAE). - * "minimize-quantile-loss" - Minimize the quantile loss at the quantiles - * defined in `quantiles`. - *- * - *
string optimization_objective = 5;
- *
- * @param value The optimizationObjective to set.
- * @return This builder for chaining.
- */
- public Builder setOptimizationObjective(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- optimizationObjective_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Objective function the model is optimizing towards. The training process - * creates a model that optimizes the value of the objective - * function over the validation set. - * The supported optimization objectives: - * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). - * "minimize-mae" - Minimize mean-absolute error (MAE). - * "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). - * "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). - * "minimize-wape-mae" - Minimize the combination of weighted absolute - * percentage error (WAPE) and mean-absolute-error (MAE). - * "minimize-quantile-loss" - Minimize the quantile loss at the quantiles - * defined in `quantiles`. - *- * - *
string optimization_objective = 5;
- *
- * @return This builder for chaining.
- */
- public Builder clearOptimizationObjective() {
-
- optimizationObjective_ = getDefaultInstance().getOptimizationObjective();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Objective function the model is optimizing towards. The training process - * creates a model that optimizes the value of the objective - * function over the validation set. - * The supported optimization objectives: - * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). - * "minimize-mae" - Minimize mean-absolute error (MAE). - * "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). - * "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). - * "minimize-wape-mae" - Minimize the combination of weighted absolute - * percentage error (WAPE) and mean-absolute-error (MAE). - * "minimize-quantile-loss" - Minimize the quantile loss at the quantiles - * defined in `quantiles`. - *- * - *
string optimization_objective = 5;
- *
- * @param value The bytes for optimizationObjective to set.
- * @return This builder for chaining.
- */
- public Builder setOptimizationObjectiveBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- optimizationObjective_ = value;
- onChanged();
- return this;
- }
-
- private long trainBudgetMilliNodeHours_;
- /**
- *
- *
- * - * Required. The train budget of creating this model, expressed in milli node - * hours i.e. 1,000 value in this field means 1 node hour. - * The training cost of the model will not exceed this budget. The final cost - * will be attempted to be close to the budget, though may end up being (even) - * noticeably smaller - at the backend's discretion. This especially may - * happen when further model training ceases to provide any improvements. - * If the budget is set to a value known to be insufficient to train a - * model for the given dataset, the training won't be attempted and - * will error. - * The train budget must be between 1,000 and 72,000 milli node hours, - * inclusive. - *- * - *
int64 train_budget_milli_node_hours = 6;
- *
- * @return The trainBudgetMilliNodeHours.
- */
- @java.lang.Override
- public long getTrainBudgetMilliNodeHours() {
- return trainBudgetMilliNodeHours_;
- }
- /**
- *
- *
- * - * Required. The train budget of creating this model, expressed in milli node - * hours i.e. 1,000 value in this field means 1 node hour. - * The training cost of the model will not exceed this budget. The final cost - * will be attempted to be close to the budget, though may end up being (even) - * noticeably smaller - at the backend's discretion. This especially may - * happen when further model training ceases to provide any improvements. - * If the budget is set to a value known to be insufficient to train a - * model for the given dataset, the training won't be attempted and - * will error. - * The train budget must be between 1,000 and 72,000 milli node hours, - * inclusive. - *- * - *
int64 train_budget_milli_node_hours = 6;
- *
- * @param value The trainBudgetMilliNodeHours to set.
- * @return This builder for chaining.
- */
- public Builder setTrainBudgetMilliNodeHours(long value) {
-
- trainBudgetMilliNodeHours_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Required. The train budget of creating this model, expressed in milli node - * hours i.e. 1,000 value in this field means 1 node hour. - * The training cost of the model will not exceed this budget. The final cost - * will be attempted to be close to the budget, though may end up being (even) - * noticeably smaller - at the backend's discretion. This especially may - * happen when further model training ceases to provide any improvements. - * If the budget is set to a value known to be insufficient to train a - * model for the given dataset, the training won't be attempted and - * will error. - * The train budget must be between 1,000 and 72,000 milli node hours, - * inclusive. - *- * - *
int64 train_budget_milli_node_hours = 6;
- *
- * @return This builder for chaining.
- */
- public Builder clearTrainBudgetMilliNodeHours() {
-
- trainBudgetMilliNodeHours_ = 0L;
- onChanged();
- return this;
- }
-
- private java.lang.Object weightColumn_ = "";
- /**
- *
- *
- * - * Column name that should be used as the weight column. - * Higher values in this column give more importance to the row - * during model training. The column must have numeric values between 0 and - * 10000 inclusively; 0 means the row is ignored for training. If weight - * column field is not set, then all rows are assumed to have equal weight - * of 1. - *- * - *
string weight_column = 7;
- *
- * @return The weightColumn.
- */
- public java.lang.String getWeightColumn() {
- java.lang.Object ref = weightColumn_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- weightColumn_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * Column name that should be used as the weight column. - * Higher values in this column give more importance to the row - * during model training. The column must have numeric values between 0 and - * 10000 inclusively; 0 means the row is ignored for training. If weight - * column field is not set, then all rows are assumed to have equal weight - * of 1. - *- * - *
string weight_column = 7;
- *
- * @return The bytes for weightColumn.
- */
- public com.google.protobuf.ByteString getWeightColumnBytes() {
- java.lang.Object ref = weightColumn_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- weightColumn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * Column name that should be used as the weight column. - * Higher values in this column give more importance to the row - * during model training. The column must have numeric values between 0 and - * 10000 inclusively; 0 means the row is ignored for training. If weight - * column field is not set, then all rows are assumed to have equal weight - * of 1. - *- * - *
string weight_column = 7;
- *
- * @param value The weightColumn to set.
- * @return This builder for chaining.
- */
- public Builder setWeightColumn(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- weightColumn_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column name that should be used as the weight column. - * Higher values in this column give more importance to the row - * during model training. The column must have numeric values between 0 and - * 10000 inclusively; 0 means the row is ignored for training. If weight - * column field is not set, then all rows are assumed to have equal weight - * of 1. - *- * - *
string weight_column = 7;
- *
- * @return This builder for chaining.
- */
- public Builder clearWeightColumn() {
-
- weightColumn_ = getDefaultInstance().getWeightColumn();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column name that should be used as the weight column. - * Higher values in this column give more importance to the row - * during model training. The column must have numeric values between 0 and - * 10000 inclusively; 0 means the row is ignored for training. If weight - * column field is not set, then all rows are assumed to have equal weight - * of 1. - *- * - *
string weight_column = 7;
- *
- * @param value The bytes for weightColumn to set.
- * @return This builder for chaining.
- */
- public Builder setWeightColumnBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- weightColumn_ = value;
- onChanged();
- return this;
- }
-
- private com.google.protobuf.LazyStringList staticColumns_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
-
- private void ensureStaticColumnsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
- staticColumns_ = new com.google.protobuf.LazyStringArrayList(staticColumns_);
- bitField0_ |= 0x00000002;
- }
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @return A list containing the staticColumns.
- */
- public com.google.protobuf.ProtocolStringList getStaticColumnsList() {
- return staticColumns_.getUnmodifiableView();
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @return The count of staticColumns.
- */
- public int getStaticColumnsCount() {
- return staticColumns_.size();
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param index The index of the element to return.
- * @return The staticColumns at the given index.
- */
- public java.lang.String getStaticColumns(int index) {
- return staticColumns_.get(index);
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param index The index of the value to return.
- * @return The bytes of the staticColumns at the given index.
- */
- public com.google.protobuf.ByteString getStaticColumnsBytes(int index) {
- return staticColumns_.getByteString(index);
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param index The index to set the value at.
- * @param value The staticColumns to set.
- * @return This builder for chaining.
- */
- public Builder setStaticColumns(int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStaticColumnsIsMutable();
- staticColumns_.set(index, value);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param value The staticColumns to add.
- * @return This builder for chaining.
- */
- public Builder addStaticColumns(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStaticColumnsIsMutable();
- staticColumns_.add(value);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param values The staticColumns to add.
- * @return This builder for chaining.
- */
- public Builder addAllStaticColumns(java.lang.Iterable- * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @return This builder for chaining.
- */
- public Builder clearStaticColumns() {
- staticColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param value The bytes of the staticColumns to add.
- * @return This builder for chaining.
- */
- public Builder addStaticColumnsBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
- ensureStaticColumnsIsMutable();
- staticColumns_.add(value);
- onChanged();
- return this;
- }
-
- private com.google.protobuf.LazyStringList timeVariantPastOnlyColumns_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
-
- private void ensureTimeVariantPastOnlyColumnsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
- timeVariantPastOnlyColumns_ =
- new com.google.protobuf.LazyStringArrayList(timeVariantPastOnlyColumns_);
- bitField0_ |= 0x00000004;
- }
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @return A list containing the timeVariantPastOnlyColumns.
- */
- public com.google.protobuf.ProtocolStringList getTimeVariantPastOnlyColumnsList() {
- return timeVariantPastOnlyColumns_.getUnmodifiableView();
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @return The count of timeVariantPastOnlyColumns.
- */
- public int getTimeVariantPastOnlyColumnsCount() {
- return timeVariantPastOnlyColumns_.size();
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param index The index of the element to return.
- * @return The timeVariantPastOnlyColumns at the given index.
- */
- public java.lang.String getTimeVariantPastOnlyColumns(int index) {
- return timeVariantPastOnlyColumns_.get(index);
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param index The index of the value to return.
- * @return The bytes of the timeVariantPastOnlyColumns at the given index.
- */
- public com.google.protobuf.ByteString getTimeVariantPastOnlyColumnsBytes(int index) {
- return timeVariantPastOnlyColumns_.getByteString(index);
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param index The index to set the value at.
- * @param value The timeVariantPastOnlyColumns to set.
- * @return This builder for chaining.
- */
- public Builder setTimeVariantPastOnlyColumns(int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTimeVariantPastOnlyColumnsIsMutable();
- timeVariantPastOnlyColumns_.set(index, value);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param value The timeVariantPastOnlyColumns to add.
- * @return This builder for chaining.
- */
- public Builder addTimeVariantPastOnlyColumns(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTimeVariantPastOnlyColumnsIsMutable();
- timeVariantPastOnlyColumns_.add(value);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param values The timeVariantPastOnlyColumns to add.
- * @return This builder for chaining.
- */
- public Builder addAllTimeVariantPastOnlyColumns(java.lang.Iterable- * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @return This builder for chaining.
- */
- public Builder clearTimeVariantPastOnlyColumns() {
- timeVariantPastOnlyColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param value The bytes of the timeVariantPastOnlyColumns to add.
- * @return This builder for chaining.
- */
- public Builder addTimeVariantPastOnlyColumnsBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
- ensureTimeVariantPastOnlyColumnsIsMutable();
- timeVariantPastOnlyColumns_.add(value);
- onChanged();
- return this;
- }
-
- private com.google.protobuf.LazyStringList timeVariantPastAndFutureColumns_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
-
- private void ensureTimeVariantPastAndFutureColumnsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
- timeVariantPastAndFutureColumns_ =
- new com.google.protobuf.LazyStringArrayList(timeVariantPastAndFutureColumns_);
- bitField0_ |= 0x00000008;
- }
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @return A list containing the timeVariantPastAndFutureColumns.
- */
- public com.google.protobuf.ProtocolStringList getTimeVariantPastAndFutureColumnsList() {
- return timeVariantPastAndFutureColumns_.getUnmodifiableView();
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @return The count of timeVariantPastAndFutureColumns.
- */
- public int getTimeVariantPastAndFutureColumnsCount() {
- return timeVariantPastAndFutureColumns_.size();
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param index The index of the element to return.
- * @return The timeVariantPastAndFutureColumns at the given index.
- */
- public java.lang.String getTimeVariantPastAndFutureColumns(int index) {
- return timeVariantPastAndFutureColumns_.get(index);
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param index The index of the value to return.
- * @return The bytes of the timeVariantPastAndFutureColumns at the given index.
- */
- public com.google.protobuf.ByteString getTimeVariantPastAndFutureColumnsBytes(int index) {
- return timeVariantPastAndFutureColumns_.getByteString(index);
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param index The index to set the value at.
- * @param value The timeVariantPastAndFutureColumns to set.
- * @return This builder for chaining.
- */
- public Builder setTimeVariantPastAndFutureColumns(int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTimeVariantPastAndFutureColumnsIsMutable();
- timeVariantPastAndFutureColumns_.set(index, value);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param value The timeVariantPastAndFutureColumns to add.
- * @return This builder for chaining.
- */
- public Builder addTimeVariantPastAndFutureColumns(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTimeVariantPastAndFutureColumnsIsMutable();
- timeVariantPastAndFutureColumns_.add(value);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param values The timeVariantPastAndFutureColumns to add.
- * @return This builder for chaining.
- */
- public Builder addAllTimeVariantPastAndFutureColumns(
- java.lang.Iterable- * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @return This builder for chaining.
- */
- public Builder clearTimeVariantPastAndFutureColumns() {
- timeVariantPastAndFutureColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param value The bytes of the timeVariantPastAndFutureColumns to add.
- * @return This builder for chaining.
- */
- public Builder addTimeVariantPastAndFutureColumnsBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
- ensureTimeVariantPastAndFutureColumnsIsMutable();
- timeVariantPastAndFutureColumns_.add(value);
- onChanged();
- return this;
- }
-
- private com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period
- period_;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.PeriodOrBuilder>
- periodBuilder_;
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- *
- * @return Whether the period field is set.
- */
- public boolean hasPeriod() {
- return periodBuilder_ != null || period_ != null;
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- *
- * @return The period.
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period
- getPeriod() {
- if (periodBuilder_ == null) {
- return period_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period.getDefaultInstance()
- : period_;
- } else {
- return periodBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- */
- public Builder setPeriod(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period
- value) {
- if (periodBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- period_ = value;
- onChanged();
- } else {
- periodBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- */
- public Builder setPeriod(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period.Builder
- builderForValue) {
- if (periodBuilder_ == null) {
- period_ = builderForValue.build();
- onChanged();
- } else {
- periodBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- */
- public Builder mergePeriod(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period
- value) {
- if (periodBuilder_ == null) {
- if (period_ != null) {
- period_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period.newBuilder(period_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- period_ = value;
- }
- onChanged();
- } else {
- periodBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- */
- public Builder clearPeriod() {
- if (periodBuilder_ == null) {
- period_ = null;
- onChanged();
- } else {
- period_ = null;
- periodBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Period.Builder
- getPeriodBuilder() {
-
- onChanged();
- return getPeriodFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .PeriodOrBuilder
- getPeriodOrBuilder() {
- if (periodBuilder_ != null) {
- return periodBuilder_.getMessageOrBuilder();
- } else {
- return period_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period.getDefaultInstance()
- : period_;
- }
- }
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.PeriodOrBuilder>
- getPeriodFieldBuilder() {
- if (periodBuilder_ == null) {
- periodBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.Period.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.PeriodOrBuilder>(
- getPeriod(), getParentForChildren(), isClean());
- period_ = null;
- }
- return periodBuilder_;
- }
-
- private long forecastWindowStart_;
- /**
- *
- *
- * - * The number of periods offset into the future as the start of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Default to 0. Inclusive. - *- * - *
int64 forecast_window_start = 12;
- *
- * @return The forecastWindowStart.
- */
- @java.lang.Override
- public long getForecastWindowStart() {
- return forecastWindowStart_;
- }
- /**
- *
- *
- * - * The number of periods offset into the future as the start of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Default to 0. Inclusive. - *- * - *
int64 forecast_window_start = 12;
- *
- * @param value The forecastWindowStart to set.
- * @return This builder for chaining.
- */
- public Builder setForecastWindowStart(long value) {
-
- forecastWindowStart_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The number of periods offset into the future as the start of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Default to 0. Inclusive. - *- * - *
int64 forecast_window_start = 12;
- *
- * @return This builder for chaining.
- */
- public Builder clearForecastWindowStart() {
-
- forecastWindowStart_ = 0L;
- onChanged();
- return this;
- }
-
- private long forecastWindowEnd_;
- /**
- *
- *
- * - * The number of periods offset into the future as the end of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Inclusive. - *- * - *
int64 forecast_window_end = 13;
- *
- * @return The forecastWindowEnd.
- */
- @java.lang.Override
- public long getForecastWindowEnd() {
- return forecastWindowEnd_;
- }
- /**
- *
- *
- * - * The number of periods offset into the future as the end of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Inclusive. - *- * - *
int64 forecast_window_end = 13;
- *
- * @param value The forecastWindowEnd to set.
- * @return This builder for chaining.
- */
- public Builder setForecastWindowEnd(long value) {
-
- forecastWindowEnd_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The number of periods offset into the future as the end of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Inclusive. - *- * - *
int64 forecast_window_end = 13;
- *
- * @return This builder for chaining.
- */
- public Builder clearForecastWindowEnd() {
-
- forecastWindowEnd_ = 0L;
- onChanged();
- return this;
- }
-
- private long pastHorizon_;
- /**
- *
- *
- * - * The number of periods offset into the past to restrict past sequence, where - * each period is one unit of granularity as defined by the `period`. Default - * value 0 means that it lets algorithm to define the value. Inclusive. - *- * - *
int64 past_horizon = 14;
- *
- * @return The pastHorizon.
- */
- @java.lang.Override
- public long getPastHorizon() {
- return pastHorizon_;
- }
- /**
- *
- *
- * - * The number of periods offset into the past to restrict past sequence, where - * each period is one unit of granularity as defined by the `period`. Default - * value 0 means that it lets algorithm to define the value. Inclusive. - *- * - *
int64 past_horizon = 14;
- *
- * @param value The pastHorizon to set.
- * @return This builder for chaining.
- */
- public Builder setPastHorizon(long value) {
-
- pastHorizon_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The number of periods offset into the past to restrict past sequence, where - * each period is one unit of granularity as defined by the `period`. Default - * value 0 means that it lets algorithm to define the value. Inclusive. - *- * - *
int64 past_horizon = 14;
- *
- * @return This builder for chaining.
- */
- public Builder clearPastHorizon() {
-
- pastHorizon_ = 0L;
- onChanged();
- return this;
- }
-
- private com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig
- exportEvaluatedDataItemsConfig_;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfigOrBuilder>
- exportEvaluatedDataItemsConfigBuilder_;
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- *
- * @return Whether the exportEvaluatedDataItemsConfig field is set.
- */
- public boolean hasExportEvaluatedDataItemsConfig() {
- return exportEvaluatedDataItemsConfigBuilder_ != null
- || exportEvaluatedDataItemsConfig_ != null;
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- *
- * @return The exportEvaluatedDataItemsConfig.
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig
- getExportEvaluatedDataItemsConfig() {
- if (exportEvaluatedDataItemsConfigBuilder_ == null) {
- return exportEvaluatedDataItemsConfig_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig.getDefaultInstance()
- : exportEvaluatedDataItemsConfig_;
- } else {
- return exportEvaluatedDataItemsConfigBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- */
- public Builder setExportEvaluatedDataItemsConfig(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig
- value) {
- if (exportEvaluatedDataItemsConfigBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- exportEvaluatedDataItemsConfig_ = value;
- onChanged();
- } else {
- exportEvaluatedDataItemsConfigBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- */
- public Builder setExportEvaluatedDataItemsConfig(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig.Builder
- builderForValue) {
- if (exportEvaluatedDataItemsConfigBuilder_ == null) {
- exportEvaluatedDataItemsConfig_ = builderForValue.build();
- onChanged();
- } else {
- exportEvaluatedDataItemsConfigBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- */
- public Builder mergeExportEvaluatedDataItemsConfig(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig
- value) {
- if (exportEvaluatedDataItemsConfigBuilder_ == null) {
- if (exportEvaluatedDataItemsConfig_ != null) {
- exportEvaluatedDataItemsConfig_ =
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig.newBuilder(exportEvaluatedDataItemsConfig_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- exportEvaluatedDataItemsConfig_ = value;
- }
- onChanged();
- } else {
- exportEvaluatedDataItemsConfigBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- */
- public Builder clearExportEvaluatedDataItemsConfig() {
- if (exportEvaluatedDataItemsConfigBuilder_ == null) {
- exportEvaluatedDataItemsConfig_ = null;
- onChanged();
- } else {
- exportEvaluatedDataItemsConfig_ = null;
- exportEvaluatedDataItemsConfigBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig.Builder
- getExportEvaluatedDataItemsConfigBuilder() {
-
- onChanged();
- return getExportEvaluatedDataItemsConfigFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- */
- public com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfigOrBuilder
- getExportEvaluatedDataItemsConfigOrBuilder() {
- if (exportEvaluatedDataItemsConfigBuilder_ != null) {
- return exportEvaluatedDataItemsConfigBuilder_.getMessageOrBuilder();
- } else {
- return exportEvaluatedDataItemsConfig_ == null
- ? com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig.getDefaultInstance()
- : exportEvaluatedDataItemsConfig_;
- }
- }
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfigOrBuilder>
- getExportEvaluatedDataItemsConfigFieldBuilder() {
- if (exportEvaluatedDataItemsConfigBuilder_ == null) {
- exportEvaluatedDataItemsConfigBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfig.Builder,
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfigOrBuilder>(
- getExportEvaluatedDataItemsConfig(), getParentForChildren(), isClean());
- exportEvaluatedDataItemsConfig_ = null;
- }
- return exportEvaluatedDataItemsConfigBuilder_;
- }
-
- private com.google.protobuf.Internal.DoubleList quantiles_ = emptyDoubleList();
-
- private void ensureQuantilesIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
- quantiles_ = mutableCopy(quantiles_);
- bitField0_ |= 0x00000010;
- }
- }
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @return A list containing the quantiles.
- */
- public java.util.List- * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @return The count of quantiles.
- */
- public int getQuantilesCount() {
- return quantiles_.size();
- }
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @param index The index of the element to return.
- * @return The quantiles at the given index.
- */
- public double getQuantiles(int index) {
- return quantiles_.getDouble(index);
- }
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @param index The index to set the value at.
- * @param value The quantiles to set.
- * @return This builder for chaining.
- */
- public Builder setQuantiles(int index, double value) {
- ensureQuantilesIsMutable();
- quantiles_.setDouble(index, value);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @param value The quantiles to add.
- * @return This builder for chaining.
- */
- public Builder addQuantiles(double value) {
- ensureQuantilesIsMutable();
- quantiles_.addDouble(value);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @param values The quantiles to add.
- * @return This builder for chaining.
- */
- public Builder addAllQuantiles(java.lang.Iterable extends java.lang.Double> values) {
- ensureQuantilesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quantiles_);
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @return This builder for chaining.
- */
- public Builder clearQuantiles() {
- quantiles_ = emptyDoubleList();
- bitField0_ = (bitField0_ & ~0x00000010);
- onChanged();
- return this;
- }
-
- private java.lang.Object validationOptions_ = "";
- /**
- *
- *
- * - * Validation options for the data validation component. The available options - * are: - * "fail-pipeline" - default, will validate against the validation and - * fail the pipeline if it fails. - * "ignore-validation" - ignore the results of the validation and continue - *- * - *
string validation_options = 17;
- *
- * @return The validationOptions.
- */
- public java.lang.String getValidationOptions() {
- java.lang.Object ref = validationOptions_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- validationOptions_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * Validation options for the data validation component. The available options - * are: - * "fail-pipeline" - default, will validate against the validation and - * fail the pipeline if it fails. - * "ignore-validation" - ignore the results of the validation and continue - *- * - *
string validation_options = 17;
- *
- * @return The bytes for validationOptions.
- */
- public com.google.protobuf.ByteString getValidationOptionsBytes() {
- java.lang.Object ref = validationOptions_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- validationOptions_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * Validation options for the data validation component. The available options - * are: - * "fail-pipeline" - default, will validate against the validation and - * fail the pipeline if it fails. - * "ignore-validation" - ignore the results of the validation and continue - *- * - *
string validation_options = 17;
- *
- * @param value The validationOptions to set.
- * @return This builder for chaining.
- */
- public Builder setValidationOptions(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- validationOptions_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Validation options for the data validation component. The available options - * are: - * "fail-pipeline" - default, will validate against the validation and - * fail the pipeline if it fails. - * "ignore-validation" - ignore the results of the validation and continue - *- * - *
string validation_options = 17;
- *
- * @return This builder for chaining.
- */
- public Builder clearValidationOptions() {
-
- validationOptions_ = getDefaultInstance().getValidationOptions();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Validation options for the data validation component. The available options - * are: - * "fail-pipeline" - default, will validate against the validation and - * fail the pipeline if it fails. - * "ignore-validation" - ignore the results of the validation and continue - *- * - *
string validation_options = 17;
- *
- * @param value The bytes for validationOptions to set.
- * @return This builder for chaining.
- */
- public Builder setValidationOptionsBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- validationOptions_ = value;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * The name of the column that the model is to predict. - *- * - *
string target_column = 1;
- *
- * @return The targetColumn.
- */
- java.lang.String getTargetColumn();
- /**
- *
- *
- * - * The name of the column that the model is to predict. - *- * - *
string target_column = 1;
- *
- * @return The bytes for targetColumn.
- */
- com.google.protobuf.ByteString getTargetColumnBytes();
-
- /**
- *
- *
- * - * The name of the column that identifies the time series. - *- * - *
string time_series_identifier_column = 2;
- *
- * @return The timeSeriesIdentifierColumn.
- */
- java.lang.String getTimeSeriesIdentifierColumn();
- /**
- *
- *
- * - * The name of the column that identifies the time series. - *- * - *
string time_series_identifier_column = 2;
- *
- * @return The bytes for timeSeriesIdentifierColumn.
- */
- com.google.protobuf.ByteString getTimeSeriesIdentifierColumnBytes();
-
- /**
- *
- *
- * - * The name of the column that identifies time order in the time series. - *- * - *
string time_column = 3;
- *
- * @return The timeColumn.
- */
- java.lang.String getTimeColumn();
- /**
- *
- *
- * - * The name of the column that identifies time order in the time series. - *- * - *
string time_column = 3;
- *
- * @return The bytes for timeColumn.
- */
- com.google.protobuf.ByteString getTimeColumnBytes();
-
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- java.util.List<
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation>
- getTransformationsList();
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .Transformation
- getTransformations(int index);
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- int getTransformationsCount();
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- java.util.List<
- ? extends
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingInputs.TransformationOrBuilder>
- getTransformationsOrBuilderList();
- /**
- *
- *
- * - * Each transformation will apply transform function to given input column. - * And the result will be used for training. - * When creating transformation for BigQuery Struct column, the column should - * be flattened using "." as the delimiter. - *- * - *
- * repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .TransformationOrBuilder
- getTransformationsOrBuilder(int index);
-
- /**
- *
- *
- * - * Objective function the model is optimizing towards. The training process - * creates a model that optimizes the value of the objective - * function over the validation set. - * The supported optimization objectives: - * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). - * "minimize-mae" - Minimize mean-absolute error (MAE). - * "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). - * "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). - * "minimize-wape-mae" - Minimize the combination of weighted absolute - * percentage error (WAPE) and mean-absolute-error (MAE). - * "minimize-quantile-loss" - Minimize the quantile loss at the quantiles - * defined in `quantiles`. - *- * - *
string optimization_objective = 5;
- *
- * @return The optimizationObjective.
- */
- java.lang.String getOptimizationObjective();
- /**
- *
- *
- * - * Objective function the model is optimizing towards. The training process - * creates a model that optimizes the value of the objective - * function over the validation set. - * The supported optimization objectives: - * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). - * "minimize-mae" - Minimize mean-absolute error (MAE). - * "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). - * "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). - * "minimize-wape-mae" - Minimize the combination of weighted absolute - * percentage error (WAPE) and mean-absolute-error (MAE). - * "minimize-quantile-loss" - Minimize the quantile loss at the quantiles - * defined in `quantiles`. - *- * - *
string optimization_objective = 5;
- *
- * @return The bytes for optimizationObjective.
- */
- com.google.protobuf.ByteString getOptimizationObjectiveBytes();
-
- /**
- *
- *
- * - * Required. The train budget of creating this model, expressed in milli node - * hours i.e. 1,000 value in this field means 1 node hour. - * The training cost of the model will not exceed this budget. The final cost - * will be attempted to be close to the budget, though may end up being (even) - * noticeably smaller - at the backend's discretion. This especially may - * happen when further model training ceases to provide any improvements. - * If the budget is set to a value known to be insufficient to train a - * model for the given dataset, the training won't be attempted and - * will error. - * The train budget must be between 1,000 and 72,000 milli node hours, - * inclusive. - *- * - *
int64 train_budget_milli_node_hours = 6;
- *
- * @return The trainBudgetMilliNodeHours.
- */
- long getTrainBudgetMilliNodeHours();
-
- /**
- *
- *
- * - * Column name that should be used as the weight column. - * Higher values in this column give more importance to the row - * during model training. The column must have numeric values between 0 and - * 10000 inclusively; 0 means the row is ignored for training. If weight - * column field is not set, then all rows are assumed to have equal weight - * of 1. - *- * - *
string weight_column = 7;
- *
- * @return The weightColumn.
- */
- java.lang.String getWeightColumn();
- /**
- *
- *
- * - * Column name that should be used as the weight column. - * Higher values in this column give more importance to the row - * during model training. The column must have numeric values between 0 and - * 10000 inclusively; 0 means the row is ignored for training. If weight - * column field is not set, then all rows are assumed to have equal weight - * of 1. - *- * - *
string weight_column = 7;
- *
- * @return The bytes for weightColumn.
- */
- com.google.protobuf.ByteString getWeightColumnBytes();
-
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @return A list containing the staticColumns.
- */
- java.util.List- * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @return The count of staticColumns.
- */
- int getStaticColumnsCount();
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param index The index of the element to return.
- * @return The staticColumns at the given index.
- */
- java.lang.String getStaticColumns(int index);
- /**
- *
- *
- * - * Column names that should be used as static columns. - * The value of these columns are static per time series. - *- * - *
repeated string static_columns = 8;
- *
- * @param index The index of the value to return.
- * @return The bytes of the staticColumns at the given index.
- */
- com.google.protobuf.ByteString getStaticColumnsBytes(int index);
-
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @return A list containing the timeVariantPastOnlyColumns.
- */
- java.util.List- * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @return The count of timeVariantPastOnlyColumns.
- */
- int getTimeVariantPastOnlyColumnsCount();
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param index The index of the element to return.
- * @return The timeVariantPastOnlyColumns at the given index.
- */
- java.lang.String getTimeVariantPastOnlyColumns(int index);
- /**
- *
- *
- * - * Column names that should be used as time variant past only columns. - * This column contains information for the given entity (identified by the - * time_series_identifier_column) that is known for the past but not the - * future (e.g. population of a city in a given year, or weather on a given - * day). - *- * - *
repeated string time_variant_past_only_columns = 9;
- *
- * @param index The index of the value to return.
- * @return The bytes of the timeVariantPastOnlyColumns at the given index.
- */
- com.google.protobuf.ByteString getTimeVariantPastOnlyColumnsBytes(int index);
-
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @return A list containing the timeVariantPastAndFutureColumns.
- */
- java.util.List- * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @return The count of timeVariantPastAndFutureColumns.
- */
- int getTimeVariantPastAndFutureColumnsCount();
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param index The index of the element to return.
- * @return The timeVariantPastAndFutureColumns at the given index.
- */
- java.lang.String getTimeVariantPastAndFutureColumns(int index);
- /**
- *
- *
- * - * Column names that should be used as time variant past and future columns. - * This column contains information for the given entity (identified by the - * key column) that is known for the past and the future - *- * - *
repeated string time_variant_past_and_future_columns = 10;
- *
- * @param index The index of the value to return.
- * @return The bytes of the timeVariantPastAndFutureColumns at the given index.
- */
- com.google.protobuf.ByteString getTimeVariantPastAndFutureColumnsBytes(int index);
-
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- *
- * @return Whether the period field is set.
- */
- boolean hasPeriod();
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- *
- * @return The period.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period
- getPeriod();
- /**
- *
- *
- * - * Expected difference in time granularity between rows in the data. If it is - * not set, the period is inferred from data. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period period = 11;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- .PeriodOrBuilder
- getPeriodOrBuilder();
-
- /**
- *
- *
- * - * The number of periods offset into the future as the start of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Default to 0. Inclusive. - *- * - *
int64 forecast_window_start = 12;
- *
- * @return The forecastWindowStart.
- */
- long getForecastWindowStart();
-
- /**
- *
- *
- * - * The number of periods offset into the future as the end of the forecast - * window (the window of future values to predict, relative to the present.), - * where each period is one unit of granularity as defined by the `period` - * field above. Inclusive. - *- * - *
int64 forecast_window_end = 13;
- *
- * @return The forecastWindowEnd.
- */
- long getForecastWindowEnd();
-
- /**
- *
- *
- * - * The number of periods offset into the past to restrict past sequence, where - * each period is one unit of granularity as defined by the `period`. Default - * value 0 means that it lets algorithm to define the value. Inclusive. - *- * - *
int64 past_horizon = 14;
- *
- * @return The pastHorizon.
- */
- long getPastHorizon();
-
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- *
- * @return Whether the exportEvaluatedDataItemsConfig field is set.
- */
- boolean hasExportEvaluatedDataItemsConfig();
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- *
- * @return The exportEvaluatedDataItemsConfig.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig
- getExportEvaluatedDataItemsConfig();
- /**
- *
- *
- * - * Configuration for exporting test set predictions to a BigQuery table. If - * this configuration is absent, then the export is not performed. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .ExportEvaluatedDataItemsConfigOrBuilder
- getExportEvaluatedDataItemsConfigOrBuilder();
-
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @return A list containing the quantiles.
- */
- java.util.List- * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @return The count of quantiles.
- */
- int getQuantilesCount();
- /**
- *
- *
- * - * Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - * 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - * the value of optimization_objective is minimize-quantile-loss. Represents - * the percent quantiles to use for that objective. Quantiles must be unique. - *- * - *
repeated double quantiles = 16;
- *
- * @param index The index of the element to return.
- * @return The quantiles at the given index.
- */
- double getQuantiles(int index);
-
- /**
- *
- *
- * - * Validation options for the data validation component. The available options - * are: - * "fail-pipeline" - default, will validate against the validation and - * fail the pipeline if it fails. - * "ignore-validation" - ignore the results of the validation and continue - *- * - *
string validation_options = 17;
- *
- * @return The validationOptions.
- */
- java.lang.String getValidationOptions();
- /**
- *
- *
- * - * Validation options for the data validation component. The available options - * are: - * "fail-pipeline" - default, will validate against the validation and - * fail the pipeline if it fails. - * "ignore-validation" - ignore the results of the validation and continue - *- * - *
string validation_options = 17;
- *
- * @return The bytes for validationOptions.
- */
- com.google.protobuf.ByteString getValidationOptionsBytes();
-}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingMetadata.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingMetadata.java
deleted file mode 100644
index 9075b6c28..000000000
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingMetadata.java
+++ /dev/null
@@ -1,621 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source:
-// google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto
-
-package com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition;
-
-/**
- *
- *
- * - * Model metadata specific to AutoML Forecasting. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata} - */ -public final class AutoMlForecastingMetadata extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata) - AutoMlForecastingMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use AutoMlForecastingMetadata.newBuilder() to construct. - private AutoMlForecastingMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private AutoMlForecastingMetadata() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AutoMlForecastingMetadata(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private AutoMlForecastingMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - trainCostMilliNodeHours_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMLForecastingProto - .internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecastingMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingMetadata.class, - com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition - .AutoMlForecastingMetadata.Builder.class); - } - - public static final int TRAIN_COST_MILLI_NODE_HOURS_FIELD_NUMBER = 1; - private long trainCostMilliNodeHours_; - /** - * - * - *
- * Output only. The actual training cost of the model, expressed in milli - * node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - * to not exceed the train budget. - *- * - *
int64 train_cost_milli_node_hours = 1;
- *
- * @return The trainCostMilliNodeHours.
- */
- @java.lang.Override
- public long getTrainCostMilliNodeHours() {
- return trainCostMilliNodeHours_;
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (trainCostMilliNodeHours_ != 0L) {
- output.writeInt64(1, trainCostMilliNodeHours_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (trainCostMilliNodeHours_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, trainCostMilliNodeHours_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj
- instanceof
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata)) {
- return super.equals(obj);
- }
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata
- other =
- (com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata)
- obj;
-
- if (getTrainCostMilliNodeHours() != other.getTrainCostMilliNodeHours()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + TRAIN_COST_MILLI_NODE_HOURS_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrainCostMilliNodeHours());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
-
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
-
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- *
- * - * Model metadata specific to AutoML Forecasting. - *- * - * Protobuf type {@code - * google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * Output only. The actual training cost of the model, expressed in milli - * node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - * to not exceed the train budget. - *- * - *
int64 train_cost_milli_node_hours = 1;
- *
- * @return The trainCostMilliNodeHours.
- */
- @java.lang.Override
- public long getTrainCostMilliNodeHours() {
- return trainCostMilliNodeHours_;
- }
- /**
- *
- *
- * - * Output only. The actual training cost of the model, expressed in milli - * node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - * to not exceed the train budget. - *- * - *
int64 train_cost_milli_node_hours = 1;
- *
- * @param value The trainCostMilliNodeHours to set.
- * @return This builder for chaining.
- */
- public Builder setTrainCostMilliNodeHours(long value) {
-
- trainCostMilliNodeHours_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Output only. The actual training cost of the model, expressed in milli - * node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - * to not exceed the train budget. - *- * - *
int64 train_cost_milli_node_hours = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearTrainCostMilliNodeHours() {
-
- trainCostMilliNodeHours_ = 0L;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
- // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata)
- private static final com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata();
- }
-
- public static com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadata
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * Output only. The actual training cost of the model, expressed in milli - * node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - * to not exceed the train budget. - *- * - *
int64 train_cost_milli_node_hours = 1;
- *
- * @return The trainCostMilliNodeHours.
- */
- long getTrainCostMilliNodeHours();
-}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingOrBuilder.java
deleted file mode 100644
index 4d3293a57..000000000
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingOrBuilder.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source:
-// google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto
-
-package com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition;
-
-public interface AutoMlForecastingOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- *
- * @return Whether the inputs field is set.
- */
- boolean hasInputs();
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- *
- * @return The inputs.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs
- getInputs();
- /**
- *
- *
- * - * The input parameters of this TrainingJob. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs inputs = 1;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputsOrBuilder
- getInputsOrBuilder();
-
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- *
- * @return Whether the metadata field is set.
- */
- boolean hasMetadata();
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- *
- * @return The metadata.
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata
- getMetadata();
- /**
- *
- *
- * - * The metadata information. - *- * - *
- * .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata metadata = 2;
- *
- */
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition
- .AutoMlForecastingMetadataOrBuilder
- getMetadataOrBuilder();
-}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlTablesInputs.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlTablesInputs.java
index 5443dd4d6..2ab60c8fa 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlTablesInputs.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlTablesInputs.java
@@ -9785,6 +9785,22 @@ public AdditionalOptimizationObjectiveConfigCase getAdditionalOptimizationObject
}
public static final int OPTIMIZATION_OBJECTIVE_RECALL_VALUE_FIELD_NUMBER = 5;
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-precision-at-recall". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_recall_value = 5;
+ *
+ * @return Whether the optimizationObjectiveRecallValue field is set.
+ */
+ @java.lang.Override
+ public boolean hasOptimizationObjectiveRecallValue() {
+ return additionalOptimizationObjectiveConfigCase_ == 5;
+ }
/**
*
*
@@ -9806,6 +9822,22 @@ public float getOptimizationObjectiveRecallValue() {
}
public static final int OPTIMIZATION_OBJECTIVE_PRECISION_VALUE_FIELD_NUMBER = 6;
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-recall-at-precision". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_precision_value = 6;
+ *
+ * @return Whether the optimizationObjectivePrecisionValue field is set.
+ */
+ @java.lang.Override
+ public boolean hasOptimizationObjectivePrecisionValue() {
+ return additionalOptimizationObjectiveConfigCase_ == 6;
+ }
/**
*
*
@@ -10898,6 +10930,21 @@ public Builder clearAdditionalOptimizationObjectiveConfig() {
private int bitField0_;
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-precision-at-recall". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_recall_value = 5;
+ *
+ * @return Whether the optimizationObjectiveRecallValue field is set.
+ */
+ public boolean hasOptimizationObjectiveRecallValue() {
+ return additionalOptimizationObjectiveConfigCase_ == 5;
+ }
/**
*
*
@@ -10956,6 +11003,21 @@ public Builder clearOptimizationObjectiveRecallValue() {
return this;
}
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-recall-at-precision". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_precision_value = 6;
+ *
+ * @return Whether the optimizationObjectivePrecisionValue field is set.
+ */
+ public boolean hasOptimizationObjectivePrecisionValue() {
+ return additionalOptimizationObjectiveConfigCase_ == 6;
+ }
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlTablesInputsOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlTablesInputsOrBuilder.java
index d8d20ed05..9d231473e 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlTablesInputsOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlTablesInputsOrBuilder.java
@@ -23,6 +23,19 @@ public interface AutoMlTablesInputsOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-precision-at-recall". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_recall_value = 5;
+ *
+ * @return Whether the optimizationObjectiveRecallValue field is set.
+ */
+ boolean hasOptimizationObjectiveRecallValue();
/**
*
*
@@ -37,6 +50,19 @@ public interface AutoMlTablesInputsOrBuilder
*/
float getOptimizationObjectiveRecallValue();
+ /**
+ *
+ *
+ * + * Required when optimization_objective is "maximize-recall-at-precision". + * Must be between 0 and 1, inclusive. + *+ * + *
float optimization_objective_precision_value = 6;
+ *
+ * @return Whether the optimizationObjectivePrecisionValue field is set.
+ */
+ boolean hasOptimizationObjectivePrecisionValue();
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto
index 8e355f9a6..a57a99728 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto
index f5893a90a..bd57636fa 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto
index 5519d1ae8..b9c0c6656 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto
index 480b18689..6970d5abf 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto
index 24c596f38..4c0061040 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto
index 408f995fd..619b33324 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto
index 37467912f..3c0cc3fec 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto
index 8f6de3e63..8a09ff2dd 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto
index bb592d2d1..4f0f994d1 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto
index 8b12f9686..204858212 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto
index 6fbe91668..888ae402f 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto
index 326770b26..5f7df37e3 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto
index 75ce85de0..fec8b4d19 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto
index c480a26e8..4c7742cfc 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto
index 5a7d6f2b4..f77a9676d 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto
index 12a2e0a3b..e70d6ff66 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto
index 3fbd50741..142ffad68 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto
index bd8cde0bb..d51305104 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto
index d86f17ce5..07a0e3416 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto
index 6100bd86f..519f525af 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto
index 06dcbeb37..f9b5dc88a 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto
index 521b270d3..8f2ad6a5e 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto
index f8f153526..7b4b43aef 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto
index 58c51cfbf..41a6c2a90 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto
deleted file mode 100644
index e06417366..000000000
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.cloud.aiplatform.v1beta1.schema.predict.prediction;
-
-import "google/api/annotations.proto";
-
-option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction";
-option java_multiple_files = true;
-option java_outer_classname = "TimeSeriesForecastingPredictionResultProto";
-option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction";
-
-// Prediction output format for Time Series Forecasting.
-message TimeSeriesForecastingPredictionResult {
- // The regression value.
- float value = 1;
-
- // The lower bound of the prediction interval.
- float lower_bound = 2;
-
- // The upper bound of the prediction interval.
- float upper_bound = 3;
-}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto
index 05bd7db93..779f2a0ae 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto
index 49e3f9767..bef4dcb0f 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto
index 2047a302e..1d443a06e 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto
index c83d8e3be..5e757987b 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto
index 8cf8eeb99..03650b2f9 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto
index 8cc60b00b..ae28f9c26 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto
index f979c0350..074b18974 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto
index a54a344e8..ce85d9ec1 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto
deleted file mode 100644
index 8098d18f7..000000000
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto
+++ /dev/null
@@ -1,312 +0,0 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition;
-
-import "google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto";
-import "google/api/annotations.proto";
-
-option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition";
-option java_multiple_files = true;
-option java_outer_classname = "AutoMLForecastingProto";
-option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition";
-
-// A TrainingJob that trains and uploads an AutoML Forecasting Model.
-message AutoMlForecasting {
- // The input parameters of this TrainingJob.
- AutoMlForecastingInputs inputs = 1;
-
- // The metadata information.
- AutoMlForecastingMetadata metadata = 2;
-}
-
-message AutoMlForecastingInputs {
- message Transformation {
- // Training pipeline will infer the proper transformation based on the
- // statistic of dataset.
- message AutoTransformation {
- string column_name = 1;
- }
-
- // Training pipeline will perform following transformation functions.
- // * The value converted to float32.
- // * The z_score of the value.
- // * log(value+1) when the value is greater than or equal to 0. Otherwise,
- // this transformation is not applied and the value is considered a
- // missing value.
- // * z_score of log(value+1) when the value is greater than or equal to 0.
- // Otherwise, this transformation is not applied and the value is
- // considered a missing value.
- // * A boolean value that indicates whether the value is valid.
- message NumericTransformation {
- string column_name = 1;
-
- // If invalid values is allowed, the training pipeline will create a
- // boolean feature that indicated whether the value is valid.
- // Otherwise, the training pipeline will discard the input row from
- // trainining data.
- bool invalid_values_allowed = 2;
- }
-
- // Training pipeline will perform following transformation functions.
- // * The categorical string as is--no change to case, punctuation,
- // spelling,
- // tense, and so on.
- // * Convert the category name to a dictionary lookup index and generate an
- // embedding for each index.
- // * Categories that appear less than 5 times in the training dataset are
- // treated as the "unknown" category. The "unknown" category gets its own
- // special lookup index and resulting embedding.
- message CategoricalTransformation {
- string column_name = 1;
- }
-
- // Training pipeline will perform following transformation functions.
- // * Apply the transformation functions for Numerical columns.
- // * Determine the year, month, day,and weekday. Treat each value from the
- // * timestamp as a Categorical column.
- // * Invalid numerical values (for example, values that fall outside of a
- // typical timestamp range, or are extreme values) receive no special
- // treatment and are not removed.
- message TimestampTransformation {
- string column_name = 1;
-
- // The format in which that time field is expressed. The time_format must
- // either be one of:
- // * `unix-seconds`
- // * `unix-milliseconds`
- // * `unix-microseconds`
- // * `unix-nanoseconds`
- // (for respectively number of seconds, milliseconds, microseconds and
- // nanoseconds since start of the Unix epoch);
- // or be written in `strftime` syntax. If time_format is not set, then the
- // default format is RFC 3339 `date-time` format, where
- // `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z)
- string time_format = 2;
-
- // If invalid values is allowed, the training pipeline will create a
- // boolean feature that indicated whether the value is valid.
- // Otherwise, the training pipeline will discard the input row from
- // trainining data.
- bool invalid_values_allowed = 3;
- }
-
- // Training pipeline will perform following transformation functions.
- // * The text as is--no change to case, punctuation, spelling, tense, and
- // so
- // on.
- // * Tokenize text to words. Convert each words to a dictionary lookup
- // index
- // and generate an embedding for each index. Combine the embedding of all
- // elements into a single embedding using the mean.
- // * Tokenization is based on unicode script boundaries.
- // * Missing values get their own lookup index and resulting embedding.
- // * Stop-words receive no special treatment and are not removed.
- message TextTransformation {
- string column_name = 1;
- }
-
- // Treats the column as numerical array and performs following
- // transformation functions.
- // * All transformations for Numerical types applied to the average of the
- // all elements.
- // * The average of empty arrays is treated as zero.
- message NumericArrayTransformation {
- string column_name = 1;
-
- // If invalid values is allowed, the training pipeline will create a
- // boolean feature that indicated whether the value is valid.
- // Otherwise, the training pipeline will discard the input row from
- // trainining data.
- bool invalid_values_allowed = 2;
- }
-
- // Treats the column as categorical array and performs following
- // transformation functions.
- // * For each element in the array, convert the category name to a
- // dictionary
- // lookup index and generate an embedding for each index.
- // Combine the embedding of all elements into a single embedding using
- // the mean.
- // * Empty arrays treated as an embedding of zeroes.
- message CategoricalArrayTransformation {
- string column_name = 1;
- }
-
- // Treats the column as text array and performs following transformation
- // functions.
- // * Concatenate all text values in the array into a single text value
- // using
- // a space (" ") as a delimiter, and then treat the result as a single
- // text value. Apply the transformations for Text columns.
- // * Empty arrays treated as an empty text.
- message TextArrayTransformation {
- string column_name = 1;
- }
-
- // The transformation that the training pipeline will apply to the input
- // columns.
- oneof transformation_detail {
- AutoTransformation auto = 1;
-
- NumericTransformation numeric = 2;
-
- CategoricalTransformation categorical = 3;
-
- TimestampTransformation timestamp = 4;
-
- TextTransformation text = 5;
-
- NumericArrayTransformation repeated_numeric = 6;
-
- CategoricalArrayTransformation repeated_categorical = 7;
-
- TextArrayTransformation repeated_text = 8;
- }
- }
-
- // A duration of time expressed in time granularity units.
- message Period {
- // The time granularity unit of this time period.
- // The supported unit are:
- // "minute"
- // "hour"
- // "day"
- // "week"
- // "month"
- // "year"
- string unit = 1;
-
- // The number of units per period, e.g. 3 weeks or 2 months.
- int64 quantity = 2;
- }
-
- // The name of the column that the model is to predict.
- string target_column = 1;
-
- // The name of the column that identifies the time series.
- string time_series_identifier_column = 2;
-
- // The name of the column that identifies time order in the time series.
- string time_column = 3;
-
- // Each transformation will apply transform function to given input column.
- // And the result will be used for training.
- // When creating transformation for BigQuery Struct column, the column should
- // be flattened using "." as the delimiter.
- repeated Transformation transformations = 4;
-
- // Objective function the model is optimizing towards. The training process
- // creates a model that optimizes the value of the objective
- // function over the validation set.
- //
- // The supported optimization objectives:
- // "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE).
- // "minimize-mae" - Minimize mean-absolute error (MAE).
- // "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
- // "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE).
- // "minimize-wape-mae" - Minimize the combination of weighted absolute
- // percentage error (WAPE) and mean-absolute-error (MAE).
- // "minimize-quantile-loss" - Minimize the quantile loss at the quantiles
- // defined in `quantiles`.
- string optimization_objective = 5;
-
- // Required. The train budget of creating this model, expressed in milli node
- // hours i.e. 1,000 value in this field means 1 node hour.
- //
- // The training cost of the model will not exceed this budget. The final cost
- // will be attempted to be close to the budget, though may end up being (even)
- // noticeably smaller - at the backend's discretion. This especially may
- // happen when further model training ceases to provide any improvements.
- //
- // If the budget is set to a value known to be insufficient to train a
- // model for the given dataset, the training won't be attempted and
- // will error.
- //
- // The train budget must be between 1,000 and 72,000 milli node hours,
- // inclusive.
- int64 train_budget_milli_node_hours = 6;
-
- // Column name that should be used as the weight column.
- // Higher values in this column give more importance to the row
- // during model training. The column must have numeric values between 0 and
- // 10000 inclusively; 0 means the row is ignored for training. If weight
- // column field is not set, then all rows are assumed to have equal weight
- // of 1.
- string weight_column = 7;
-
- // Column names that should be used as static columns.
- // The value of these columns are static per time series.
- repeated string static_columns = 8;
-
- // Column names that should be used as time variant past only columns.
- // This column contains information for the given entity (identified by the
- // time_series_identifier_column) that is known for the past but not the
- // future (e.g. population of a city in a given year, or weather on a given
- // day).
- repeated string time_variant_past_only_columns = 9;
-
- // Column names that should be used as time variant past and future columns.
- // This column contains information for the given entity (identified by the
- // key column) that is known for the past and the future
- repeated string time_variant_past_and_future_columns = 10;
-
- // Expected difference in time granularity between rows in the data. If it is
- // not set, the period is inferred from data.
- Period period = 11;
-
- // The number of periods offset into the future as the start of the forecast
- // window (the window of future values to predict, relative to the present.),
- // where each period is one unit of granularity as defined by the `period`
- // field above. Default to 0. Inclusive.
- int64 forecast_window_start = 12;
-
- // The number of periods offset into the future as the end of the forecast
- // window (the window of future values to predict, relative to the present.),
- // where each period is one unit of granularity as defined by the `period`
- // field above. Inclusive.
- int64 forecast_window_end = 13;
-
- // The number of periods offset into the past to restrict past sequence, where
- // each period is one unit of granularity as defined by the `period`. Default
- // value 0 means that it lets algorithm to define the value. Inclusive.
- int64 past_horizon = 14;
-
- // Configuration for exporting test set predictions to a BigQuery table. If
- // this configuration is absent, then the export is not performed.
- ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;
-
- // Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to
- // 5 quantiles are allowed of values between 0 and 1, exclusive. Required if
- // the value of optimization_objective is minimize-quantile-loss. Represents
- // the percent quantiles to use for that objective. Quantiles must be unique.
- repeated double quantiles = 16;
-
- // Validation options for the data validation component. The available options
- // are:
- // "fail-pipeline" - default, will validate against the validation and
- // fail the pipeline if it fails.
- // "ignore-validation" - ignore the results of the validation and continue
- string validation_options = 17;
-}
-
-// Model metadata specific to AutoML Forecasting.
-message AutoMlForecastingMetadata {
- // Output only. The actual training cost of the model, expressed in milli
- // node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed
- // to not exceed the train budget.
- int64 train_cost_milli_node_hours = 1;
-}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto
index 53ed93d40..e63ea704d 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto
index 772886d65..8b49b4336 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto
index 84f945e28..ea04cedd2 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto
index d9b9e4d83..087dfa142 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/synth.metadata b/synth.metadata
index f8e0fbb96..ead41be26 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -19,8 +19,16 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "e8bc4471a88ac5f60defe3ed436f517174e59ba0",
- "internalRef": "357800868"
+ "sha": "a389671476b5fe2b1c63bcc115515a76c273ceba",
+ "internalRef": "360248513"
+ }
+ },
+ {
+ "git": {
+ "name": "googleapis",
+ "remote": "https://github.com/googleapis/googleapis.git",
+ "sha": "a389671476b5fe2b1c63bcc115515a76c273ceba",
+ "internalRef": "360248513"
}
},
{
@@ -1304,9 +1312,6 @@
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResult.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultOrBuilder.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultProto.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResult.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultOrBuilder.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResult.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultOrBuilder.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java",
@@ -1316,7 +1321,6 @@
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResult.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultOrBuilder.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageClassificationProto.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java",
@@ -1327,12 +1331,6 @@
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecasting.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingInputs.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingInputsOrBuilder.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingMetadata.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingMetadataOrBuilder.java",
- "proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingOrBuilder.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlImageClassification.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlImageClassificationInputs.java",
"proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlImageClassificationInputsOrBuilder.java",
@@ -1444,7 +1442,6 @@
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto",
- "proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto",
@@ -1455,7 +1452,6 @@
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto",
- "proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto",
"proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto",
From 609f5d2102a67196f3ad3c2d22afd3f43a453779 Mon Sep 17 00:00:00 2001
From: Eric Schmidt {@code * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { + * ListDatasetsRequest request = + * ListDatasetsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListDatasetsResponse response = datasetServiceClient.listDatasetsCallable().call(request); * for (Dataset element : response.getResponsesList()) { @@ -1089,6 +1098,15 @@ public final ListDataItemsPagedResponse listDataItems(ListDataItemsRequest reque * ** * @param name Required. The name of the BatchPredictionJob to cancel. Format: - *{@code * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { + * ListDataItemsRequest request = + * ListDataItemsRequest.newBuilder() + * .setParent(DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListDataItemsResponse response = datasetServiceClient.listDataItemsCallable().call(request); * for (DataItem element : response.getResponsesList()) { @@ -1333,6 +1351,16 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest * ** * @param name Required. The name of the BatchPredictionJob to cancel. Format: - *{@code * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { + * ListAnnotationsRequest request = + * ListAnnotationsRequest.newBuilder() + * .setParent( + * DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListAnnotationsResponse response = * datasetServiceClient.listAnnotationsCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceSettings.java index 31e905828..56665ea03 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java index b677f6e99..4da852c9b 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -505,6 +505,15 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque * ** * @param name Required. The name of the BatchPredictionJob resource to be deleted. Format: - *{@code * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { + * ListEndpointsRequest request = + * ListEndpointsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListEndpointsResponse response = * endpointServiceClient.listEndpointsCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceSettings.java index 533f2f4b4..d350c3cc8 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java index 77f96ee3d..a30ab7741 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -470,6 +470,14 @@ public final ListCustomJobsPagedResponse listCustomJobs(ListCustomJobsRequest re * ** * @param name Required. The name of the BatchPredictionJob resource. Format: - *{@code * try (JobServiceClient jobServiceClient = JobServiceClient.create()) { + * ListCustomJobsRequest request = + * ListCustomJobsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListCustomJobsResponse response = jobServiceClient.listCustomJobsCallable().call(request); * for (CustomJob element : response.getResponsesList()) { @@ -1054,6 +1062,15 @@ public final ListDataLabelingJobsPagedResponse listDataLabelingJobs( * ** * @param name Required. The name of the BatchPredictionJob resource. Format: - *{@code * try (JobServiceClient jobServiceClient = JobServiceClient.create()) { + * ListDataLabelingJobsRequest request = + * ListDataLabelingJobsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListDataLabelingJobsResponse response = * jobServiceClient.listDataLabelingJobsCallable().call(request); @@ -1649,6 +1666,14 @@ public final ListHyperparameterTuningJobsPagedResponse listHyperparameterTuningJ * ** * @param name Required. The name of the HyperparameterTuningJob to cancel. Format: - *{@code * try (JobServiceClient jobServiceClient = JobServiceClient.create()) { + * ListHyperparameterTuningJobsRequest request = + * ListHyperparameterTuningJobsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListHyperparameterTuningJobsResponse response = * jobServiceClient.listHyperparameterTuningJobsCallable().call(request); @@ -2292,6 +2317,14 @@ public final ListBatchPredictionJobsPagedResponse listBatchPredictionJobs( * ** * @param name Required. The name of the HyperparameterTuningJob to cancel. Format: - *{@code * try (JobServiceClient jobServiceClient = JobServiceClient.create()) { + * ListBatchPredictionJobsRequest request = + * ListBatchPredictionJobsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListBatchPredictionJobsResponse response = * jobServiceClient.listBatchPredictionJobsCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java index 279a21ffb..d06a6f630 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java index 2fe2ed227..6fb885d8c 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -299,6 +299,13 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources( * ** * @param name Required. The name of the HyperparameterTuningJob resource to be deleted. Format: - *{@code * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) { + * SearchMigratableResourcesRequest request = + * SearchMigratableResourcesRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setFilter("filter-1274492040") + * .build(); * while (true) { * SearchMigratableResourcesResponse response = * migrationServiceClient.searchMigratableResourcesCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceSettings.java index db19d116a..681ee3f81 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java index 9fb1ca376..58b5196b1 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -498,6 +498,15 @@ public final UnaryCallable* * @param name Required. The name of the HyperparameterTuningJob resource. Format: - *listModel * * {@code * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) { + * ListModelsRequest request = + * ListModelsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListModelsResponse response = modelServiceClient.listModelsCallable().call(request); * for (Model element : response.getResponsesList()) { @@ -1072,6 +1081,14 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations( * ** * @param name Required. The name of the HyperparameterTuningJob resource. Format: - *{@code * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) { + * ListModelEvaluationsRequest request = + * ListModelEvaluationsRequest.newBuilder() + * .setParent(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListModelEvaluationsResponse response = * modelServiceClient.listModelEvaluationsCallable().call(request); @@ -1333,6 +1350,16 @@ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices( * ** * @param name Required. The name of the DataLabelingJob. Format: - *{@code * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) { + * ListModelEvaluationSlicesRequest request = + * ListModelEvaluationSlicesRequest.newBuilder() + * .setParent( + * ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]") + * .toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListModelEvaluationSlicesResponse response = * modelServiceClient.listModelEvaluationSlicesCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java index 463e2e324..105a8809b 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java index c9b3a0ae8..6a9d35944 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -501,6 +501,14 @@ public final ListTrainingPipelinesPagedResponse listTrainingPipelines( * ** * @param name Required. The name of the DataLabelingJob. Format: - *{@code * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) { + * ListTrainingPipelinesRequest request = + * ListTrainingPipelinesRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListTrainingPipelinesResponse response = * pipelineServiceClient.listTrainingPipelinesCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceSettings.java index 5b30d3709..362490ee6 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java index 75fd35e55..72af930d0 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceSettings.java index c2947a287..912152a44 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java index 3e340b129..d63328049 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -542,6 +542,13 @@ public final ListSpecialistPoolsPagedResponse listSpecialistPools( ** * @param parent Required. The resource name of the DataItem to list Annotations from. Format: - *{@code * try (SpecialistPoolServiceClient specialistPoolServiceClient = * SpecialistPoolServiceClient.create()) { + * ListSpecialistPoolsRequest request = + * ListSpecialistPoolsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListSpecialistPoolsResponse response = * specialistPoolServiceClient.listSpecialistPoolsCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceSettings.java index e21e2506d..fb702d153 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json new file mode 100644 index 000000000..b22619036 --- /dev/null +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json @@ -0,0 +1,261 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.cloud.aiplatform.v1", + "libraryPackage": "com.google.cloud.aiplatform.v1", + "services": { + "DatasetService": { + "clients": { + "grpc": { + "libraryClient": "DatasetServiceClient", + "rpcs": { + "CreateDataset": { + "methods": ["createDatasetAsync", "createDatasetAsync", "createDatasetAsync", "createDatasetOperationCallable", "createDatasetCallable"] + }, + "DeleteDataset": { + "methods": ["deleteDatasetAsync", "deleteDatasetAsync", "deleteDatasetAsync", "deleteDatasetOperationCallable", "deleteDatasetCallable"] + }, + "ExportData": { + "methods": ["exportDataAsync", "exportDataAsync", "exportDataAsync", "exportDataOperationCallable", "exportDataCallable"] + }, + "GetAnnotationSpec": { + "methods": ["getAnnotationSpec", "getAnnotationSpec", "getAnnotationSpec", "getAnnotationSpecCallable"] + }, + "GetDataset": { + "methods": ["getDataset", "getDataset", "getDataset", "getDatasetCallable"] + }, + "ImportData": { + "methods": ["importDataAsync", "importDataAsync", "importDataAsync", "importDataOperationCallable", "importDataCallable"] + }, + "ListAnnotations": { + "methods": ["listAnnotations", "listAnnotations", "listAnnotations", "listAnnotationsPagedCallable", "listAnnotationsCallable"] + }, + "ListDataItems": { + "methods": ["listDataItems", "listDataItems", "listDataItems", "listDataItemsPagedCallable", "listDataItemsCallable"] + }, + "ListDatasets": { + "methods": ["listDatasets", "listDatasets", "listDatasets", "listDatasetsPagedCallable", "listDatasetsCallable"] + }, + "UpdateDataset": { + "methods": ["updateDataset", "updateDataset", "updateDatasetCallable"] + } + } + } + } + }, + "EndpointService": { + "clients": { + "grpc": { + "libraryClient": "EndpointServiceClient", + "rpcs": { + "CreateEndpoint": { + "methods": ["createEndpointAsync", "createEndpointAsync", "createEndpointAsync", "createEndpointOperationCallable", "createEndpointCallable"] + }, + "DeleteEndpoint": { + "methods": ["deleteEndpointAsync", "deleteEndpointAsync", "deleteEndpointAsync", "deleteEndpointOperationCallable", "deleteEndpointCallable"] + }, + "DeployModel": { + "methods": ["deployModelAsync", "deployModelAsync", "deployModelAsync", "deployModelOperationCallable", "deployModelCallable"] + }, + "GetEndpoint": { + "methods": ["getEndpoint", "getEndpoint", "getEndpoint", "getEndpointCallable"] + }, + "ListEndpoints": { + "methods": ["listEndpoints", "listEndpoints", "listEndpoints", "listEndpointsPagedCallable", "listEndpointsCallable"] + }, + "UndeployModel": { + "methods": ["undeployModelAsync", "undeployModelAsync", "undeployModelAsync", "undeployModelOperationCallable", "undeployModelCallable"] + }, + "UpdateEndpoint": { + "methods": ["updateEndpoint", "updateEndpoint", "updateEndpointCallable"] + } + } + } + } + }, + "JobService": { + "clients": { + "grpc": { + "libraryClient": "JobServiceClient", + "rpcs": { + "CancelBatchPredictionJob": { + "methods": ["cancelBatchPredictionJob", "cancelBatchPredictionJob", "cancelBatchPredictionJob", "cancelBatchPredictionJobCallable"] + }, + "CancelCustomJob": { + "methods": ["cancelCustomJob", "cancelCustomJob", "cancelCustomJob", "cancelCustomJobCallable"] + }, + "CancelDataLabelingJob": { + "methods": ["cancelDataLabelingJob", "cancelDataLabelingJob", "cancelDataLabelingJob", "cancelDataLabelingJobCallable"] + }, + "CancelHyperparameterTuningJob": { + "methods": ["cancelHyperparameterTuningJob", "cancelHyperparameterTuningJob", "cancelHyperparameterTuningJob", "cancelHyperparameterTuningJobCallable"] + }, + "CreateBatchPredictionJob": { + "methods": ["createBatchPredictionJob", "createBatchPredictionJob", "createBatchPredictionJob", "createBatchPredictionJobCallable"] + }, + "CreateCustomJob": { + "methods": ["createCustomJob", "createCustomJob", "createCustomJob", "createCustomJobCallable"] + }, + "CreateDataLabelingJob": { + "methods": ["createDataLabelingJob", "createDataLabelingJob", "createDataLabelingJob", "createDataLabelingJobCallable"] + }, + "CreateHyperparameterTuningJob": { + "methods": ["createHyperparameterTuningJob", "createHyperparameterTuningJob", "createHyperparameterTuningJob", "createHyperparameterTuningJobCallable"] + }, + "DeleteBatchPredictionJob": { + "methods": ["deleteBatchPredictionJobAsync", "deleteBatchPredictionJobAsync", "deleteBatchPredictionJobAsync", "deleteBatchPredictionJobOperationCallable", "deleteBatchPredictionJobCallable"] + }, + "DeleteCustomJob": { + "methods": ["deleteCustomJobAsync", "deleteCustomJobAsync", "deleteCustomJobAsync", "deleteCustomJobOperationCallable", "deleteCustomJobCallable"] + }, + "DeleteDataLabelingJob": { + "methods": ["deleteDataLabelingJobAsync", "deleteDataLabelingJobAsync", "deleteDataLabelingJobAsync", "deleteDataLabelingJobOperationCallable", "deleteDataLabelingJobCallable"] + }, + "DeleteHyperparameterTuningJob": { + "methods": ["deleteHyperparameterTuningJobAsync", "deleteHyperparameterTuningJobAsync", "deleteHyperparameterTuningJobAsync", "deleteHyperparameterTuningJobOperationCallable", "deleteHyperparameterTuningJobCallable"] + }, + "GetBatchPredictionJob": { + "methods": ["getBatchPredictionJob", "getBatchPredictionJob", "getBatchPredictionJob", "getBatchPredictionJobCallable"] + }, + "GetCustomJob": { + "methods": ["getCustomJob", "getCustomJob", "getCustomJob", "getCustomJobCallable"] + }, + "GetDataLabelingJob": { + "methods": ["getDataLabelingJob", "getDataLabelingJob", "getDataLabelingJob", "getDataLabelingJobCallable"] + }, + "GetHyperparameterTuningJob": { + "methods": ["getHyperparameterTuningJob", "getHyperparameterTuningJob", "getHyperparameterTuningJob", "getHyperparameterTuningJobCallable"] + }, + "ListBatchPredictionJobs": { + "methods": ["listBatchPredictionJobs", "listBatchPredictionJobs", "listBatchPredictionJobs", "listBatchPredictionJobsPagedCallable", "listBatchPredictionJobsCallable"] + }, + "ListCustomJobs": { + "methods": ["listCustomJobs", "listCustomJobs", "listCustomJobs", "listCustomJobsPagedCallable", "listCustomJobsCallable"] + }, + "ListDataLabelingJobs": { + "methods": ["listDataLabelingJobs", "listDataLabelingJobs", "listDataLabelingJobs", "listDataLabelingJobsPagedCallable", "listDataLabelingJobsCallable"] + }, + "ListHyperparameterTuningJobs": { + "methods": ["listHyperparameterTuningJobs", "listHyperparameterTuningJobs", "listHyperparameterTuningJobs", "listHyperparameterTuningJobsPagedCallable", "listHyperparameterTuningJobsCallable"] + } + } + } + } + }, + "MigrationService": { + "clients": { + "grpc": { + "libraryClient": "MigrationServiceClient", + "rpcs": { + "BatchMigrateResources": { + "methods": ["batchMigrateResourcesAsync", "batchMigrateResourcesAsync", "batchMigrateResourcesAsync", "batchMigrateResourcesOperationCallable", "batchMigrateResourcesCallable"] + }, + "SearchMigratableResources": { + "methods": ["searchMigratableResources", "searchMigratableResources", "searchMigratableResources", "searchMigratableResourcesPagedCallable", "searchMigratableResourcesCallable"] + } + } + } + } + }, + "ModelService": { + "clients": { + "grpc": { + "libraryClient": "ModelServiceClient", + "rpcs": { + "DeleteModel": { + "methods": ["deleteModelAsync", "deleteModelAsync", "deleteModelAsync", "deleteModelOperationCallable", "deleteModelCallable"] + }, + "ExportModel": { + "methods": ["exportModelAsync", "exportModelAsync", "exportModelAsync", "exportModelOperationCallable", "exportModelCallable"] + }, + "GetModel": { + "methods": ["getModel", "getModel", "getModel", "getModelCallable"] + }, + "GetModelEvaluation": { + "methods": ["getModelEvaluation", "getModelEvaluation", "getModelEvaluation", "getModelEvaluationCallable"] + }, + "GetModelEvaluationSlice": { + "methods": ["getModelEvaluationSlice", "getModelEvaluationSlice", "getModelEvaluationSlice", "getModelEvaluationSliceCallable"] + }, + "ListModelEvaluationSlices": { + "methods": ["listModelEvaluationSlices", "listModelEvaluationSlices", "listModelEvaluationSlices", "listModelEvaluationSlicesPagedCallable", "listModelEvaluationSlicesCallable"] + }, + "ListModelEvaluations": { + "methods": ["listModelEvaluations", "listModelEvaluations", "listModelEvaluations", "listModelEvaluationsPagedCallable", "listModelEvaluationsCallable"] + }, + "ListModels": { + "methods": ["listModels", "listModels", "listModels", "listModelsPagedCallable", "listModelsCallable"] + }, + "UpdateModel": { + "methods": ["updateModel", "updateModel", "updateModelCallable"] + }, + "UploadModel": { + "methods": ["uploadModelAsync", "uploadModelAsync", "uploadModelAsync", "uploadModelOperationCallable", "uploadModelCallable"] + } + } + } + } + }, + "PipelineService": { + "clients": { + "grpc": { + "libraryClient": "PipelineServiceClient", + "rpcs": { + "CancelTrainingPipeline": { + "methods": ["cancelTrainingPipeline", "cancelTrainingPipeline", "cancelTrainingPipeline", "cancelTrainingPipelineCallable"] + }, + "CreateTrainingPipeline": { + "methods": ["createTrainingPipeline", "createTrainingPipeline", "createTrainingPipeline", "createTrainingPipelineCallable"] + }, + "DeleteTrainingPipeline": { + "methods": ["deleteTrainingPipelineAsync", "deleteTrainingPipelineAsync", "deleteTrainingPipelineAsync", "deleteTrainingPipelineOperationCallable", "deleteTrainingPipelineCallable"] + }, + "GetTrainingPipeline": { + "methods": ["getTrainingPipeline", "getTrainingPipeline", "getTrainingPipeline", "getTrainingPipelineCallable"] + }, + "ListTrainingPipelines": { + "methods": ["listTrainingPipelines", "listTrainingPipelines", "listTrainingPipelines", "listTrainingPipelinesPagedCallable", "listTrainingPipelinesCallable"] + } + } + } + } + }, + "PredictionService": { + "clients": { + "grpc": { + "libraryClient": "PredictionServiceClient", + "rpcs": { + "Predict": { + "methods": ["predict", "predict", "predict", "predictCallable"] + } + } + } + } + }, + "SpecialistPoolService": { + "clients": { + "grpc": { + "libraryClient": "SpecialistPoolServiceClient", + "rpcs": { + "CreateSpecialistPool": { + "methods": ["createSpecialistPoolAsync", "createSpecialistPoolAsync", "createSpecialistPoolAsync", "createSpecialistPoolOperationCallable", "createSpecialistPoolCallable"] + }, + "DeleteSpecialistPool": { + "methods": ["deleteSpecialistPoolAsync", "deleteSpecialistPoolAsync", "deleteSpecialistPoolAsync", "deleteSpecialistPoolOperationCallable", "deleteSpecialistPoolCallable"] + }, + "GetSpecialistPool": { + "methods": ["getSpecialistPool", "getSpecialistPool", "getSpecialistPool", "getSpecialistPoolCallable"] + }, + "ListSpecialistPools": { + "methods": ["listSpecialistPools", "listSpecialistPools", "listSpecialistPools", "listSpecialistPoolsPagedCallable", "listSpecialistPoolsCallable"] + }, + "UpdateSpecialistPool": { + "methods": ["updateSpecialistPoolAsync", "updateSpecialistPoolAsync", "updateSpecialistPoolOperationCallable", "updateSpecialistPoolCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/package-info.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/package-info.java index 8d67171cc..48b58c7ae 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/package-info.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStub.java index bc5ff2d39..2e8bb32ce 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java index 5faa30878..b2b3eb16f 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -509,7 +509,8 @@ public static class Builder extends StubSettings.Builder* * @param parent Required. The resource name of the DataItem to list Annotations from. Format: - *> definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists. newArrayList())); + definitions.put( + "no_retry_0_codes", ImmutableSet.copyOf(Lists. newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -518,8 +519,14 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(5000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(5000L)) + .setTotalTimeout(Duration.ofMillis(5000L)) + .build(); + definitions.put("no_retry_0_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -606,61 +613,61 @@ private static Builder createDefault() { private static Builder initDefaults(Builder builder) { builder .createDatasetSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .getDatasetSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .updateDatasetSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .listDatasetsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .deleteDatasetSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .importDataSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .exportDataSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .listDataItemsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .getAnnotationSpecSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .listAnnotationsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); builder .createDatasetOperationSettings() .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Dataset.class)) @@ -684,8 +691,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) @@ -707,8 +714,8 @@ private static Builder initDefaults(Builder builder) { .importDataOperationSettings() .setInitialCallSettings( UnaryCallSettings. newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(ImportDataResponse.class)) @@ -731,8 +738,8 @@ private static Builder initDefaults(Builder builder) { .exportDataOperationSettings() .setInitialCallSettings( UnaryCallSettings. newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(ExportDataResponse.class)) diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStub.java index e64b38ddc..1904849dc 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java index 285c56852..b75c7295f 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -358,7 +358,8 @@ public static class Builder extends StubSettings.Builder > definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists. newArrayList())); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists. newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -367,8 +368,14 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(5000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(5000L)) + .setTotalTimeout(Duration.ofMillis(5000L)) + .build(); + definitions.put("no_retry_1_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -443,46 +450,46 @@ private static Builder createDefault() { private static Builder initDefaults(Builder builder) { builder .createEndpointSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getEndpointSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listEndpointsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updateEndpointSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deleteEndpointSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deployModelSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .undeployModelSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .createEndpointOperationSettings() .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Endpoint.class)) @@ -506,8 +513,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) @@ -529,8 +536,8 @@ private static Builder initDefaults(Builder builder) { .deployModelOperationSettings() .setInitialCallSettings( UnaryCallSettings. newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(DeployModelResponse.class)) @@ -554,8 +561,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(UndeployModelResponse.class)) diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcDatasetServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcDatasetServiceCallableFactory.java index cc347b760..0b57ca860 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcDatasetServiceCallableFactory.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcDatasetServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcDatasetServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcDatasetServiceStub.java index c7ec877b0..da638eb17 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcDatasetServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcDatasetServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcEndpointServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcEndpointServiceCallableFactory.java index cf0e0f1a7..cbb057f87 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcEndpointServiceCallableFactory.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcEndpointServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcEndpointServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcEndpointServiceStub.java index 43f103873..df0fa2cf0 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcEndpointServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcEndpointServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceCallableFactory.java index ec4f19008..6fce34332 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceCallableFactory.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceStub.java index f42279d82..2db26b4da 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMigrationServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMigrationServiceCallableFactory.java index 3f4f18f4d..7c4963a3a 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMigrationServiceCallableFactory.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMigrationServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMigrationServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMigrationServiceStub.java index 95c837a57..a037ea74d 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMigrationServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMigrationServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceCallableFactory.java index 854c51d31..101a7d825 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceCallableFactory.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java index 0661fc459..73fc68bab 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPipelineServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPipelineServiceCallableFactory.java index ba200e5ca..b0dd7042a 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPipelineServiceCallableFactory.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPipelineServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPipelineServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPipelineServiceStub.java index a557d1a79..6c1507a64 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPipelineServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPipelineServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPredictionServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPredictionServiceCallableFactory.java index f9246d98b..67b0251e9 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPredictionServiceCallableFactory.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPredictionServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPredictionServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPredictionServiceStub.java index 81945ce07..5a09e9519 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPredictionServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcPredictionServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcSpecialistPoolServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcSpecialistPoolServiceCallableFactory.java index f4ecb2bc1..420a3f22b 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcSpecialistPoolServiceCallableFactory.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcSpecialistPoolServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcSpecialistPoolServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcSpecialistPoolServiceStub.java index 5b0b80664..b22c01c75 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcSpecialistPoolServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcSpecialistPoolServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStub.java index 59ed98c1c..888ca2485 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java index 63c24a135..64fe76f3f 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -776,7 +776,8 @@ public static class Builder extends StubSettings.Builder > definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists. newArrayList())); + definitions.put( + "no_retry_2_codes", ImmutableSet.copyOf(Lists. newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -785,8 +786,14 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(5000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(5000L)) + .setTotalTimeout(Duration.ofMillis(5000L)) + .build(); + definitions.put("no_retry_2_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -923,111 +930,111 @@ private static Builder createDefault() { private static Builder initDefaults(Builder builder) { builder .createCustomJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .getCustomJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .listCustomJobsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .deleteCustomJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .cancelCustomJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .createDataLabelingJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .getDataLabelingJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .listDataLabelingJobsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .deleteDataLabelingJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .cancelDataLabelingJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .createHyperparameterTuningJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .getHyperparameterTuningJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .listHyperparameterTuningJobsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .deleteHyperparameterTuningJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .cancelHyperparameterTuningJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .createBatchPredictionJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .getBatchPredictionJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .listBatchPredictionJobsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .deleteBatchPredictionJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .cancelBatchPredictionJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .deleteCustomJobOperationSettings() .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) @@ -1050,8 +1057,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) @@ -1075,8 +1082,8 @@ private static Builder initDefaults(Builder builder) { UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) @@ -1099,8 +1106,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStub.java index 5264e6ac9..c399210d6 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java index 0cbac617c..95963e144 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java index 78a3533f5..0b2a7a47c 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java index acf8fbc1f..259e106f7 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -543,7 +543,8 @@ public static class Builder extends StubSettings.Builder > definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists. newArrayList())); + definitions.put( + "no_retry_3_codes", ImmutableSet.copyOf(Lists. newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -552,8 +553,14 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(5000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(5000L)) + .setTotalTimeout(Duration.ofMillis(5000L)) + .build(); + definitions.put("no_retry_3_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -640,60 +647,60 @@ private static Builder createDefault() { private static Builder initDefaults(Builder builder) { builder .uploadModelSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .getModelSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .listModelsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .updateModelSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .deleteModelSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .exportModelSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .getModelEvaluationSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .listModelEvaluationsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .getModelEvaluationSliceSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .listModelEvaluationSlicesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); builder .uploadModelOperationSettings() .setInitialCallSettings( UnaryCallSettings. newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(UploadModelResponse.class)) @@ -716,8 +723,8 @@ private static Builder initDefaults(Builder builder) { .deleteModelOperationSettings() .setInitialCallSettings( UnaryCallSettings. newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) @@ -739,8 +746,8 @@ private static Builder initDefaults(Builder builder) { .exportModelOperationSettings() .setInitialCallSettings( UnaryCallSettings. newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(ExportModelResponse.class)) diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStub.java index 40fcd232b..9941dc0d3 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java index 90791989c..3bdd4fa63 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -323,7 +323,8 @@ public static class Builder extends StubSettings.Builder > definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists. newArrayList())); + definitions.put( + "no_retry_4_codes", ImmutableSet.copyOf(Lists. newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -332,8 +333,14 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(5000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(5000L)) + .setTotalTimeout(Duration.ofMillis(5000L)) + .build(); + definitions.put("no_retry_4_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -396,36 +403,36 @@ private static Builder createDefault() { private static Builder initDefaults(Builder builder) { builder .createTrainingPipelineSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params")); builder .getTrainingPipelineSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params")); builder .listTrainingPipelinesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params")); builder .deleteTrainingPipelineSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params")); builder .cancelTrainingPipelineSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params")); builder .deleteTrainingPipelineOperationSettings() .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStub.java index fe95183c8..bad71ae8b 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java index 9637382e1..40db5e342 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,7 @@ import java.io.IOException; import java.util.List; import javax.annotation.Generated; +import org.threeten.bp.Duration; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** @@ -169,7 +170,8 @@ public static class Builder extends StubSettings.Builder > definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists. newArrayList())); + definitions.put( + "no_retry_5_codes", ImmutableSet.copyOf(Lists. newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -178,8 +180,14 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(5000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(5000L)) + .setTotalTimeout(Duration.ofMillis(5000L)) + .build(); + definitions.put("no_retry_5_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -220,8 +228,8 @@ private static Builder createDefault() { private static Builder initDefaults(Builder builder) { builder .predictSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_5_params")); return builder; } diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStub.java index bd9792df0..7af9751a2 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java index b9bf03dee..5a8015416 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -347,7 +347,8 @@ public static class Builder static { ImmutableMap.Builder > definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists. newArrayList())); + definitions.put( + "no_retry_6_codes", ImmutableSet.copyOf(Lists. newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -356,8 +357,14 @@ public static class Builder static { ImmutableMap.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(5000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(5000L)) + .setTotalTimeout(Duration.ofMillis(5000L)) + .build(); + definitions.put("no_retry_6_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -426,36 +433,36 @@ private static Builder createDefault() { private static Builder initDefaults(Builder builder) { builder .createSpecialistPoolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); builder .getSpecialistPoolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); builder .listSpecialistPoolsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); builder .deleteSpecialistPoolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); builder .updateSpecialistPoolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); builder .createSpecialistPoolOperationSettings() .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(SpecialistPool.class)) @@ -479,8 +486,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) @@ -503,8 +510,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(SpecialistPool.class)) diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java index f23b81c29..e4fe59a54 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -576,6 +576,15 @@ public final ListDatasetsPagedResponse listDatasets(ListDatasetsRequest request) * * {@code * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { + * ListDatasetsRequest request = + * ListDatasetsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListDatasetsResponse response = datasetServiceClient.listDatasetsCallable().call(request); * for (Dataset element : response.getResponsesList()) { @@ -1090,6 +1099,15 @@ public final ListDataItemsPagedResponse listDataItems(ListDataItemsRequest reque * ** * @param name Required. The name of the AnnotationSpec resource. Format: - *{@code * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { + * ListDataItemsRequest request = + * ListDataItemsRequest.newBuilder() + * .setParent(DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListDataItemsResponse response = datasetServiceClient.listDataItemsCallable().call(request); * for (DataItem element : response.getResponsesList()) { @@ -1124,7 +1142,7 @@ public final UnaryCallable* * @param name Required. The name of the AnnotationSpec resource. Format: - *listData * } `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` + * `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AnnotationSpec getAnnotationSpec(AnnotationSpecName name) { @@ -1151,7 +1169,7 @@ public final AnnotationSpec getAnnotationSpec(AnnotationSpecName name) { * }
`projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` + * `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AnnotationSpec getAnnotationSpec(String name) { @@ -1227,7 +1245,7 @@ public final UnaryCallable
getAnnotati * } `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` + * `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAnnotationsPagedResponse listAnnotations(DataItemName parent) { @@ -1255,7 +1273,7 @@ public final ListAnnotationsPagedResponse listAnnotations(DataItemName parent) { * }
`projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` + * `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAnnotationsPagedResponse listAnnotations(String parent) { @@ -1334,6 +1352,16 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest * *
{@code * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { + * ListAnnotationsRequest request = + * ListAnnotationsRequest.newBuilder() + * .setParent( + * DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListAnnotationsResponse response = * datasetServiceClient.listAnnotationsCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceSettings.java index 1f03ae479..973fb97fc 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java index 5b5723f92..4f29636c3 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -504,6 +504,14 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque * ** * @param name Required. The name of the DataLabelingJob to be deleted. Format: - *{@code * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { + * ListEndpointsRequest request = + * ListEndpointsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListEndpointsResponse response = * endpointServiceClient.listEndpointsCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceSettings.java index 2a6a8584a..dbc08549b 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java index 3512c29cc..71fb7e578 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -471,6 +471,14 @@ public final ListCustomJobsPagedResponse listCustomJobs(ListCustomJobsRequest re * ** * @param name Required. The name of the DataLabelingJob. Format: - *{@code * try (JobServiceClient jobServiceClient = JobServiceClient.create()) { + * ListCustomJobsRequest request = + * ListCustomJobsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListCustomJobsResponse response = jobServiceClient.listCustomJobsCallable().call(request); * for (CustomJob element : response.getResponsesList()) { @@ -847,7 +855,7 @@ public final DataLabelingJob createDataLabelingJob(CreateDataLabelingJobRequest * }* * @param name Required. The name of the DataLabelingJob. Format: - *`projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final DataLabelingJob getDataLabelingJob(DataLabelingJobName name) { @@ -873,7 +881,7 @@ public final DataLabelingJob getDataLabelingJob(DataLabelingJobName name) { * }
`projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final DataLabelingJob getDataLabelingJob(String name) { @@ -1055,6 +1063,15 @@ public final ListDataLabelingJobsPagedResponse listDataLabelingJobs( * *
{@code * try (JobServiceClient jobServiceClient = JobServiceClient.create()) { + * ListDataLabelingJobsRequest request = + * ListDataLabelingJobsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .setOrderBy("orderBy-1207110587") + * .build(); * while (true) { * ListDataLabelingJobsResponse response = * jobServiceClient.listDataLabelingJobsCallable().call(request); @@ -1091,7 +1108,7 @@ public final ListDataLabelingJobsPagedResponse listDataLabelingJobs( * }* * @param name Required. The name of the DataLabelingJob to be deleted. Format: - *`projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture
deleteDataLabelingJobAsync( @@ -1118,7 +1135,7 @@ public final OperationFuture deleteDataLabelingJ * } `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture
deleteDataLabelingJobAsync( @@ -1221,7 +1238,7 @@ public final OperationFuture deleteDataLabelingJ * } `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void cancelDataLabelingJob(DataLabelingJobName name) { @@ -1247,7 +1264,7 @@ public final void cancelDataLabelingJob(DataLabelingJobName name) { * }
`projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void cancelDataLabelingJob(String name) { @@ -1433,7 +1450,7 @@ public final HyperparameterTuningJob createHyperparameterTuningJob( * }
`projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final HyperparameterTuningJob getHyperparameterTuningJob( @@ -1461,7 +1478,7 @@ public final HyperparameterTuningJob getHyperparameterTuningJob( * }
`projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final HyperparameterTuningJob getHyperparameterTuningJob(String name) { @@ -1650,6 +1667,14 @@ public final ListHyperparameterTuningJobsPagedResponse listHyperparameterTuningJ * *
{@code * try (JobServiceClient jobServiceClient = JobServiceClient.create()) { + * ListHyperparameterTuningJobsRequest request = + * ListHyperparameterTuningJobsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListHyperparameterTuningJobsResponse response = * jobServiceClient.listHyperparameterTuningJobsCallable().call(request); @@ -1687,7 +1712,7 @@ public final ListHyperparameterTuningJobsPagedResponse listHyperparameterTuningJ * }* * @param name Required. The name of the HyperparameterTuningJob resource to be deleted. Format: - *`projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture
deleteHyperparameterTuningJobAsync( @@ -1715,7 +1740,7 @@ public final OperationFuture deleteHyperparamete * } `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture
deleteHyperparameterTuningJobAsync( @@ -1833,7 +1858,7 @@ public final OperationFuture deleteHyperparamete * } `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void cancelHyperparameterTuningJob(HyperparameterTuningJobName name) { @@ -1871,7 +1896,7 @@ public final void cancelHyperparameterTuningJob(HyperparameterTuningJobName name * }
`projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void cancelHyperparameterTuningJob(String name) { @@ -2084,7 +2109,7 @@ public final BatchPredictionJob createBatchPredictionJob( * }
`projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final BatchPredictionJob getBatchPredictionJob(BatchPredictionJobName name) { @@ -2110,7 +2135,7 @@ public final BatchPredictionJob getBatchPredictionJob(BatchPredictionJobName nam * }
`projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final BatchPredictionJob getBatchPredictionJob(String name) { @@ -2293,6 +2318,14 @@ public final ListBatchPredictionJobsPagedResponse listBatchPredictionJobs( * *
{@code * try (JobServiceClient jobServiceClient = JobServiceClient.create()) { + * ListBatchPredictionJobsRequest request = + * ListBatchPredictionJobsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListBatchPredictionJobsResponse response = * jobServiceClient.listBatchPredictionJobsCallable().call(request); @@ -2329,7 +2362,7 @@ public final ListBatchPredictionJobsPagedResponse listBatchPredictionJobs( * }* * @param name Required. The name of the BatchPredictionJob resource to be deleted. Format: - *`projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture
deleteBatchPredictionJobAsync( @@ -2356,7 +2389,7 @@ public final OperationFuture deleteBatchPredicti * } `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture
deleteBatchPredictionJobAsync( @@ -2468,7 +2501,7 @@ public final OperationFuture deleteBatchPredicti * } `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void cancelBatchPredictionJob(BatchPredictionJobName name) { @@ -2503,7 +2536,7 @@ public final void cancelBatchPredictionJob(BatchPredictionJobName name) { * }
`projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void cancelBatchPredictionJob(String name) { diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java index 643c8a2db..57d3aa490 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java index b71de9648..822b39310 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -300,6 +300,13 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources( * *
{@code * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) { + * SearchMigratableResourcesRequest request = + * SearchMigratableResourcesRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setFilter("filter-1274492040") + * .build(); * while (true) { * SearchMigratableResourcesResponse response = * migrationServiceClient.searchMigratableResourcesCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceSettings.java index 8f084e1e6..c35fd9dd7 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java index b64a4d615..71ad9a1c6 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -497,6 +497,14 @@ public final UnaryCallable* * @param name Required. The name of the ModelEvaluation resource. Format: - *listModel * * {@code * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) { + * ListModelsRequest request = + * ListModelsRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListModelsResponse response = modelServiceClient.listModelsCallable().call(request); * for (Model element : response.getResponsesList()) { @@ -864,7 +872,7 @@ public final UnaryCallable* * @param name Required. The name of the ModelEvaluation resource. Format: - *exportModelCallable() * } `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ModelEvaluation getModelEvaluation(ModelEvaluationName name) { @@ -890,7 +898,7 @@ public final ModelEvaluation getModelEvaluation(ModelEvaluationName name) { * }
`projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ModelEvaluation getModelEvaluation(String name) { @@ -1071,6 +1079,14 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations( * *
{@code * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) { + * ListModelEvaluationsRequest request = + * ListModelEvaluationsRequest.newBuilder() + * .setParent(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListModelEvaluationsResponse response = * modelServiceClient.listModelEvaluationsCallable().call(request); @@ -1108,7 +1124,7 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations( * }* * @param name Required. The name of the ModelEvaluationSlice resource. Format: - *
`projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` + * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ModelEvaluationSlice getModelEvaluationSlice(ModelEvaluationSliceName name) { @@ -1136,7 +1152,7 @@ public final ModelEvaluationSlice getModelEvaluationSlice(ModelEvaluationSliceNa * } * * @param name Required. The name of the ModelEvaluationSlice resource. Format: - *
`projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` + * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ModelEvaluationSlice getModelEvaluationSlice(String name) { @@ -1218,7 +1234,7 @@ public final ModelEvaluationSlice getModelEvaluationSlice( * * @param parent Required. The resource name of the ModelEvaluation to list the * ModelEvaluationSlices from. Format: - *
`projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices( @@ -1249,7 +1265,7 @@ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices( * * @param parent Required. The resource name of the ModelEvaluation to list the * ModelEvaluationSlices from. Format: - *
`projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices(String parent) { @@ -1332,6 +1348,16 @@ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices( * *
{@code * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) { + * ListModelEvaluationSlicesRequest request = + * ListModelEvaluationSlicesRequest.newBuilder() + * .setParent( + * ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]") + * .toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListModelEvaluationSlicesResponse response = * modelServiceClient.listModelEvaluationSlicesCallable().call(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java index 8c7dbb2c3..e81d29546 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java index c4e20c14e..661568cb8 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -293,7 +293,7 @@ public final TrainingPipeline createTrainingPipeline(CreateTrainingPipelineReque * }* * @param name Required. The name of the TrainingPipeline resource. Format: - *
`projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` + * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TrainingPipeline getTrainingPipeline(TrainingPipelineName name) { @@ -319,7 +319,7 @@ public final TrainingPipeline getTrainingPipeline(TrainingPipelineName name) { * } * * @param name Required. The name of the TrainingPipeline resource. Format: - *
`projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` + * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TrainingPipeline getTrainingPipeline(String name) { @@ -502,6 +502,14 @@ public final ListTrainingPipelinesPagedResponse listTrainingPipelines( * *
{@code * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) { + * ListTrainingPipelinesRequest request = + * ListTrainingPipelinesRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setFilter("filter-1274492040") + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .setReadMask(FieldMask.newBuilder().build()) + * .build(); * while (true) { * ListTrainingPipelinesResponse response = * pipelineServiceClient.listTrainingPipelinesCallable().call(request); @@ -538,7 +546,7 @@ public final ListTrainingPipelinesPagedResponse listTrainingPipelines( * }* * @param name Required. The name of the TrainingPipeline resource to be deleted. Format: - *
`projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`
+ * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`
+ * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`
+ * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void cancelTrainingPipeline(TrainingPipelineName name) {
@@ -714,7 +722,7 @@ public final void cancelTrainingPipeline(TrainingPipelineName name) {
* }
*
* @param name Required. The name of the TrainingPipeline to cancel. Format:
- * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`
+ * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void cancelTrainingPipeline(String name) {
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceSettings.java
index 4f1e9d135..65019b2b9 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java
index fd0edc1ad..345eef727 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceSettings.java
index 403cd46ce..34cdd9a56 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java
index be259ff39..e53a0d4ca 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -332,7 +332,7 @@ public final OperationsClient getOperationsClient() {
* }
*
* @param name Required. The name of the SpecialistPool resource. The form is
- * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`.
+ * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final SpecialistPool getSpecialistPool(SpecialistPoolName name) {
@@ -359,7 +359,7 @@ public final SpecialistPool getSpecialistPool(SpecialistPoolName name) {
* }
*
* @param name Required. The name of the SpecialistPool resource. The form is
- * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`.
+ * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final SpecialistPool getSpecialistPool(String name) {
@@ -543,6 +543,13 @@ public final ListSpecialistPoolsPagedResponse listSpecialistPools(
* Vizier service is a GCP service to solve blackbox optimization problems, such as tuning
+ * machine learning hyperparameters and searching over deep learning architectures.
+ *
+ * This class provides the ability to make remote calls to the backing service through method
+ * calls that map to API methods. Sample code to get started:
+ *
+ * Note: close() needs to be called on the VizierServiceClient object to clean up resources such
+ * as threads. In the example above, try-with-resources is used, which automatically calls close().
+ *
+ * The surface of this class includes several types of Java methods for each of the API's
+ * methods:
+ *
+ * See the individual methods for example code.
+ *
+ * Many parameters require resource names to be formatted in a particular way. To assist with
+ * these names, this class includes a format method for each type of name, and additionally a parse
+ * method to extract the individual identifiers contained within names that are returned.
+ *
+ * This class can be customized by passing in a custom instance of VizierServiceSettings to
+ * create(). For example:
+ *
+ * To customize credentials:
+ *
+ * To customize the endpoint:
+ *
+ * Please refer to the GitHub repository's samples for more quickstart code snippets.
+ */
+@BetaApi
+@Generated("by gapic-generator-java")
+public class VizierServiceClient implements BackgroundResource {
+ private final VizierServiceSettings settings;
+ private final VizierServiceStub stub;
+ private final OperationsClient operationsClient;
+
+ /** Constructs an instance of VizierServiceClient with default settings. */
+ public static final VizierServiceClient create() throws IOException {
+ return create(VizierServiceSettings.newBuilder().build());
+ }
+
+ /**
+ * Constructs an instance of VizierServiceClient, using the given settings. The channels are
+ * created based on the settings passed in, or defaults for any settings that are not set.
+ */
+ public static final VizierServiceClient create(VizierServiceSettings settings)
+ throws IOException {
+ return new VizierServiceClient(settings);
+ }
+
+ /**
+ * Constructs an instance of VizierServiceClient, using the given stub for making calls. This is
+ * for advanced usage - prefer using create(VizierServiceSettings).
+ */
+ @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+ public static final VizierServiceClient create(VizierServiceStub stub) {
+ return new VizierServiceClient(stub);
+ }
+
+ /**
+ * Constructs an instance of VizierServiceClient, using the given settings. This is protected so
+ * that it is easy to make a subclass, but otherwise, the static factory methods should be
+ * preferred.
+ */
+ protected VizierServiceClient(VizierServiceSettings settings) throws IOException {
+ this.settings = settings;
+ this.stub = ((VizierServiceStubSettings) settings.getStubSettings()).createStub();
+ this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
+ }
+
+ @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+ protected VizierServiceClient(VizierServiceStub stub) {
+ this.settings = null;
+ this.stub = stub;
+ this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
+ }
+
+ public final VizierServiceSettings getSettings() {
+ return settings;
+ }
+
+ @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+ public VizierServiceStub getStub() {
+ return stub;
+ }
+
+ /**
+ * Returns the OperationsClient that can be used to query the status of a long-running operation
+ * returned by another API method call.
+ */
+ public final OperationsClient getOperationsClient() {
+ return operationsClient;
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a Study. A resource name will be generated after creation of the Study.
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * The default instance has everything set to sensible defaults:
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object.
+ *
+ * For example, to set the total timeout of createStudy to 30 seconds:
+ *
+ * Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction ======================= VizierServiceClient =======================
+ *
+ * Service Description: Cloud AI Platform Vizier API.
+ *
+ * Vizier service is a GCP service to solve blackbox optimization problems, such as tuning
+ * machine learning hyperparameters and searching over deep learning architectures.
+ *
+ * Sample for VizierServiceClient:
+ *
+ * This class is for advanced usage.
+ */
+@BetaApi
+@Generated("by gapic-generator-java")
+public class GrpcVizierServiceCallableFactory implements GrpcStubCallableFactory {
+
+ @Override
+ public This class is for advanced usage and reflects the underlying API directly.
+ */
+@BetaApi
+@Generated("by gapic-generator-java")
+public class GrpcVizierServiceStub extends VizierServiceStub {
+ private static final MethodDescriptor{@code
* try (SpecialistPoolServiceClient specialistPoolServiceClient =
* SpecialistPoolServiceClient.create()) {
+ * ListSpecialistPoolsRequest request =
+ * ListSpecialistPoolsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
* while (true) {
* ListSpecialistPoolsResponse response =
* specialistPoolServiceClient.listSpecialistPoolsCallable().call(request);
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceSettings.java
index 6ff9a5274..5d605ee59 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java
new file mode 100644
index 000000000..42918fa17
--- /dev/null
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java
@@ -0,0 +1,1714 @@
+/*
+ * Copyright 2021 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.aiplatform.v1beta1;
+
+import com.google.api.core.ApiFunction;
+import com.google.api.core.ApiFuture;
+import com.google.api.core.ApiFutures;
+import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.longrunning.OperationFuture;
+import com.google.api.gax.paging.AbstractFixedSizeCollection;
+import com.google.api.gax.paging.AbstractPage;
+import com.google.api.gax.paging.AbstractPagedListResponse;
+import com.google.api.gax.rpc.OperationCallable;
+import com.google.api.gax.rpc.PageContext;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.aiplatform.v1beta1.stub.VizierServiceStub;
+import com.google.cloud.aiplatform.v1beta1.stub.VizierServiceStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
+import com.google.longrunning.Operation;
+import com.google.longrunning.OperationsClient;
+import com.google.protobuf.Empty;
+import java.io.IOException;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Service Description: Cloud AI Platform Vizier API.
+ *
+ *
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * Study study = Study.newBuilder().build();
+ * Study response = vizierServiceClient.createStudy(parent, study);
+ * }
+ * }
+ *
+ *
+ *
+ *
+ * {@code
+ * VizierServiceSettings vizierServiceSettings =
+ * VizierServiceSettings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * VizierServiceClient vizierServiceClient = VizierServiceClient.create(vizierServiceSettings);
+ * }
+ *
+ * {@code
+ * VizierServiceSettings vizierServiceSettings =
+ * VizierServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * VizierServiceClient vizierServiceClient = VizierServiceClient.create(vizierServiceSettings);
+ * }
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * Study study = Study.newBuilder().build();
+ * Study response = vizierServiceClient.createStudy(parent, study);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to create the CustomJob in. Format:
+ * `projects/{project}/locations/{location}`
+ * @param study Required. The Study configuration used to create the Study.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Study createStudy(LocationName parent, Study study) {
+ CreateStudyRequest request =
+ CreateStudyRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setStudy(study)
+ .build();
+ return createStudy(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a Study. A resource name will be generated after creation of the Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * Study study = Study.newBuilder().build();
+ * Study response = vizierServiceClient.createStudy(parent, study);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to create the CustomJob in. Format:
+ * `projects/{project}/locations/{location}`
+ * @param study Required. The Study configuration used to create the Study.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Study createStudy(String parent, Study study) {
+ CreateStudyRequest request =
+ CreateStudyRequest.newBuilder().setParent(parent).setStudy(study).build();
+ return createStudy(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a Study. A resource name will be generated after creation of the Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * CreateStudyRequest request =
+ * CreateStudyRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setStudy(Study.newBuilder().build())
+ * .build();
+ * Study response = vizierServiceClient.createStudy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Study createStudy(CreateStudyRequest request) {
+ return createStudyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a Study. A resource name will be generated after creation of the Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * CreateStudyRequest request =
+ * CreateStudyRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setStudy(Study.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * StudyName name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
+ * Study response = vizierServiceClient.getStudy(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Study resource. Format:
+ * `projects/{project}/locations/{location}/studies/{study}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Study getStudy(StudyName name) {
+ GetStudyRequest request =
+ GetStudyRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getStudy(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Study by name.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
+ * Study response = vizierServiceClient.getStudy(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Study resource. Format:
+ * `projects/{project}/locations/{location}/studies/{study}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Study getStudy(String name) {
+ GetStudyRequest request = GetStudyRequest.newBuilder().setName(name).build();
+ return getStudy(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Study by name.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * GetStudyRequest request =
+ * GetStudyRequest.newBuilder()
+ * .setName(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .build();
+ * Study response = vizierServiceClient.getStudy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Study getStudy(GetStudyRequest request) {
+ return getStudyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Study by name.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * GetStudyRequest request =
+ * GetStudyRequest.newBuilder()
+ * .setName(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * for (Study element : vizierServiceClient.listStudies(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list the Study from. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListStudiesPagedResponse listStudies(LocationName parent) {
+ ListStudiesRequest request =
+ ListStudiesRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listStudies(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all the studies in a region for an associated project.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * for (Study element : vizierServiceClient.listStudies(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list the Study from. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListStudiesPagedResponse listStudies(String parent) {
+ ListStudiesRequest request = ListStudiesRequest.newBuilder().setParent(parent).build();
+ return listStudies(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all the studies in a region for an associated project.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * ListStudiesRequest request =
+ * ListStudiesRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageToken("pageToken873572522")
+ * .setPageSize(883849137)
+ * .build();
+ * for (Study element : vizierServiceClient.listStudies(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListStudiesPagedResponse listStudies(ListStudiesRequest request) {
+ return listStudiesPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all the studies in a region for an associated project.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * ListStudiesRequest request =
+ * ListStudiesRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageToken("pageToken873572522")
+ * .setPageSize(883849137)
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * ListStudiesRequest request =
+ * ListStudiesRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageToken("pageToken873572522")
+ * .setPageSize(883849137)
+ * .build();
+ * while (true) {
+ * ListStudiesResponse response = vizierServiceClient.listStudiesCallable().call(request);
+ * for (Study element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * StudyName name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
+ * vizierServiceClient.deleteStudy(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Study resource to be deleted. Format:
+ * `projects/{project}/locations/{location}/studies/{study}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteStudy(StudyName name) {
+ DeleteStudyRequest request =
+ DeleteStudyRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ deleteStudy(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
+ * vizierServiceClient.deleteStudy(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Study resource to be deleted. Format:
+ * `projects/{project}/locations/{location}/studies/{study}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteStudy(String name) {
+ DeleteStudyRequest request = DeleteStudyRequest.newBuilder().setName(name).build();
+ deleteStudy(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * DeleteStudyRequest request =
+ * DeleteStudyRequest.newBuilder()
+ * .setName(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .build();
+ * vizierServiceClient.deleteStudy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteStudy(DeleteStudyRequest request) {
+ deleteStudyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * DeleteStudyRequest request =
+ * DeleteStudyRequest.newBuilder()
+ * .setName(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * Study response = vizierServiceClient.lookupStudy(parent);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to get the Study from. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Study lookupStudy(LocationName parent) {
+ LookupStudyRequest request =
+ LookupStudyRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return lookupStudy(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Looks a study up using the user-defined display_name field instead of the fully qualified
+ * resource name.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * Study response = vizierServiceClient.lookupStudy(parent);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to get the Study from. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Study lookupStudy(String parent) {
+ LookupStudyRequest request = LookupStudyRequest.newBuilder().setParent(parent).build();
+ return lookupStudy(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Looks a study up using the user-defined display_name field instead of the fully qualified
+ * resource name.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * LookupStudyRequest request =
+ * LookupStudyRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setDisplayName("displayName1714148973")
+ * .build();
+ * Study response = vizierServiceClient.lookupStudy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Study lookupStudy(LookupStudyRequest request) {
+ return lookupStudyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Looks a study up using the user-defined display_name field instead of the fully qualified
+ * resource name.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * LookupStudyRequest request =
+ * LookupStudyRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setDisplayName("displayName1714148973")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * SuggestTrialsRequest request =
+ * SuggestTrialsRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .setSuggestionCount(390130452)
+ * .setClientId("clientId908408390")
+ * .build();
+ * SuggestTrialsResponse response = vizierServiceClient.suggestTrialsAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * SuggestTrialsRequest request =
+ * SuggestTrialsRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .setSuggestionCount(390130452)
+ * .setClientId("clientId908408390")
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * SuggestTrialsRequest request =
+ * SuggestTrialsRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .setSuggestionCount(390130452)
+ * .setClientId("clientId908408390")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * StudyName parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
+ * Trial trial = Trial.newBuilder().build();
+ * Trial response = vizierServiceClient.createTrial(parent, trial);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Study to create the Trial in. Format:
+ * `projects/{project}/locations/{location}/studies/{study}`
+ * @param trial Required. The Trial to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Trial createTrial(StudyName parent, Trial trial) {
+ CreateTrialRequest request =
+ CreateTrialRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setTrial(trial)
+ .build();
+ return createTrial(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Adds a user provided Trial to a Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
+ * Trial trial = Trial.newBuilder().build();
+ * Trial response = vizierServiceClient.createTrial(parent, trial);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Study to create the Trial in. Format:
+ * `projects/{project}/locations/{location}/studies/{study}`
+ * @param trial Required. The Trial to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Trial createTrial(String parent, Trial trial) {
+ CreateTrialRequest request =
+ CreateTrialRequest.newBuilder().setParent(parent).setTrial(trial).build();
+ return createTrial(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Adds a user provided Trial to a Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * CreateTrialRequest request =
+ * CreateTrialRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .setTrial(Trial.newBuilder().build())
+ * .build();
+ * Trial response = vizierServiceClient.createTrial(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Trial createTrial(CreateTrialRequest request) {
+ return createTrialCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Adds a user provided Trial to a Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * CreateTrialRequest request =
+ * CreateTrialRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .setTrial(Trial.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * TrialName name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]");
+ * Trial response = vizierServiceClient.getTrial(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Trial resource. Format:
+ * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Trial getTrial(TrialName name) {
+ GetTrialRequest request =
+ GetTrialRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getTrial(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Trial.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString();
+ * Trial response = vizierServiceClient.getTrial(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Trial resource. Format:
+ * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Trial getTrial(String name) {
+ GetTrialRequest request = GetTrialRequest.newBuilder().setName(name).build();
+ return getTrial(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Trial.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * GetTrialRequest request =
+ * GetTrialRequest.newBuilder()
+ * .setName(TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .build();
+ * Trial response = vizierServiceClient.getTrial(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Trial getTrial(GetTrialRequest request) {
+ return getTrialCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Trial.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * GetTrialRequest request =
+ * GetTrialRequest.newBuilder()
+ * .setName(TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * StudyName parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
+ * for (Trial element : vizierServiceClient.listTrials(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Study to list the Trial from. Format:
+ * `projects/{project}/locations/{location}/studies/{study}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTrialsPagedResponse listTrials(StudyName parent) {
+ ListTrialsRequest request =
+ ListTrialsRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build();
+ return listTrials(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists the Trials associated with a Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
+ * for (Trial element : vizierServiceClient.listTrials(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Study to list the Trial from. Format:
+ * `projects/{project}/locations/{location}/studies/{study}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTrialsPagedResponse listTrials(String parent) {
+ ListTrialsRequest request = ListTrialsRequest.newBuilder().setParent(parent).build();
+ return listTrials(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists the Trials associated with a Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * ListTrialsRequest request =
+ * ListTrialsRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .setPageToken("pageToken873572522")
+ * .setPageSize(883849137)
+ * .build();
+ * for (Trial element : vizierServiceClient.listTrials(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTrialsPagedResponse listTrials(ListTrialsRequest request) {
+ return listTrialsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists the Trials associated with a Study.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * ListTrialsRequest request =
+ * ListTrialsRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .setPageToken("pageToken873572522")
+ * .setPageSize(883849137)
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * ListTrialsRequest request =
+ * ListTrialsRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .setPageToken("pageToken873572522")
+ * .setPageSize(883849137)
+ * .build();
+ * while (true) {
+ * ListTrialsResponse response = vizierServiceClient.listTrialsCallable().call(request);
+ * for (Trial element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * AddTrialMeasurementRequest request =
+ * AddTrialMeasurementRequest.newBuilder()
+ * .setTrialName(
+ * TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .setMeasurement(Measurement.newBuilder().build())
+ * .build();
+ * Trial response = vizierServiceClient.addTrialMeasurement(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Trial addTrialMeasurement(AddTrialMeasurementRequest request) {
+ return addTrialMeasurementCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Adds a measurement of the objective metrics to a Trial. This measurement is assumed to have
+ * been taken before the Trial is complete.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * AddTrialMeasurementRequest request =
+ * AddTrialMeasurementRequest.newBuilder()
+ * .setTrialName(
+ * TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .setMeasurement(Measurement.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * CompleteTrialRequest request =
+ * CompleteTrialRequest.newBuilder()
+ * .setName(TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .setFinalMeasurement(Measurement.newBuilder().build())
+ * .setTrialInfeasible(true)
+ * .setInfeasibleReason("infeasibleReason1040725388")
+ * .build();
+ * Trial response = vizierServiceClient.completeTrial(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Trial completeTrial(CompleteTrialRequest request) {
+ return completeTrialCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Marks a Trial as complete.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * CompleteTrialRequest request =
+ * CompleteTrialRequest.newBuilder()
+ * .setName(TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .setFinalMeasurement(Measurement.newBuilder().build())
+ * .setTrialInfeasible(true)
+ * .setInfeasibleReason("infeasibleReason1040725388")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * TrialName name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]");
+ * vizierServiceClient.deleteTrial(name);
+ * }
+ * }
+ *
+ * @param name Required. The Trial's name. Format:
+ * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteTrial(TrialName name) {
+ DeleteTrialRequest request =
+ DeleteTrialRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ deleteTrial(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Trial.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString();
+ * vizierServiceClient.deleteTrial(name);
+ * }
+ * }
+ *
+ * @param name Required. The Trial's name. Format:
+ * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteTrial(String name) {
+ DeleteTrialRequest request = DeleteTrialRequest.newBuilder().setName(name).build();
+ deleteTrial(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Trial.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * DeleteTrialRequest request =
+ * DeleteTrialRequest.newBuilder()
+ * .setName(TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .build();
+ * vizierServiceClient.deleteTrial(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteTrial(DeleteTrialRequest request) {
+ deleteTrialCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Trial.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * DeleteTrialRequest request =
+ * DeleteTrialRequest.newBuilder()
+ * .setName(TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * CheckTrialEarlyStoppingStateRequest request =
+ * CheckTrialEarlyStoppingStateRequest.newBuilder()
+ * .setTrialName(
+ * TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .build();
+ * CheckTrialEarlyStoppingStateResponse response =
+ * vizierServiceClient.checkTrialEarlyStoppingStateAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture<
+ CheckTrialEarlyStoppingStateResponse, CheckTrialEarlyStoppingStateMetatdata>
+ checkTrialEarlyStoppingStateAsync(CheckTrialEarlyStoppingStateRequest request) {
+ return checkTrialEarlyStoppingStateOperationCallable().futureCall(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Checks whether a Trial should stop or not. Returns a long-running operation. When the operation
+ * is successful, it will contain a
+ * [CheckTrialEarlyStoppingStateResponse][google.cloud.ml.v1.CheckTrialEarlyStoppingStateResponse].
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * CheckTrialEarlyStoppingStateRequest request =
+ * CheckTrialEarlyStoppingStateRequest.newBuilder()
+ * .setTrialName(
+ * TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable<
+ CheckTrialEarlyStoppingStateRequest,
+ CheckTrialEarlyStoppingStateResponse,
+ CheckTrialEarlyStoppingStateMetatdata>
+ checkTrialEarlyStoppingStateOperationCallable() {
+ return stub.checkTrialEarlyStoppingStateOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Checks whether a Trial should stop or not. Returns a long-running operation. When the operation
+ * is successful, it will contain a
+ * [CheckTrialEarlyStoppingStateResponse][google.cloud.ml.v1.CheckTrialEarlyStoppingStateResponse].
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * CheckTrialEarlyStoppingStateRequest request =
+ * CheckTrialEarlyStoppingStateRequest.newBuilder()
+ * .setTrialName(
+ * TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * StopTrialRequest request =
+ * StopTrialRequest.newBuilder()
+ * .setName(TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .build();
+ * Trial response = vizierServiceClient.stopTrial(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Trial stopTrial(StopTrialRequest request) {
+ return stopTrialCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Stops a Trial.
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * StopTrialRequest request =
+ * StopTrialRequest.newBuilder()
+ * .setName(TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * StudyName parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
+ * ListOptimalTrialsResponse response = vizierServiceClient.listOptimalTrials(parent);
+ * }
+ * }
+ *
+ * @param parent Required. The name of the Study that the optimal Trial belongs to.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListOptimalTrialsResponse listOptimalTrials(StudyName parent) {
+ ListOptimalTrialsRequest request =
+ ListOptimalTrialsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listOptimalTrials(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists the pareto-optimal Trials for multi-objective Study or the optimal Trials for
+ * single-objective Study. The definition of pareto-optimal can be checked in wiki page.
+ * https://en.wikipedia.org/wiki/Pareto_efficiency
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * String parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
+ * ListOptimalTrialsResponse response = vizierServiceClient.listOptimalTrials(parent);
+ * }
+ * }
+ *
+ * @param parent Required. The name of the Study that the optimal Trial belongs to.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListOptimalTrialsResponse listOptimalTrials(String parent) {
+ ListOptimalTrialsRequest request =
+ ListOptimalTrialsRequest.newBuilder().setParent(parent).build();
+ return listOptimalTrials(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists the pareto-optimal Trials for multi-objective Study or the optimal Trials for
+ * single-objective Study. The definition of pareto-optimal can be checked in wiki page.
+ * https://en.wikipedia.org/wiki/Pareto_efficiency
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * ListOptimalTrialsRequest request =
+ * ListOptimalTrialsRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .build();
+ * ListOptimalTrialsResponse response = vizierServiceClient.listOptimalTrials(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListOptimalTrialsResponse listOptimalTrials(ListOptimalTrialsRequest request) {
+ return listOptimalTrialsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists the pareto-optimal Trials for multi-objective Study or the optimal Trials for
+ * single-objective Study. The definition of pareto-optimal can be checked in wiki page.
+ * https://en.wikipedia.org/wiki/Pareto_efficiency
+ *
+ * {@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * ListOptimalTrialsRequest request =
+ * ListOptimalTrialsRequest.newBuilder()
+ * .setParent(StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable
+ *
+ *
+ * {@code
+ * VizierServiceSettings.Builder vizierServiceSettingsBuilder = VizierServiceSettings.newBuilder();
+ * vizierServiceSettingsBuilder
+ * .createStudySettings()
+ * .setRetrySettings(
+ * vizierServiceSettingsBuilder
+ * .createStudySettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
+ * VizierServiceSettings vizierServiceSettings = vizierServiceSettingsBuilder.build();
+ * }
+ */
+@BetaApi
+@Generated("by gapic-generator-java")
+public class VizierServiceSettings extends ClientSettings{@code
+ * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * Study study = Study.newBuilder().build();
+ * Study response = vizierServiceClient.createStudy(parent, study);
+ * }
+ * }
*/
@Generated("by gapic-generator-java")
package com.google.cloud.aiplatform.v1beta1;
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStub.java
index 45de98a21..3760bc11d 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java
index 26f986eb2..5c1efb877 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStub.java
index 77a61562b..5ef512103 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java
index b48013d5c..af54e838b 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcDatasetServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcDatasetServiceCallableFactory.java
index 131004953..9124c6939 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcDatasetServiceCallableFactory.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcDatasetServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcDatasetServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcDatasetServiceStub.java
index a7b221de8..d4e857391 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcDatasetServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcDatasetServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcEndpointServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcEndpointServiceCallableFactory.java
index 1433e3b21..24ec335a0 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcEndpointServiceCallableFactory.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcEndpointServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcEndpointServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcEndpointServiceStub.java
index b72344e8d..a3b19e874 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcEndpointServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcEndpointServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceCallableFactory.java
index 6d7e9dbde..6ffaa7d11 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceCallableFactory.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceStub.java
index def0c8d7f..dd9da51db 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMigrationServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMigrationServiceCallableFactory.java
index 035e9aa32..18c08664d 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMigrationServiceCallableFactory.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMigrationServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMigrationServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMigrationServiceStub.java
index 445fe48ab..1fca9f3c6 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMigrationServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMigrationServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceCallableFactory.java
index 688783f6f..907e0f5f7 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceCallableFactory.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java
index 194d17378..1bf378ee2 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPipelineServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPipelineServiceCallableFactory.java
index a46d4d76b..65c42af4c 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPipelineServiceCallableFactory.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPipelineServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPipelineServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPipelineServiceStub.java
index 0038ba7b0..a389043c5 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPipelineServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPipelineServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPredictionServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPredictionServiceCallableFactory.java
index 11d610333..501e6eefe 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPredictionServiceCallableFactory.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPredictionServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPredictionServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPredictionServiceStub.java
index cdfb2302b..f66092e1a 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPredictionServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPredictionServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcSpecialistPoolServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcSpecialistPoolServiceCallableFactory.java
index c639234c2..b845f34ac 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcSpecialistPoolServiceCallableFactory.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcSpecialistPoolServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcSpecialistPoolServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcSpecialistPoolServiceStub.java
index dc69b6170..5dcd918f5 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcSpecialistPoolServiceStub.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcSpecialistPoolServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcVizierServiceCallableFactory.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcVizierServiceCallableFactory.java
new file mode 100644
index 000000000..d6b12eb5f
--- /dev/null
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcVizierServiceCallableFactory.java
@@ -0,0 +1,115 @@
+/*
+ * Copyright 2021 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.aiplatform.v1beta1.stub;
+
+import com.google.api.core.BetaApi;
+import com.google.api.gax.grpc.GrpcCallSettings;
+import com.google.api.gax.grpc.GrpcCallableFactory;
+import com.google.api.gax.grpc.GrpcStubCallableFactory;
+import com.google.api.gax.rpc.BatchingCallSettings;
+import com.google.api.gax.rpc.BidiStreamingCallable;
+import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.ClientStreamingCallable;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
+import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.ServerStreamingCallSettings;
+import com.google.api.gax.rpc.ServerStreamingCallable;
+import com.google.api.gax.rpc.StreamingCallSettings;
+import com.google.api.gax.rpc.UnaryCallSettings;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.longrunning.Operation;
+import com.google.longrunning.stub.OperationsStub;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * gRPC callable factory implementation for the VizierService service API.
+ *
+ *