Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 742dd0e

Browse files
yoshi-automationchingor13
authored andcommitted
docs(regen): updated javadoc from protoc update (#10)
1 parent 0f7d657 commit 742dd0e

133 files changed

Lines changed: 5445 additions & 626 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
releaseType: java-yoshi
2+
bumpMinorPreMajor: true

.kokoro/build.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ echo ${JOB_TYPE}
2727
mvn install -B -V \
2828
-DskipTests=true \
2929
-Dclirr.skip=true \
30+
-Denforcer.skip=true \
3031
-Dmaven.javadoc.skip=true \
3132
-Dgcloud.download.skip=true \
3233
-T 1C
@@ -38,7 +39,7 @@ fi
3839

3940
case ${JOB_TYPE} in
4041
test)
41-
mvn test -B -Dclirr.skip=true
42+
mvn test -B -Dclirr.skip=true -Denforcer.skip=true
4243
bash ${KOKORO_GFILE_DIR}/codecov.sh
4344
bash .kokoro/coerce_logs.sh
4445
;;
@@ -49,12 +50,17 @@ javadoc)
4950
mvn javadoc:javadoc javadoc:test-javadoc
5051
;;
5152
integration)
52-
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -Dclirr.skip=true -fae verify
53+
mvn -B ${INTEGRATION_TEST_ARGS} \
54+
-DtrimStackTrace=false \
55+
-Dclirr.skip=true \
56+
-Denforcer.skip=true \
57+
-fae \
58+
verify
5359
bash .kokoro/coerce_logs.sh
5460
;;
5561
clirr)
56-
mvn -B clirr:check
62+
mvn -B -Denforcer.skip=true clirr:check
5763
;;
5864
*)
5965
;;
60-
esac
66+
esac

.kokoro/dependencies.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,9 @@ echo $JOB_TYPE
2323

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

26-
mvn install -DskipTests=true -B -V
26+
# this should run maven enforcer
27+
mvn install -B -V \
28+
-DskipTests=true \
29+
-Dclirr.skip=true
30+
2731
mvn -B dependency:analyze -DfailOnWarning=true

.kokoro/release/drop.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@ env_vars: {
44
key: "TRAMPOLINE_BUILD_FILE"
55
value: "github/java-grafeas/.kokoro/release/drop.sh"
66
}
7-
8-
# Download staging properties file.
9-
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-grafeas"

.kokoro/release/promote.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,3 @@ env_vars: {
44
key: "TRAMPOLINE_BUILD_FILE"
55
value: "github/java-grafeas/.kokoro/release/promote.sh"
66
}
7-
8-
# Download staging properties file.
9-
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-grafeas"
10-

renovate.json

Lines changed: 43 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,58 @@
11
{
22
"extends": [
3-
"config:base"
3+
":separateMajorReleases",
4+
":combinePatchMinorReleases",
5+
":ignoreUnstable",
6+
":prImmediately",
7+
":updateNotScheduled",
8+
":automergeDisabled",
9+
":ignoreModulesAndTests",
10+
":maintainLockFilesDisabled",
11+
":autodetectPinVersions"
412
],
5-
"ignoreDeps": [],
613
"packageRules": [
714
{
8-
"managers": ["maven"],
9-
"packageNames": ["com.google.guava:guava*"],
15+
"packagePatterns": [
16+
"^com.google.guava:"
17+
],
1018
"versionScheme": "docker"
1119
},
1220
{
13-
"packagePatterns": ["^io.grpc:grpc-"],
14-
"groupName": "gRPC packages"
21+
"packagePatterns": [
22+
"^com.google.api:gax",
23+
"^com.google.auth:",
24+
"^com.google.cloud:google-cloud-core",
25+
"^io.grpc:"
26+
],
27+
"groupName": "core dependencies"
1528
},
1629
{
17-
"packagePatterns": ["^com.google.protobuf:protobuf-"],
18-
"groupName": "Protobuf packages"
30+
"packagePatterns": [
31+
"^com.google.http-client:",
32+
"^com.google.oauth-client:",
33+
"^com.google.api-client:"
34+
],
35+
"groupName": "core transport dependencies"
1936
},
2037
{
21-
"packagePatterns": ["^io.opencensus:opencensus-"],
22-
"groupName": "OpenCensus packages"
38+
"packagePatterns": [
39+
"*"
40+
],
41+
"semanticCommitType": "deps",
42+
"semanticCommitScope": null
43+
},
44+
{
45+
"packagePatterns": [
46+
"^org.apache.maven",
47+
"^org.jacoco:",
48+
"^org.codehaus.mojo:",
49+
"^org.sonatype.plugins:",
50+
"^com.coveo:",
51+
"^com.google.cloud:google-cloud-shared-config"
52+
],
53+
"semanticCommitType": "build",
54+
"semanticCommitScope": "deps"
2355
}
2456
],
25-
"semanticCommits": true,
26-
"semanticCommitType": "deps"
57+
"semanticCommits": true
2758
}

src/main/java/io/grafeas/v1/AliasContext.java

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ private AliasContext() {
4343
name_ = "";
4444
}
4545

46+
@java.lang.Override
47+
@SuppressWarnings({"unused"})
48+
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
49+
return new AliasContext();
50+
}
51+
4652
@java.lang.Override
4753
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
4854
return this.unknownFields;
@@ -56,7 +62,6 @@ private AliasContext(
5662
if (extensionRegistry == null) {
5763
throw new java.lang.NullPointerException();
5864
}
59-
int mutable_bitField0_ = 0;
6065
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
6166
com.google.protobuf.UnknownFieldSet.newBuilder();
6267
try {
@@ -216,12 +221,20 @@ public final int getNumber() {
216221
return value;
217222
}
218223

219-
/** @deprecated Use {@link #forNumber(int)} instead. */
224+
/**
225+
* @param value The numeric wire value of the corresponding enum entry.
226+
* @return The enum associated with the given numeric wire value.
227+
* @deprecated Use {@link #forNumber(int)} instead.
228+
*/
220229
@java.lang.Deprecated
221230
public static Kind valueOf(int value) {
222231
return forNumber(value);
223232
}
224233

234+
/**
235+
* @param value The numeric wire value of the corresponding enum entry.
236+
* @return The enum associated with the given numeric wire value.
237+
*/
225238
public static Kind forNumber(int value) {
226239
switch (value) {
227240
case 0:
@@ -291,6 +304,8 @@ private Kind(int value) {
291304
* </pre>
292305
*
293306
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
307+
*
308+
* @return The enum numeric value on the wire for kind.
294309
*/
295310
public int getKindValue() {
296311
return kind_;
@@ -303,6 +318,8 @@ public int getKindValue() {
303318
* </pre>
304319
*
305320
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
321+
*
322+
* @return The kind.
306323
*/
307324
public io.grafeas.v1.AliasContext.Kind getKind() {
308325
@SuppressWarnings("deprecation")
@@ -320,6 +337,8 @@ public io.grafeas.v1.AliasContext.Kind getKind() {
320337
* </pre>
321338
*
322339
* <code>string name = 2;</code>
340+
*
341+
* @return The name.
323342
*/
324343
public java.lang.String getName() {
325344
java.lang.Object ref = name_;
@@ -340,6 +359,8 @@ public java.lang.String getName() {
340359
* </pre>
341360
*
342361
* <code>string name = 2;</code>
362+
*
363+
* @return The bytes for name.
343364
*/
344365
public com.google.protobuf.ByteString getNameBytes() {
345366
java.lang.Object ref = name_;
@@ -686,6 +707,8 @@ public Builder mergeFrom(
686707
* </pre>
687708
*
688709
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
710+
*
711+
* @return The enum numeric value on the wire for kind.
689712
*/
690713
public int getKindValue() {
691714
return kind_;
@@ -698,6 +721,9 @@ public int getKindValue() {
698721
* </pre>
699722
*
700723
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
724+
*
725+
* @param value The enum numeric value on the wire for kind to set.
726+
* @return This builder for chaining.
701727
*/
702728
public Builder setKindValue(int value) {
703729
kind_ = value;
@@ -712,6 +738,8 @@ public Builder setKindValue(int value) {
712738
* </pre>
713739
*
714740
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
741+
*
742+
* @return The kind.
715743
*/
716744
public io.grafeas.v1.AliasContext.Kind getKind() {
717745
@SuppressWarnings("deprecation")
@@ -726,6 +754,9 @@ public io.grafeas.v1.AliasContext.Kind getKind() {
726754
* </pre>
727755
*
728756
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
757+
*
758+
* @param value The kind to set.
759+
* @return This builder for chaining.
729760
*/
730761
public Builder setKind(io.grafeas.v1.AliasContext.Kind value) {
731762
if (value == null) {
@@ -744,6 +775,8 @@ public Builder setKind(io.grafeas.v1.AliasContext.Kind value) {
744775
* </pre>
745776
*
746777
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
778+
*
779+
* @return This builder for chaining.
747780
*/
748781
public Builder clearKind() {
749782

@@ -761,6 +794,8 @@ public Builder clearKind() {
761794
* </pre>
762795
*
763796
* <code>string name = 2;</code>
797+
*
798+
* @return The name.
764799
*/
765800
public java.lang.String getName() {
766801
java.lang.Object ref = name_;
@@ -781,6 +816,8 @@ public java.lang.String getName() {
781816
* </pre>
782817
*
783818
* <code>string name = 2;</code>
819+
*
820+
* @return The bytes for name.
784821
*/
785822
public com.google.protobuf.ByteString getNameBytes() {
786823
java.lang.Object ref = name_;
@@ -801,6 +838,9 @@ public com.google.protobuf.ByteString getNameBytes() {
801838
* </pre>
802839
*
803840
* <code>string name = 2;</code>
841+
*
842+
* @param value The name to set.
843+
* @return This builder for chaining.
804844
*/
805845
public Builder setName(java.lang.String value) {
806846
if (value == null) {
@@ -819,6 +859,8 @@ public Builder setName(java.lang.String value) {
819859
* </pre>
820860
*
821861
* <code>string name = 2;</code>
862+
*
863+
* @return This builder for chaining.
822864
*/
823865
public Builder clearName() {
824866

@@ -834,6 +876,9 @@ public Builder clearName() {
834876
* </pre>
835877
*
836878
* <code>string name = 2;</code>
879+
*
880+
* @param value The bytes for name to set.
881+
* @return This builder for chaining.
837882
*/
838883
public Builder setNameBytes(com.google.protobuf.ByteString value) {
839884
if (value == null) {

src/main/java/io/grafeas/v1/AliasContextOrBuilder.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public interface AliasContextOrBuilder
3232
* </pre>
3333
*
3434
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
35+
*
36+
* @return The enum numeric value on the wire for kind.
3537
*/
3638
int getKindValue();
3739
/**
@@ -42,6 +44,8 @@ public interface AliasContextOrBuilder
4244
* </pre>
4345
*
4446
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
47+
*
48+
* @return The kind.
4549
*/
4650
io.grafeas.v1.AliasContext.Kind getKind();
4751

@@ -53,6 +57,8 @@ public interface AliasContextOrBuilder
5357
* </pre>
5458
*
5559
* <code>string name = 2;</code>
60+
*
61+
* @return The name.
5662
*/
5763
java.lang.String getName();
5864
/**
@@ -63,6 +69,8 @@ public interface AliasContextOrBuilder
6369
* </pre>
6470
*
6571
* <code>string name = 2;</code>
72+
*
73+
* @return The bytes for name.
6674
*/
6775
com.google.protobuf.ByteString getNameBytes();
6876
}

src/main/java/io/grafeas/v1/Architecture.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,20 @@ public final int getNumber() {
101101
return value;
102102
}
103103

104-
/** @deprecated Use {@link #forNumber(int)} instead. */
104+
/**
105+
* @param value The numeric wire value of the corresponding enum entry.
106+
* @return The enum associated with the given numeric wire value.
107+
* @deprecated Use {@link #forNumber(int)} instead.
108+
*/
105109
@java.lang.Deprecated
106110
public static Architecture valueOf(int value) {
107111
return forNumber(value);
108112
}
109113

114+
/**
115+
* @param value The numeric wire value of the corresponding enum entry.
116+
* @return The enum associated with the given numeric wire value.
117+
*/
110118
public static Architecture forNumber(int value) {
111119
switch (value) {
112120
case 0:

0 commit comments

Comments
 (0)