# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/webrisk/v1beta1/webrisk.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/webrisk/v1beta1/webrisk.proto", :syntax => :proto3) do add_message "google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest" do optional :threat_type, :enum, 1, "google.cloud.webrisk.v1beta1.ThreatType" optional :version_token, :bytes, 2 optional :constraints, :message, 3, "google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints" end add_message "google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints" do optional :max_diff_entries, :int32, 1 optional :max_database_entries, :int32, 2 repeated :supported_compressions, :enum, 3, "google.cloud.webrisk.v1beta1.CompressionType" end add_message "google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse" do optional :response_type, :enum, 4, "google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType" optional :additions, :message, 5, "google.cloud.webrisk.v1beta1.ThreatEntryAdditions" optional :removals, :message, 6, "google.cloud.webrisk.v1beta1.ThreatEntryRemovals" optional :new_version_token, :bytes, 7 optional :checksum, :message, 8, "google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum" optional :recommended_next_diff, :message, 2, "google.protobuf.Timestamp" end add_message "google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum" do optional :sha256, :bytes, 1 end add_enum "google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType" do value :RESPONSE_TYPE_UNSPECIFIED, 0 value :DIFF, 1 value :RESET, 2 end add_message "google.cloud.webrisk.v1beta1.SearchUrisRequest" do optional :uri, :string, 1 repeated :threat_types, :enum, 2, "google.cloud.webrisk.v1beta1.ThreatType" end add_message "google.cloud.webrisk.v1beta1.SearchUrisResponse" do optional :threat, :message, 1, "google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri" end add_message "google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri" do repeated :threat_types, :enum, 1, "google.cloud.webrisk.v1beta1.ThreatType" optional :expire_time, :message, 2, "google.protobuf.Timestamp" end add_message "google.cloud.webrisk.v1beta1.SearchHashesRequest" do optional :hash_prefix, :bytes, 1 repeated :threat_types, :enum, 2, "google.cloud.webrisk.v1beta1.ThreatType" end add_message "google.cloud.webrisk.v1beta1.SearchHashesResponse" do repeated :threats, :message, 1, "google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash" optional :negative_expire_time, :message, 2, "google.protobuf.Timestamp" end add_message "google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash" do repeated :threat_types, :enum, 1, "google.cloud.webrisk.v1beta1.ThreatType" optional :hash, :bytes, 2 optional :expire_time, :message, 3, "google.protobuf.Timestamp" end add_message "google.cloud.webrisk.v1beta1.ThreatEntryAdditions" do repeated :raw_hashes, :message, 1, "google.cloud.webrisk.v1beta1.RawHashes" optional :rice_hashes, :message, 2, "google.cloud.webrisk.v1beta1.RiceDeltaEncoding" end add_message "google.cloud.webrisk.v1beta1.ThreatEntryRemovals" do optional :raw_indices, :message, 1, "google.cloud.webrisk.v1beta1.RawIndices" optional :rice_indices, :message, 2, "google.cloud.webrisk.v1beta1.RiceDeltaEncoding" end add_message "google.cloud.webrisk.v1beta1.RawIndices" do repeated :indices, :int32, 1 end add_message "google.cloud.webrisk.v1beta1.RawHashes" do optional :prefix_size, :int32, 1 optional :raw_hashes, :bytes, 2 end add_message "google.cloud.webrisk.v1beta1.RiceDeltaEncoding" do optional :first_value, :int64, 1 optional :rice_parameter, :int32, 2 optional :entry_count, :int32, 3 optional :encoded_data, :bytes, 4 end add_enum "google.cloud.webrisk.v1beta1.ThreatType" do value :THREAT_TYPE_UNSPECIFIED, 0 value :MALWARE, 1 value :SOCIAL_ENGINEERING, 2 value :UNWANTED_SOFTWARE, 3 end add_enum "google.cloud.webrisk.v1beta1.CompressionType" do value :COMPRESSION_TYPE_UNSPECIFIED, 0 value :RAW, 1 value :RICE, 2 end end end module Google module Cloud module WebRisk module V1beta1 ComputeThreatListDiffRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest").msgclass ComputeThreatListDiffRequest::Constraints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints").msgclass ComputeThreatListDiffResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse").msgclass ComputeThreatListDiffResponse::Checksum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum").msgclass ComputeThreatListDiffResponse::ResponseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType").enummodule SearchUrisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchUrisRequest").msgclass SearchUrisResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchUrisResponse").msgclass SearchUrisResponse::ThreatUri = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri").msgclass SearchHashesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchHashesRequest").msgclass SearchHashesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchHashesResponse").msgclass SearchHashesResponse::ThreatHash = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash").msgclass ThreatEntryAdditions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ThreatEntryAdditions").msgclass ThreatEntryRemovals = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ThreatEntryRemovals").msgclass RawIndices = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.RawIndices").msgclass RawHashes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.RawHashes").msgclass RiceDeltaEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.RiceDeltaEncoding").msgclass ThreatType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.ThreatType").enummodule CompressionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.webrisk.v1beta1.CompressionType").enummodule end end end end