
com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder Maven / Gradle / Ivy
/*
* 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/bigquery/migration/v2/migration_entities.proto
package com.google.cloud.bigquery.migration.v2;
public interface MigrationWorkflowOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2.MigrationWorkflow)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. Immutable. The unique identifier for the migration workflow.
* The ID is server-generated.
* Example: `projects/123/locations/us/workflows/345`
*
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. Immutable. The unique identifier for the migration workflow.
* The ID is server-generated.
* Example: `projects/123/locations/us/workflows/345`
*
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* The display name of the workflow. This can be set to give a workflow
* a descriptive name. There is no guarantee or enforcement of uniqueness.
*
*
* string display_name = 6;
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* The display name of the workflow. This can be set to give a workflow
* a descriptive name. There is no guarantee or enforcement of uniqueness.
*
*
* string display_name = 6;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* The tasks in a workflow in a named map. The name (i.e. key) has no
* meaning and is merely a convenient way to address a specific task
* in a workflow.
*
*
* map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
*/
int getTasksCount();
/**
*
*
*
* The tasks in a workflow in a named map. The name (i.e. key) has no
* meaning and is merely a convenient way to address a specific task
* in a workflow.
*
*
* map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
*/
boolean containsTasks(java.lang.String key);
/** Use {@link #getTasksMap()} instead. */
@java.lang.Deprecated
java.util.Map getTasks();
/**
*
*
*
* The tasks in a workflow in a named map. The name (i.e. key) has no
* meaning and is merely a convenient way to address a specific task
* in a workflow.
*
*
* map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
*/
java.util.Map
getTasksMap();
/**
*
*
*
* The tasks in a workflow in a named map. The name (i.e. key) has no
* meaning and is merely a convenient way to address a specific task
* in a workflow.
*
*
* map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
*/
/* nullable */
com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrDefault(
java.lang.String key,
/* nullable */
com.google.cloud.bigquery.migration.v2.MigrationTask defaultValue);
/**
*
*
*
* The tasks in a workflow in a named map. The name (i.e. key) has no
* meaning and is merely a convenient way to address a specific task
* in a workflow.
*
*
* map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;
*/
com.google.cloud.bigquery.migration.v2.MigrationTask getTasksOrThrow(java.lang.String key);
/**
*
*
*
* Output only. That status of the workflow.
*
*
*
* .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. That status of the workflow.
*
*
*
* .google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloud.bigquery.migration.v2.MigrationWorkflow.State getState();
/**
*
*
*
* Time when the workflow was created.
*
*
* .google.protobuf.Timestamp create_time = 4;
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Time when the workflow was created.
*
*
* .google.protobuf.Timestamp create_time = 4;
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Time when the workflow was created.
*
*
* .google.protobuf.Timestamp create_time = 4;
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Time when the workflow was last updated.
*
*
* .google.protobuf.Timestamp last_update_time = 5;
*
* @return Whether the lastUpdateTime field is set.
*/
boolean hasLastUpdateTime();
/**
*
*
*
* Time when the workflow was last updated.
*
*
* .google.protobuf.Timestamp last_update_time = 5;
*
* @return The lastUpdateTime.
*/
com.google.protobuf.Timestamp getLastUpdateTime();
/**
*
*
*
* Time when the workflow was last updated.
*
*
* .google.protobuf.Timestamp last_update_time = 5;
*/
com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy