Current section
Files
Jump to
Current section
Files
lib/google/cloud/bigquery/migration/v2alpha/migration_entities.pb.ex
defmodule Google.Cloud.Bigquery.Migration.V2alpha.MigrationWorkflow.State do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:STATE_UNSPECIFIED, 0)
field(:DRAFT, 1)
field(:RUNNING, 2)
field(:PAUSED, 3)
field(:COMPLETED, 4)
end
defmodule Google.Cloud.Bigquery.Migration.V2alpha.MigrationTask.State do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:STATE_UNSPECIFIED, 0)
field(:PENDING, 1)
field(:ORCHESTRATING, 2)
field(:RUNNING, 3)
field(:PAUSED, 4)
field(:SUCCEEDED, 5)
field(:FAILED, 6)
end
defmodule Google.Cloud.Bigquery.Migration.V2alpha.MigrationSubtask.State do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:STATE_UNSPECIFIED, 0)
field(:ACTIVE, 1)
field(:RUNNING, 2)
field(:SUCCEEDED, 3)
field(:FAILED, 4)
field(:PAUSED, 5)
end
defmodule Google.Cloud.Bigquery.Migration.V2alpha.MigrationWorkflow.TasksEntry do
@moduledoc false
use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:key, 1, type: :string)
field(:value, 2, type: Google.Cloud.Bigquery.Migration.V2alpha.MigrationTask)
end
defmodule Google.Cloud.Bigquery.Migration.V2alpha.MigrationWorkflow do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:name, 1, type: :string, deprecated: false)
field(:display_name, 6, type: :string, json_name: "displayName")
field(:tasks, 2,
repeated: true,
type: Google.Cloud.Bigquery.Migration.V2alpha.MigrationWorkflow.TasksEntry,
map: true
)
field(:state, 3,
type: Google.Cloud.Bigquery.Migration.V2alpha.MigrationWorkflow.State,
enum: true,
deprecated: false
)
field(:create_time, 4, type: Google.Protobuf.Timestamp, json_name: "createTime")
field(:last_update_time, 5, type: Google.Protobuf.Timestamp, json_name: "lastUpdateTime")
end
defmodule Google.Cloud.Bigquery.Migration.V2alpha.MigrationTask do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
oneof(:task_details, 0)
field(:assessment_task_details, 12,
type: Google.Cloud.Bigquery.Migration.V2alpha.AssessmentTaskDetails,
json_name: "assessmentTaskDetails",
oneof: 0
)
field(:translation_task_details, 13,
type: Google.Cloud.Bigquery.Migration.V2alpha.TranslationTaskDetails,
json_name: "translationTaskDetails",
oneof: 0
)
field(:id, 1, type: :string, deprecated: false)
field(:type, 2, type: :string)
field(:details, 3, type: Google.Protobuf.Any)
field(:state, 4,
type: Google.Cloud.Bigquery.Migration.V2alpha.MigrationTask.State,
enum: true,
deprecated: false
)
field(:processing_error, 5,
type: Google.Rpc.ErrorInfo,
json_name: "processingError",
deprecated: false
)
field(:create_time, 6, type: Google.Protobuf.Timestamp, json_name: "createTime")
field(:last_update_time, 7, type: Google.Protobuf.Timestamp, json_name: "lastUpdateTime")
field(:orchestration_result, 10,
type: Google.Cloud.Bigquery.Migration.V2alpha.MigrationTaskOrchestrationResult,
json_name: "orchestrationResult",
deprecated: false
)
end
defmodule Google.Cloud.Bigquery.Migration.V2alpha.MigrationSubtask do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:name, 1, type: :string, deprecated: false)
field(:task_id, 2, type: :string, json_name: "taskId")
field(:type, 3, type: :string)
field(:state, 5,
type: Google.Cloud.Bigquery.Migration.V2alpha.MigrationSubtask.State,
enum: true,
deprecated: false
)
field(:processing_error, 6,
type: Google.Rpc.ErrorInfo,
json_name: "processingError",
deprecated: false
)
field(:resource_error_details, 12,
repeated: true,
type: Google.Cloud.Bigquery.Migration.V2alpha.ResourceErrorDetail,
json_name: "resourceErrorDetails",
deprecated: false
)
field(:resource_error_count, 13, type: :int32, json_name: "resourceErrorCount")
field(:create_time, 7, type: Google.Protobuf.Timestamp, json_name: "createTime")
field(:last_update_time, 8, type: Google.Protobuf.Timestamp, json_name: "lastUpdateTime")
field(:metrics, 11, repeated: true, type: Google.Cloud.Bigquery.Migration.V2alpha.TimeSeries)
end
defmodule Google.Cloud.Bigquery.Migration.V2alpha.MigrationTaskOrchestrationResult do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
oneof(:details, 0)
field(:assessment_details, 1,
type: Google.Cloud.Bigquery.Migration.V2alpha.AssessmentOrchestrationResultDetails,
json_name: "assessmentDetails",
oneof: 0
)
end