Skip to content
Permalink
Browse files
docs(regen): updated javadoc from protoc update (#10)
  • Loading branch information
yoshi-automation authored and chingor13 committed Dec 30, 2019
1 parent 0f7d657 commit 742dd0ee8b6cb83fd126953c1a979c3db60bb0ed
Showing with 5,445 additions and 626 deletions.
  1. +1 −0 .github/release-please.yml
  2. +10 −4 .kokoro/build.sh
  3. +5 −1 .kokoro/dependencies.sh
  4. +0 −3 .kokoro/release/drop.cfg
  5. +0 −4 .kokoro/release/promote.cfg
  6. +43 −12 renovate.json
  7. +47 −2 src/main/java/io/grafeas/v1/AliasContext.java
  8. +8 −0 src/main/java/io/grafeas/v1/AliasContextOrBuilder.java
  9. +9 −1 src/main/java/io/grafeas/v1/Architecture.java
  10. +83 −13 src/main/java/io/grafeas/v1/Artifact.java
  11. +18 −0 src/main/java/io/grafeas/v1/ArtifactOrBuilder.java
  12. +6 −14 src/main/java/io/grafeas/v1/Attestation.java
  13. +40 −2 src/main/java/io/grafeas/v1/AttestationNote.java
  14. +4 −0 src/main/java/io/grafeas/v1/AttestationNoteOrBuilder.java
  15. +27 −15 src/main/java/io/grafeas/v1/AttestationOccurrence.java
  16. +2 −0 src/main/java/io/grafeas/v1/AttestationOccurrenceOrBuilder.java
  17. +24 −5 src/main/java/io/grafeas/v1/BatchCreateNotesRequest.java
  18. +4 −0 src/main/java/io/grafeas/v1/BatchCreateNotesRequestOrBuilder.java
  19. +6 −0 src/main/java/io/grafeas/v1/BatchCreateNotesResponse.java
  20. +34 −15 src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequest.java
  21. +4 −0 src/main/java/io/grafeas/v1/BatchCreateOccurrencesRequestOrBuilder.java
  22. +6 −0 src/main/java/io/grafeas/v1/BatchCreateOccurrencesResponse.java
  23. +6 −14 src/main/java/io/grafeas/v1/Build.java
  24. +22 −1 src/main/java/io/grafeas/v1/BuildNote.java
  25. +4 −0 src/main/java/io/grafeas/v1/BuildNoteOrBuilder.java
  26. +30 −1 src/main/java/io/grafeas/v1/BuildOccurrence.java
  27. +8 −0 src/main/java/io/grafeas/v1/BuildOccurrenceOrBuilder.java
  28. +160 −29 src/main/java/io/grafeas/v1/BuildProvenance.java
  29. +40 −0 src/main/java/io/grafeas/v1/BuildProvenanceOrBuilder.java
  30. +386 −64 src/main/java/io/grafeas/v1/CVSSv3.java
  31. +86 −16 src/main/java/io/grafeas/v1/CVSSv3OrBuilder.java
  32. +47 −3 src/main/java/io/grafeas/v1/CloudRepoSourceContext.java
  33. +12 −0 src/main/java/io/grafeas/v1/CloudRepoSourceContextOrBuilder.java
  34. +189 −33 src/main/java/io/grafeas/v1/Command.java
  35. +42 −0 src/main/java/io/grafeas/v1/CommandOrBuilder.java
  36. +3 −10 src/main/java/io/grafeas/v1/Common.java
  37. +46 −1 src/main/java/io/grafeas/v1/CreateNoteRequest.java
  38. +12 −0 src/main/java/io/grafeas/v1/CreateNoteRequestOrBuilder.java
  39. +30 −1 src/main/java/io/grafeas/v1/CreateOccurrenceRequest.java
  40. +8 −0 src/main/java/io/grafeas/v1/CreateOccurrenceRequestOrBuilder.java
  41. +3 −10 src/main/java/io/grafeas/v1/Cvss.java
  42. +22 −1 src/main/java/io/grafeas/v1/DeleteNoteRequest.java
  43. +4 −0 src/main/java/io/grafeas/v1/DeleteNoteRequestOrBuilder.java
  44. +22 −1 src/main/java/io/grafeas/v1/DeleteOccurrenceRequest.java
  45. +4 −0 src/main/java/io/grafeas/v1/DeleteOccurrenceRequestOrBuilder.java
  46. +6 −14 src/main/java/io/grafeas/v1/Deployment.java
  47. +41 −0 src/main/java/io/grafeas/v1/DeploymentNote.java
  48. +10 −0 src/main/java/io/grafeas/v1/DeploymentNoteOrBuilder.java
  49. +140 −14 src/main/java/io/grafeas/v1/DeploymentOccurrence.java
  50. +34 −0 src/main/java/io/grafeas/v1/DeploymentOccurrenceOrBuilder.java
  51. +6 −14 src/main/java/io/grafeas/v1/Discovery.java
  52. +22 −1 src/main/java/io/grafeas/v1/DiscoveryNote.java
  53. +4 −0 src/main/java/io/grafeas/v1/DiscoveryNoteOrBuilder.java
  54. +64 −3 src/main/java/io/grafeas/v1/DiscoveryOccurrence.java
  55. +12 −0 src/main/java/io/grafeas/v1/DiscoveryOccurrenceOrBuilder.java
  56. +94 −1 src/main/java/io/grafeas/v1/Distribution.java
  57. +24 −0 src/main/java/io/grafeas/v1/DistributionOrBuilder.java
  58. +6 −0 src/main/java/io/grafeas/v1/FileHashes.java
  59. +83 −13 src/main/java/io/grafeas/v1/Fingerprint.java
  60. +18 −0 src/main/java/io/grafeas/v1/FingerprintOrBuilder.java
  61. +71 −3 src/main/java/io/grafeas/v1/GerritSourceContext.java
  62. +16 −0 src/main/java/io/grafeas/v1/GerritSourceContextOrBuilder.java
  63. +22 −1 src/main/java/io/grafeas/v1/GetNoteRequest.java
  64. +4 −0 src/main/java/io/grafeas/v1/GetNoteRequestOrBuilder.java
  65. +22 −1 src/main/java/io/grafeas/v1/GetOccurrenceNoteRequest.java
  66. +4 −0 src/main/java/io/grafeas/v1/GetOccurrenceNoteRequestOrBuilder.java
  67. +22 −1 src/main/java/io/grafeas/v1/GetOccurrenceRequest.java
  68. +4 −0 src/main/java/io/grafeas/v1/GetOccurrenceRequestOrBuilder.java
  69. +38 −1 src/main/java/io/grafeas/v1/GitSourceContext.java
  70. +8 −0 src/main/java/io/grafeas/v1/GitSourceContextOrBuilder.java
  71. +18 −26 src/main/java/io/grafeas/v1/GrafeasOuterClass.java
  72. +31 −1 src/main/java/io/grafeas/v1/Hash.java
  73. +6 −0 src/main/java/io/grafeas/v1/HashOrBuilder.java
  74. +3 −10 src/main/java/io/grafeas/v1/Image.java
  75. +30 −1 src/main/java/io/grafeas/v1/ImageNote.java
  76. +8 −0 src/main/java/io/grafeas/v1/ImageNoteOrBuilder.java
  77. +51 −15 src/main/java/io/grafeas/v1/ImageOccurrence.java
  78. +10 −0 src/main/java/io/grafeas/v1/ImageOccurrenceOrBuilder.java
  79. +38 −1 src/main/java/io/grafeas/v1/Layer.java
  80. +8 −0 src/main/java/io/grafeas/v1/LayerOrBuilder.java
  81. +63 −1 src/main/java/io/grafeas/v1/ListNoteOccurrencesRequest.java
  82. +14 −0 src/main/java/io/grafeas/v1/ListNoteOccurrencesRequestOrBuilder.java
  83. +22 −3 src/main/java/io/grafeas/v1/ListNoteOccurrencesResponse.java
  84. +4 −0 src/main/java/io/grafeas/v1/ListNoteOccurrencesResponseOrBuilder.java
  85. +63 −1 src/main/java/io/grafeas/v1/ListNotesRequest.java
  86. +14 −0 src/main/java/io/grafeas/v1/ListNotesRequestOrBuilder.java
  87. +22 −3 src/main/java/io/grafeas/v1/ListNotesResponse.java
  88. +4 −0 src/main/java/io/grafeas/v1/ListNotesResponseOrBuilder.java
  89. +63 −1 src/main/java/io/grafeas/v1/ListOccurrencesRequest.java
  90. +14 −0 src/main/java/io/grafeas/v1/ListOccurrencesRequestOrBuilder.java
  91. +22 −3 src/main/java/io/grafeas/v1/ListOccurrencesResponse.java
  92. +4 −0 src/main/java/io/grafeas/v1/ListOccurrencesResponseOrBuilder.java
  93. +46 −1 src/main/java/io/grafeas/v1/Location.java
  94. +12 −0 src/main/java/io/grafeas/v1/LocationOrBuilder.java
  95. +216 −27 src/main/java/io/grafeas/v1/Note.java
  96. +9 −1 src/main/java/io/grafeas/v1/NoteKind.java
  97. +1 −1 src/main/java/io/grafeas/v1/NoteName.java
  98. +66 −0 src/main/java/io/grafeas/v1/NoteOrBuilder.java
  99. +167 −3 src/main/java/io/grafeas/v1/Occurrence.java
  100. +1 −1 src/main/java/io/grafeas/v1/OccurrenceName.java
  101. +56 −0 src/main/java/io/grafeas/v1/OccurrenceOrBuilder.java
  102. +3 −10 src/main/java/io/grafeas/v1/Package.java
  103. +34 −15 src/main/java/io/grafeas/v1/PackageNote.java
  104. +4 −0 src/main/java/io/grafeas/v1/PackageNoteOrBuilder.java
  105. +34 −15 src/main/java/io/grafeas/v1/PackageOccurrence.java
  106. +4 −0 src/main/java/io/grafeas/v1/PackageOccurrenceOrBuilder.java
  107. +1 −1 src/main/java/io/grafeas/v1/ProjectName.java
  108. +38 −1 src/main/java/io/grafeas/v1/ProjectRepoId.java
  109. +8 −0 src/main/java/io/grafeas/v1/ProjectRepoIdOrBuilder.java
  110. +6 −14 src/main/java/io/grafeas/v1/Provenance.java
  111. +38 −1 src/main/java/io/grafeas/v1/RelatedUrl.java
  112. +8 −0 src/main/java/io/grafeas/v1/RelatedUrlOrBuilder.java
  113. +39 −3 src/main/java/io/grafeas/v1/RepoId.java
  114. +8 −0 src/main/java/io/grafeas/v1/RepoIdOrBuilder.java
  115. +9 −1 src/main/java/io/grafeas/v1/Severity.java
  116. +31 −1 src/main/java/io/grafeas/v1/Signature.java
  117. +6 −0 src/main/java/io/grafeas/v1/SignatureOrBuilder.java
  118. +44 −17 src/main/java/io/grafeas/v1/Source.java
  119. +41 −7 src/main/java/io/grafeas/v1/SourceContext.java
  120. +12 −0 src/main/java/io/grafeas/v1/SourceContextOrBuilder.java
  121. +8 −0 src/main/java/io/grafeas/v1/SourceOrBuilder.java
  122. +38 −1 src/main/java/io/grafeas/v1/UpdateNoteRequest.java
  123. +12 −0 src/main/java/io/grafeas/v1/UpdateNoteRequestOrBuilder.java
  124. +38 −1 src/main/java/io/grafeas/v1/UpdateOccurrenceRequest.java
  125. +12 −0 src/main/java/io/grafeas/v1/UpdateOccurrenceRequestOrBuilder.java
  126. +88 −2 src/main/java/io/grafeas/v1/Version.java
  127. +18 −0 src/main/java/io/grafeas/v1/VersionOrBuilder.java
  128. +8 −16 src/main/java/io/grafeas/v1/Vulnerability.java
  129. +380 −44 src/main/java/io/grafeas/v1/VulnerabilityNote.java
  130. +10 −0 src/main/java/io/grafeas/v1/VulnerabilityNoteOrBuilder.java
  131. +249 −28 src/main/java/io/grafeas/v1/VulnerabilityOccurrence.java
  132. +24 −0 src/main/java/io/grafeas/v1/VulnerabilityOccurrenceOrBuilder.java
  133. +764 −5 synth.metadata
@@ -1 +1,2 @@
releaseType: java-yoshi
bumpMinorPreMajor: true
@@ -27,6 +27,7 @@ echo ${JOB_TYPE}
mvn install -B -V \
-DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
-Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true \
-T 1C
@@ -38,7 +39,7 @@ fi

case ${JOB_TYPE} in
test)
mvn test -B -Dclirr.skip=true
mvn test -B -Dclirr.skip=true -Denforcer.skip=true
bash ${KOKORO_GFILE_DIR}/codecov.sh
bash .kokoro/coerce_logs.sh
;;
@@ -49,12 +50,17 @@ javadoc)
mvn javadoc:javadoc javadoc:test-javadoc
;;
integration)
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -Dclirr.skip=true -fae verify
mvn -B ${INTEGRATION_TEST_ARGS} \
-DtrimStackTrace=false \
-Dclirr.skip=true \
-Denforcer.skip=true \
-fae \
verify
bash .kokoro/coerce_logs.sh
;;
clirr)
mvn -B clirr:check
mvn -B -Denforcer.skip=true clirr:check
;;
*)
;;
esac
esac
@@ -23,5 +23,9 @@ echo $JOB_TYPE

export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"

mvn install -DskipTests=true -B -V
# this should run maven enforcer
mvn install -B -V \
-DskipTests=true \
-Dclirr.skip=true

mvn -B dependency:analyze -DfailOnWarning=true
@@ -4,6 +4,3 @@ env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-grafeas/.kokoro/release/drop.sh"
}

# Download staging properties file.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-grafeas"
@@ -4,7 +4,3 @@ env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-grafeas/.kokoro/release/promote.sh"
}

# Download staging properties file.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-grafeas"

@@ -1,27 +1,58 @@
{
"extends": [
"config:base"
":separateMajorReleases",
":combinePatchMinorReleases",
":ignoreUnstable",
":prImmediately",
":updateNotScheduled",
":automergeDisabled",
":ignoreModulesAndTests",
":maintainLockFilesDisabled",
":autodetectPinVersions"
],
"ignoreDeps": [],
"packageRules": [
{
"managers": ["maven"],
"packageNames": ["com.google.guava:guava*"],
"packagePatterns": [
"^com.google.guava:"
],
"versionScheme": "docker"
},
{
"packagePatterns": ["^io.grpc:grpc-"],
"groupName": "gRPC packages"
"packagePatterns": [
"^com.google.api:gax",
"^com.google.auth:",
"^com.google.cloud:google-cloud-core",
"^io.grpc:"
],
"groupName": "core dependencies"
},
{
"packagePatterns": ["^com.google.protobuf:protobuf-"],
"groupName": "Protobuf packages"
"packagePatterns": [
"^com.google.http-client:",
"^com.google.oauth-client:",
"^com.google.api-client:"
],
"groupName": "core transport dependencies"
},
{
"packagePatterns": ["^io.opencensus:opencensus-"],
"groupName": "OpenCensus packages"
"packagePatterns": [
"*"
],
"semanticCommitType": "deps",
"semanticCommitScope": null
},
{
"packagePatterns": [
"^org.apache.maven",
"^org.jacoco:",
"^org.codehaus.mojo:",
"^org.sonatype.plugins:",
"^com.coveo:",
"^com.google.cloud:google-cloud-shared-config"
],
"semanticCommitType": "build",
"semanticCommitScope": "deps"
}
],
"semanticCommits": true,
"semanticCommitType": "deps"
"semanticCommits": true
}
@@ -43,6 +43,12 @@ private AliasContext() {
name_ = "";
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new AliasContext();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private AliasContext(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -216,12 +221,20 @@ public final int getNumber() {
return value;
}

/** @deprecated Use {@link #forNumber(int)} instead. */
/**
* @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 Kind 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 Kind forNumber(int value) {
switch (value) {
case 0:
@@ -291,6 +304,8 @@ private Kind(int value) {
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @return The enum numeric value on the wire for kind.
*/
public int getKindValue() {
return kind_;
@@ -303,6 +318,8 @@ public int getKindValue() {
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @return The kind.
*/
public io.grafeas.v1.AliasContext.Kind getKind() {
@SuppressWarnings("deprecation")
@@ -320,6 +337,8 @@ public io.grafeas.v1.AliasContext.Kind getKind() {
* </pre>
*
* <code>string name = 2;</code>
*
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -340,6 +359,8 @@ public java.lang.String getName() {
* </pre>
*
* <code>string name = 2;</code>
*
* @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -686,6 +707,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @return The enum numeric value on the wire for kind.
*/
public int getKindValue() {
return kind_;
@@ -698,6 +721,9 @@ public int getKindValue() {
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @param value The enum numeric value on the wire for kind to set.
* @return This builder for chaining.
*/
public Builder setKindValue(int value) {
kind_ = value;
@@ -712,6 +738,8 @@ public Builder setKindValue(int value) {
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @return The kind.
*/
public io.grafeas.v1.AliasContext.Kind getKind() {
@SuppressWarnings("deprecation")
@@ -726,6 +754,9 @@ public io.grafeas.v1.AliasContext.Kind getKind() {
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @param value The kind to set.
* @return This builder for chaining.
*/
public Builder setKind(io.grafeas.v1.AliasContext.Kind value) {
if (value == null) {
@@ -744,6 +775,8 @@ public Builder setKind(io.grafeas.v1.AliasContext.Kind value) {
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearKind() {

@@ -761,6 +794,8 @@ public Builder clearKind() {
* </pre>
*
* <code>string name = 2;</code>
*
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -781,6 +816,8 @@ public java.lang.String getName() {
* </pre>
*
* <code>string name = 2;</code>
*
* @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -801,6 +838,9 @@ public com.google.protobuf.ByteString getNameBytes() {
* </pre>
*
* <code>string name = 2;</code>
*
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -819,6 +859,8 @@ public Builder setName(java.lang.String value) {
* </pre>
*
* <code>string name = 2;</code>
*
* @return This builder for chaining.
*/
public Builder clearName() {

@@ -834,6 +876,9 @@ public Builder clearName() {
* </pre>
*
* <code>string name = 2;</code>
*
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -32,6 +32,8 @@
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @return The enum numeric value on the wire for kind.
*/
int getKindValue();
/**
@@ -42,6 +44,8 @@
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @return The kind.
*/
io.grafeas.v1.AliasContext.Kind getKind();

@@ -53,6 +57,8 @@
* </pre>
*
* <code>string name = 2;</code>
*
* @return The name.
*/
java.lang.String getName();
/**
@@ -63,6 +69,8 @@
* </pre>
*
* <code>string name = 2;</code>
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
@@ -101,12 +101,20 @@ public final int getNumber() {
return value;
}

/** @deprecated Use {@link #forNumber(int)} instead. */
/**
* @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 Architecture 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 Architecture forNumber(int value) {
switch (value) {
case 0:

0 comments on commit 742dd0e

Please sign in to comment.