diff --git a/clirr-ignored-differences.xml b/clirr-ignored-differences.xml deleted file mode 100644 index a4162b74..00000000 --- a/clirr-ignored-differences.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - 7012 - io/grafeas/v1/DiscoveryOccurrenceOrBuilder - * get*(*) - - - 7012 - io/grafeas/v1/DiscoveryOccurrenceOrBuilder - * has*(*) - - - 7006 - io/grafeas/v1/VulnerabilityOccurrence* - * *Cvssv3*() - * - - - 7005 - io/grafeas/v1/VulnerabilityOccurrence* - * *Cvssv3*(*) - * *Cvssv3*(*) - - - 8001 - io/grafeas/v1/VulnerabilityOccurrence* - - - diff --git a/src/main/java/io/grafeas/v1/AliasContext.java b/src/main/java/io/grafeas/v1/AliasContext.java index 23341138..3183d366 100644 --- a/src/main/java/io/grafeas/v1/AliasContext.java +++ b/src/main/java/io/grafeas/v1/AliasContext.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/AliasContextOrBuilder.java b/src/main/java/io/grafeas/v1/AliasContextOrBuilder.java index 72ab84c4..04afd4bc 100644 --- a/src/main/java/io/grafeas/v1/AliasContextOrBuilder.java +++ b/src/main/java/io/grafeas/v1/AliasContextOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface AliasContextOrBuilder diff --git a/src/main/java/io/grafeas/v1/Architecture.java b/src/main/java/io/grafeas/v1/Architecture.java index 5f8501d3..2e254236 100644 --- a/src/main/java/io/grafeas/v1/Architecture.java +++ b/src/main/java/io/grafeas/v1/Architecture.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/Artifact.java b/src/main/java/io/grafeas/v1/Artifact.java index 84ab79d8..f7a29a33 100644 --- a/src/main/java/io/grafeas/v1/Artifact.java +++ b/src/main/java/io/grafeas/v1/Artifact.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ArtifactOrBuilder.java b/src/main/java/io/grafeas/v1/ArtifactOrBuilder.java index 97a66f97..d8e9a8ff 100644 --- a/src/main/java/io/grafeas/v1/ArtifactOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ArtifactOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ArtifactOrBuilder diff --git a/src/main/java/io/grafeas/v1/Attestation.java b/src/main/java/io/grafeas/v1/Attestation.java index 4a18155b..86329e52 100644 --- a/src/main/java/io/grafeas/v1/Attestation.java +++ b/src/main/java/io/grafeas/v1/Attestation.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Attestation { diff --git a/src/main/java/io/grafeas/v1/AttestationNote.java b/src/main/java/io/grafeas/v1/AttestationNote.java index b0890707..5abc853c 100644 --- a/src/main/java/io/grafeas/v1/AttestationNote.java +++ b/src/main/java/io/grafeas/v1/AttestationNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/AttestationNoteOrBuilder.java b/src/main/java/io/grafeas/v1/AttestationNoteOrBuilder.java index 3252ad3d..6a5f6078 100644 --- a/src/main/java/io/grafeas/v1/AttestationNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/AttestationNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface AttestationNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/AttestationOccurrence.java b/src/main/java/io/grafeas/v1/AttestationOccurrence.java index d9483324..dc6f44a5 100644 --- a/src/main/java/io/grafeas/v1/AttestationOccurrence.java +++ b/src/main/java/io/grafeas/v1/AttestationOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/AttestationOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/AttestationOccurrenceOrBuilder.java index ee264333..3818daeb 100644 --- a/src/main/java/io/grafeas/v1/AttestationOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/AttestationOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface AttestationOccurrenceOrBuilder diff --git a/src/main/java/io/grafeas/v1/BatchCreateNotesRequest.java b/src/main/java/io/grafeas/v1/BatchCreateNotesRequest.java index 8b1423c9..b2df5fbf 100644 --- a/src/main/java/io/grafeas/v1/BatchCreateNotesRequest.java +++ b/src/main/java/io/grafeas/v1/BatchCreateNotesRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/BatchCreateNotesRequestOrBuilder.java b/src/main/java/io/grafeas/v1/BatchCreateNotesRequestOrBuilder.java index f5de454a..6a859109 100644 --- a/src/main/java/io/grafeas/v1/BatchCreateNotesRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/BatchCreateNotesRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface BatchCreateNotesRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/BatchCreateNotesResponse.java b/src/main/java/io/grafeas/v1/BatchCreateNotesResponse.java index 2fa715ca..f9f726ad 100644 --- a/src/main/java/io/grafeas/v1/BatchCreateNotesResponse.java +++ b/src/main/java/io/grafeas/v1/BatchCreateNotesResponse.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/BatchCreateNotesResponseOrBuilder.java b/src/main/java/io/grafeas/v1/BatchCreateNotesResponseOrBuilder.java index 8a727f0b..14302a5d 100644 --- a/src/main/java/io/grafeas/v1/BatchCreateNotesResponseOrBuilder.java +++ b/src/main/java/io/grafeas/v1/BatchCreateNotesResponseOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface BatchCreateNotesResponseOrBuilder diff --git a/src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequest.java b/src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequest.java index 91484dae..78fd759b 100644 --- a/src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequest.java +++ b/src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequestOrBuilder.java b/src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequestOrBuilder.java index bc9d55e2..383e9870 100644 --- a/src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface BatchCreateOccurrencesRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/BatchCreateOccurrencesResponse.java b/src/main/java/io/grafeas/v1/BatchCreateOccurrencesResponse.java index fe9db4e7..f52be36a 100644 --- a/src/main/java/io/grafeas/v1/BatchCreateOccurrencesResponse.java +++ b/src/main/java/io/grafeas/v1/BatchCreateOccurrencesResponse.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/BatchCreateOccurrencesResponseOrBuilder.java b/src/main/java/io/grafeas/v1/BatchCreateOccurrencesResponseOrBuilder.java index 84cb14d7..dfe3a571 100644 --- a/src/main/java/io/grafeas/v1/BatchCreateOccurrencesResponseOrBuilder.java +++ b/src/main/java/io/grafeas/v1/BatchCreateOccurrencesResponseOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface BatchCreateOccurrencesResponseOrBuilder diff --git a/src/main/java/io/grafeas/v1/Build.java b/src/main/java/io/grafeas/v1/Build.java index a0bbd816..44537c07 100644 --- a/src/main/java/io/grafeas/v1/Build.java +++ b/src/main/java/io/grafeas/v1/Build.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/build.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Build { diff --git a/src/main/java/io/grafeas/v1/BuildNote.java b/src/main/java/io/grafeas/v1/BuildNote.java index 47a9118a..b6c0dfb3 100644 --- a/src/main/java/io/grafeas/v1/BuildNote.java +++ b/src/main/java/io/grafeas/v1/BuildNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/build.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/BuildNoteOrBuilder.java b/src/main/java/io/grafeas/v1/BuildNoteOrBuilder.java index 38d101a1..10e5775c 100644 --- a/src/main/java/io/grafeas/v1/BuildNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/BuildNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/build.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface BuildNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/BuildOccurrence.java b/src/main/java/io/grafeas/v1/BuildOccurrence.java index 3d9b7f92..0ed38f75 100644 --- a/src/main/java/io/grafeas/v1/BuildOccurrence.java +++ b/src/main/java/io/grafeas/v1/BuildOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/build.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/BuildOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/BuildOccurrenceOrBuilder.java index 07b95daa..bb644f3e 100644 --- a/src/main/java/io/grafeas/v1/BuildOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/BuildOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/build.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface BuildOccurrenceOrBuilder diff --git a/src/main/java/io/grafeas/v1/BuildProvenance.java b/src/main/java/io/grafeas/v1/BuildProvenance.java index 68836e35..665a5276 100644 --- a/src/main/java/io/grafeas/v1/BuildProvenance.java +++ b/src/main/java/io/grafeas/v1/BuildProvenance.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/BuildProvenanceOrBuilder.java b/src/main/java/io/grafeas/v1/BuildProvenanceOrBuilder.java index 9cf39608..f8b910cf 100644 --- a/src/main/java/io/grafeas/v1/BuildProvenanceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/BuildProvenanceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface BuildProvenanceOrBuilder diff --git a/src/main/java/io/grafeas/v1/BuilderConfig.java b/src/main/java/io/grafeas/v1/BuilderConfig.java index 116e83ac..55d0ef3c 100644 --- a/src/main/java/io/grafeas/v1/BuilderConfig.java +++ b/src/main/java/io/grafeas/v1/BuilderConfig.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** Protobuf type {@code grafeas.v1.BuilderConfig} */ diff --git a/src/main/java/io/grafeas/v1/BuilderConfigOrBuilder.java b/src/main/java/io/grafeas/v1/BuilderConfigOrBuilder.java index d7081ff9..fefd5079 100644 --- a/src/main/java/io/grafeas/v1/BuilderConfigOrBuilder.java +++ b/src/main/java/io/grafeas/v1/BuilderConfigOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface BuilderConfigOrBuilder diff --git a/src/main/java/io/grafeas/v1/CVSS.java b/src/main/java/io/grafeas/v1/CVSS.java deleted file mode 100644 index ba3f7cec..00000000 --- a/src/main/java/io/grafeas/v1/CVSS.java +++ /dev/null @@ -1,2467 +0,0 @@ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: grafeas/v1/cvss.proto - -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - -package io.grafeas.v1; - -/** - * - * - *
- * Common Vulnerability Scoring System.
- * For details, see https://www.first.org/cvss/specification-document
- * This is a message we will try to use for storing multiple versions of
- * CVSS. The intention is that as new versions of CVSS scores get added, we
- * will be able to modify this message rather than adding new protos for each
- * new version of the score.
- * 
- * - * Protobuf type {@code grafeas.v1.CVSS} - */ -public final class CVSS extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:grafeas.v1.CVSS) - CVSSOrBuilder { - private static final long serialVersionUID = 0L; - // Use CVSS.newBuilder() to construct. - private CVSS(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CVSS() { - attackVector_ = 0; - attackComplexity_ = 0; - authentication_ = 0; - privilegesRequired_ = 0; - userInteraction_ = 0; - scope_ = 0; - confidentialityImpact_ = 0; - integrityImpact_ = 0; - availabilityImpact_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CVSS(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CVSS( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 13: - { - baseScore_ = input.readFloat(); - break; - } - case 21: - { - exploitabilityScore_ = input.readFloat(); - break; - } - case 29: - { - impactScore_ = input.readFloat(); - break; - } - case 32: - { - int rawValue = input.readEnum(); - - attackVector_ = rawValue; - break; - } - case 40: - { - int rawValue = input.readEnum(); - - attackComplexity_ = rawValue; - break; - } - case 48: - { - int rawValue = input.readEnum(); - - authentication_ = rawValue; - break; - } - case 56: - { - int rawValue = input.readEnum(); - - privilegesRequired_ = rawValue; - break; - } - case 64: - { - int rawValue = input.readEnum(); - - userInteraction_ = rawValue; - break; - } - case 72: - { - int rawValue = input.readEnum(); - - scope_ = rawValue; - break; - } - case 80: - { - int rawValue = input.readEnum(); - - confidentialityImpact_ = rawValue; - break; - } - case 88: - { - int rawValue = input.readEnum(); - - integrityImpact_ = rawValue; - break; - } - case 96: - { - int rawValue = input.readEnum(); - - availabilityImpact_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.grafeas.v1.Cvss.internal_static_grafeas_v1_CVSS_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.grafeas.v1.Cvss.internal_static_grafeas_v1_CVSS_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.grafeas.v1.CVSS.class, io.grafeas.v1.CVSS.Builder.class); - } - - /** Protobuf enum {@code grafeas.v1.CVSS.AttackVector} */ - public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum { - /** ATTACK_VECTOR_UNSPECIFIED = 0; */ - ATTACK_VECTOR_UNSPECIFIED(0), - /** ATTACK_VECTOR_NETWORK = 1; */ - ATTACK_VECTOR_NETWORK(1), - /** ATTACK_VECTOR_ADJACENT = 2; */ - ATTACK_VECTOR_ADJACENT(2), - /** ATTACK_VECTOR_LOCAL = 3; */ - ATTACK_VECTOR_LOCAL(3), - /** ATTACK_VECTOR_PHYSICAL = 4; */ - ATTACK_VECTOR_PHYSICAL(4), - UNRECOGNIZED(-1), - ; - - /** ATTACK_VECTOR_UNSPECIFIED = 0; */ - public static final int ATTACK_VECTOR_UNSPECIFIED_VALUE = 0; - /** ATTACK_VECTOR_NETWORK = 1; */ - public static final int ATTACK_VECTOR_NETWORK_VALUE = 1; - /** ATTACK_VECTOR_ADJACENT = 2; */ - public static final int ATTACK_VECTOR_ADJACENT_VALUE = 2; - /** ATTACK_VECTOR_LOCAL = 3; */ - public static final int ATTACK_VECTOR_LOCAL_VALUE = 3; - /** ATTACK_VECTOR_PHYSICAL = 4; */ - public static final int ATTACK_VECTOR_PHYSICAL_VALUE = 4; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static AttackVector valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static AttackVector forNumber(int value) { - switch (value) { - case 0: - return ATTACK_VECTOR_UNSPECIFIED; - case 1: - return ATTACK_VECTOR_NETWORK; - case 2: - return ATTACK_VECTOR_ADJACENT; - case 3: - return ATTACK_VECTOR_LOCAL; - case 4: - return ATTACK_VECTOR_PHYSICAL; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AttackVector findValueByNumber(int number) { - return AttackVector.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.grafeas.v1.CVSS.getDescriptor().getEnumTypes().get(0); - } - - private static final AttackVector[] VALUES = values(); - - public static AttackVector valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private AttackVector(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:grafeas.v1.CVSS.AttackVector) - } - - /** Protobuf enum {@code grafeas.v1.CVSS.AttackComplexity} */ - public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum { - /** ATTACK_COMPLEXITY_UNSPECIFIED = 0; */ - ATTACK_COMPLEXITY_UNSPECIFIED(0), - /** ATTACK_COMPLEXITY_LOW = 1; */ - ATTACK_COMPLEXITY_LOW(1), - /** ATTACK_COMPLEXITY_HIGH = 2; */ - ATTACK_COMPLEXITY_HIGH(2), - UNRECOGNIZED(-1), - ; - - /** ATTACK_COMPLEXITY_UNSPECIFIED = 0; */ - public static final int ATTACK_COMPLEXITY_UNSPECIFIED_VALUE = 0; - /** ATTACK_COMPLEXITY_LOW = 1; */ - public static final int ATTACK_COMPLEXITY_LOW_VALUE = 1; - /** ATTACK_COMPLEXITY_HIGH = 2; */ - public static final int ATTACK_COMPLEXITY_HIGH_VALUE = 2; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static AttackComplexity valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static AttackComplexity forNumber(int value) { - switch (value) { - case 0: - return ATTACK_COMPLEXITY_UNSPECIFIED; - case 1: - return ATTACK_COMPLEXITY_LOW; - case 2: - return ATTACK_COMPLEXITY_HIGH; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AttackComplexity findValueByNumber(int number) { - return AttackComplexity.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.grafeas.v1.CVSS.getDescriptor().getEnumTypes().get(1); - } - - private static final AttackComplexity[] VALUES = values(); - - public static AttackComplexity valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private AttackComplexity(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:grafeas.v1.CVSS.AttackComplexity) - } - - /** Protobuf enum {@code grafeas.v1.CVSS.Authentication} */ - public enum Authentication implements com.google.protobuf.ProtocolMessageEnum { - /** AUTHENTICATION_UNSPECIFIED = 0; */ - AUTHENTICATION_UNSPECIFIED(0), - /** AUTHENTICATION_MULTIPLE = 1; */ - AUTHENTICATION_MULTIPLE(1), - /** AUTHENTICATION_SINGLE = 2; */ - AUTHENTICATION_SINGLE(2), - /** AUTHENTICATION_NONE = 3; */ - AUTHENTICATION_NONE(3), - UNRECOGNIZED(-1), - ; - - /** AUTHENTICATION_UNSPECIFIED = 0; */ - public static final int AUTHENTICATION_UNSPECIFIED_VALUE = 0; - /** AUTHENTICATION_MULTIPLE = 1; */ - public static final int AUTHENTICATION_MULTIPLE_VALUE = 1; - /** AUTHENTICATION_SINGLE = 2; */ - public static final int AUTHENTICATION_SINGLE_VALUE = 2; - /** AUTHENTICATION_NONE = 3; */ - public static final int AUTHENTICATION_NONE_VALUE = 3; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Authentication valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static Authentication forNumber(int value) { - switch (value) { - case 0: - return AUTHENTICATION_UNSPECIFIED; - case 1: - return AUTHENTICATION_MULTIPLE; - case 2: - return AUTHENTICATION_SINGLE; - case 3: - return AUTHENTICATION_NONE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Authentication findValueByNumber(int number) { - return Authentication.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.grafeas.v1.CVSS.getDescriptor().getEnumTypes().get(2); - } - - private static final Authentication[] VALUES = values(); - - public static Authentication valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Authentication(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:grafeas.v1.CVSS.Authentication) - } - - /** Protobuf enum {@code grafeas.v1.CVSS.PrivilegesRequired} */ - public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnum { - /** PRIVILEGES_REQUIRED_UNSPECIFIED = 0; */ - PRIVILEGES_REQUIRED_UNSPECIFIED(0), - /** PRIVILEGES_REQUIRED_NONE = 1; */ - PRIVILEGES_REQUIRED_NONE(1), - /** PRIVILEGES_REQUIRED_LOW = 2; */ - PRIVILEGES_REQUIRED_LOW(2), - /** PRIVILEGES_REQUIRED_HIGH = 3; */ - PRIVILEGES_REQUIRED_HIGH(3), - UNRECOGNIZED(-1), - ; - - /** PRIVILEGES_REQUIRED_UNSPECIFIED = 0; */ - public static final int PRIVILEGES_REQUIRED_UNSPECIFIED_VALUE = 0; - /** PRIVILEGES_REQUIRED_NONE = 1; */ - public static final int PRIVILEGES_REQUIRED_NONE_VALUE = 1; - /** PRIVILEGES_REQUIRED_LOW = 2; */ - public static final int PRIVILEGES_REQUIRED_LOW_VALUE = 2; - /** PRIVILEGES_REQUIRED_HIGH = 3; */ - public static final int PRIVILEGES_REQUIRED_HIGH_VALUE = 3; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static PrivilegesRequired valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static PrivilegesRequired forNumber(int value) { - switch (value) { - case 0: - return PRIVILEGES_REQUIRED_UNSPECIFIED; - case 1: - return PRIVILEGES_REQUIRED_NONE; - case 2: - return PRIVILEGES_REQUIRED_LOW; - case 3: - return PRIVILEGES_REQUIRED_HIGH; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PrivilegesRequired findValueByNumber(int number) { - return PrivilegesRequired.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.grafeas.v1.CVSS.getDescriptor().getEnumTypes().get(3); - } - - private static final PrivilegesRequired[] VALUES = values(); - - public static PrivilegesRequired valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private PrivilegesRequired(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:grafeas.v1.CVSS.PrivilegesRequired) - } - - /** Protobuf enum {@code grafeas.v1.CVSS.UserInteraction} */ - public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { - /** USER_INTERACTION_UNSPECIFIED = 0; */ - USER_INTERACTION_UNSPECIFIED(0), - /** USER_INTERACTION_NONE = 1; */ - USER_INTERACTION_NONE(1), - /** USER_INTERACTION_REQUIRED = 2; */ - USER_INTERACTION_REQUIRED(2), - UNRECOGNIZED(-1), - ; - - /** USER_INTERACTION_UNSPECIFIED = 0; */ - public static final int USER_INTERACTION_UNSPECIFIED_VALUE = 0; - /** USER_INTERACTION_NONE = 1; */ - public static final int USER_INTERACTION_NONE_VALUE = 1; - /** USER_INTERACTION_REQUIRED = 2; */ - public static final int USER_INTERACTION_REQUIRED_VALUE = 2; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static UserInteraction valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static UserInteraction forNumber(int value) { - switch (value) { - case 0: - return USER_INTERACTION_UNSPECIFIED; - case 1: - return USER_INTERACTION_NONE; - case 2: - return USER_INTERACTION_REQUIRED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UserInteraction findValueByNumber(int number) { - return UserInteraction.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.grafeas.v1.CVSS.getDescriptor().getEnumTypes().get(4); - } - - private static final UserInteraction[] VALUES = values(); - - public static UserInteraction valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private UserInteraction(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:grafeas.v1.CVSS.UserInteraction) - } - - /** Protobuf enum {@code grafeas.v1.CVSS.Scope} */ - public enum Scope implements com.google.protobuf.ProtocolMessageEnum { - /** SCOPE_UNSPECIFIED = 0; */ - SCOPE_UNSPECIFIED(0), - /** SCOPE_UNCHANGED = 1; */ - SCOPE_UNCHANGED(1), - /** SCOPE_CHANGED = 2; */ - SCOPE_CHANGED(2), - UNRECOGNIZED(-1), - ; - - /** SCOPE_UNSPECIFIED = 0; */ - public static final int SCOPE_UNSPECIFIED_VALUE = 0; - /** SCOPE_UNCHANGED = 1; */ - public static final int SCOPE_UNCHANGED_VALUE = 1; - /** SCOPE_CHANGED = 2; */ - public static final int SCOPE_CHANGED_VALUE = 2; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Scope valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static Scope forNumber(int value) { - switch (value) { - case 0: - return SCOPE_UNSPECIFIED; - case 1: - return SCOPE_UNCHANGED; - case 2: - return SCOPE_CHANGED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Scope findValueByNumber(int number) { - return Scope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.grafeas.v1.CVSS.getDescriptor().getEnumTypes().get(5); - } - - private static final Scope[] VALUES = values(); - - public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Scope(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:grafeas.v1.CVSS.Scope) - } - - /** Protobuf enum {@code grafeas.v1.CVSS.Impact} */ - public enum Impact implements com.google.protobuf.ProtocolMessageEnum { - /** IMPACT_UNSPECIFIED = 0; */ - IMPACT_UNSPECIFIED(0), - /** IMPACT_HIGH = 1; */ - IMPACT_HIGH(1), - /** IMPACT_LOW = 2; */ - IMPACT_LOW(2), - /** IMPACT_NONE = 3; */ - IMPACT_NONE(3), - UNRECOGNIZED(-1), - ; - - /** IMPACT_UNSPECIFIED = 0; */ - public static final int IMPACT_UNSPECIFIED_VALUE = 0; - /** IMPACT_HIGH = 1; */ - public static final int IMPACT_HIGH_VALUE = 1; - /** IMPACT_LOW = 2; */ - public static final int IMPACT_LOW_VALUE = 2; - /** IMPACT_NONE = 3; */ - public static final int IMPACT_NONE_VALUE = 3; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Impact valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static Impact forNumber(int value) { - switch (value) { - case 0: - return IMPACT_UNSPECIFIED; - case 1: - return IMPACT_HIGH; - case 2: - return IMPACT_LOW; - case 3: - return IMPACT_NONE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Impact findValueByNumber(int number) { - return Impact.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.grafeas.v1.CVSS.getDescriptor().getEnumTypes().get(6); - } - - private static final Impact[] VALUES = values(); - - public static Impact valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Impact(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:grafeas.v1.CVSS.Impact) - } - - public static final int BASE_SCORE_FIELD_NUMBER = 1; - private float baseScore_; - /** - * - * - *
-   * The base score is a function of the base metric scores.
-   * 
- * - * float base_score = 1; - * - * @return The baseScore. - */ - @java.lang.Override - public float getBaseScore() { - return baseScore_; - } - - public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER = 2; - private float exploitabilityScore_; - /** - * float exploitability_score = 2; - * - * @return The exploitabilityScore. - */ - @java.lang.Override - public float getExploitabilityScore() { - return exploitabilityScore_; - } - - public static final int IMPACT_SCORE_FIELD_NUMBER = 3; - private float impactScore_; - /** - * float impact_score = 3; - * - * @return The impactScore. - */ - @java.lang.Override - public float getImpactScore() { - return impactScore_; - } - - public static final int ATTACK_VECTOR_FIELD_NUMBER = 4; - private int attackVector_; - /** - * - * - *
-   * Base Metrics
-   * Represents the intrinsic characteristics of a vulnerability that are
-   * constant over time and across user environments.
-   * 
- * - * .grafeas.v1.CVSS.AttackVector attack_vector = 4; - * - * @return The enum numeric value on the wire for attackVector. - */ - @java.lang.Override - public int getAttackVectorValue() { - return attackVector_; - } - /** - * - * - *
-   * Base Metrics
-   * Represents the intrinsic characteristics of a vulnerability that are
-   * constant over time and across user environments.
-   * 
- * - * .grafeas.v1.CVSS.AttackVector attack_vector = 4; - * - * @return The attackVector. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.AttackVector getAttackVector() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.AttackVector result = io.grafeas.v1.CVSS.AttackVector.valueOf(attackVector_); - return result == null ? io.grafeas.v1.CVSS.AttackVector.UNRECOGNIZED : result; - } - - public static final int ATTACK_COMPLEXITY_FIELD_NUMBER = 5; - private int attackComplexity_; - /** - * .grafeas.v1.CVSS.AttackComplexity attack_complexity = 5; - * - * @return The enum numeric value on the wire for attackComplexity. - */ - @java.lang.Override - public int getAttackComplexityValue() { - return attackComplexity_; - } - /** - * .grafeas.v1.CVSS.AttackComplexity attack_complexity = 5; - * - * @return The attackComplexity. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.AttackComplexity getAttackComplexity() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.AttackComplexity result = - io.grafeas.v1.CVSS.AttackComplexity.valueOf(attackComplexity_); - return result == null ? io.grafeas.v1.CVSS.AttackComplexity.UNRECOGNIZED : result; - } - - public static final int AUTHENTICATION_FIELD_NUMBER = 6; - private int authentication_; - /** - * .grafeas.v1.CVSS.Authentication authentication = 6; - * - * @return The enum numeric value on the wire for authentication. - */ - @java.lang.Override - public int getAuthenticationValue() { - return authentication_; - } - /** - * .grafeas.v1.CVSS.Authentication authentication = 6; - * - * @return The authentication. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Authentication getAuthentication() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Authentication result = - io.grafeas.v1.CVSS.Authentication.valueOf(authentication_); - return result == null ? io.grafeas.v1.CVSS.Authentication.UNRECOGNIZED : result; - } - - public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER = 7; - private int privilegesRequired_; - /** - * .grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7; - * - * @return The enum numeric value on the wire for privilegesRequired. - */ - @java.lang.Override - public int getPrivilegesRequiredValue() { - return privilegesRequired_; - } - /** - * .grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7; - * - * @return The privilegesRequired. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.PrivilegesRequired getPrivilegesRequired() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.PrivilegesRequired result = - io.grafeas.v1.CVSS.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null ? io.grafeas.v1.CVSS.PrivilegesRequired.UNRECOGNIZED : result; - } - - public static final int USER_INTERACTION_FIELD_NUMBER = 8; - private int userInteraction_; - /** - * .grafeas.v1.CVSS.UserInteraction user_interaction = 8; - * - * @return The enum numeric value on the wire for userInteraction. - */ - @java.lang.Override - public int getUserInteractionValue() { - return userInteraction_; - } - /** - * .grafeas.v1.CVSS.UserInteraction user_interaction = 8; - * - * @return The userInteraction. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.UserInteraction getUserInteraction() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.UserInteraction result = - io.grafeas.v1.CVSS.UserInteraction.valueOf(userInteraction_); - return result == null ? io.grafeas.v1.CVSS.UserInteraction.UNRECOGNIZED : result; - } - - public static final int SCOPE_FIELD_NUMBER = 9; - private int scope_; - /** - * .grafeas.v1.CVSS.Scope scope = 9; - * - * @return The enum numeric value on the wire for scope. - */ - @java.lang.Override - public int getScopeValue() { - return scope_; - } - /** - * .grafeas.v1.CVSS.Scope scope = 9; - * - * @return The scope. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Scope getScope() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Scope result = io.grafeas.v1.CVSS.Scope.valueOf(scope_); - return result == null ? io.grafeas.v1.CVSS.Scope.UNRECOGNIZED : result; - } - - public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER = 10; - private int confidentialityImpact_; - /** - * .grafeas.v1.CVSS.Impact confidentiality_impact = 10; - * - * @return The enum numeric value on the wire for confidentialityImpact. - */ - @java.lang.Override - public int getConfidentialityImpactValue() { - return confidentialityImpact_; - } - /** - * .grafeas.v1.CVSS.Impact confidentiality_impact = 10; - * - * @return The confidentialityImpact. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Impact getConfidentialityImpact() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Impact result = io.grafeas.v1.CVSS.Impact.valueOf(confidentialityImpact_); - return result == null ? io.grafeas.v1.CVSS.Impact.UNRECOGNIZED : result; - } - - public static final int INTEGRITY_IMPACT_FIELD_NUMBER = 11; - private int integrityImpact_; - /** - * .grafeas.v1.CVSS.Impact integrity_impact = 11; - * - * @return The enum numeric value on the wire for integrityImpact. - */ - @java.lang.Override - public int getIntegrityImpactValue() { - return integrityImpact_; - } - /** - * .grafeas.v1.CVSS.Impact integrity_impact = 11; - * - * @return The integrityImpact. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Impact getIntegrityImpact() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Impact result = io.grafeas.v1.CVSS.Impact.valueOf(integrityImpact_); - return result == null ? io.grafeas.v1.CVSS.Impact.UNRECOGNIZED : result; - } - - public static final int AVAILABILITY_IMPACT_FIELD_NUMBER = 12; - private int availabilityImpact_; - /** - * .grafeas.v1.CVSS.Impact availability_impact = 12; - * - * @return The enum numeric value on the wire for availabilityImpact. - */ - @java.lang.Override - public int getAvailabilityImpactValue() { - return availabilityImpact_; - } - /** - * .grafeas.v1.CVSS.Impact availability_impact = 12; - * - * @return The availabilityImpact. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Impact getAvailabilityImpact() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Impact result = io.grafeas.v1.CVSS.Impact.valueOf(availabilityImpact_); - return result == null ? io.grafeas.v1.CVSS.Impact.UNRECOGNIZED : result; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (baseScore_ != 0F) { - output.writeFloat(1, baseScore_); - } - if (exploitabilityScore_ != 0F) { - output.writeFloat(2, exploitabilityScore_); - } - if (impactScore_ != 0F) { - output.writeFloat(3, impactScore_); - } - if (attackVector_ != io.grafeas.v1.CVSS.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { - output.writeEnum(4, attackVector_); - } - if (attackComplexity_ - != io.grafeas.v1.CVSS.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { - output.writeEnum(5, attackComplexity_); - } - if (authentication_ - != io.grafeas.v1.CVSS.Authentication.AUTHENTICATION_UNSPECIFIED.getNumber()) { - output.writeEnum(6, authentication_); - } - if (privilegesRequired_ - != io.grafeas.v1.CVSS.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { - output.writeEnum(7, privilegesRequired_); - } - if (userInteraction_ - != io.grafeas.v1.CVSS.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { - output.writeEnum(8, userInteraction_); - } - if (scope_ != io.grafeas.v1.CVSS.Scope.SCOPE_UNSPECIFIED.getNumber()) { - output.writeEnum(9, scope_); - } - if (confidentialityImpact_ != io.grafeas.v1.CVSS.Impact.IMPACT_UNSPECIFIED.getNumber()) { - output.writeEnum(10, confidentialityImpact_); - } - if (integrityImpact_ != io.grafeas.v1.CVSS.Impact.IMPACT_UNSPECIFIED.getNumber()) { - output.writeEnum(11, integrityImpact_); - } - if (availabilityImpact_ != io.grafeas.v1.CVSS.Impact.IMPACT_UNSPECIFIED.getNumber()) { - output.writeEnum(12, availabilityImpact_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (baseScore_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, baseScore_); - } - if (exploitabilityScore_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, exploitabilityScore_); - } - if (impactScore_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, impactScore_); - } - if (attackVector_ != io.grafeas.v1.CVSS.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, attackVector_); - } - if (attackComplexity_ - != io.grafeas.v1.CVSS.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, attackComplexity_); - } - if (authentication_ - != io.grafeas.v1.CVSS.Authentication.AUTHENTICATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, authentication_); - } - if (privilegesRequired_ - != io.grafeas.v1.CVSS.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, privilegesRequired_); - } - if (userInteraction_ - != io.grafeas.v1.CVSS.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, userInteraction_); - } - if (scope_ != io.grafeas.v1.CVSS.Scope.SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, scope_); - } - if (confidentialityImpact_ != io.grafeas.v1.CVSS.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, confidentialityImpact_); - } - if (integrityImpact_ != io.grafeas.v1.CVSS.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, integrityImpact_); - } - if (availabilityImpact_ != io.grafeas.v1.CVSS.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, availabilityImpact_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.grafeas.v1.CVSS)) { - return super.equals(obj); - } - io.grafeas.v1.CVSS other = (io.grafeas.v1.CVSS) obj; - - if (java.lang.Float.floatToIntBits(getBaseScore()) - != java.lang.Float.floatToIntBits(other.getBaseScore())) return false; - if (java.lang.Float.floatToIntBits(getExploitabilityScore()) - != java.lang.Float.floatToIntBits(other.getExploitabilityScore())) return false; - if (java.lang.Float.floatToIntBits(getImpactScore()) - != java.lang.Float.floatToIntBits(other.getImpactScore())) return false; - if (attackVector_ != other.attackVector_) return false; - if (attackComplexity_ != other.attackComplexity_) return false; - if (authentication_ != other.authentication_) return false; - if (privilegesRequired_ != other.privilegesRequired_) return false; - if (userInteraction_ != other.userInteraction_) return false; - if (scope_ != other.scope_) return false; - if (confidentialityImpact_ != other.confidentialityImpact_) return false; - if (integrityImpact_ != other.integrityImpact_) return false; - if (availabilityImpact_ != other.availabilityImpact_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + BASE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBaseScore()); - hash = (37 * hash) + EXPLOITABILITY_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getExploitabilityScore()); - hash = (37 * hash) + IMPACT_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getImpactScore()); - hash = (37 * hash) + ATTACK_VECTOR_FIELD_NUMBER; - hash = (53 * hash) + attackVector_; - hash = (37 * hash) + ATTACK_COMPLEXITY_FIELD_NUMBER; - hash = (53 * hash) + attackComplexity_; - hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; - hash = (53 * hash) + authentication_; - hash = (37 * hash) + PRIVILEGES_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + privilegesRequired_; - hash = (37 * hash) + USER_INTERACTION_FIELD_NUMBER; - hash = (53 * hash) + userInteraction_; - hash = (37 * hash) + SCOPE_FIELD_NUMBER; - hash = (53 * hash) + scope_; - hash = (37 * hash) + CONFIDENTIALITY_IMPACT_FIELD_NUMBER; - hash = (53 * hash) + confidentialityImpact_; - hash = (37 * hash) + INTEGRITY_IMPACT_FIELD_NUMBER; - hash = (53 * hash) + integrityImpact_; - hash = (37 * hash) + AVAILABILITY_IMPACT_FIELD_NUMBER; - hash = (53 * hash) + availabilityImpact_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.grafeas.v1.CVSS parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.grafeas.v1.CVSS parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.grafeas.v1.CVSS parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.grafeas.v1.CVSS parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.grafeas.v1.CVSS parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.grafeas.v1.CVSS parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.grafeas.v1.CVSS parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.grafeas.v1.CVSS parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static io.grafeas.v1.CVSS parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.grafeas.v1.CVSS parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static io.grafeas.v1.CVSS parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.grafeas.v1.CVSS parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(io.grafeas.v1.CVSS prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Common Vulnerability Scoring System.
-   * For details, see https://www.first.org/cvss/specification-document
-   * This is a message we will try to use for storing multiple versions of
-   * CVSS. The intention is that as new versions of CVSS scores get added, we
-   * will be able to modify this message rather than adding new protos for each
-   * new version of the score.
-   * 
- * - * Protobuf type {@code grafeas.v1.CVSS} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:grafeas.v1.CVSS) - io.grafeas.v1.CVSSOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.grafeas.v1.Cvss.internal_static_grafeas_v1_CVSS_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.grafeas.v1.Cvss.internal_static_grafeas_v1_CVSS_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.grafeas.v1.CVSS.class, io.grafeas.v1.CVSS.Builder.class); - } - - // Construct using io.grafeas.v1.CVSS.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - baseScore_ = 0F; - - exploitabilityScore_ = 0F; - - impactScore_ = 0F; - - attackVector_ = 0; - - attackComplexity_ = 0; - - authentication_ = 0; - - privilegesRequired_ = 0; - - userInteraction_ = 0; - - scope_ = 0; - - confidentialityImpact_ = 0; - - integrityImpact_ = 0; - - availabilityImpact_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.grafeas.v1.Cvss.internal_static_grafeas_v1_CVSS_descriptor; - } - - @java.lang.Override - public io.grafeas.v1.CVSS getDefaultInstanceForType() { - return io.grafeas.v1.CVSS.getDefaultInstance(); - } - - @java.lang.Override - public io.grafeas.v1.CVSS build() { - io.grafeas.v1.CVSS result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.grafeas.v1.CVSS buildPartial() { - io.grafeas.v1.CVSS result = new io.grafeas.v1.CVSS(this); - result.baseScore_ = baseScore_; - result.exploitabilityScore_ = exploitabilityScore_; - result.impactScore_ = impactScore_; - result.attackVector_ = attackVector_; - result.attackComplexity_ = attackComplexity_; - result.authentication_ = authentication_; - result.privilegesRequired_ = privilegesRequired_; - result.userInteraction_ = userInteraction_; - result.scope_ = scope_; - result.confidentialityImpact_ = confidentialityImpact_; - result.integrityImpact_ = integrityImpact_; - result.availabilityImpact_ = availabilityImpact_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.grafeas.v1.CVSS) { - return mergeFrom((io.grafeas.v1.CVSS) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.grafeas.v1.CVSS other) { - if (other == io.grafeas.v1.CVSS.getDefaultInstance()) return this; - if (other.getBaseScore() != 0F) { - setBaseScore(other.getBaseScore()); - } - if (other.getExploitabilityScore() != 0F) { - setExploitabilityScore(other.getExploitabilityScore()); - } - if (other.getImpactScore() != 0F) { - setImpactScore(other.getImpactScore()); - } - if (other.attackVector_ != 0) { - setAttackVectorValue(other.getAttackVectorValue()); - } - if (other.attackComplexity_ != 0) { - setAttackComplexityValue(other.getAttackComplexityValue()); - } - if (other.authentication_ != 0) { - setAuthenticationValue(other.getAuthenticationValue()); - } - if (other.privilegesRequired_ != 0) { - setPrivilegesRequiredValue(other.getPrivilegesRequiredValue()); - } - if (other.userInteraction_ != 0) { - setUserInteractionValue(other.getUserInteractionValue()); - } - if (other.scope_ != 0) { - setScopeValue(other.getScopeValue()); - } - if (other.confidentialityImpact_ != 0) { - setConfidentialityImpactValue(other.getConfidentialityImpactValue()); - } - if (other.integrityImpact_ != 0) { - setIntegrityImpactValue(other.getIntegrityImpactValue()); - } - if (other.availabilityImpact_ != 0) { - setAvailabilityImpactValue(other.getAvailabilityImpactValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.grafeas.v1.CVSS parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.grafeas.v1.CVSS) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private float baseScore_; - /** - * - * - *
-     * The base score is a function of the base metric scores.
-     * 
- * - * float base_score = 1; - * - * @return The baseScore. - */ - @java.lang.Override - public float getBaseScore() { - return baseScore_; - } - /** - * - * - *
-     * The base score is a function of the base metric scores.
-     * 
- * - * float base_score = 1; - * - * @param value The baseScore to set. - * @return This builder for chaining. - */ - public Builder setBaseScore(float value) { - - baseScore_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The base score is a function of the base metric scores.
-     * 
- * - * float base_score = 1; - * - * @return This builder for chaining. - */ - public Builder clearBaseScore() { - - baseScore_ = 0F; - onChanged(); - return this; - } - - private float exploitabilityScore_; - /** - * float exploitability_score = 2; - * - * @return The exploitabilityScore. - */ - @java.lang.Override - public float getExploitabilityScore() { - return exploitabilityScore_; - } - /** - * float exploitability_score = 2; - * - * @param value The exploitabilityScore to set. - * @return This builder for chaining. - */ - public Builder setExploitabilityScore(float value) { - - exploitabilityScore_ = value; - onChanged(); - return this; - } - /** - * float exploitability_score = 2; - * - * @return This builder for chaining. - */ - public Builder clearExploitabilityScore() { - - exploitabilityScore_ = 0F; - onChanged(); - return this; - } - - private float impactScore_; - /** - * float impact_score = 3; - * - * @return The impactScore. - */ - @java.lang.Override - public float getImpactScore() { - return impactScore_; - } - /** - * float impact_score = 3; - * - * @param value The impactScore to set. - * @return This builder for chaining. - */ - public Builder setImpactScore(float value) { - - impactScore_ = value; - onChanged(); - return this; - } - /** - * float impact_score = 3; - * - * @return This builder for chaining. - */ - public Builder clearImpactScore() { - - impactScore_ = 0F; - onChanged(); - return this; - } - - private int attackVector_ = 0; - /** - * - * - *
-     * Base Metrics
-     * Represents the intrinsic characteristics of a vulnerability that are
-     * constant over time and across user environments.
-     * 
- * - * .grafeas.v1.CVSS.AttackVector attack_vector = 4; - * - * @return The enum numeric value on the wire for attackVector. - */ - @java.lang.Override - public int getAttackVectorValue() { - return attackVector_; - } - /** - * - * - *
-     * Base Metrics
-     * Represents the intrinsic characteristics of a vulnerability that are
-     * constant over time and across user environments.
-     * 
- * - * .grafeas.v1.CVSS.AttackVector attack_vector = 4; - * - * @param value The enum numeric value on the wire for attackVector to set. - * @return This builder for chaining. - */ - public Builder setAttackVectorValue(int value) { - - attackVector_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Base Metrics
-     * Represents the intrinsic characteristics of a vulnerability that are
-     * constant over time and across user environments.
-     * 
- * - * .grafeas.v1.CVSS.AttackVector attack_vector = 4; - * - * @return The attackVector. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.AttackVector getAttackVector() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.AttackVector result = - io.grafeas.v1.CVSS.AttackVector.valueOf(attackVector_); - return result == null ? io.grafeas.v1.CVSS.AttackVector.UNRECOGNIZED : result; - } - /** - * - * - *
-     * Base Metrics
-     * Represents the intrinsic characteristics of a vulnerability that are
-     * constant over time and across user environments.
-     * 
- * - * .grafeas.v1.CVSS.AttackVector attack_vector = 4; - * - * @param value The attackVector to set. - * @return This builder for chaining. - */ - public Builder setAttackVector(io.grafeas.v1.CVSS.AttackVector value) { - if (value == null) { - throw new NullPointerException(); - } - - attackVector_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-     * Base Metrics
-     * Represents the intrinsic characteristics of a vulnerability that are
-     * constant over time and across user environments.
-     * 
- * - * .grafeas.v1.CVSS.AttackVector attack_vector = 4; - * - * @return This builder for chaining. - */ - public Builder clearAttackVector() { - - attackVector_ = 0; - onChanged(); - return this; - } - - private int attackComplexity_ = 0; - /** - * .grafeas.v1.CVSS.AttackComplexity attack_complexity = 5; - * - * @return The enum numeric value on the wire for attackComplexity. - */ - @java.lang.Override - public int getAttackComplexityValue() { - return attackComplexity_; - } - /** - * .grafeas.v1.CVSS.AttackComplexity attack_complexity = 5; - * - * @param value The enum numeric value on the wire for attackComplexity to set. - * @return This builder for chaining. - */ - public Builder setAttackComplexityValue(int value) { - - attackComplexity_ = value; - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.AttackComplexity attack_complexity = 5; - * - * @return The attackComplexity. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.AttackComplexity getAttackComplexity() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.AttackComplexity result = - io.grafeas.v1.CVSS.AttackComplexity.valueOf(attackComplexity_); - return result == null ? io.grafeas.v1.CVSS.AttackComplexity.UNRECOGNIZED : result; - } - /** - * .grafeas.v1.CVSS.AttackComplexity attack_complexity = 5; - * - * @param value The attackComplexity to set. - * @return This builder for chaining. - */ - public Builder setAttackComplexity(io.grafeas.v1.CVSS.AttackComplexity value) { - if (value == null) { - throw new NullPointerException(); - } - - attackComplexity_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.AttackComplexity attack_complexity = 5; - * - * @return This builder for chaining. - */ - public Builder clearAttackComplexity() { - - attackComplexity_ = 0; - onChanged(); - return this; - } - - private int authentication_ = 0; - /** - * .grafeas.v1.CVSS.Authentication authentication = 6; - * - * @return The enum numeric value on the wire for authentication. - */ - @java.lang.Override - public int getAuthenticationValue() { - return authentication_; - } - /** - * .grafeas.v1.CVSS.Authentication authentication = 6; - * - * @param value The enum numeric value on the wire for authentication to set. - * @return This builder for chaining. - */ - public Builder setAuthenticationValue(int value) { - - authentication_ = value; - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Authentication authentication = 6; - * - * @return The authentication. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Authentication getAuthentication() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Authentication result = - io.grafeas.v1.CVSS.Authentication.valueOf(authentication_); - return result == null ? io.grafeas.v1.CVSS.Authentication.UNRECOGNIZED : result; - } - /** - * .grafeas.v1.CVSS.Authentication authentication = 6; - * - * @param value The authentication to set. - * @return This builder for chaining. - */ - public Builder setAuthentication(io.grafeas.v1.CVSS.Authentication value) { - if (value == null) { - throw new NullPointerException(); - } - - authentication_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Authentication authentication = 6; - * - * @return This builder for chaining. - */ - public Builder clearAuthentication() { - - authentication_ = 0; - onChanged(); - return this; - } - - private int privilegesRequired_ = 0; - /** - * .grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7; - * - * @return The enum numeric value on the wire for privilegesRequired. - */ - @java.lang.Override - public int getPrivilegesRequiredValue() { - return privilegesRequired_; - } - /** - * .grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7; - * - * @param value The enum numeric value on the wire for privilegesRequired to set. - * @return This builder for chaining. - */ - public Builder setPrivilegesRequiredValue(int value) { - - privilegesRequired_ = value; - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7; - * - * @return The privilegesRequired. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.PrivilegesRequired getPrivilegesRequired() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.PrivilegesRequired result = - io.grafeas.v1.CVSS.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null ? io.grafeas.v1.CVSS.PrivilegesRequired.UNRECOGNIZED : result; - } - /** - * .grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7; - * - * @param value The privilegesRequired to set. - * @return This builder for chaining. - */ - public Builder setPrivilegesRequired(io.grafeas.v1.CVSS.PrivilegesRequired value) { - if (value == null) { - throw new NullPointerException(); - } - - privilegesRequired_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7; - * - * @return This builder for chaining. - */ - public Builder clearPrivilegesRequired() { - - privilegesRequired_ = 0; - onChanged(); - return this; - } - - private int userInteraction_ = 0; - /** - * .grafeas.v1.CVSS.UserInteraction user_interaction = 8; - * - * @return The enum numeric value on the wire for userInteraction. - */ - @java.lang.Override - public int getUserInteractionValue() { - return userInteraction_; - } - /** - * .grafeas.v1.CVSS.UserInteraction user_interaction = 8; - * - * @param value The enum numeric value on the wire for userInteraction to set. - * @return This builder for chaining. - */ - public Builder setUserInteractionValue(int value) { - - userInteraction_ = value; - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.UserInteraction user_interaction = 8; - * - * @return The userInteraction. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.UserInteraction getUserInteraction() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.UserInteraction result = - io.grafeas.v1.CVSS.UserInteraction.valueOf(userInteraction_); - return result == null ? io.grafeas.v1.CVSS.UserInteraction.UNRECOGNIZED : result; - } - /** - * .grafeas.v1.CVSS.UserInteraction user_interaction = 8; - * - * @param value The userInteraction to set. - * @return This builder for chaining. - */ - public Builder setUserInteraction(io.grafeas.v1.CVSS.UserInteraction value) { - if (value == null) { - throw new NullPointerException(); - } - - userInteraction_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.UserInteraction user_interaction = 8; - * - * @return This builder for chaining. - */ - public Builder clearUserInteraction() { - - userInteraction_ = 0; - onChanged(); - return this; - } - - private int scope_ = 0; - /** - * .grafeas.v1.CVSS.Scope scope = 9; - * - * @return The enum numeric value on the wire for scope. - */ - @java.lang.Override - public int getScopeValue() { - return scope_; - } - /** - * .grafeas.v1.CVSS.Scope scope = 9; - * - * @param value The enum numeric value on the wire for scope to set. - * @return This builder for chaining. - */ - public Builder setScopeValue(int value) { - - scope_ = value; - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Scope scope = 9; - * - * @return The scope. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Scope getScope() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Scope result = io.grafeas.v1.CVSS.Scope.valueOf(scope_); - return result == null ? io.grafeas.v1.CVSS.Scope.UNRECOGNIZED : result; - } - /** - * .grafeas.v1.CVSS.Scope scope = 9; - * - * @param value The scope to set. - * @return This builder for chaining. - */ - public Builder setScope(io.grafeas.v1.CVSS.Scope value) { - if (value == null) { - throw new NullPointerException(); - } - - scope_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Scope scope = 9; - * - * @return This builder for chaining. - */ - public Builder clearScope() { - - scope_ = 0; - onChanged(); - return this; - } - - private int confidentialityImpact_ = 0; - /** - * .grafeas.v1.CVSS.Impact confidentiality_impact = 10; - * - * @return The enum numeric value on the wire for confidentialityImpact. - */ - @java.lang.Override - public int getConfidentialityImpactValue() { - return confidentialityImpact_; - } - /** - * .grafeas.v1.CVSS.Impact confidentiality_impact = 10; - * - * @param value The enum numeric value on the wire for confidentialityImpact to set. - * @return This builder for chaining. - */ - public Builder setConfidentialityImpactValue(int value) { - - confidentialityImpact_ = value; - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Impact confidentiality_impact = 10; - * - * @return The confidentialityImpact. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Impact getConfidentialityImpact() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Impact result = io.grafeas.v1.CVSS.Impact.valueOf(confidentialityImpact_); - return result == null ? io.grafeas.v1.CVSS.Impact.UNRECOGNIZED : result; - } - /** - * .grafeas.v1.CVSS.Impact confidentiality_impact = 10; - * - * @param value The confidentialityImpact to set. - * @return This builder for chaining. - */ - public Builder setConfidentialityImpact(io.grafeas.v1.CVSS.Impact value) { - if (value == null) { - throw new NullPointerException(); - } - - confidentialityImpact_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Impact confidentiality_impact = 10; - * - * @return This builder for chaining. - */ - public Builder clearConfidentialityImpact() { - - confidentialityImpact_ = 0; - onChanged(); - return this; - } - - private int integrityImpact_ = 0; - /** - * .grafeas.v1.CVSS.Impact integrity_impact = 11; - * - * @return The enum numeric value on the wire for integrityImpact. - */ - @java.lang.Override - public int getIntegrityImpactValue() { - return integrityImpact_; - } - /** - * .grafeas.v1.CVSS.Impact integrity_impact = 11; - * - * @param value The enum numeric value on the wire for integrityImpact to set. - * @return This builder for chaining. - */ - public Builder setIntegrityImpactValue(int value) { - - integrityImpact_ = value; - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Impact integrity_impact = 11; - * - * @return The integrityImpact. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Impact getIntegrityImpact() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Impact result = io.grafeas.v1.CVSS.Impact.valueOf(integrityImpact_); - return result == null ? io.grafeas.v1.CVSS.Impact.UNRECOGNIZED : result; - } - /** - * .grafeas.v1.CVSS.Impact integrity_impact = 11; - * - * @param value The integrityImpact to set. - * @return This builder for chaining. - */ - public Builder setIntegrityImpact(io.grafeas.v1.CVSS.Impact value) { - if (value == null) { - throw new NullPointerException(); - } - - integrityImpact_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Impact integrity_impact = 11; - * - * @return This builder for chaining. - */ - public Builder clearIntegrityImpact() { - - integrityImpact_ = 0; - onChanged(); - return this; - } - - private int availabilityImpact_ = 0; - /** - * .grafeas.v1.CVSS.Impact availability_impact = 12; - * - * @return The enum numeric value on the wire for availabilityImpact. - */ - @java.lang.Override - public int getAvailabilityImpactValue() { - return availabilityImpact_; - } - /** - * .grafeas.v1.CVSS.Impact availability_impact = 12; - * - * @param value The enum numeric value on the wire for availabilityImpact to set. - * @return This builder for chaining. - */ - public Builder setAvailabilityImpactValue(int value) { - - availabilityImpact_ = value; - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Impact availability_impact = 12; - * - * @return The availabilityImpact. - */ - @java.lang.Override - public io.grafeas.v1.CVSS.Impact getAvailabilityImpact() { - @SuppressWarnings("deprecation") - io.grafeas.v1.CVSS.Impact result = io.grafeas.v1.CVSS.Impact.valueOf(availabilityImpact_); - return result == null ? io.grafeas.v1.CVSS.Impact.UNRECOGNIZED : result; - } - /** - * .grafeas.v1.CVSS.Impact availability_impact = 12; - * - * @param value The availabilityImpact to set. - * @return This builder for chaining. - */ - public Builder setAvailabilityImpact(io.grafeas.v1.CVSS.Impact value) { - if (value == null) { - throw new NullPointerException(); - } - - availabilityImpact_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .grafeas.v1.CVSS.Impact availability_impact = 12; - * - * @return This builder for chaining. - */ - public Builder clearAvailabilityImpact() { - - availabilityImpact_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:grafeas.v1.CVSS) - } - - // @@protoc_insertion_point(class_scope:grafeas.v1.CVSS) - private static final io.grafeas.v1.CVSS DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new io.grafeas.v1.CVSS(); - } - - public static io.grafeas.v1.CVSS getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CVSS parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CVSS(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.grafeas.v1.CVSS getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/src/main/java/io/grafeas/v1/CVSSOrBuilder.java b/src/main/java/io/grafeas/v1/CVSSOrBuilder.java deleted file mode 100644 index 025e44c5..00000000 --- a/src/main/java/io/grafeas/v1/CVSSOrBuilder.java +++ /dev/null @@ -1,202 +0,0 @@ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: grafeas/v1/cvss.proto - -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - -package io.grafeas.v1; - -public interface CVSSOrBuilder - extends - // @@protoc_insertion_point(interface_extends:grafeas.v1.CVSS) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The base score is a function of the base metric scores.
-   * 
- * - * float base_score = 1; - * - * @return The baseScore. - */ - float getBaseScore(); - - /** - * float exploitability_score = 2; - * - * @return The exploitabilityScore. - */ - float getExploitabilityScore(); - - /** - * float impact_score = 3; - * - * @return The impactScore. - */ - float getImpactScore(); - - /** - * - * - *
-   * Base Metrics
-   * Represents the intrinsic characteristics of a vulnerability that are
-   * constant over time and across user environments.
-   * 
- * - * .grafeas.v1.CVSS.AttackVector attack_vector = 4; - * - * @return The enum numeric value on the wire for attackVector. - */ - int getAttackVectorValue(); - /** - * - * - *
-   * Base Metrics
-   * Represents the intrinsic characteristics of a vulnerability that are
-   * constant over time and across user environments.
-   * 
- * - * .grafeas.v1.CVSS.AttackVector attack_vector = 4; - * - * @return The attackVector. - */ - io.grafeas.v1.CVSS.AttackVector getAttackVector(); - - /** - * .grafeas.v1.CVSS.AttackComplexity attack_complexity = 5; - * - * @return The enum numeric value on the wire for attackComplexity. - */ - int getAttackComplexityValue(); - /** - * .grafeas.v1.CVSS.AttackComplexity attack_complexity = 5; - * - * @return The attackComplexity. - */ - io.grafeas.v1.CVSS.AttackComplexity getAttackComplexity(); - - /** - * .grafeas.v1.CVSS.Authentication authentication = 6; - * - * @return The enum numeric value on the wire for authentication. - */ - int getAuthenticationValue(); - /** - * .grafeas.v1.CVSS.Authentication authentication = 6; - * - * @return The authentication. - */ - io.grafeas.v1.CVSS.Authentication getAuthentication(); - - /** - * .grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7; - * - * @return The enum numeric value on the wire for privilegesRequired. - */ - int getPrivilegesRequiredValue(); - /** - * .grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7; - * - * @return The privilegesRequired. - */ - io.grafeas.v1.CVSS.PrivilegesRequired getPrivilegesRequired(); - - /** - * .grafeas.v1.CVSS.UserInteraction user_interaction = 8; - * - * @return The enum numeric value on the wire for userInteraction. - */ - int getUserInteractionValue(); - /** - * .grafeas.v1.CVSS.UserInteraction user_interaction = 8; - * - * @return The userInteraction. - */ - io.grafeas.v1.CVSS.UserInteraction getUserInteraction(); - - /** - * .grafeas.v1.CVSS.Scope scope = 9; - * - * @return The enum numeric value on the wire for scope. - */ - int getScopeValue(); - /** - * .grafeas.v1.CVSS.Scope scope = 9; - * - * @return The scope. - */ - io.grafeas.v1.CVSS.Scope getScope(); - - /** - * .grafeas.v1.CVSS.Impact confidentiality_impact = 10; - * - * @return The enum numeric value on the wire for confidentialityImpact. - */ - int getConfidentialityImpactValue(); - /** - * .grafeas.v1.CVSS.Impact confidentiality_impact = 10; - * - * @return The confidentialityImpact. - */ - io.grafeas.v1.CVSS.Impact getConfidentialityImpact(); - - /** - * .grafeas.v1.CVSS.Impact integrity_impact = 11; - * - * @return The enum numeric value on the wire for integrityImpact. - */ - int getIntegrityImpactValue(); - /** - * .grafeas.v1.CVSS.Impact integrity_impact = 11; - * - * @return The integrityImpact. - */ - io.grafeas.v1.CVSS.Impact getIntegrityImpact(); - - /** - * .grafeas.v1.CVSS.Impact availability_impact = 12; - * - * @return The enum numeric value on the wire for availabilityImpact. - */ - int getAvailabilityImpactValue(); - /** - * .grafeas.v1.CVSS.Impact availability_impact = 12; - * - * @return The availabilityImpact. - */ - io.grafeas.v1.CVSS.Impact getAvailabilityImpact(); -} diff --git a/src/main/java/io/grafeas/v1/CVSSv3.java b/src/main/java/io/grafeas/v1/CVSSv3.java index b13dd485..1aa00839 100644 --- a/src/main/java/io/grafeas/v1/CVSSv3.java +++ b/src/main/java/io/grafeas/v1/CVSSv3.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/cvss.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/CVSSv3OrBuilder.java b/src/main/java/io/grafeas/v1/CVSSv3OrBuilder.java index bed74de4..ce6c97db 100644 --- a/src/main/java/io/grafeas/v1/CVSSv3OrBuilder.java +++ b/src/main/java/io/grafeas/v1/CVSSv3OrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/cvss.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface CVSSv3OrBuilder diff --git a/src/main/java/io/grafeas/v1/CloudRepoSourceContext.java b/src/main/java/io/grafeas/v1/CloudRepoSourceContext.java index d315b6ea..1754e180 100644 --- a/src/main/java/io/grafeas/v1/CloudRepoSourceContext.java +++ b/src/main/java/io/grafeas/v1/CloudRepoSourceContext.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/CloudRepoSourceContextOrBuilder.java b/src/main/java/io/grafeas/v1/CloudRepoSourceContextOrBuilder.java index a35d173d..ae43194f 100644 --- a/src/main/java/io/grafeas/v1/CloudRepoSourceContextOrBuilder.java +++ b/src/main/java/io/grafeas/v1/CloudRepoSourceContextOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface CloudRepoSourceContextOrBuilder diff --git a/src/main/java/io/grafeas/v1/Command.java b/src/main/java/io/grafeas/v1/Command.java index 120ac04e..e832d693 100644 --- a/src/main/java/io/grafeas/v1/Command.java +++ b/src/main/java/io/grafeas/v1/Command.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/CommandOrBuilder.java b/src/main/java/io/grafeas/v1/CommandOrBuilder.java index 9eb4fe23..430a3d93 100644 --- a/src/main/java/io/grafeas/v1/CommandOrBuilder.java +++ b/src/main/java/io/grafeas/v1/CommandOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface CommandOrBuilder diff --git a/src/main/java/io/grafeas/v1/Common.java b/src/main/java/io/grafeas/v1/Common.java index 17c4e035..cdb3ebb1 100644 --- a/src/main/java/io/grafeas/v1/Common.java +++ b/src/main/java/io/grafeas/v1/Common.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Common { diff --git a/src/main/java/io/grafeas/v1/Completeness.java b/src/main/java/io/grafeas/v1/Completeness.java index 022b784e..3afec234 100644 --- a/src/main/java/io/grafeas/v1/Completeness.java +++ b/src/main/java/io/grafeas/v1/Completeness.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/CompletenessOrBuilder.java b/src/main/java/io/grafeas/v1/CompletenessOrBuilder.java index 0a1a4e36..dc5a3463 100644 --- a/src/main/java/io/grafeas/v1/CompletenessOrBuilder.java +++ b/src/main/java/io/grafeas/v1/CompletenessOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface CompletenessOrBuilder diff --git a/src/main/java/io/grafeas/v1/Compliance.java b/src/main/java/io/grafeas/v1/Compliance.java index e1b71feb..979e40be 100644 --- a/src/main/java/io/grafeas/v1/Compliance.java +++ b/src/main/java/io/grafeas/v1/Compliance.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/compliance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Compliance { @@ -74,30 +58,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\033grafeas/v1/compliance.proto\022\ngrafeas.v" - + "1\032\031grafeas/v1/severity.proto\"\313\002\n\016Complia" - + "nceNote\022\r\n\005title\030\001 \001(\t\022\023\n\013description\030\002 " - + "\001(\t\022.\n\007version\030\003 \003(\0132\035.grafeas.v1.Compli" - + "anceVersion\022\021\n\trationale\030\004 \001(\t\022\023\n\013remedi" - + "ation\030\005 \001(\t\022@\n\rcis_benchmark\030\006 \001(\0132\'.gra" - + "feas.v1.ComplianceNote.CisBenchmarkH\000\022\031\n" - + "\021scan_instructions\030\007 \001(\014\032M\n\014CisBenchmark" - + "\022\025\n\rprofile_level\030\001 \001(\005\022&\n\010severity\030\002 \001(" - + "\0162\024.grafeas.v1.SeverityB\021\n\017compliance_ty" - + "pe\"5\n\021ComplianceVersion\022\017\n\007cpe_uri\030\001 \001(\t" - + "\022\017\n\007version\030\002 \001(\t\"p\n\024ComplianceOccurrenc" - + "e\0229\n\023non_compliant_files\030\002 \003(\0132\034.grafeas" - + ".v1.NonCompliantFile\022\035\n\025non_compliance_r" - + "eason\030\003 \001(\t\"I\n\020NonCompliantFile\022\014\n\004path\030" - + "\001 \001(\t\022\027\n\017display_command\030\002 \001(\t\022\016\n\006reason" - + "\030\003 \001(\tBQ\n\rio.grafeas.v1P\001Z8google.golang" - + ".org/genproto/googleapis/grafeas/v1;graf" - + "eas\242\002\003GRAb\006proto3" + + "1\032\036grafeas/v1/vulnerability.proto\"\313\002\n\016Co" + + "mplianceNote\022\r\n\005title\030\001 \001(\t\022\023\n\013descripti" + + "on\030\002 \001(\t\022.\n\007version\030\003 \003(\0132\035.grafeas.v1.C" + + "omplianceVersion\022\021\n\trationale\030\004 \001(\t\022\023\n\013r" + + "emediation\030\005 \001(\t\022@\n\rcis_benchmark\030\006 \001(\0132" + + "\'.grafeas.v1.ComplianceNote.CisBenchmark" + + "H\000\022\031\n\021scan_instructions\030\007 \001(\014\032M\n\014CisBenc" + + "hmark\022\025\n\rprofile_level\030\001 \001(\005\022&\n\010severity" + + "\030\002 \001(\0162\024.grafeas.v1.SeverityB\021\n\017complian" + + "ce_type\"5\n\021ComplianceVersion\022\017\n\007cpe_uri\030" + + "\001 \001(\t\022\017\n\007version\030\002 \001(\t\"p\n\024ComplianceOccu" + + "rrence\0229\n\023non_compliant_files\030\002 \003(\0132\034.gr" + + "afeas.v1.NonCompliantFile\022\035\n\025non_complia" + + "nce_reason\030\003 \001(\t\"I\n\020NonCompliantFile\022\014\n\004" + + "path\030\001 \001(\t\022\027\n\017display_command\030\002 \001(\t\022\016\n\006r" + + "eason\030\003 \001(\tBQ\n\rio.grafeas.v1P\001Z8google.g" + + "olang.org/genproto/googleapis/grafeas/v1" + + ";grafeas\242\002\003GRAb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - io.grafeas.v1.SeverityOuterClass.getDescriptor(), + io.grafeas.v1.Vulnerability.getDescriptor(), }); internal_static_grafeas_v1_ComplianceNote_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_grafeas_v1_ComplianceNote_fieldAccessorTable = @@ -145,7 +129,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Path", "DisplayCommand", "Reason", }); - io.grafeas.v1.SeverityOuterClass.getDescriptor(); + io.grafeas.v1.Vulnerability.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/io/grafeas/v1/ComplianceNote.java b/src/main/java/io/grafeas/v1/ComplianceNote.java index 7a2afcd5..215de2f5 100644 --- a/src/main/java/io/grafeas/v1/ComplianceNote.java +++ b/src/main/java/io/grafeas/v1/ComplianceNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/compliance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** Protobuf type {@code grafeas.v1.ComplianceNote} */ diff --git a/src/main/java/io/grafeas/v1/ComplianceNoteOrBuilder.java b/src/main/java/io/grafeas/v1/ComplianceNoteOrBuilder.java index 77aada44..b74c39d9 100644 --- a/src/main/java/io/grafeas/v1/ComplianceNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ComplianceNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/compliance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ComplianceNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/ComplianceOccurrence.java b/src/main/java/io/grafeas/v1/ComplianceOccurrence.java index 394ed55b..86114bd4 100644 --- a/src/main/java/io/grafeas/v1/ComplianceOccurrence.java +++ b/src/main/java/io/grafeas/v1/ComplianceOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/compliance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ComplianceOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/ComplianceOccurrenceOrBuilder.java index c5dd0a9f..5580767d 100644 --- a/src/main/java/io/grafeas/v1/ComplianceOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ComplianceOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/compliance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ComplianceOccurrenceOrBuilder diff --git a/src/main/java/io/grafeas/v1/ComplianceVersion.java b/src/main/java/io/grafeas/v1/ComplianceVersion.java index f2bc01a9..cc1e108f 100644 --- a/src/main/java/io/grafeas/v1/ComplianceVersion.java +++ b/src/main/java/io/grafeas/v1/ComplianceVersion.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/compliance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ComplianceVersionOrBuilder.java b/src/main/java/io/grafeas/v1/ComplianceVersionOrBuilder.java index cfd7ec3e..ddc67875 100644 --- a/src/main/java/io/grafeas/v1/ComplianceVersionOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ComplianceVersionOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/compliance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ComplianceVersionOrBuilder diff --git a/src/main/java/io/grafeas/v1/CreateNoteRequest.java b/src/main/java/io/grafeas/v1/CreateNoteRequest.java index cdfc8e95..68b6d295 100644 --- a/src/main/java/io/grafeas/v1/CreateNoteRequest.java +++ b/src/main/java/io/grafeas/v1/CreateNoteRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/CreateNoteRequestOrBuilder.java b/src/main/java/io/grafeas/v1/CreateNoteRequestOrBuilder.java index 6b31668f..d08b3958 100644 --- a/src/main/java/io/grafeas/v1/CreateNoteRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/CreateNoteRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface CreateNoteRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/CreateOccurrenceRequest.java b/src/main/java/io/grafeas/v1/CreateOccurrenceRequest.java index 13ac6b8d..7ddb50d3 100644 --- a/src/main/java/io/grafeas/v1/CreateOccurrenceRequest.java +++ b/src/main/java/io/grafeas/v1/CreateOccurrenceRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/CreateOccurrenceRequestOrBuilder.java b/src/main/java/io/grafeas/v1/CreateOccurrenceRequestOrBuilder.java index 801191fd..281f6f70 100644 --- a/src/main/java/io/grafeas/v1/CreateOccurrenceRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/CreateOccurrenceRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface CreateOccurrenceRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/Cvss.java b/src/main/java/io/grafeas/v1/Cvss.java index 8483d328..5cbdb554 100644 --- a/src/main/java/io/grafeas/v1/Cvss.java +++ b/src/main/java/io/grafeas/v1/Cvss.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/cvss.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Cvss { @@ -48,10 +32,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_grafeas_v1_CVSSv3_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_grafeas_v1_CVSSv3_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_grafeas_v1_CVSS_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_grafeas_v1_CVSS_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -92,44 +72,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "E_UNSPECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001\022\021\n\r" + "SCOPE_CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_UNSP" + "ECIFIED\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT_LOW" - + "\020\002\022\017\n\013IMPACT_NONE\020\003\"\360\n\n\004CVSS\022\022\n\nbase_sco" - + "re\030\001 \001(\002\022\034\n\024exploitability_score\030\002 \001(\002\022\024" - + "\n\014impact_score\030\003 \001(\002\0224\n\rattack_vector\030\004 " - + "\001(\0162\035.grafeas.v1.CVSS.AttackVector\022<\n\021at" - + "tack_complexity\030\005 \001(\0162!.grafeas.v1.CVSS." - + "AttackComplexity\0227\n\016authentication\030\006 \001(\016" - + "2\037.grafeas.v1.CVSS.Authentication\022@\n\023pri" - + "vileges_required\030\007 \001(\0162#.grafeas.v1.CVSS" - + ".PrivilegesRequired\022:\n\020user_interaction\030" - + "\010 \001(\0162 .grafeas.v1.CVSS.UserInteraction\022" - + "%\n\005scope\030\t \001(\0162\026.grafeas.v1.CVSS.Scope\0227" - + "\n\026confidentiality_impact\030\n \001(\0162\027.grafeas" - + ".v1.CVSS.Impact\0221\n\020integrity_impact\030\013 \001(" - + "\0162\027.grafeas.v1.CVSS.Impact\0224\n\023availabili" - + "ty_impact\030\014 \001(\0162\027.grafeas.v1.CVSS.Impact" - + "\"\231\001\n\014AttackVector\022\035\n\031ATTACK_VECTOR_UNSPE" - + "CIFIED\020\000\022\031\n\025ATTACK_VECTOR_NETWORK\020\001\022\032\n\026A" - + "TTACK_VECTOR_ADJACENT\020\002\022\027\n\023ATTACK_VECTOR" - + "_LOCAL\020\003\022\032\n\026ATTACK_VECTOR_PHYSICAL\020\004\"l\n\020" - + "AttackComplexity\022!\n\035ATTACK_COMPLEXITY_UN" - + "SPECIFIED\020\000\022\031\n\025ATTACK_COMPLEXITY_LOW\020\001\022\032" - + "\n\026ATTACK_COMPLEXITY_HIGH\020\002\"\201\001\n\016Authentic" - + "ation\022\036\n\032AUTHENTICATION_UNSPECIFIED\020\000\022\033\n" - + "\027AUTHENTICATION_MULTIPLE\020\001\022\031\n\025AUTHENTICA" - + "TION_SINGLE\020\002\022\027\n\023AUTHENTICATION_NONE\020\003\"\222" - + "\001\n\022PrivilegesRequired\022#\n\037PRIVILEGES_REQU" - + "IRED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGES_REQUIRE" - + "D_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED_LOW\020\002\022\034\n" - + "\030PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017UserInter" - + "action\022 \n\034USER_INTERACTION_UNSPECIFIED\020\000" - + "\022\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031USER_INTE" - + "RACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021SCOPE_UNS" - + "PECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001\022\021\n\rSCOPE" - + "_CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_UNSPECIFI" - + "ED\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT_LOW\020\002\022\017\n" - + "\013IMPACT_NONE\020\003BQ\n\rio.grafeas.v1P\001Z8googl" - + "e.golang.org/genproto/googleapis/grafeas" - + "/v1;grafeas\242\002\003GRAb\006proto3" + + "\020\002\022\017\n\013IMPACT_NONE\020\003BQ\n\rio.grafeas.v1P\001Z8" + + "google.golang.org/genproto/googleapis/gr" + + "afeas/v1;grafeas\242\002\003GRAb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -151,24 +96,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IntegrityImpact", "AvailabilityImpact", }); - internal_static_grafeas_v1_CVSS_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_grafeas_v1_CVSS_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_grafeas_v1_CVSS_descriptor, - new java.lang.String[] { - "BaseScore", - "ExploitabilityScore", - "ImpactScore", - "AttackVector", - "AttackComplexity", - "Authentication", - "PrivilegesRequired", - "UserInteraction", - "Scope", - "ConfidentialityImpact", - "IntegrityImpact", - "AvailabilityImpact", - }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/io/grafeas/v1/DSSEAttestationNote.java b/src/main/java/io/grafeas/v1/DSSEAttestationNote.java index 0d29bef6..fae33c2f 100644 --- a/src/main/java/io/grafeas/v1/DSSEAttestationNote.java +++ b/src/main/java/io/grafeas/v1/DSSEAttestationNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/dsse_attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** Protobuf type {@code grafeas.v1.DSSEAttestationNote} */ diff --git a/src/main/java/io/grafeas/v1/DSSEAttestationNoteOrBuilder.java b/src/main/java/io/grafeas/v1/DSSEAttestationNoteOrBuilder.java index 90b2f8ea..e58b0c96 100644 --- a/src/main/java/io/grafeas/v1/DSSEAttestationNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/DSSEAttestationNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/dsse_attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface DSSEAttestationNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/DSSEAttestationOccurrence.java b/src/main/java/io/grafeas/v1/DSSEAttestationOccurrence.java index cea6a979..e9350e55 100644 --- a/src/main/java/io/grafeas/v1/DSSEAttestationOccurrence.java +++ b/src/main/java/io/grafeas/v1/DSSEAttestationOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/dsse_attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/DSSEAttestationOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/DSSEAttestationOccurrenceOrBuilder.java index 5d9fc925..914c1304 100644 --- a/src/main/java/io/grafeas/v1/DSSEAttestationOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/DSSEAttestationOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/dsse_attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface DSSEAttestationOccurrenceOrBuilder diff --git a/src/main/java/io/grafeas/v1/DeleteNoteRequest.java b/src/main/java/io/grafeas/v1/DeleteNoteRequest.java index 75909391..45486b89 100644 --- a/src/main/java/io/grafeas/v1/DeleteNoteRequest.java +++ b/src/main/java/io/grafeas/v1/DeleteNoteRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/DeleteNoteRequestOrBuilder.java b/src/main/java/io/grafeas/v1/DeleteNoteRequestOrBuilder.java index ecd86ffa..f6297470 100644 --- a/src/main/java/io/grafeas/v1/DeleteNoteRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/DeleteNoteRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface DeleteNoteRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/DeleteOccurrenceRequest.java b/src/main/java/io/grafeas/v1/DeleteOccurrenceRequest.java index 9f361db8..e18db1ad 100644 --- a/src/main/java/io/grafeas/v1/DeleteOccurrenceRequest.java +++ b/src/main/java/io/grafeas/v1/DeleteOccurrenceRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/DeleteOccurrenceRequestOrBuilder.java b/src/main/java/io/grafeas/v1/DeleteOccurrenceRequestOrBuilder.java index 098cb477..d4e13800 100644 --- a/src/main/java/io/grafeas/v1/DeleteOccurrenceRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/DeleteOccurrenceRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface DeleteOccurrenceRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/Deployment.java b/src/main/java/io/grafeas/v1/Deployment.java index 30f4d6bd..5fbb9541 100644 --- a/src/main/java/io/grafeas/v1/Deployment.java +++ b/src/main/java/io/grafeas/v1/Deployment.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/deployment.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Deployment { diff --git a/src/main/java/io/grafeas/v1/DeploymentNote.java b/src/main/java/io/grafeas/v1/DeploymentNote.java index 35b1e334..9bae7a88 100644 --- a/src/main/java/io/grafeas/v1/DeploymentNote.java +++ b/src/main/java/io/grafeas/v1/DeploymentNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/deployment.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/DeploymentNoteOrBuilder.java b/src/main/java/io/grafeas/v1/DeploymentNoteOrBuilder.java index bf276bfd..e69bf379 100644 --- a/src/main/java/io/grafeas/v1/DeploymentNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/DeploymentNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/deployment.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface DeploymentNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/DeploymentOccurrence.java b/src/main/java/io/grafeas/v1/DeploymentOccurrence.java index a47701d6..262df772 100644 --- a/src/main/java/io/grafeas/v1/DeploymentOccurrence.java +++ b/src/main/java/io/grafeas/v1/DeploymentOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/deployment.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/DeploymentOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/DeploymentOccurrenceOrBuilder.java index 4505e299..eb57ba4e 100644 --- a/src/main/java/io/grafeas/v1/DeploymentOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/DeploymentOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/deployment.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface DeploymentOccurrenceOrBuilder diff --git a/src/main/java/io/grafeas/v1/Discovery.java b/src/main/java/io/grafeas/v1/Discovery.java index 93c1c03f..c2968587 100644 --- a/src/main/java/io/grafeas/v1/Discovery.java +++ b/src/main/java/io/grafeas/v1/Discovery.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/discovery.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Discovery { @@ -62,34 +46,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\032grafeas/v1/discovery.proto\022\ngrafeas.v1" - + "\032\037google/api/field_behavior.proto\032\037googl" - + "e/protobuf/timestamp.proto\032\027google/rpc/s" - + "tatus.proto\032\027grafeas/v1/common.proto\"<\n\r" - + "DiscoveryNote\022+\n\ranalysis_kind\030\001 \001(\0162\024.g" - + "rafeas.v1.NoteKind\"\303\004\n\023DiscoveryOccurren" - + "ce\022O\n\023continuous_analysis\030\001 \001(\01622.grafea" - + "s.v1.DiscoveryOccurrence.ContinuousAnaly" - + "sis\022G\n\017analysis_status\030\002 \001(\0162..grafeas.v" - + "1.DiscoveryOccurrence.AnalysisStatus\0221\n\025" - + "analysis_status_error\030\003 \001(\0132\022.google.rpc" - + ".Status\022\013\n\003cpe\030\004 \001(\t\0222\n\016last_scan_time\030\005" - + " \001(\0132\032.google.protobuf.Timestamp\0225\n\014arch" - + "ive_time\030\006 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\"S\n\022ContinuousAnalysis\022#\n\037CONTINU" - + "OUS_ANALYSIS_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014" - + "\n\010INACTIVE\020\002\"\221\001\n\016AnalysisStatus\022\037\n\033ANALY" - + "SIS_STATUS_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\014\n" - + "\010SCANNING\020\002\022\024\n\020FINISHED_SUCCESS\020\003\022\023\n\017FIN" - + "ISHED_FAILED\020\004\022\030\n\024FINISHED_UNSUPPORTED\020\005" - + "BQ\n\rio.grafeas.v1P\001Z8google.golang.org/g" - + "enproto/googleapis/grafeas/v1;grafeas\242\002\003" - + "GRAb\006proto3" + + "\032\037google/protobuf/timestamp.proto\032\027googl" + + "e/rpc/status.proto\032\027grafeas/v1/common.pr" + + "oto\"<\n\rDiscoveryNote\022+\n\ranalysis_kind\030\001 " + + "\001(\0162\024.grafeas.v1.NoteKind\"\214\004\n\023DiscoveryO" + + "ccurrence\022O\n\023continuous_analysis\030\001 \001(\01622" + + ".grafeas.v1.DiscoveryOccurrence.Continuo" + + "usAnalysis\022G\n\017analysis_status\030\002 \001(\0162..gr" + + "afeas.v1.DiscoveryOccurrence.AnalysisSta" + + "tus\0221\n\025analysis_status_error\030\003 \001(\0132\022.goo" + + "gle.rpc.Status\022\013\n\003cpe\030\004 \001(\t\0222\n\016last_scan" + + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\"" + + "S\n\022ContinuousAnalysis\022#\n\037CONTINUOUS_ANAL" + + "YSIS_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010INACTI" + + "VE\020\002\"\221\001\n\016AnalysisStatus\022\037\n\033ANALYSIS_STAT" + + "US_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\014\n\010SCANNIN" + + "G\020\002\022\024\n\020FINISHED_SUCCESS\020\003\022\023\n\017FINISHED_FA" + + "ILED\020\004\022\030\n\024FINISHED_UNSUPPORTED\020\005BQ\n\rio.g" + + "rafeas.v1P\001Z8google.golang.org/genproto/" + + "googleapis/grafeas/v1;grafeas\242\002\003GRAb\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), io.grafeas.v1.Common.getDescriptor(), @@ -107,19 +88,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_grafeas_v1_DiscoveryOccurrence_descriptor, new java.lang.String[] { - "ContinuousAnalysis", - "AnalysisStatus", - "AnalysisStatusError", - "Cpe", - "LastScanTime", - "ArchiveTime", + "ContinuousAnalysis", "AnalysisStatus", "AnalysisStatusError", "Cpe", "LastScanTime", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); io.grafeas.v1.Common.getDescriptor(); diff --git a/src/main/java/io/grafeas/v1/DiscoveryNote.java b/src/main/java/io/grafeas/v1/DiscoveryNote.java index a1e24c1b..a502572b 100644 --- a/src/main/java/io/grafeas/v1/DiscoveryNote.java +++ b/src/main/java/io/grafeas/v1/DiscoveryNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/discovery.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/DiscoveryNoteOrBuilder.java b/src/main/java/io/grafeas/v1/DiscoveryNoteOrBuilder.java index ff89d449..2f947889 100644 --- a/src/main/java/io/grafeas/v1/DiscoveryNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/DiscoveryNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/discovery.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface DiscoveryNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/DiscoveryOccurrence.java b/src/main/java/io/grafeas/v1/DiscoveryOccurrence.java index bdfcdb5b..f2ed7abc 100644 --- a/src/main/java/io/grafeas/v1/DiscoveryOccurrence.java +++ b/src/main/java/io/grafeas/v1/DiscoveryOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/discovery.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** @@ -138,21 +122,6 @@ private DiscoveryOccurrence( lastScanTime_ = subBuilder.buildPartial(); } - break; - } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (archiveTime_ != null) { - subBuilder = archiveTime_.toBuilder(); - } - archiveTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(archiveTime_); - archiveTime_ = subBuilder.buildPartial(); - } - break; } default: @@ -798,55 +767,6 @@ public com.google.protobuf.TimestampOrBuilder getLastScanTimeOrBuilder() { return getLastScanTime(); } - public static final int ARCHIVE_TIME_FIELD_NUMBER = 6; - private com.google.protobuf.Timestamp archiveTime_; - /** - * - * - *
-   * The time occurrences related to this discovery occurrence were archived.
-   * 
- * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the archiveTime field is set. - */ - @java.lang.Override - public boolean hasArchiveTime() { - return archiveTime_ != null; - } - /** - * - * - *
-   * The time occurrences related to this discovery occurrence were archived.
-   * 
- * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The archiveTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getArchiveTime() { - return archiveTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : archiveTime_; - } - /** - * - * - *
-   * The time occurrences related to this discovery occurrence were archived.
-   * 
- * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getArchiveTimeOrBuilder() { - return getArchiveTime(); - } - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -880,9 +800,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (lastScanTime_ != null) { output.writeMessage(5, getLastScanTime()); } - if (archiveTime_ != null) { - output.writeMessage(6, getArchiveTime()); - } unknownFields.writeTo(output); } @@ -911,9 +828,6 @@ public int getSerializedSize() { if (lastScanTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLastScanTime()); } - if (archiveTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getArchiveTime()); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -940,10 +854,6 @@ public boolean equals(final java.lang.Object obj) { if (hasLastScanTime()) { if (!getLastScanTime().equals(other.getLastScanTime())) return false; } - if (hasArchiveTime() != other.hasArchiveTime()) return false; - if (hasArchiveTime()) { - if (!getArchiveTime().equals(other.getArchiveTime())) return false; - } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -969,10 +879,6 @@ public int hashCode() { hash = (37 * hash) + LAST_SCAN_TIME_FIELD_NUMBER; hash = (53 * hash) + getLastScanTime().hashCode(); } - if (hasArchiveTime()) { - hash = (37 * hash) + ARCHIVE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getArchiveTime().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1134,12 +1040,6 @@ public Builder clear() { lastScanTime_ = null; lastScanTimeBuilder_ = null; } - if (archiveTimeBuilder_ == null) { - archiveTime_ = null; - } else { - archiveTime_ = null; - archiveTimeBuilder_ = null; - } return this; } @@ -1178,11 +1078,6 @@ public io.grafeas.v1.DiscoveryOccurrence buildPartial() { } else { result.lastScanTime_ = lastScanTimeBuilder_.build(); } - if (archiveTimeBuilder_ == null) { - result.archiveTime_ = archiveTime_; - } else { - result.archiveTime_ = archiveTimeBuilder_.build(); - } onBuilt(); return result; } @@ -1248,9 +1143,6 @@ public Builder mergeFrom(io.grafeas.v1.DiscoveryOccurrence other) { if (other.hasLastScanTime()) { mergeLastScanTime(other.getLastScanTime()); } - if (other.hasArchiveTime()) { - mergeArchiveTime(other.getArchiveTime()); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1957,209 +1849,6 @@ public com.google.protobuf.TimestampOrBuilder getLastScanTimeOrBuilder() { return lastScanTimeBuilder_; } - private com.google.protobuf.Timestamp archiveTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - archiveTimeBuilder_; - /** - * - * - *
-     * The time occurrences related to this discovery occurrence were archived.
-     * 
- * - * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the archiveTime field is set. - */ - public boolean hasArchiveTime() { - return archiveTimeBuilder_ != null || archiveTime_ != null; - } - /** - * - * - *
-     * The time occurrences related to this discovery occurrence were archived.
-     * 
- * - * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The archiveTime. - */ - public com.google.protobuf.Timestamp getArchiveTime() { - if (archiveTimeBuilder_ == null) { - return archiveTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : archiveTime_; - } else { - return archiveTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The time occurrences related to this discovery occurrence were archived.
-     * 
- * - * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setArchiveTime(com.google.protobuf.Timestamp value) { - if (archiveTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - archiveTime_ = value; - onChanged(); - } else { - archiveTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The time occurrences related to this discovery occurrence were archived.
-     * 
- * - * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setArchiveTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (archiveTimeBuilder_ == null) { - archiveTime_ = builderForValue.build(); - onChanged(); - } else { - archiveTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The time occurrences related to this discovery occurrence were archived.
-     * 
- * - * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeArchiveTime(com.google.protobuf.Timestamp value) { - if (archiveTimeBuilder_ == null) { - if (archiveTime_ != null) { - archiveTime_ = - com.google.protobuf.Timestamp.newBuilder(archiveTime_) - .mergeFrom(value) - .buildPartial(); - } else { - archiveTime_ = value; - } - onChanged(); - } else { - archiveTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The time occurrences related to this discovery occurrence were archived.
-     * 
- * - * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearArchiveTime() { - if (archiveTimeBuilder_ == null) { - archiveTime_ = null; - onChanged(); - } else { - archiveTime_ = null; - archiveTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The time occurrences related to this discovery occurrence were archived.
-     * 
- * - * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getArchiveTimeBuilder() { - - onChanged(); - return getArchiveTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The time occurrences related to this discovery occurrence were archived.
-     * 
- * - * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getArchiveTimeOrBuilder() { - if (archiveTimeBuilder_ != null) { - return archiveTimeBuilder_.getMessageOrBuilder(); - } else { - return archiveTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : archiveTime_; - } - } - /** - * - * - *
-     * The time occurrences related to this discovery occurrence were archived.
-     * 
- * - * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getArchiveTimeFieldBuilder() { - if (archiveTimeBuilder_ == null) { - archiveTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getArchiveTime(), getParentForChildren(), isClean()); - archiveTime_ = null; - } - return archiveTimeBuilder_; - } - @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/src/main/java/io/grafeas/v1/DiscoveryOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/DiscoveryOccurrenceOrBuilder.java index 57a5c48e..e41a943e 100644 --- a/src/main/java/io/grafeas/v1/DiscoveryOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/DiscoveryOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/discovery.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface DiscoveryOccurrenceOrBuilder @@ -190,42 +174,4 @@ public interface DiscoveryOccurrenceOrBuilder * .google.protobuf.Timestamp last_scan_time = 5; */ com.google.protobuf.TimestampOrBuilder getLastScanTimeOrBuilder(); - - /** - * - * - *
-   * The time occurrences related to this discovery occurrence were archived.
-   * 
- * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the archiveTime field is set. - */ - boolean hasArchiveTime(); - /** - * - * - *
-   * The time occurrences related to this discovery occurrence were archived.
-   * 
- * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The archiveTime. - */ - com.google.protobuf.Timestamp getArchiveTime(); - /** - * - * - *
-   * The time occurrences related to this discovery occurrence were archived.
-   * 
- * - * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getArchiveTimeOrBuilder(); } diff --git a/src/main/java/io/grafeas/v1/Distribution.java b/src/main/java/io/grafeas/v1/Distribution.java index 7289e10d..bb395238 100644 --- a/src/main/java/io/grafeas/v1/Distribution.java +++ b/src/main/java/io/grafeas/v1/Distribution.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/DistributionOrBuilder.java b/src/main/java/io/grafeas/v1/DistributionOrBuilder.java index 893cca3f..ce003470 100644 --- a/src/main/java/io/grafeas/v1/DistributionOrBuilder.java +++ b/src/main/java/io/grafeas/v1/DistributionOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface DistributionOrBuilder diff --git a/src/main/java/io/grafeas/v1/DsseAttestation.java b/src/main/java/io/grafeas/v1/DsseAttestation.java index c947c0c8..3974d25c 100644 --- a/src/main/java/io/grafeas/v1/DsseAttestation.java +++ b/src/main/java/io/grafeas/v1/DsseAttestation.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/dsse_attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class DsseAttestation { diff --git a/src/main/java/io/grafeas/v1/Envelope.java b/src/main/java/io/grafeas/v1/Envelope.java index 6e46d675..5d3edcf8 100644 --- a/src/main/java/io/grafeas/v1/Envelope.java +++ b/src/main/java/io/grafeas/v1/Envelope.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/EnvelopeOrBuilder.java b/src/main/java/io/grafeas/v1/EnvelopeOrBuilder.java index 4248747a..19c3e6dd 100644 --- a/src/main/java/io/grafeas/v1/EnvelopeOrBuilder.java +++ b/src/main/java/io/grafeas/v1/EnvelopeOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface EnvelopeOrBuilder diff --git a/src/main/java/io/grafeas/v1/EnvelopeSignature.java b/src/main/java/io/grafeas/v1/EnvelopeSignature.java index 5c942ce5..251314b3 100644 --- a/src/main/java/io/grafeas/v1/EnvelopeSignature.java +++ b/src/main/java/io/grafeas/v1/EnvelopeSignature.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** Protobuf type {@code grafeas.v1.EnvelopeSignature} */ diff --git a/src/main/java/io/grafeas/v1/EnvelopeSignatureOrBuilder.java b/src/main/java/io/grafeas/v1/EnvelopeSignatureOrBuilder.java index 09330197..3f45fc1b 100644 --- a/src/main/java/io/grafeas/v1/EnvelopeSignatureOrBuilder.java +++ b/src/main/java/io/grafeas/v1/EnvelopeSignatureOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface EnvelopeSignatureOrBuilder diff --git a/src/main/java/io/grafeas/v1/FileHashes.java b/src/main/java/io/grafeas/v1/FileHashes.java index 51083315..d2e90ccc 100644 --- a/src/main/java/io/grafeas/v1/FileHashes.java +++ b/src/main/java/io/grafeas/v1/FileHashes.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/FileHashesOrBuilder.java b/src/main/java/io/grafeas/v1/FileHashesOrBuilder.java index 9855cd72..8d6230e9 100644 --- a/src/main/java/io/grafeas/v1/FileHashesOrBuilder.java +++ b/src/main/java/io/grafeas/v1/FileHashesOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface FileHashesOrBuilder diff --git a/src/main/java/io/grafeas/v1/Fingerprint.java b/src/main/java/io/grafeas/v1/Fingerprint.java index 5cb580b3..ecefb053 100644 --- a/src/main/java/io/grafeas/v1/Fingerprint.java +++ b/src/main/java/io/grafeas/v1/Fingerprint.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/FingerprintOrBuilder.java b/src/main/java/io/grafeas/v1/FingerprintOrBuilder.java index 844cd554..d8378a37 100644 --- a/src/main/java/io/grafeas/v1/FingerprintOrBuilder.java +++ b/src/main/java/io/grafeas/v1/FingerprintOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface FingerprintOrBuilder diff --git a/src/main/java/io/grafeas/v1/GerritSourceContext.java b/src/main/java/io/grafeas/v1/GerritSourceContext.java index f729b2b5..ca7299d7 100644 --- a/src/main/java/io/grafeas/v1/GerritSourceContext.java +++ b/src/main/java/io/grafeas/v1/GerritSourceContext.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/GerritSourceContextOrBuilder.java b/src/main/java/io/grafeas/v1/GerritSourceContextOrBuilder.java index 06ec4cb8..240e4d8b 100644 --- a/src/main/java/io/grafeas/v1/GerritSourceContextOrBuilder.java +++ b/src/main/java/io/grafeas/v1/GerritSourceContextOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface GerritSourceContextOrBuilder diff --git a/src/main/java/io/grafeas/v1/GetNoteRequest.java b/src/main/java/io/grafeas/v1/GetNoteRequest.java index 46fa1587..775d2ff7 100644 --- a/src/main/java/io/grafeas/v1/GetNoteRequest.java +++ b/src/main/java/io/grafeas/v1/GetNoteRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/GetNoteRequestOrBuilder.java b/src/main/java/io/grafeas/v1/GetNoteRequestOrBuilder.java index 40707865..f3d1d50a 100644 --- a/src/main/java/io/grafeas/v1/GetNoteRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/GetNoteRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface GetNoteRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/GetOccurrenceNoteRequest.java b/src/main/java/io/grafeas/v1/GetOccurrenceNoteRequest.java index a6751955..0681d02b 100644 --- a/src/main/java/io/grafeas/v1/GetOccurrenceNoteRequest.java +++ b/src/main/java/io/grafeas/v1/GetOccurrenceNoteRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/GetOccurrenceNoteRequestOrBuilder.java b/src/main/java/io/grafeas/v1/GetOccurrenceNoteRequestOrBuilder.java index 342780bf..09ba013d 100644 --- a/src/main/java/io/grafeas/v1/GetOccurrenceNoteRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/GetOccurrenceNoteRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface GetOccurrenceNoteRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/GetOccurrenceRequest.java b/src/main/java/io/grafeas/v1/GetOccurrenceRequest.java index ff573cd2..bb5661fd 100644 --- a/src/main/java/io/grafeas/v1/GetOccurrenceRequest.java +++ b/src/main/java/io/grafeas/v1/GetOccurrenceRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/GetOccurrenceRequestOrBuilder.java b/src/main/java/io/grafeas/v1/GetOccurrenceRequestOrBuilder.java index 68655627..87e16912 100644 --- a/src/main/java/io/grafeas/v1/GetOccurrenceRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/GetOccurrenceRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface GetOccurrenceRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/GitSourceContext.java b/src/main/java/io/grafeas/v1/GitSourceContext.java index 322fc309..406f3f9d 100644 --- a/src/main/java/io/grafeas/v1/GitSourceContext.java +++ b/src/main/java/io/grafeas/v1/GitSourceContext.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/GitSourceContextOrBuilder.java b/src/main/java/io/grafeas/v1/GitSourceContextOrBuilder.java index 02182f4c..ee12904e 100644 --- a/src/main/java/io/grafeas/v1/GitSourceContextOrBuilder.java +++ b/src/main/java/io/grafeas/v1/GitSourceContextOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface GitSourceContextOrBuilder diff --git a/src/main/java/io/grafeas/v1/GrafeasClient.java b/src/main/java/io/grafeas/v1/GrafeasClient.java index e696526a..d9024593 100644 --- a/src/main/java/io/grafeas/v1/GrafeasClient.java +++ b/src/main/java/io/grafeas/v1/GrafeasClient.java @@ -14,22 +14,6 @@ * limitations under the License. */ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; import com.google.api.core.ApiFuture; diff --git a/src/main/java/io/grafeas/v1/GrafeasOuterClass.java b/src/main/java/io/grafeas/v1/GrafeasOuterClass.java index a1127a98..6be00a97 100644 --- a/src/main/java/io/grafeas/v1/GrafeasOuterClass.java +++ b/src/main/java/io/grafeas/v1/GrafeasOuterClass.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class GrafeasOuterClass { diff --git a/src/main/java/io/grafeas/v1/GrafeasSettings.java b/src/main/java/io/grafeas/v1/GrafeasSettings.java index b291152d..5a5cdba3 100644 --- a/src/main/java/io/grafeas/v1/GrafeasSettings.java +++ b/src/main/java/io/grafeas/v1/GrafeasSettings.java @@ -14,22 +14,6 @@ * limitations under the License. */ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; import static io.grafeas.v1.GrafeasClient.ListNoteOccurrencesPagedResponse; diff --git a/src/main/java/io/grafeas/v1/Hash.java b/src/main/java/io/grafeas/v1/Hash.java index 5f70e98d..237f940a 100644 --- a/src/main/java/io/grafeas/v1/Hash.java +++ b/src/main/java/io/grafeas/v1/Hash.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/HashOrBuilder.java b/src/main/java/io/grafeas/v1/HashOrBuilder.java index 8d6ffc57..5279b9bb 100644 --- a/src/main/java/io/grafeas/v1/HashOrBuilder.java +++ b/src/main/java/io/grafeas/v1/HashOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface HashOrBuilder diff --git a/src/main/java/io/grafeas/v1/Image.java b/src/main/java/io/grafeas/v1/Image.java index 94db6167..6adcd952 100644 --- a/src/main/java/io/grafeas/v1/Image.java +++ b/src/main/java/io/grafeas/v1/Image.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Image { diff --git a/src/main/java/io/grafeas/v1/ImageNote.java b/src/main/java/io/grafeas/v1/ImageNote.java index eecf8919..bad219e2 100644 --- a/src/main/java/io/grafeas/v1/ImageNote.java +++ b/src/main/java/io/grafeas/v1/ImageNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ImageNoteOrBuilder.java b/src/main/java/io/grafeas/v1/ImageNoteOrBuilder.java index 301f6dd9..712567a4 100644 --- a/src/main/java/io/grafeas/v1/ImageNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ImageNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ImageNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/ImageOccurrence.java b/src/main/java/io/grafeas/v1/ImageOccurrence.java index 4ea8048a..bbfddc4b 100644 --- a/src/main/java/io/grafeas/v1/ImageOccurrence.java +++ b/src/main/java/io/grafeas/v1/ImageOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ImageOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/ImageOccurrenceOrBuilder.java index e76601f2..a94072b2 100644 --- a/src/main/java/io/grafeas/v1/ImageOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ImageOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ImageOccurrenceOrBuilder diff --git a/src/main/java/io/grafeas/v1/InTotoProvenance.java b/src/main/java/io/grafeas/v1/InTotoProvenance.java index 48844bb7..3e4a9323 100644 --- a/src/main/java/io/grafeas/v1/InTotoProvenance.java +++ b/src/main/java/io/grafeas/v1/InTotoProvenance.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** Protobuf type {@code grafeas.v1.InTotoProvenance} */ diff --git a/src/main/java/io/grafeas/v1/InTotoProvenanceOrBuilder.java b/src/main/java/io/grafeas/v1/InTotoProvenanceOrBuilder.java index f49f4b96..cbe3e27f 100644 --- a/src/main/java/io/grafeas/v1/InTotoProvenanceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/InTotoProvenanceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface InTotoProvenanceOrBuilder diff --git a/src/main/java/io/grafeas/v1/InTotoProvenanceProto.java b/src/main/java/io/grafeas/v1/InTotoProvenanceProto.java index 696c0598..361e3086 100644 --- a/src/main/java/io/grafeas/v1/InTotoProvenanceProto.java +++ b/src/main/java/io/grafeas/v1/InTotoProvenanceProto.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class InTotoProvenanceProto { diff --git a/src/main/java/io/grafeas/v1/InTotoStatement.java b/src/main/java/io/grafeas/v1/InTotoStatement.java index 8c5ebf24..8c0a2fa8 100644 --- a/src/main/java/io/grafeas/v1/InTotoStatement.java +++ b/src/main/java/io/grafeas/v1/InTotoStatement.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_statement.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/InTotoStatementOrBuilder.java b/src/main/java/io/grafeas/v1/InTotoStatementOrBuilder.java index ccb90390..0d45b314 100644 --- a/src/main/java/io/grafeas/v1/InTotoStatementOrBuilder.java +++ b/src/main/java/io/grafeas/v1/InTotoStatementOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_statement.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface InTotoStatementOrBuilder diff --git a/src/main/java/io/grafeas/v1/InTotoStatementProto.java b/src/main/java/io/grafeas/v1/InTotoStatementProto.java index 12bb294d..ac917230 100644 --- a/src/main/java/io/grafeas/v1/InTotoStatementProto.java +++ b/src/main/java/io/grafeas/v1/InTotoStatementProto.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_statement.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class InTotoStatementProto { diff --git a/src/main/java/io/grafeas/v1/Jwt.java b/src/main/java/io/grafeas/v1/Jwt.java index 51651340..c06835ab 100644 --- a/src/main/java/io/grafeas/v1/Jwt.java +++ b/src/main/java/io/grafeas/v1/Jwt.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** Protobuf type {@code grafeas.v1.Jwt} */ diff --git a/src/main/java/io/grafeas/v1/JwtOrBuilder.java b/src/main/java/io/grafeas/v1/JwtOrBuilder.java index b4a1a7fd..81a7dc79 100644 --- a/src/main/java/io/grafeas/v1/JwtOrBuilder.java +++ b/src/main/java/io/grafeas/v1/JwtOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/attestation.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface JwtOrBuilder diff --git a/src/main/java/io/grafeas/v1/Layer.java b/src/main/java/io/grafeas/v1/Layer.java index 822198f0..5b623e42 100644 --- a/src/main/java/io/grafeas/v1/Layer.java +++ b/src/main/java/io/grafeas/v1/Layer.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/LayerOrBuilder.java b/src/main/java/io/grafeas/v1/LayerOrBuilder.java index 3b009bec..5aff3d25 100644 --- a/src/main/java/io/grafeas/v1/LayerOrBuilder.java +++ b/src/main/java/io/grafeas/v1/LayerOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface LayerOrBuilder diff --git a/src/main/java/io/grafeas/v1/ListNoteOccurrencesRequest.java b/src/main/java/io/grafeas/v1/ListNoteOccurrencesRequest.java index db665892..8eafd873 100644 --- a/src/main/java/io/grafeas/v1/ListNoteOccurrencesRequest.java +++ b/src/main/java/io/grafeas/v1/ListNoteOccurrencesRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ListNoteOccurrencesRequestOrBuilder.java b/src/main/java/io/grafeas/v1/ListNoteOccurrencesRequestOrBuilder.java index 5086ed4a..fd380edd 100644 --- a/src/main/java/io/grafeas/v1/ListNoteOccurrencesRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ListNoteOccurrencesRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ListNoteOccurrencesRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/ListNoteOccurrencesResponse.java b/src/main/java/io/grafeas/v1/ListNoteOccurrencesResponse.java index 6aa48dc1..5c27adde 100644 --- a/src/main/java/io/grafeas/v1/ListNoteOccurrencesResponse.java +++ b/src/main/java/io/grafeas/v1/ListNoteOccurrencesResponse.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ListNoteOccurrencesResponseOrBuilder.java b/src/main/java/io/grafeas/v1/ListNoteOccurrencesResponseOrBuilder.java index d5dd1b09..973f1949 100644 --- a/src/main/java/io/grafeas/v1/ListNoteOccurrencesResponseOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ListNoteOccurrencesResponseOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ListNoteOccurrencesResponseOrBuilder diff --git a/src/main/java/io/grafeas/v1/ListNotesRequest.java b/src/main/java/io/grafeas/v1/ListNotesRequest.java index 5729afbf..958e7ae0 100644 --- a/src/main/java/io/grafeas/v1/ListNotesRequest.java +++ b/src/main/java/io/grafeas/v1/ListNotesRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ListNotesRequestOrBuilder.java b/src/main/java/io/grafeas/v1/ListNotesRequestOrBuilder.java index 6394a2cf..298f0843 100644 --- a/src/main/java/io/grafeas/v1/ListNotesRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ListNotesRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ListNotesRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/ListNotesResponse.java b/src/main/java/io/grafeas/v1/ListNotesResponse.java index 9859750e..0b702561 100644 --- a/src/main/java/io/grafeas/v1/ListNotesResponse.java +++ b/src/main/java/io/grafeas/v1/ListNotesResponse.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ListNotesResponseOrBuilder.java b/src/main/java/io/grafeas/v1/ListNotesResponseOrBuilder.java index 915723e5..5d6f75bd 100644 --- a/src/main/java/io/grafeas/v1/ListNotesResponseOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ListNotesResponseOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ListNotesResponseOrBuilder diff --git a/src/main/java/io/grafeas/v1/ListOccurrencesRequest.java b/src/main/java/io/grafeas/v1/ListOccurrencesRequest.java index 1fababfc..20ff1ef6 100644 --- a/src/main/java/io/grafeas/v1/ListOccurrencesRequest.java +++ b/src/main/java/io/grafeas/v1/ListOccurrencesRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ListOccurrencesRequestOrBuilder.java b/src/main/java/io/grafeas/v1/ListOccurrencesRequestOrBuilder.java index 63cf2fcd..72e4696c 100644 --- a/src/main/java/io/grafeas/v1/ListOccurrencesRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ListOccurrencesRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ListOccurrencesRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/ListOccurrencesResponse.java b/src/main/java/io/grafeas/v1/ListOccurrencesResponse.java index 5746db13..1763a086 100644 --- a/src/main/java/io/grafeas/v1/ListOccurrencesResponse.java +++ b/src/main/java/io/grafeas/v1/ListOccurrencesResponse.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ListOccurrencesResponseOrBuilder.java b/src/main/java/io/grafeas/v1/ListOccurrencesResponseOrBuilder.java index 24dbd988..f4774109 100644 --- a/src/main/java/io/grafeas/v1/ListOccurrencesResponseOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ListOccurrencesResponseOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ListOccurrencesResponseOrBuilder diff --git a/src/main/java/io/grafeas/v1/Location.java b/src/main/java/io/grafeas/v1/Location.java index 7c54a019..58fceff1 100644 --- a/src/main/java/io/grafeas/v1/Location.java +++ b/src/main/java/io/grafeas/v1/Location.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/LocationOrBuilder.java b/src/main/java/io/grafeas/v1/LocationOrBuilder.java index 53861035..14710b17 100644 --- a/src/main/java/io/grafeas/v1/LocationOrBuilder.java +++ b/src/main/java/io/grafeas/v1/LocationOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface LocationOrBuilder diff --git a/src/main/java/io/grafeas/v1/Metadata.java b/src/main/java/io/grafeas/v1/Metadata.java index 0ca4e98e..762cfd58 100644 --- a/src/main/java/io/grafeas/v1/Metadata.java +++ b/src/main/java/io/grafeas/v1/Metadata.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/MetadataOrBuilder.java b/src/main/java/io/grafeas/v1/MetadataOrBuilder.java index bda36892..7f0002ba 100644 --- a/src/main/java/io/grafeas/v1/MetadataOrBuilder.java +++ b/src/main/java/io/grafeas/v1/MetadataOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface MetadataOrBuilder diff --git a/src/main/java/io/grafeas/v1/NonCompliantFile.java b/src/main/java/io/grafeas/v1/NonCompliantFile.java index 66b91d60..f9f5e38b 100644 --- a/src/main/java/io/grafeas/v1/NonCompliantFile.java +++ b/src/main/java/io/grafeas/v1/NonCompliantFile.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/compliance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/NonCompliantFileOrBuilder.java b/src/main/java/io/grafeas/v1/NonCompliantFileOrBuilder.java index cc1e126b..6cc70e99 100644 --- a/src/main/java/io/grafeas/v1/NonCompliantFileOrBuilder.java +++ b/src/main/java/io/grafeas/v1/NonCompliantFileOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/compliance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface NonCompliantFileOrBuilder diff --git a/src/main/java/io/grafeas/v1/Note.java b/src/main/java/io/grafeas/v1/Note.java index 579ef405..a6099664 100644 --- a/src/main/java/io/grafeas/v1/Note.java +++ b/src/main/java/io/grafeas/v1/Note.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/NoteKind.java b/src/main/java/io/grafeas/v1/NoteKind.java index e3f7c75d..d21eac6e 100644 --- a/src/main/java/io/grafeas/v1/NoteKind.java +++ b/src/main/java/io/grafeas/v1/NoteKind.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/NoteName.java b/src/main/java/io/grafeas/v1/NoteName.java index f906d1e0..4664d4bd 100644 --- a/src/main/java/io/grafeas/v1/NoteName.java +++ b/src/main/java/io/grafeas/v1/NoteName.java @@ -14,22 +14,6 @@ * limitations under the License. */ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; import com.google.api.pathtemplate.PathTemplate; diff --git a/src/main/java/io/grafeas/v1/NoteOrBuilder.java b/src/main/java/io/grafeas/v1/NoteOrBuilder.java index 840bb0d6..7bbaf91e 100644 --- a/src/main/java/io/grafeas/v1/NoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/NoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface NoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/Occurrence.java b/src/main/java/io/grafeas/v1/Occurrence.java index 308ab640..0ab518d4 100644 --- a/src/main/java/io/grafeas/v1/Occurrence.java +++ b/src/main/java/io/grafeas/v1/Occurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/OccurrenceName.java b/src/main/java/io/grafeas/v1/OccurrenceName.java index 262a5efd..0e0bff57 100644 --- a/src/main/java/io/grafeas/v1/OccurrenceName.java +++ b/src/main/java/io/grafeas/v1/OccurrenceName.java @@ -14,22 +14,6 @@ * limitations under the License. */ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; import com.google.api.pathtemplate.PathTemplate; diff --git a/src/main/java/io/grafeas/v1/OccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/OccurrenceOrBuilder.java index 2f73543c..0782691e 100644 --- a/src/main/java/io/grafeas/v1/OccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/OccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface OccurrenceOrBuilder diff --git a/src/main/java/io/grafeas/v1/Package.java b/src/main/java/io/grafeas/v1/Package.java index 9eb9ed3e..b8a628a4 100644 --- a/src/main/java/io/grafeas/v1/Package.java +++ b/src/main/java/io/grafeas/v1/Package.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Package { diff --git a/src/main/java/io/grafeas/v1/PackageNote.java b/src/main/java/io/grafeas/v1/PackageNote.java index eb273cc9..3df3f735 100644 --- a/src/main/java/io/grafeas/v1/PackageNote.java +++ b/src/main/java/io/grafeas/v1/PackageNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/PackageNoteOrBuilder.java b/src/main/java/io/grafeas/v1/PackageNoteOrBuilder.java index 73cda464..d6cf19d8 100644 --- a/src/main/java/io/grafeas/v1/PackageNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/PackageNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface PackageNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/PackageOccurrence.java b/src/main/java/io/grafeas/v1/PackageOccurrence.java index fb1c8129..7096c582 100644 --- a/src/main/java/io/grafeas/v1/PackageOccurrence.java +++ b/src/main/java/io/grafeas/v1/PackageOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/PackageOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/PackageOccurrenceOrBuilder.java index 9420fe92..56bdd3a4 100644 --- a/src/main/java/io/grafeas/v1/PackageOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/PackageOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface PackageOccurrenceOrBuilder diff --git a/src/main/java/io/grafeas/v1/ProjectName.java b/src/main/java/io/grafeas/v1/ProjectName.java index d169feae..2eeb0569 100644 --- a/src/main/java/io/grafeas/v1/ProjectName.java +++ b/src/main/java/io/grafeas/v1/ProjectName.java @@ -14,22 +14,6 @@ * limitations under the License. */ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; import com.google.api.pathtemplate.PathTemplate; diff --git a/src/main/java/io/grafeas/v1/ProjectRepoId.java b/src/main/java/io/grafeas/v1/ProjectRepoId.java index 31c4df3a..0584bcf7 100644 --- a/src/main/java/io/grafeas/v1/ProjectRepoId.java +++ b/src/main/java/io/grafeas/v1/ProjectRepoId.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/ProjectRepoIdOrBuilder.java b/src/main/java/io/grafeas/v1/ProjectRepoIdOrBuilder.java index f91ee589..d93c01f9 100644 --- a/src/main/java/io/grafeas/v1/ProjectRepoIdOrBuilder.java +++ b/src/main/java/io/grafeas/v1/ProjectRepoIdOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface ProjectRepoIdOrBuilder diff --git a/src/main/java/io/grafeas/v1/Provenance.java b/src/main/java/io/grafeas/v1/Provenance.java index 02309e22..d9f75168 100644 --- a/src/main/java/io/grafeas/v1/Provenance.java +++ b/src/main/java/io/grafeas/v1/Provenance.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Provenance { diff --git a/src/main/java/io/grafeas/v1/Recipe.java b/src/main/java/io/grafeas/v1/Recipe.java index d27fa40c..e69853fd 100644 --- a/src/main/java/io/grafeas/v1/Recipe.java +++ b/src/main/java/io/grafeas/v1/Recipe.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/RecipeOrBuilder.java b/src/main/java/io/grafeas/v1/RecipeOrBuilder.java index 0b8d37be..b32a47a5 100644 --- a/src/main/java/io/grafeas/v1/RecipeOrBuilder.java +++ b/src/main/java/io/grafeas/v1/RecipeOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface RecipeOrBuilder diff --git a/src/main/java/io/grafeas/v1/RelatedUrl.java b/src/main/java/io/grafeas/v1/RelatedUrl.java index 6567c8aa..227968ff 100644 --- a/src/main/java/io/grafeas/v1/RelatedUrl.java +++ b/src/main/java/io/grafeas/v1/RelatedUrl.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/RelatedUrlOrBuilder.java b/src/main/java/io/grafeas/v1/RelatedUrlOrBuilder.java index 3c9d072f..1b585765 100644 --- a/src/main/java/io/grafeas/v1/RelatedUrlOrBuilder.java +++ b/src/main/java/io/grafeas/v1/RelatedUrlOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface RelatedUrlOrBuilder diff --git a/src/main/java/io/grafeas/v1/RepoId.java b/src/main/java/io/grafeas/v1/RepoId.java index 486a1567..1db1b28e 100644 --- a/src/main/java/io/grafeas/v1/RepoId.java +++ b/src/main/java/io/grafeas/v1/RepoId.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/RepoIdOrBuilder.java b/src/main/java/io/grafeas/v1/RepoIdOrBuilder.java index ae814096..2a9d9c8e 100644 --- a/src/main/java/io/grafeas/v1/RepoIdOrBuilder.java +++ b/src/main/java/io/grafeas/v1/RepoIdOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface RepoIdOrBuilder diff --git a/src/main/java/io/grafeas/v1/Severity.java b/src/main/java/io/grafeas/v1/Severity.java index b7c104a4..4f1faf23 100644 --- a/src/main/java/io/grafeas/v1/Severity.java +++ b/src/main/java/io/grafeas/v1/Severity.java @@ -15,23 +15,7 @@ */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: grafeas/v1/severity.proto - -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ +// source: grafeas/v1/vulnerability.proto package io.grafeas.v1; @@ -234,7 +218,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.grafeas.v1.SeverityOuterClass.getDescriptor().getEnumTypes().get(0); + return io.grafeas.v1.Vulnerability.getDescriptor().getEnumTypes().get(0); } private static final Severity[] VALUES = values(); diff --git a/src/main/java/io/grafeas/v1/SeverityOuterClass.java b/src/main/java/io/grafeas/v1/SeverityOuterClass.java deleted file mode 100644 index 44125bef..00000000 --- a/src/main/java/io/grafeas/v1/SeverityOuterClass.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: grafeas/v1/severity.proto - -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - -package io.grafeas.v1; - -public final class SeverityOuterClass { - private SeverityOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\031grafeas/v1/severity.proto\022\ngrafeas.v1*" - + "^\n\010Severity\022\030\n\024SEVERITY_UNSPECIFIED\020\000\022\013\n" - + "\007MINIMAL\020\001\022\007\n\003LOW\020\002\022\n\n\006MEDIUM\020\003\022\010\n\004HIGH\020" - + "\004\022\014\n\010CRITICAL\020\005BQ\n\rio.grafeas.v1P\001Z8goog" - + "le.golang.org/genproto/googleapis/grafea" - + "s/v1;grafeas\242\002\003GRAb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/src/main/java/io/grafeas/v1/Signature.java b/src/main/java/io/grafeas/v1/Signature.java index 203fd637..d1c91e81 100644 --- a/src/main/java/io/grafeas/v1/Signature.java +++ b/src/main/java/io/grafeas/v1/Signature.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/SignatureOrBuilder.java b/src/main/java/io/grafeas/v1/SignatureOrBuilder.java index e55de69a..fb62d2f5 100644 --- a/src/main/java/io/grafeas/v1/SignatureOrBuilder.java +++ b/src/main/java/io/grafeas/v1/SignatureOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/common.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface SignatureOrBuilder diff --git a/src/main/java/io/grafeas/v1/SlsaProvenance.java b/src/main/java/io/grafeas/v1/SlsaProvenance.java index d35c7ae4..b64dfb7c 100644 --- a/src/main/java/io/grafeas/v1/SlsaProvenance.java +++ b/src/main/java/io/grafeas/v1/SlsaProvenance.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/slsa_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** Protobuf type {@code grafeas.v1.SlsaProvenance} */ diff --git a/src/main/java/io/grafeas/v1/SlsaProvenanceOrBuilder.java b/src/main/java/io/grafeas/v1/SlsaProvenanceOrBuilder.java index e7ed0aff..d811bec5 100644 --- a/src/main/java/io/grafeas/v1/SlsaProvenanceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/SlsaProvenanceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/slsa_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface SlsaProvenanceOrBuilder diff --git a/src/main/java/io/grafeas/v1/SlsaProvenanceOuterClass.java b/src/main/java/io/grafeas/v1/SlsaProvenanceOuterClass.java index 3d5bc73a..a662d6d3 100644 --- a/src/main/java/io/grafeas/v1/SlsaProvenanceOuterClass.java +++ b/src/main/java/io/grafeas/v1/SlsaProvenanceOuterClass.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/slsa_provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class SlsaProvenanceOuterClass { diff --git a/src/main/java/io/grafeas/v1/Source.java b/src/main/java/io/grafeas/v1/Source.java index b1fc82c6..cf673cc1 100644 --- a/src/main/java/io/grafeas/v1/Source.java +++ b/src/main/java/io/grafeas/v1/Source.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/SourceContext.java b/src/main/java/io/grafeas/v1/SourceContext.java index 3fe8b3a8..95b05a6c 100644 --- a/src/main/java/io/grafeas/v1/SourceContext.java +++ b/src/main/java/io/grafeas/v1/SourceContext.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/SourceContextOrBuilder.java b/src/main/java/io/grafeas/v1/SourceContextOrBuilder.java index 9ae4af3e..acea1dab 100644 --- a/src/main/java/io/grafeas/v1/SourceContextOrBuilder.java +++ b/src/main/java/io/grafeas/v1/SourceContextOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface SourceContextOrBuilder diff --git a/src/main/java/io/grafeas/v1/SourceOrBuilder.java b/src/main/java/io/grafeas/v1/SourceOrBuilder.java index 13ca6fc0..21a19585 100644 --- a/src/main/java/io/grafeas/v1/SourceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/SourceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/provenance.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface SourceOrBuilder diff --git a/src/main/java/io/grafeas/v1/Subject.java b/src/main/java/io/grafeas/v1/Subject.java index 61c53b2e..a87f7ee1 100644 --- a/src/main/java/io/grafeas/v1/Subject.java +++ b/src/main/java/io/grafeas/v1/Subject.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_statement.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** Protobuf type {@code grafeas.v1.Subject} */ diff --git a/src/main/java/io/grafeas/v1/SubjectOrBuilder.java b/src/main/java/io/grafeas/v1/SubjectOrBuilder.java index 3007c4a0..79e522f2 100644 --- a/src/main/java/io/grafeas/v1/SubjectOrBuilder.java +++ b/src/main/java/io/grafeas/v1/SubjectOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_statement.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface SubjectOrBuilder diff --git a/src/main/java/io/grafeas/v1/UpdateNoteRequest.java b/src/main/java/io/grafeas/v1/UpdateNoteRequest.java index acbfebd6..f4cb2364 100644 --- a/src/main/java/io/grafeas/v1/UpdateNoteRequest.java +++ b/src/main/java/io/grafeas/v1/UpdateNoteRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/UpdateNoteRequestOrBuilder.java b/src/main/java/io/grafeas/v1/UpdateNoteRequestOrBuilder.java index 7df42e09..2ab1e077 100644 --- a/src/main/java/io/grafeas/v1/UpdateNoteRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/UpdateNoteRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface UpdateNoteRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/UpdateOccurrenceRequest.java b/src/main/java/io/grafeas/v1/UpdateOccurrenceRequest.java index fd4d9d24..34c61487 100644 --- a/src/main/java/io/grafeas/v1/UpdateOccurrenceRequest.java +++ b/src/main/java/io/grafeas/v1/UpdateOccurrenceRequest.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/UpdateOccurrenceRequestOrBuilder.java b/src/main/java/io/grafeas/v1/UpdateOccurrenceRequestOrBuilder.java index a5abe24b..8fdfaac8 100644 --- a/src/main/java/io/grafeas/v1/UpdateOccurrenceRequestOrBuilder.java +++ b/src/main/java/io/grafeas/v1/UpdateOccurrenceRequestOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/grafeas.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface UpdateOccurrenceRequestOrBuilder diff --git a/src/main/java/io/grafeas/v1/Upgrade.java b/src/main/java/io/grafeas/v1/Upgrade.java index b9105dff..430f34b3 100644 --- a/src/main/java/io/grafeas/v1/Upgrade.java +++ b/src/main/java/io/grafeas/v1/Upgrade.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/upgrade.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Upgrade { diff --git a/src/main/java/io/grafeas/v1/UpgradeDistribution.java b/src/main/java/io/grafeas/v1/UpgradeDistribution.java index 2b7d20a4..80ad0c31 100644 --- a/src/main/java/io/grafeas/v1/UpgradeDistribution.java +++ b/src/main/java/io/grafeas/v1/UpgradeDistribution.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/upgrade.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/UpgradeDistributionOrBuilder.java b/src/main/java/io/grafeas/v1/UpgradeDistributionOrBuilder.java index b56ea0b8..fc9e5141 100644 --- a/src/main/java/io/grafeas/v1/UpgradeDistributionOrBuilder.java +++ b/src/main/java/io/grafeas/v1/UpgradeDistributionOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/upgrade.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface UpgradeDistributionOrBuilder diff --git a/src/main/java/io/grafeas/v1/UpgradeNote.java b/src/main/java/io/grafeas/v1/UpgradeNote.java index 82ab3540..c5ef8638 100644 --- a/src/main/java/io/grafeas/v1/UpgradeNote.java +++ b/src/main/java/io/grafeas/v1/UpgradeNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/upgrade.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/UpgradeNoteOrBuilder.java b/src/main/java/io/grafeas/v1/UpgradeNoteOrBuilder.java index e4e58d31..009bae78 100644 --- a/src/main/java/io/grafeas/v1/UpgradeNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/UpgradeNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/upgrade.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface UpgradeNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/UpgradeOccurrence.java b/src/main/java/io/grafeas/v1/UpgradeOccurrence.java index fb28f505..641602dd 100644 --- a/src/main/java/io/grafeas/v1/UpgradeOccurrence.java +++ b/src/main/java/io/grafeas/v1/UpgradeOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/upgrade.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/UpgradeOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/UpgradeOccurrenceOrBuilder.java index 4d486028..7e2a942d 100644 --- a/src/main/java/io/grafeas/v1/UpgradeOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/UpgradeOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/upgrade.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface UpgradeOccurrenceOrBuilder diff --git a/src/main/java/io/grafeas/v1/Version.java b/src/main/java/io/grafeas/v1/Version.java index d33ef5fb..7c45e03b 100644 --- a/src/main/java/io/grafeas/v1/Version.java +++ b/src/main/java/io/grafeas/v1/Version.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/VersionOrBuilder.java b/src/main/java/io/grafeas/v1/VersionOrBuilder.java index 68a6d779..f743e7cf 100644 --- a/src/main/java/io/grafeas/v1/VersionOrBuilder.java +++ b/src/main/java/io/grafeas/v1/VersionOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/package.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface VersionOrBuilder diff --git a/src/main/java/io/grafeas/v1/Vulnerability.java b/src/main/java/io/grafeas/v1/Vulnerability.java index 5d34fb1d..b1e804ef 100644 --- a/src/main/java/io/grafeas/v1/Vulnerability.java +++ b/src/main/java/io/grafeas/v1/Vulnerability.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/vulnerability.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public final class Vulnerability { @@ -64,6 +48,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_grafeas_v1_VulnerabilityOccurrence_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_grafeas_v1_VulnerabilityOccurrence_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_grafeas_v1_VulnerabilityOccurrence_PackageIssue_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -81,50 +69,54 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s.v1\032\037google/api/field_behavior.proto\032\037g" + "oogle/protobuf/timestamp.proto\032\027grafeas/" + "v1/common.proto\032\025grafeas/v1/cvss.proto\032\030" - + "grafeas/v1/package.proto\032\031grafeas/v1/sev" - + "erity.proto\"\232\007\n\021VulnerabilityNote\022\022\n\ncvs" - + "s_score\030\001 \001(\002\022&\n\010severity\030\002 \001(\0162\024.grafea" - + "s.v1.Severity\0225\n\007details\030\003 \003(\0132$.grafeas" - + ".v1.VulnerabilityNote.Detail\022#\n\007cvss_v3\030" - + "\004 \001(\0132\022.grafeas.v1.CVSSv3\022D\n\017windows_det" - + "ails\030\005 \003(\0132+.grafeas.v1.VulnerabilityNot" - + "e.WindowsDetail\0226\n\022source_update_time\030\006 " - + "\001(\0132\032.google.protobuf.Timestamp\032\255\003\n\006Deta" - + "il\022\025\n\rseverity_name\030\001 \001(\t\022\023\n\013description" - + "\030\002 \001(\t\022\024\n\014package_type\030\003 \001(\t\022\030\n\020affected" - + "_cpe_uri\030\004 \001(\t\022\030\n\020affected_package\030\005 \001(\t" - + "\0223\n\026affected_version_start\030\006 \001(\0132\023.grafe" - + "as.v1.Version\0221\n\024affected_version_end\030\007 " - + "\001(\0132\023.grafeas.v1.Version\022\025\n\rfixed_cpe_ur" - + "i\030\010 \001(\t\022\025\n\rfixed_package\030\t \001(\t\022*\n\rfixed_" - + "version\030\n \001(\0132\023.grafeas.v1.Version\022\023\n\013is" - + "_obsolete\030\013 \001(\010\0226\n\022source_update_time\030\014 " - + "\001(\0132\032.google.protobuf.Timestamp\022\016\n\006sourc" - + "e\030\r \001(\t\022\016\n\006vendor\030\016 \001(\t\032\276\001\n\rWindowsDetai" - + "l\022\017\n\007cpe_uri\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\023\n\013desc" - + "ription\030\003 \001(\t\022M\n\nfixing_kbs\030\004 \003(\01329.graf" - + "eas.v1.VulnerabilityNote.WindowsDetail.K" - + "nowledgeBase\032*\n\rKnowledgeBase\022\014\n\004name\030\001 " - + "\001(\t\022\013\n\003url\030\002 \001(\t\"\254\005\n\027VulnerabilityOccurr" - + "ence\022\014\n\004type\030\001 \001(\t\022&\n\010severity\030\002 \001(\0162\024.g" - + "rafeas.v1.Severity\022\022\n\ncvss_score\030\003 \001(\002\022 " - + "\n\006cvssv3\030\n \001(\0132\020.grafeas.v1.CVSS\022G\n\rpack" - + "age_issue\030\004 \003(\01320.grafeas.v1.Vulnerabili" - + "tyOccurrence.PackageIssue\022\031\n\021short_descr" - + "iption\030\005 \001(\t\022\030\n\020long_description\030\006 \001(\t\022," - + "\n\014related_urls\030\007 \003(\0132\026.grafeas.v1.Relate" - + "dUrl\0220\n\022effective_severity\030\010 \001(\0162\024.grafe" - + "as.v1.Severity\022\025\n\rfix_available\030\t \001(\010\032\257\002" - + "\n\014PackageIssue\022\030\n\020affected_cpe_uri\030\001 \001(\t" - + "\022\030\n\020affected_package\030\002 \001(\t\022-\n\020affected_v" - + "ersion\030\003 \001(\0132\023.grafeas.v1.Version\022\025\n\rfix" - + "ed_cpe_uri\030\004 \001(\t\022\025\n\rfixed_package\030\005 \001(\t\022" - + "*\n\rfixed_version\030\006 \001(\0132\023.grafeas.v1.Vers" - + "ion\022\025\n\rfix_available\030\007 \001(\010\022\024\n\014package_ty" - + "pe\030\010 \001(\t\0225\n\022effective_severity\030\t \001(\0162\024.g" - + "rafeas.v1.SeverityB\003\340A\003BQ\n\rio.grafeas.v1" - + "P\001Z8google.golang.org/genproto/googleapi" - + "s/grafeas/v1;grafeas\242\002\003GRAb\006proto3" + + "grafeas/v1/package.proto\"\232\007\n\021Vulnerabili" + + "tyNote\022\022\n\ncvss_score\030\001 \001(\002\022&\n\010severity\030\002" + + " \001(\0162\024.grafeas.v1.Severity\0225\n\007details\030\003 " + + "\003(\0132$.grafeas.v1.VulnerabilityNote.Detai" + + "l\022#\n\007cvss_v3\030\004 \001(\0132\022.grafeas.v1.CVSSv3\022D" + + "\n\017windows_details\030\005 \003(\0132+.grafeas.v1.Vul" + + "nerabilityNote.WindowsDetail\0226\n\022source_u" + + "pdate_time\030\006 \001(\0132\032.google.protobuf.Times" + + "tamp\032\255\003\n\006Detail\022\025\n\rseverity_name\030\001 \001(\t\022\023" + + "\n\013description\030\002 \001(\t\022\024\n\014package_type\030\003 \001(" + + "\t\022\030\n\020affected_cpe_uri\030\004 \001(\t\022\030\n\020affected_" + + "package\030\005 \001(\t\0223\n\026affected_version_start\030" + + "\006 \001(\0132\023.grafeas.v1.Version\0221\n\024affected_v" + + "ersion_end\030\007 \001(\0132\023.grafeas.v1.Version\022\025\n" + + "\rfixed_cpe_uri\030\010 \001(\t\022\025\n\rfixed_package\030\t " + + "\001(\t\022*\n\rfixed_version\030\n \001(\0132\023.grafeas.v1." + + "Version\022\023\n\013is_obsolete\030\013 \001(\010\0226\n\022source_u" + + "pdate_time\030\014 \001(\0132\032.google.protobuf.Times" + + "tamp\022\016\n\006source\030\r \001(\t\022\016\n\006vendor\030\016 \001(\t\032\276\001\n" + + "\rWindowsDetail\022\017\n\007cpe_uri\030\001 \001(\t\022\014\n\004name\030" + + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\nfixing_kbs" + + "\030\004 \003(\01329.grafeas.v1.VulnerabilityNote.Wi" + + "ndowsDetail.KnowledgeBase\032*\n\rKnowledgeBa" + + "se\022\014\n\004name\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\"\214\006\n\027Vulner" + + "abilityOccurrence\022\014\n\004type\030\001 \001(\t\022&\n\010sever" + + "ity\030\002 \001(\0162\024.grafeas.v1.Severity\022\022\n\ncvss_" + + "score\030\003 \001(\002\022:\n\006cvssv3\030\n \001(\0132*.grafeas.v1" + + ".VulnerabilityOccurrence.CVSSV3\022G\n\rpacka" + + "ge_issue\030\004 \003(\01320.grafeas.v1.Vulnerabilit" + + "yOccurrence.PackageIssue\022\031\n\021short_descri" + + "ption\030\005 \001(\t\022\030\n\020long_description\030\006 \001(\t\022,\n" + + "\014related_urls\030\007 \003(\0132\026.grafeas.v1.Related" + + "Url\0220\n\022effective_severity\030\010 \001(\0162\024.grafea" + + "s.v1.Severity\022\025\n\rfix_available\030\t \001(\010\032D\n\006" + + "CVSSV3\022\022\n\nbase_score\030\001 \001(\002\022&\n\010severity\030\002" + + " \001(\0162\024.grafeas.v1.Severity\032\257\002\n\014PackageIs" + + "sue\022\030\n\020affected_cpe_uri\030\001 \001(\t\022\030\n\020affecte" + + "d_package\030\002 \001(\t\022-\n\020affected_version\030\003 \001(" + + "\0132\023.grafeas.v1.Version\022\025\n\rfixed_cpe_uri\030" + + "\004 \001(\t\022\025\n\rfixed_package\030\005 \001(\t\022*\n\rfixed_ve" + + "rsion\030\006 \001(\0132\023.grafeas.v1.Version\022\025\n\rfix_" + + "available\030\007 \001(\010\022\024\n\014package_type\030\010 \001(\t\0225\n" + + "\022effective_severity\030\t \001(\0162\024.grafeas.v1.S" + + "everityB\003\340A\003*^\n\010Severity\022\030\n\024SEVERITY_UNS" + + "PECIFIED\020\000\022\013\n\007MINIMAL\020\001\022\007\n\003LOW\020\002\022\n\n\006MEDI" + + "UM\020\003\022\010\n\004HIGH\020\004\022\014\n\010CRITICAL\020\005BQ\n\rio.grafe" + + "as.v1P\001Z8google.golang.org/genproto/goog" + + "leapis/grafeas/v1;grafeas\242\002\003GRAb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -135,7 +127,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { io.grafeas.v1.Common.getDescriptor(), io.grafeas.v1.Cvss.getDescriptor(), io.grafeas.v1.Package.getDescriptor(), - io.grafeas.v1.SeverityOuterClass.getDescriptor(), }); internal_static_grafeas_v1_VulnerabilityNote_descriptor = getDescriptor().getMessageTypes().get(0); @@ -201,8 +192,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EffectiveSeverity", "FixAvailable", }); - internal_static_grafeas_v1_VulnerabilityOccurrence_PackageIssue_descriptor = + internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_descriptor = internal_static_grafeas_v1_VulnerabilityOccurrence_descriptor.getNestedTypes().get(0); + internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_descriptor, + new java.lang.String[] { + "BaseScore", "Severity", + }); + internal_static_grafeas_v1_VulnerabilityOccurrence_PackageIssue_descriptor = + internal_static_grafeas_v1_VulnerabilityOccurrence_descriptor.getNestedTypes().get(1); internal_static_grafeas_v1_VulnerabilityOccurrence_PackageIssue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_grafeas_v1_VulnerabilityOccurrence_PackageIssue_descriptor, @@ -227,7 +226,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { io.grafeas.v1.Common.getDescriptor(); io.grafeas.v1.Cvss.getDescriptor(); io.grafeas.v1.Package.getDescriptor(); - io.grafeas.v1.SeverityOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/io/grafeas/v1/VulnerabilityNote.java b/src/main/java/io/grafeas/v1/VulnerabilityNote.java index 5b490785..c908397a 100644 --- a/src/main/java/io/grafeas/v1/VulnerabilityNote.java +++ b/src/main/java/io/grafeas/v1/VulnerabilityNote.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/vulnerability.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/VulnerabilityNoteOrBuilder.java b/src/main/java/io/grafeas/v1/VulnerabilityNoteOrBuilder.java index aa4e22da..86dd8877 100644 --- a/src/main/java/io/grafeas/v1/VulnerabilityNoteOrBuilder.java +++ b/src/main/java/io/grafeas/v1/VulnerabilityNoteOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/vulnerability.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface VulnerabilityNoteOrBuilder diff --git a/src/main/java/io/grafeas/v1/VulnerabilityOccurrence.java b/src/main/java/io/grafeas/v1/VulnerabilityOccurrence.java index 104acc3f..6256491c 100644 --- a/src/main/java/io/grafeas/v1/VulnerabilityOccurrence.java +++ b/src/main/java/io/grafeas/v1/VulnerabilityOccurrence.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/vulnerability.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** @@ -164,11 +148,13 @@ private VulnerabilityOccurrence( } case 82: { - io.grafeas.v1.CVSS.Builder subBuilder = null; + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.Builder subBuilder = null; if (cvssv3_ != null) { subBuilder = cvssv3_.toBuilder(); } - cvssv3_ = input.readMessage(io.grafeas.v1.CVSS.parser(), extensionRegistry); + cvssv3_ = + input.readMessage( + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cvssv3_); cvssv3_ = subBuilder.buildPartial(); @@ -216,6 +202,738 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { io.grafeas.v1.VulnerabilityOccurrence.Builder.class); } + public interface CVSSV3OrBuilder + extends + // @@protoc_insertion_point(interface_extends:grafeas.v1.VulnerabilityOccurrence.CVSSV3) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The base score for for this vulnerability according to cvss v3.
+     * 
+ * + * float base_score = 1; + * + * @return The baseScore. + */ + float getBaseScore(); + + /** + * + * + *
+     * The severity rating assigned to this vulnerability by vulnerability
+     * provider.
+     * 
+ * + * .grafeas.v1.Severity severity = 2; + * + * @return The enum numeric value on the wire for severity. + */ + int getSeverityValue(); + /** + * + * + *
+     * The severity rating assigned to this vulnerability by vulnerability
+     * provider.
+     * 
+ * + * .grafeas.v1.Severity severity = 2; + * + * @return The severity. + */ + io.grafeas.v1.Severity getSeverity(); + } + /** + * + * + *
+   * The CVSS v3 score for this vulnerability.
+   * 
+ * + * Protobuf type {@code grafeas.v1.VulnerabilityOccurrence.CVSSV3} + */ + public static final class CVSSV3 extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:grafeas.v1.VulnerabilityOccurrence.CVSSV3) + CVSSV3OrBuilder { + private static final long serialVersionUID = 0L; + // Use CVSSV3.newBuilder() to construct. + private CVSSV3(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CVSSV3() { + severity_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CVSSV3(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CVSSV3( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 13: + { + baseScore_ = input.readFloat(); + break; + } + case 16: + { + int rawValue = input.readEnum(); + + severity_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.grafeas.v1.Vulnerability + .internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.grafeas.v1.Vulnerability + .internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.class, + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.Builder.class); + } + + public static final int BASE_SCORE_FIELD_NUMBER = 1; + private float baseScore_; + /** + * + * + *
+     * The base score for for this vulnerability according to cvss v3.
+     * 
+ * + * float base_score = 1; + * + * @return The baseScore. + */ + @java.lang.Override + public float getBaseScore() { + return baseScore_; + } + + public static final int SEVERITY_FIELD_NUMBER = 2; + private int severity_; + /** + * + * + *
+     * The severity rating assigned to this vulnerability by vulnerability
+     * provider.
+     * 
+ * + * .grafeas.v1.Severity severity = 2; + * + * @return The enum numeric value on the wire for severity. + */ + @java.lang.Override + public int getSeverityValue() { + return severity_; + } + /** + * + * + *
+     * The severity rating assigned to this vulnerability by vulnerability
+     * provider.
+     * 
+ * + * .grafeas.v1.Severity severity = 2; + * + * @return The severity. + */ + @java.lang.Override + public io.grafeas.v1.Severity getSeverity() { + @SuppressWarnings("deprecation") + io.grafeas.v1.Severity result = io.grafeas.v1.Severity.valueOf(severity_); + return result == null ? io.grafeas.v1.Severity.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (baseScore_ != 0F) { + output.writeFloat(1, baseScore_); + } + if (severity_ != io.grafeas.v1.Severity.SEVERITY_UNSPECIFIED.getNumber()) { + output.writeEnum(2, severity_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (baseScore_ != 0F) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, baseScore_); + } + if (severity_ != io.grafeas.v1.Severity.SEVERITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, severity_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.grafeas.v1.VulnerabilityOccurrence.CVSSV3)) { + return super.equals(obj); + } + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 other = + (io.grafeas.v1.VulnerabilityOccurrence.CVSSV3) obj; + + if (java.lang.Float.floatToIntBits(getBaseScore()) + != java.lang.Float.floatToIntBits(other.getBaseScore())) return false; + if (severity_ != other.severity_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + BASE_SCORE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBaseScore()); + hash = (37 * hash) + SEVERITY_FIELD_NUMBER; + hash = (53 * hash) + severity_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * The CVSS v3 score for this vulnerability.
+     * 
+ * + * Protobuf type {@code grafeas.v1.VulnerabilityOccurrence.CVSSV3} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:grafeas.v1.VulnerabilityOccurrence.CVSSV3) + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3OrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.grafeas.v1.Vulnerability + .internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.grafeas.v1.Vulnerability + .internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.class, + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.Builder.class); + } + + // Construct using io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + baseScore_ = 0F; + + severity_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.grafeas.v1.Vulnerability + .internal_static_grafeas_v1_VulnerabilityOccurrence_CVSSV3_descriptor; + } + + @java.lang.Override + public io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 getDefaultInstanceForType() { + return io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.getDefaultInstance(); + } + + @java.lang.Override + public io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 build() { + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 buildPartial() { + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 result = + new io.grafeas.v1.VulnerabilityOccurrence.CVSSV3(this); + result.baseScore_ = baseScore_; + result.severity_ = severity_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.grafeas.v1.VulnerabilityOccurrence.CVSSV3) { + return mergeFrom((io.grafeas.v1.VulnerabilityOccurrence.CVSSV3) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 other) { + if (other == io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.getDefaultInstance()) return this; + if (other.getBaseScore() != 0F) { + setBaseScore(other.getBaseScore()); + } + if (other.severity_ != 0) { + setSeverityValue(other.getSeverityValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.grafeas.v1.VulnerabilityOccurrence.CVSSV3) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private float baseScore_; + /** + * + * + *
+       * The base score for for this vulnerability according to cvss v3.
+       * 
+ * + * float base_score = 1; + * + * @return The baseScore. + */ + @java.lang.Override + public float getBaseScore() { + return baseScore_; + } + /** + * + * + *
+       * The base score for for this vulnerability according to cvss v3.
+       * 
+ * + * float base_score = 1; + * + * @param value The baseScore to set. + * @return This builder for chaining. + */ + public Builder setBaseScore(float value) { + + baseScore_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The base score for for this vulnerability according to cvss v3.
+       * 
+ * + * float base_score = 1; + * + * @return This builder for chaining. + */ + public Builder clearBaseScore() { + + baseScore_ = 0F; + onChanged(); + return this; + } + + private int severity_ = 0; + /** + * + * + *
+       * The severity rating assigned to this vulnerability by vulnerability
+       * provider.
+       * 
+ * + * .grafeas.v1.Severity severity = 2; + * + * @return The enum numeric value on the wire for severity. + */ + @java.lang.Override + public int getSeverityValue() { + return severity_; + } + /** + * + * + *
+       * The severity rating assigned to this vulnerability by vulnerability
+       * provider.
+       * 
+ * + * .grafeas.v1.Severity severity = 2; + * + * @param value The enum numeric value on the wire for severity to set. + * @return This builder for chaining. + */ + public Builder setSeverityValue(int value) { + + severity_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The severity rating assigned to this vulnerability by vulnerability
+       * provider.
+       * 
+ * + * .grafeas.v1.Severity severity = 2; + * + * @return The severity. + */ + @java.lang.Override + public io.grafeas.v1.Severity getSeverity() { + @SuppressWarnings("deprecation") + io.grafeas.v1.Severity result = io.grafeas.v1.Severity.valueOf(severity_); + return result == null ? io.grafeas.v1.Severity.UNRECOGNIZED : result; + } + /** + * + * + *
+       * The severity rating assigned to this vulnerability by vulnerability
+       * provider.
+       * 
+ * + * .grafeas.v1.Severity severity = 2; + * + * @param value The severity to set. + * @return This builder for chaining. + */ + public Builder setSeverity(io.grafeas.v1.Severity value) { + if (value == null) { + throw new NullPointerException(); + } + + severity_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The severity rating assigned to this vulnerability by vulnerability
+       * provider.
+       * 
+ * + * .grafeas.v1.Severity severity = 2; + * + * @return This builder for chaining. + */ + public Builder clearSeverity() { + + severity_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:grafeas.v1.VulnerabilityOccurrence.CVSSV3) + } + + // @@protoc_insertion_point(class_scope:grafeas.v1.VulnerabilityOccurrence.CVSSV3) + private static final io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new io.grafeas.v1.VulnerabilityOccurrence.CVSSV3(); + } + + public static io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CVSSV3 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CVSSV3(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + public interface PackageIssueOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.VulnerabilityOccurrence.PackageIssue) @@ -2775,7 +3493,7 @@ public float getCvssScore() { } public static final int CVSSV3_FIELD_NUMBER = 10; - private io.grafeas.v1.CVSS cvssv3_; + private io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3_; /** * * @@ -2783,7 +3501,7 @@ public float getCvssScore() { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; * * @return Whether the cvssv3 field is set. */ @@ -2798,13 +3516,15 @@ public boolean hasCvssv3() { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; * * @return The cvssv3. */ @java.lang.Override - public io.grafeas.v1.CVSS getCvssv3() { - return cvssv3_ == null ? io.grafeas.v1.CVSS.getDefaultInstance() : cvssv3_; + public io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 getCvssv3() { + return cvssv3_ == null + ? io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.getDefaultInstance() + : cvssv3_; } /** * @@ -2813,10 +3533,10 @@ public io.grafeas.v1.CVSS getCvssv3() { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; */ @java.lang.Override - public io.grafeas.v1.CVSSOrBuilder getCvssv3OrBuilder() { + public io.grafeas.v1.VulnerabilityOccurrence.CVSSV3OrBuilder getCvssv3OrBuilder() { return getCvssv3(); } @@ -3937,9 +4657,11 @@ public Builder clearCvssScore() { return this; } - private io.grafeas.v1.CVSS cvssv3_; + private io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3_; private com.google.protobuf.SingleFieldBuilderV3< - io.grafeas.v1.CVSS, io.grafeas.v1.CVSS.Builder, io.grafeas.v1.CVSSOrBuilder> + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3, + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.Builder, + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3OrBuilder> cvssv3Builder_; /** * @@ -3948,7 +4670,7 @@ public Builder clearCvssScore() { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; * * @return Whether the cvssv3 field is set. */ @@ -3962,13 +4684,15 @@ public boolean hasCvssv3() { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; * * @return The cvssv3. */ - public io.grafeas.v1.CVSS getCvssv3() { + public io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 getCvssv3() { if (cvssv3Builder_ == null) { - return cvssv3_ == null ? io.grafeas.v1.CVSS.getDefaultInstance() : cvssv3_; + return cvssv3_ == null + ? io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.getDefaultInstance() + : cvssv3_; } else { return cvssv3Builder_.getMessage(); } @@ -3980,9 +4704,9 @@ public io.grafeas.v1.CVSS getCvssv3() { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; */ - public Builder setCvssv3(io.grafeas.v1.CVSS value) { + public Builder setCvssv3(io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 value) { if (cvssv3Builder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4002,9 +4726,9 @@ public Builder setCvssv3(io.grafeas.v1.CVSS value) { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; */ - public Builder setCvssv3(io.grafeas.v1.CVSS.Builder builderForValue) { + public Builder setCvssv3(io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.Builder builderForValue) { if (cvssv3Builder_ == null) { cvssv3_ = builderForValue.build(); onChanged(); @@ -4021,12 +4745,16 @@ public Builder setCvssv3(io.grafeas.v1.CVSS.Builder builderForValue) { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; */ - public Builder mergeCvssv3(io.grafeas.v1.CVSS value) { + public Builder mergeCvssv3(io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 value) { if (cvssv3Builder_ == null) { if (cvssv3_ != null) { - cvssv3_ = io.grafeas.v1.CVSS.newBuilder(cvssv3_).mergeFrom(value).buildPartial(); + cvssv3_ = + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 + .newBuilder(cvssv3_) + .mergeFrom(value) + .buildPartial(); } else { cvssv3_ = value; } @@ -4044,7 +4772,7 @@ public Builder mergeCvssv3(io.grafeas.v1.CVSS value) { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; */ public Builder clearCvssv3() { if (cvssv3Builder_ == null) { @@ -4064,9 +4792,9 @@ public Builder clearCvssv3() { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; */ - public io.grafeas.v1.CVSS.Builder getCvssv3Builder() { + public io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.Builder getCvssv3Builder() { onChanged(); return getCvssv3FieldBuilder().getBuilder(); @@ -4078,13 +4806,15 @@ public io.grafeas.v1.CVSS.Builder getCvssv3Builder() { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; */ - public io.grafeas.v1.CVSSOrBuilder getCvssv3OrBuilder() { + public io.grafeas.v1.VulnerabilityOccurrence.CVSSV3OrBuilder getCvssv3OrBuilder() { if (cvssv3Builder_ != null) { return cvssv3Builder_.getMessageOrBuilder(); } else { - return cvssv3_ == null ? io.grafeas.v1.CVSS.getDefaultInstance() : cvssv3_; + return cvssv3_ == null + ? io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.getDefaultInstance() + : cvssv3_; } } /** @@ -4094,15 +4824,19 @@ public io.grafeas.v1.CVSSOrBuilder getCvssv3OrBuilder() { * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - io.grafeas.v1.CVSS, io.grafeas.v1.CVSS.Builder, io.grafeas.v1.CVSSOrBuilder> + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3, + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.Builder, + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3OrBuilder> getCvssv3FieldBuilder() { if (cvssv3Builder_ == null) { cvssv3Builder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.grafeas.v1.CVSS, io.grafeas.v1.CVSS.Builder, io.grafeas.v1.CVSSOrBuilder>( + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3, + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3.Builder, + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3OrBuilder>( getCvssv3(), getParentForChildren(), isClean()); cvssv3_ = null; } diff --git a/src/main/java/io/grafeas/v1/VulnerabilityOccurrenceOrBuilder.java b/src/main/java/io/grafeas/v1/VulnerabilityOccurrenceOrBuilder.java index 44d87a50..c2631955 100644 --- a/src/main/java/io/grafeas/v1/VulnerabilityOccurrenceOrBuilder.java +++ b/src/main/java/io/grafeas/v1/VulnerabilityOccurrenceOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/vulnerability.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface VulnerabilityOccurrenceOrBuilder @@ -114,7 +98,7 @@ public interface VulnerabilityOccurrenceOrBuilder * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; * * @return Whether the cvssv3 field is set. */ @@ -126,11 +110,11 @@ public interface VulnerabilityOccurrenceOrBuilder * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; * * @return The cvssv3. */ - io.grafeas.v1.CVSS getCvssv3(); + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3 getCvssv3(); /** * * @@ -138,9 +122,9 @@ public interface VulnerabilityOccurrenceOrBuilder * The cvss v3 score for the vulnerability. * * - * .grafeas.v1.CVSS cvssv3 = 10; + * .grafeas.v1.VulnerabilityOccurrence.CVSSV3 cvssv3 = 10; */ - io.grafeas.v1.CVSSOrBuilder getCvssv3OrBuilder(); + io.grafeas.v1.VulnerabilityOccurrence.CVSSV3OrBuilder getCvssv3OrBuilder(); /** * diff --git a/src/main/java/io/grafeas/v1/WindowsUpdate.java b/src/main/java/io/grafeas/v1/WindowsUpdate.java index 64ea6616..cebaef07 100644 --- a/src/main/java/io/grafeas/v1/WindowsUpdate.java +++ b/src/main/java/io/grafeas/v1/WindowsUpdate.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/upgrade.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; /** diff --git a/src/main/java/io/grafeas/v1/WindowsUpdateOrBuilder.java b/src/main/java/io/grafeas/v1/WindowsUpdateOrBuilder.java index 396fc939..d3559f3e 100644 --- a/src/main/java/io/grafeas/v1/WindowsUpdateOrBuilder.java +++ b/src/main/java/io/grafeas/v1/WindowsUpdateOrBuilder.java @@ -17,22 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/upgrade.proto -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; public interface WindowsUpdateOrBuilder diff --git a/src/main/java/io/grafeas/v1/package-info.java b/src/main/java/io/grafeas/v1/package-info.java index d0a5613b..f2393982 100644 --- a/src/main/java/io/grafeas/v1/package-info.java +++ b/src/main/java/io/grafeas/v1/package-info.java @@ -44,23 +44,6 @@ * } */ @Generated("by gapic-generator-java") - -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; import javax.annotation.Generated; diff --git a/src/main/proto/grafeas/v1/compliance.proto b/src/main/proto/grafeas/v1/compliance.proto index 7913151e..1d41db2c 100644 --- a/src/main/proto/grafeas/v1/compliance.proto +++ b/src/main/proto/grafeas/v1/compliance.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package grafeas.v1; -import "grafeas/v1/severity.proto"; +import "grafeas/v1/vulnerability.proto"; option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas"; option java_multiple_files = true; diff --git a/src/main/proto/grafeas/v1/cvss.proto b/src/main/proto/grafeas/v1/cvss.proto index bc2ed520..b41cd633 100644 --- a/src/main/proto/grafeas/v1/cvss.proto +++ b/src/main/proto/grafeas/v1/cvss.proto @@ -83,78 +83,3 @@ message CVSSv3 { IMPACT_NONE = 3; } } - -// Common Vulnerability Scoring System. -// For details, see https://www.first.org/cvss/specification-document -// This is a message we will try to use for storing multiple versions of -// CVSS. The intention is that as new versions of CVSS scores get added, we -// will be able to modify this message rather than adding new protos for each -// new version of the score. -message CVSS { - // The base score is a function of the base metric scores. - float base_score = 1; - - float exploitability_score = 2; - - float impact_score = 3; - - // Base Metrics - // Represents the intrinsic characteristics of a vulnerability that are - // constant over time and across user environments. - AttackVector attack_vector = 4; - AttackComplexity attack_complexity = 5; - Authentication authentication = 6; - PrivilegesRequired privileges_required = 7; - UserInteraction user_interaction = 8; - Scope scope = 9; - Impact confidentiality_impact = 10; - Impact integrity_impact = 11; - Impact availability_impact = 12; - - enum AttackVector { - ATTACK_VECTOR_UNSPECIFIED = 0; - ATTACK_VECTOR_NETWORK = 1; - ATTACK_VECTOR_ADJACENT = 2; - ATTACK_VECTOR_LOCAL = 3; - ATTACK_VECTOR_PHYSICAL = 4; - } - - enum AttackComplexity { - ATTACK_COMPLEXITY_UNSPECIFIED = 0; - ATTACK_COMPLEXITY_LOW = 1; - ATTACK_COMPLEXITY_HIGH = 2; - } - - enum Authentication { - AUTHENTICATION_UNSPECIFIED = 0; - AUTHENTICATION_MULTIPLE = 1; - AUTHENTICATION_SINGLE = 2; - AUTHENTICATION_NONE = 3; - } - - enum PrivilegesRequired { - PRIVILEGES_REQUIRED_UNSPECIFIED = 0; - PRIVILEGES_REQUIRED_NONE = 1; - PRIVILEGES_REQUIRED_LOW = 2; - PRIVILEGES_REQUIRED_HIGH = 3; - } - - enum UserInteraction { - USER_INTERACTION_UNSPECIFIED = 0; - USER_INTERACTION_NONE = 1; - USER_INTERACTION_REQUIRED = 2; - } - - enum Scope { - SCOPE_UNSPECIFIED = 0; - SCOPE_UNCHANGED = 1; - SCOPE_CHANGED = 2; - } - - enum Impact { - IMPACT_UNSPECIFIED = 0; - IMPACT_HIGH = 1; - IMPACT_LOW = 2; - IMPACT_NONE = 3; - } -} diff --git a/src/main/proto/grafeas/v1/discovery.proto b/src/main/proto/grafeas/v1/discovery.proto index 13939b25..e0799255 100644 --- a/src/main/proto/grafeas/v1/discovery.proto +++ b/src/main/proto/grafeas/v1/discovery.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package grafeas.v1; -import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; import "grafeas/v1/common.proto"; @@ -81,8 +80,4 @@ message DiscoveryOccurrence { // The last time this resource was scanned. google.protobuf.Timestamp last_scan_time = 5; - - // The time occurrences related to this discovery occurrence were archived. - google.protobuf.Timestamp archive_time = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/src/main/proto/grafeas/v1/severity.proto b/src/main/proto/grafeas/v1/severity.proto deleted file mode 100644 index cc9cc384..00000000 --- a/src/main/proto/grafeas/v1/severity.proto +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2021 The Grafeas Authors. All rights reserved. -// -// 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 -// -// http://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 = "proto3"; - -package grafeas.v1; - -option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas"; -option java_multiple_files = true; -option java_package = "io.grafeas.v1"; -option objc_class_prefix = "GRA"; - -// Note provider assigned severity/impact ranking. -enum Severity { - // Unknown. - SEVERITY_UNSPECIFIED = 0; - // Minimal severity. - MINIMAL = 1; - // Low severity. - LOW = 2; - // Medium severity. - MEDIUM = 3; - // High severity. - HIGH = 4; - // Critical severity. - CRITICAL = 5; -} diff --git a/src/main/proto/grafeas/v1/vulnerability.proto b/src/main/proto/grafeas/v1/vulnerability.proto index 434e1498..476d3202 100644 --- a/src/main/proto/grafeas/v1/vulnerability.proto +++ b/src/main/proto/grafeas/v1/vulnerability.proto @@ -21,13 +21,28 @@ import "google/protobuf/timestamp.proto"; import "grafeas/v1/common.proto"; import "grafeas/v1/cvss.proto"; import "grafeas/v1/package.proto"; -import "grafeas/v1/severity.proto"; option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas"; option java_multiple_files = true; option java_package = "io.grafeas.v1"; option objc_class_prefix = "GRA"; +// Note provider assigned severity/impact ranking. +enum Severity { + // Unknown. + SEVERITY_UNSPECIFIED = 0; + // Minimal severity. + MINIMAL = 1; + // Low severity. + LOW = 2; + // Medium severity. + MEDIUM = 3; + // High severity. + HIGH = 4; + // Critical severity. + CRITICAL = 5; +} + // A security vulnerability that can be found in resources. message VulnerabilityNote { // The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 @@ -35,7 +50,7 @@ message VulnerabilityNote { float cvss_score = 1; // The note provider assigned severity of this vulnerability. - grafeas.v1.Severity severity = 2; + Severity severity = 2; // Details of all known distros and packages affected by this vulnerability. repeated Detail details = 3; @@ -157,15 +172,24 @@ message VulnerabilityOccurrence { string type = 1; // Output only. The note provider assigned severity of this vulnerability. - grafeas.v1.Severity severity = 2; + Severity severity = 2; // Output only. The CVSS score of this vulnerability. CVSS score is on a // scale of 0 - 10 where 0 indicates low severity and 10 indicates high // severity. float cvss_score = 3; + // The CVSS v3 score for this vulnerability. + message CVSSV3 { + // The base score for for this vulnerability according to cvss v3. + float base_score = 1; + // The severity rating assigned to this vulnerability by vulnerability + // provider. + Severity severity = 2; + } + // The cvss v3 score for the vulnerability. - CVSS cvssv3 = 10; + CVSSV3 cvssv3 = 10; // Required. The set of affected locations and their fixes (if available) // within the associated resource. @@ -207,8 +231,7 @@ message VulnerabilityOccurrence { // The distro or language system assigned severity for this vulnerability // when that is available and note provider assigned severity when it is not // available. - grafeas.v1.Severity effective_severity = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; + Severity effective_severity = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Output only. A one sentence description of this vulnerability. @@ -230,7 +253,7 @@ message VulnerabilityOccurrence { // PackageIssue level. In the case where multiple PackageIssues have differing // effective severities, this field should be the highest severity for any of // the PackageIssues. - grafeas.v1.Severity effective_severity = 8; + Severity effective_severity = 8; // Output only. Whether at least one of the affected packages has a fix // available. diff --git a/src/test/java/io/grafeas/v1/GrafeasClientTest.java b/src/test/java/io/grafeas/v1/GrafeasClientTest.java index 8bfe315b..3f618e86 100644 --- a/src/test/java/io/grafeas/v1/GrafeasClientTest.java +++ b/src/test/java/io/grafeas/v1/GrafeasClientTest.java @@ -14,22 +14,6 @@ * limitations under the License. */ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; import static io.grafeas.v1.GrafeasClient.ListNoteOccurrencesPagedResponse; diff --git a/src/test/java/io/grafeas/v1/MockGrafeas.java b/src/test/java/io/grafeas/v1/MockGrafeas.java index 1b8295ac..f84141e4 100644 --- a/src/test/java/io/grafeas/v1/MockGrafeas.java +++ b/src/test/java/io/grafeas/v1/MockGrafeas.java @@ -14,22 +14,6 @@ * limitations under the License. */ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; import com.google.api.core.BetaApi; diff --git a/src/test/java/io/grafeas/v1/MockGrafeasImpl.java b/src/test/java/io/grafeas/v1/MockGrafeasImpl.java index aaefa479..213699b0 100644 --- a/src/test/java/io/grafeas/v1/MockGrafeasImpl.java +++ b/src/test/java/io/grafeas/v1/MockGrafeasImpl.java @@ -14,22 +14,6 @@ * limitations under the License. */ -/* - * Copyright 2019 The Grafeas Authors. All rights reserved. - * - * 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. - */ - package io.grafeas.v1; import com.google.api.core.BetaApi;