mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Add java options to proto files
PiperOrigin-RevId: 507900410
This commit is contained in:
committed by
Copybara-Service
parent
21e12fe8aa
commit
aa95be4ff4
@@ -18,7 +18,9 @@ package nearby.internal;
|
||||
|
||||
// option cc_api_version = 2;
|
||||
// option java_api_version = 2;
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.nearby.presence";
|
||||
option java_outer_classname = "CredentialProto";
|
||||
|
||||
enum IdentityType {
|
||||
IDENTITY_TYPE_UNSPECIFIED = 0;
|
||||
|
||||
@@ -20,7 +20,9 @@ import "internal/proto/credential.proto";
|
||||
|
||||
// option cc_api_version = 2;
|
||||
// option java_api_version = 2;
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.nearby.presence";
|
||||
option java_outer_classname = "LocalCredentialProto";
|
||||
|
||||
// The local credential contains information of a local device for
|
||||
// identity encryption and authentication. It should never leave the generating
|
||||
|
||||
@@ -16,6 +16,11 @@ syntax = "proto3";
|
||||
|
||||
package nearby.internal;
|
||||
|
||||
// option java_api_version = 2;
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.nearby.presence";
|
||||
option java_outer_classname = "MetadataProto";
|
||||
|
||||
// The metadata of a device.
|
||||
// Contains confidential data not to be broadcasted directly in OTA.
|
||||
message Metadata {
|
||||
|
||||
Reference in New Issue
Block a user