Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 683538899
  • Loading branch information
hai007 authored and copybara-github committed Oct 10, 2024
1 parent 45e297c commit 30d8ba6
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions internal/proto/credential.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

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";
Expand All @@ -30,14 +29,21 @@ enum IdentityType {
IDENTITY_TYPE_CONTACTS_GROUP = 2;
IDENTITY_TYPE_PUBLIC = 3;
}
// LINT.ThenChange(//depot/google3/google/internal/location/nearby/presence/v1/nearby_resources.proto:IdentityType)

// LINT.ThenChange(
// //depot/google3/google/internal/location/nearby/presence/v1/nearby_resources.proto:IdentityType
// )

// LINT.IfChange(CredentialType)
enum CredentialType {
CREDENTIAL_TYPE_UNKNOWN = 0;
CREDENTIAL_TYPE_DEVICE = 1;
CREDENTIAL_TYPE_GAIA = 2;
}
// LINT.ThenChange(//depot/google3/google/internal/location/nearby/presence/v1/nearby_resources.proto:CredentialType)

// LINT.ThenChange(
// //depot/google3/google/internal/location/nearby/presence/v1/nearby_resources.proto:CredentialType
// )

// The shared credential is derived from local credential, and distributed to
// remote devices based on the trust token for identity decryption and
Expand Down Expand Up @@ -117,4 +123,7 @@ message SharedCredential {
// Credential version used to infer the expected credential material.
int64 credential_version = 19;
}
// LINT.ThenChange(//depot/google3/google/internal/location/nearby/presence/v1/nearby_resources.proto:SharedCredential)

// LINT.ThenChange(
// //depot/google3/google/internal/location/nearby/presence/v1/nearby_resources.proto:SharedCredential
// )

0 comments on commit 30d8ba6

Please sign in to comment.