# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/networkmanagement/v1/connectivity_test.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/networkmanagement/v1/trace_pb' require 'google/protobuf/timestamp_pb' require 'google/rpc/status_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/networkmanagement/v1/connectivity_test.proto", :syntax => :proto3) do add_message "google.cloud.networkmanagement.v1.ConnectivityTest" do optional :name, :string, 1 optional :description, :string, 2 optional :source, :message, 3, "google.cloud.networkmanagement.v1.Endpoint" optional :destination, :message, 4, "google.cloud.networkmanagement.v1.Endpoint" optional :protocol, :string, 5 repeated :related_projects, :string, 6 optional :display_name, :string, 7 map :labels, :string, :string, 8 optional :create_time, :message, 10, "google.protobuf.Timestamp" optional :update_time, :message, 11, "google.protobuf.Timestamp" optional :reachability_details, :message, 12, "google.cloud.networkmanagement.v1.ReachabilityDetails" end add_message "google.cloud.networkmanagement.v1.Endpoint" do optional :ip_address, :string, 1 optional :port, :int32, 2 optional :instance, :string, 3 optional :gke_master_cluster, :string, 7 optional :cloud_sql_instance, :string, 8 optional :network, :string, 4 optional :network_type, :enum, 5, "google.cloud.networkmanagement.v1.Endpoint.NetworkType" optional :project_id, :string, 6 end add_enum "google.cloud.networkmanagement.v1.Endpoint.NetworkType" do value :NETWORK_TYPE_UNSPECIFIED, 0 value :GCP_NETWORK, 1 value :NON_GCP_NETWORK, 2 end add_message "google.cloud.networkmanagement.v1.ReachabilityDetails" do optional :result, :enum, 1, "google.cloud.networkmanagement.v1.ReachabilityDetails.Result" optional :verify_time, :message, 2, "google.protobuf.Timestamp" optional :error, :message, 3, "google.rpc.Status" repeated :traces, :message, 5, "google.cloud.networkmanagement.v1.Trace" end add_enum "google.cloud.networkmanagement.v1.ReachabilityDetails.Result" do value :RESULT_UNSPECIFIED, 0 value :REACHABLE, 1 value :UNREACHABLE, 2 value :AMBIGUOUS, 4 value :UNDETERMINED, 5 end end end module Google module Cloud module NetworkManagement module V1 ConnectivityTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.ConnectivityTest").msgclass Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.Endpoint").msgclass Endpoint::NetworkType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.Endpoint.NetworkType").enummodule ReachabilityDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.ReachabilityDetails").msgclass ReachabilityDetails::Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.ReachabilityDetails.Result").enummodule end end end end