summaryrefslogtreecommitdiff
path: root/src/main/proto/proximity_payloads.proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/proto/proximity_payloads.proto')
-rw-r--r--src/main/proto/proximity_payloads.proto43
1 files changed, 21 insertions, 22 deletions
diff --git a/src/main/proto/proximity_payloads.proto b/src/main/proto/proximity_payloads.proto
index d7a4956..9c2f1ec 100644
--- a/src/main/proto/proximity_payloads.proto
+++ b/src/main/proto/proximity_payloads.proto
@@ -1,34 +1,33 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// https://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
+/* Copyright 2018 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
syntax = "proto2";
-package securegcm;
-
import "securegcm.proto";
-option optimize_for = LITE_RUNTIME;
+package securegcm;
+
option java_package = "com.google.security.cryptauth.lib.securegcm";
option java_outer_classname = "SecureGcmProximityAuthProto";
option objc_class_prefix = "SGCM";
-// Message used when one device wants to initiate a Proximity Auth pairing with
-// another device DEPRECATED. DO NOT USE
+// Message used when one device wants to initiate a Proximity Auth pairing with another device
+// DEPRECATED. DO NOT USE
message CloudToDeviceProximityAuthPairing {
- // The name or description of the device that wants to pair with another
- // personal device of the user. This is a string that may be shown to the
- // user or may be kept in logs.
+// The name or description of the device that wants to pair with another
+// personal device of the user. This is a string that may be shown to the
+// user or may be kept in logs.
optional string initiating_device_name = 1;
// The original device's Bluetooth address in human readable form