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

docs(regen): updated javadoc from protoc update #10

Merged
merged 1 commit into from Dec 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/release-please.yml
@@ -1 +1,2 @@
releaseType: java-yoshi
bumpMinorPreMajor: true
14 changes: 10 additions & 4 deletions .kokoro/build.sh
Expand Up @@ -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
Expand All @@ -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
;;
Expand All @@ -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
6 changes: 5 additions & 1 deletion .kokoro/dependencies.sh
Expand Up @@ -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
3 changes: 0 additions & 3 deletions .kokoro/release/drop.cfg
Expand Up @@ -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 changes: 0 additions & 4 deletions .kokoro/release/promote.cfg
Expand Up @@ -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"

55 changes: 43 additions & 12 deletions renovate.json
@@ -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
}
49 changes: 47 additions & 2 deletions src/main/java/io/grafeas/v1/AliasContext.java
Expand Up @@ -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;
Expand All @@ -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 {
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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_;
Expand All @@ -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")
Expand All @@ -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_;
Expand All @@ -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_;
Expand Down Expand Up @@ -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_;
Expand All @@ -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;
Expand All @@ -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")
Expand All @@ -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) {
Expand All @@ -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() {

Expand All @@ -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_;
Expand All @@ -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_;
Expand All @@ -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) {
Expand All @@ -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() {

Expand All @@ -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) {
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/io/grafeas/v1/AliasContextOrBuilder.java
Expand Up @@ -32,6 +32,8 @@ public interface AliasContextOrBuilder
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @return The enum numeric value on the wire for kind.
*/
int getKindValue();
/**
Expand All @@ -42,6 +44,8 @@ public interface AliasContextOrBuilder
* </pre>
*
* <code>.grafeas.v1.AliasContext.Kind kind = 1;</code>
*
* @return The kind.
*/
io.grafeas.v1.AliasContext.Kind getKind();

Expand All @@ -53,6 +57,8 @@ public interface AliasContextOrBuilder
* </pre>
*
* <code>string name = 2;</code>
*
* @return The name.
*/
java.lang.String getName();
/**
Expand All @@ -63,6 +69,8 @@ public interface AliasContextOrBuilder
* </pre>
*
* <code>string name = 2;</code>
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
10 changes: 9 additions & 1 deletion src/main/java/io/grafeas/v1/Architecture.java
Expand Up @@ -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:
Expand Down