Skip to content
Permalink
Browse files
feat(generator): update protoc to v3.15.3 (#387)
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/4650efcc-2b5e-4632-92f4-e28824d4f0b4/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 359781040
Source-Link: googleapis/googleapis@f6dd7e4
  • Loading branch information
yoshi-automation committed Mar 1, 2021
1 parent 5278a0b commit 8187b8dee7a643ee7eb884f4562acbf541a51bc4
@@ -167,6 +167,20 @@ public InputSourceCase getInputSourceCase() {
}

public static final int TEXT_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* The raw text to be synthesized.
* </pre>
*
* <code>string text = 1;</code>
*
* @return Whether the text field is set.
*/
public boolean hasText() {
return inputSourceCase_ == 1;
}
/**
*
*
@@ -223,6 +237,23 @@ public com.google.protobuf.ByteString getTextBytes() {
}

public static final int SSML_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
*
* @return Whether the ssml field is set.
*/
public boolean hasSsml() {
return inputSourceCase_ == 2;
}
/**
*
*
@@ -666,6 +697,21 @@ public Builder clearInputSource() {
return this;
}

/**
*
*
* <pre>
* The raw text to be synthesized.
* </pre>
*
* <code>string text = 1;</code>
*
* @return Whether the text field is set.
*/
@java.lang.Override
public boolean hasText() {
return inputSourceCase_ == 1;
}
/**
*
*
@@ -785,6 +831,24 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
*
* @return Whether the ssml field is set.
*/
@java.lang.Override
public boolean hasSsml() {
return inputSourceCase_ == 2;
}
/**
*
*
@@ -23,6 +23,18 @@
// @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1.SynthesisInput)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* The raw text to be synthesized.
* </pre>
*
* <code>string text = 1;</code>
*
* @return Whether the text field is set.
*/
boolean hasText();
/**
*
*
@@ -48,6 +60,21 @@
*/
com.google.protobuf.ByteString getTextBytes();

/**
*
*
* <pre>
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
*
* @return Whether the ssml field is set.
*/
boolean hasSsml();
/**
*
*
@@ -167,6 +167,20 @@ public InputSourceCase getInputSourceCase() {
}

public static final int TEXT_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* The raw text to be synthesized.
* </pre>
*
* <code>string text = 1;</code>
*
* @return Whether the text field is set.
*/
public boolean hasText() {
return inputSourceCase_ == 1;
}
/**
*
*
@@ -223,6 +237,23 @@ public com.google.protobuf.ByteString getTextBytes() {
}

public static final int SSML_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
*
* @return Whether the ssml field is set.
*/
public boolean hasSsml() {
return inputSourceCase_ == 2;
}
/**
*
*
@@ -667,6 +698,21 @@ public Builder clearInputSource() {
return this;
}

/**
*
*
* <pre>
* The raw text to be synthesized.
* </pre>
*
* <code>string text = 1;</code>
*
* @return Whether the text field is set.
*/
@java.lang.Override
public boolean hasText() {
return inputSourceCase_ == 1;
}
/**
*
*
@@ -786,6 +832,24 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
*
* @return Whether the ssml field is set.
*/
@java.lang.Override
public boolean hasSsml() {
return inputSourceCase_ == 2;
}
/**
*
*
@@ -23,6 +23,18 @@
// @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1beta1.SynthesisInput)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* The raw text to be synthesized.
* </pre>
*
* <code>string text = 1;</code>
*
* @return Whether the text field is set.
*/
boolean hasText();
/**
*
*
@@ -48,6 +60,21 @@
*/
com.google.protobuf.ByteString getTextBytes();

/**
*
*
* <pre>
* The SSML document to be synthesized. The SSML document must be valid
* and well-formed. Otherwise the RPC will fail and return
* [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see
* [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
* </pre>
*
* <code>string ssml = 2;</code>
*
* @return Whether the ssml field is set.
*/
boolean hasSsml();
/**
*
*
@@ -4,23 +4,23 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-texttospeech.git",
"sha": "e7c32cb1fbef3d0a5f736d9d6696ad48fbfa0872"
"sha": "5278a0bc7ae654596165024e771a0cfa213b3ee7"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
"internalRef": "358516065"
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
"internalRef": "358516065"
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
}
},
{

0 comments on commit 8187b8d

Please sign in to comment.