Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions cpp/license.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions cpp/license.pb.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions go/license/license.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions go/license/license_protoopaque.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions proto/license.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ enum CertType {
CERT_TYPE_PARTNER = 3;
CERT_TYPE_CUSTOMER = 4;
CERT_TYPE_TEMPORARY = 5;
CERT_TYPE_COMMUNITY = 6;
}

// The result of a certificate verfication operation.
Expand Down
3 changes: 3 additions & 0 deletions rust/license.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ pub enum CertType {
Partner = 3,
Customer = 4,
Temporary = 5,
Community = 6,
}
impl CertType {
/// String value of the enum field names used in the ProtoBuf definition.
Expand All @@ -140,6 +141,7 @@ impl CertType {
Self::Partner => "CERT_TYPE_PARTNER",
Self::Customer => "CERT_TYPE_CUSTOMER",
Self::Temporary => "CERT_TYPE_TEMPORARY",
Self::Community => "CERT_TYPE_COMMUNITY",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
Expand All @@ -151,6 +153,7 @@ impl CertType {
"CERT_TYPE_PARTNER" => Some(Self::Partner),
"CERT_TYPE_CUSTOMER" => Some(Self::Customer),
"CERT_TYPE_TEMPORARY" => Some(Self::Temporary),
"CERT_TYPE_COMMUNITY" => Some(Self::Community),
_ => None,
}
}
Expand Down
Loading