# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/dataflow/v1beta3/snapshots.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' require 'google/api/client_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/dataflow/v1beta3/snapshots.proto", :syntax => :proto3) do add_message "google.dataflow.v1beta3.PubsubSnapshotMetadata" do optional :topic_name, :string, 1 optional :snapshot_name, :string, 2 optional :expire_time, :message, 3, "google.protobuf.Timestamp" end add_message "google.dataflow.v1beta3.Snapshot" do optional :id, :string, 1 optional :project_id, :string, 2 optional :source_job_id, :string, 3 optional :creation_time, :message, 4, "google.protobuf.Timestamp" optional :ttl, :message, 5, "google.protobuf.Duration" optional :state, :enum, 6, "google.dataflow.v1beta3.SnapshotState" repeated :pubsub_metadata, :message, 7, "google.dataflow.v1beta3.PubsubSnapshotMetadata" optional :description, :string, 8 optional :disk_size_bytes, :int64, 9 optional :region, :string, 10 end add_message "google.dataflow.v1beta3.GetSnapshotRequest" do optional :project_id, :string, 1 optional :snapshot_id, :string, 2 optional :location, :string, 3 end add_message "google.dataflow.v1beta3.DeleteSnapshotRequest" do optional :project_id, :string, 1 optional :snapshot_id, :string, 2 optional :location, :string, 3 end add_message "google.dataflow.v1beta3.DeleteSnapshotResponse" do end add_message "google.dataflow.v1beta3.ListSnapshotsRequest" do optional :project_id, :string, 1 optional :job_id, :string, 3 optional :location, :string, 2 end add_message "google.dataflow.v1beta3.ListSnapshotsResponse" do repeated :snapshots, :message, 1, "google.dataflow.v1beta3.Snapshot" end add_enum "google.dataflow.v1beta3.SnapshotState" do value :UNKNOWN_SNAPSHOT_STATE, 0 value :PENDING, 1 value :RUNNING, 2 value :READY, 3 value :FAILED, 4 value :DELETED, 5 end end end module Google module Cloud module Dataflow module V1beta3 PubsubSnapshotMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.PubsubSnapshotMetadata").msgclass Snapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.Snapshot").msgclass GetSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.GetSnapshotRequest").msgclass DeleteSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.DeleteSnapshotRequest").msgclass DeleteSnapshotResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.DeleteSnapshotResponse").msgclass ListSnapshotsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.ListSnapshotsRequest").msgclass ListSnapshotsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.ListSnapshotsResponse").msgclass SnapshotState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.SnapshotState").enummodule end end end end