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

Commit

Permalink
docs: regenerate javadoc, update common templates (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Nov 19, 2019
1 parent 1202142 commit 6c82ba0
Show file tree
Hide file tree
Showing 25 changed files with 61 additions and 36 deletions.
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
Expand Up @@ -35,6 +35,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
Expand Down Expand Up @@ -65,7 +66,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -32,6 +32,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
Expand Down Expand Up @@ -61,7 +62,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -36,6 +36,7 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
Expand Down Expand Up @@ -66,7 +67,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -37,6 +37,7 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
Expand Down Expand Up @@ -67,7 +68,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -32,6 +32,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
Expand Down Expand Up @@ -61,7 +62,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -33,6 +33,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
Expand Down Expand Up @@ -63,7 +64,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -35,6 +35,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
Expand Down Expand Up @@ -69,7 +70,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -32,6 +32,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
Expand Down Expand Up @@ -65,7 +66,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -35,6 +35,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
Expand Down Expand Up @@ -69,7 +70,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -36,6 +36,7 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
Expand Down Expand Up @@ -70,7 +71,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -37,6 +37,7 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
Expand Down Expand Up @@ -71,7 +72,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -32,6 +32,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
Expand Down Expand Up @@ -65,7 +66,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -32,6 +32,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
Expand Down Expand Up @@ -65,7 +66,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -33,6 +33,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
Expand Down Expand Up @@ -67,7 +68,7 @@ public static void startStaticServer() {
mockSessions = new MockSessions();
serviceHelper =
new MockServiceHelper(
"in-process-1",
UUID.randomUUID().toString(),
Arrays.<MockGrpcService>asList(
mockAgents,
mockContexts,
Expand Down
Expand Up @@ -45563,7 +45563,7 @@ public boolean getIsFallback() {
*
* <pre>
* Optional. Indicates whether Machine Learning is disabled for the intent.
* Note: If `ml_diabled` setting is set to true, then this intent is not
* Note: If `ml_disabled` setting is set to true, then this intent is not
* taken into account during inference in `ML ONLY` match mode. Also,
* auto-markup in the UI is turned off.
* </pre>
Expand Down Expand Up @@ -47611,7 +47611,7 @@ public Builder clearIsFallback() {
*
* <pre>
* Optional. Indicates whether Machine Learning is disabled for the intent.
* Note: If `ml_diabled` setting is set to true, then this intent is not
* Note: If `ml_disabled` setting is set to true, then this intent is not
* taken into account during inference in `ML ONLY` match mode. Also,
* auto-markup in the UI is turned off.
* </pre>
Expand All @@ -47626,7 +47626,7 @@ public boolean getMlDisabled() {
*
* <pre>
* Optional. Indicates whether Machine Learning is disabled for the intent.
* Note: If `ml_diabled` setting is set to true, then this intent is not
* Note: If `ml_disabled` setting is set to true, then this intent is not
* taken into account during inference in `ML ONLY` match mode. Also,
* auto-markup in the UI is turned off.
* </pre>
Expand All @@ -47644,7 +47644,7 @@ public Builder setMlDisabled(boolean value) {
*
* <pre>
* Optional. Indicates whether Machine Learning is disabled for the intent.
* Note: If `ml_diabled` setting is set to true, then this intent is not
* Note: If `ml_disabled` setting is set to true, then this intent is not
* taken into account during inference in `ML ONLY` match mode. Also,
* auto-markup in the UI is turned off.
* </pre>
Expand Down
Expand Up @@ -129,7 +129,7 @@ public interface IntentOrBuilder
*
* <pre>
* Optional. Indicates whether Machine Learning is disabled for the intent.
* Note: If `ml_diabled` setting is set to true, then this intent is not
* Note: If `ml_disabled` setting is set to true, then this intent is not
* taken into account during inference in `ML ONLY` match mode. Also,
* auto-markup in the UI is turned off.
* </pre>
Expand Down
Expand Up @@ -53,7 +53,7 @@ public enum OutputAudioEncoding implements com.google.protobuf.ProtocolMessageEn
*
*
* <pre>
* MP3 audio.
* MP3 audio at 32kbps.
* </pre>
*
* <code>OUTPUT_AUDIO_ENCODING_MP3 = 2;</code>
Expand Down Expand Up @@ -100,7 +100,7 @@ public enum OutputAudioEncoding implements com.google.protobuf.ProtocolMessageEn
*
*
* <pre>
* MP3 audio.
* MP3 audio at 32kbps.
* </pre>
*
* <code>OUTPUT_AUDIO_ENCODING_MP3 = 2;</code>
Expand Down
Expand Up @@ -254,7 +254,7 @@ enum OutputAudioEncoding {
// Audio content returned as LINEAR16 also contains a WAV header.
OUTPUT_AUDIO_ENCODING_LINEAR_16 = 1;

// MP3 audio.
// MP3 audio at 32kbps.
OUTPUT_AUDIO_ENCODING_MP3 = 2;

// Opus encoded audio wrapped in an ogg container. The result will be a
Expand Down
Expand Up @@ -844,7 +844,7 @@ message Intent {
bool is_fallback = 4 [(google.api.field_behavior) = OPTIONAL];

// Optional. Indicates whether Machine Learning is disabled for the intent.
// Note: If `ml_diabled` setting is set to true, then this intent is not
// Note: If `ml_disabled` setting is set to true, then this intent is not
// taken into account during inference in `ML ONLY` match mode. Also,
// auto-markup in the UI is turned off.
bool ml_disabled = 19 [(google.api.field_behavior) = OPTIONAL];
Expand Down
Expand Up @@ -53,7 +53,7 @@ public enum OutputAudioEncoding implements com.google.protobuf.ProtocolMessageEn
*
*
* <pre>
* MP3 audio.
* MP3 audio at 32kbps.
* </pre>
*
* <code>OUTPUT_AUDIO_ENCODING_MP3 = 2;</code>
Expand Down Expand Up @@ -100,7 +100,7 @@ public enum OutputAudioEncoding implements com.google.protobuf.ProtocolMessageEn
*
*
* <pre>
* MP3 audio.
* MP3 audio at 32kbps.
* </pre>
*
* <code>OUTPUT_AUDIO_ENCODING_MP3 = 2;</code>
Expand Down
Expand Up @@ -317,7 +317,7 @@ enum OutputAudioEncoding {
// Audio content returned as LINEAR16 also contains a WAV header.
OUTPUT_AUDIO_ENCODING_LINEAR_16 = 1;

// MP3 audio.
// MP3 audio at 32kbps.
OUTPUT_AUDIO_ENCODING_MP3 = 2;

// Opus encoded audio wrapped in an ogg container. The result will be a
Expand Down

0 comments on commit 6c82ba0

Please sign in to comment.