# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/devtools/cloudtrace/v1/trace.proto require 'google/protobuf' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/timestamp_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/devtools/cloudtrace/v1/trace.proto", :syntax => :proto3) do add_message "google.devtools.cloudtrace.v1.Trace" do optional :project_id, :string, 1 optional :trace_id, :string, 2 repeated :spans, :message, 3, "google.devtools.cloudtrace.v1.TraceSpan" end add_message "google.devtools.cloudtrace.v1.Traces" do repeated :traces, :message, 1, "google.devtools.cloudtrace.v1.Trace" end add_message "google.devtools.cloudtrace.v1.TraceSpan" do optional :span_id, :fixed64, 1 optional :kind, :enum, 2, "google.devtools.cloudtrace.v1.TraceSpan.SpanKind" optional :name, :string, 3 optional :start_time, :message, 4, "google.protobuf.Timestamp" optional :end_time, :message, 5, "google.protobuf.Timestamp" optional :parent_span_id, :fixed64, 6 map :labels, :string, :string, 7 end add_enum "google.devtools.cloudtrace.v1.TraceSpan.SpanKind" do value :SPAN_KIND_UNSPECIFIED, 0 value :RPC_SERVER, 1 value :RPC_CLIENT, 2 end add_message "google.devtools.cloudtrace.v1.ListTracesRequest" do optional :project_id, :string, 1 optional :view, :enum, 2, "google.devtools.cloudtrace.v1.ListTracesRequest.ViewType" optional :page_size, :int32, 3 optional :page_token, :string, 4 optional :start_time, :message, 5, "google.protobuf.Timestamp" optional :end_time, :message, 6, "google.protobuf.Timestamp" optional :filter, :string, 7 optional :order_by, :string, 8 end add_enum "google.devtools.cloudtrace.v1.ListTracesRequest.ViewType" do value :VIEW_TYPE_UNSPECIFIED, 0 value :MINIMAL, 1 value :ROOTSPAN, 2 value :COMPLETE, 3 end add_message "google.devtools.cloudtrace.v1.ListTracesResponse" do repeated :traces, :message, 1, "google.devtools.cloudtrace.v1.Trace" optional :next_page_token, :string, 2 end add_message "google.devtools.cloudtrace.v1.GetTraceRequest" do optional :project_id, :string, 1 optional :trace_id, :string, 2 end add_message "google.devtools.cloudtrace.v1.PatchTracesRequest" do optional :project_id, :string, 1 optional :traces, :message, 2, "google.devtools.cloudtrace.v1.Traces" end end end module Google module Cloud module Trace module V1 Trace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.Trace").msgclass Traces = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.Traces").msgclass TraceSpan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.TraceSpan").msgclass TraceSpan::SpanKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.TraceSpan.SpanKind").enummodule ListTracesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.ListTracesRequest").msgclass ListTracesRequest::ViewType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.ListTracesRequest.ViewType").enummodule ListTracesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.ListTracesResponse").msgclass GetTraceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.GetTraceRequest").msgclass PatchTracesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.PatchTracesRequest").msgclass end end end end