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

feat(generator): update protoc to v3.15.3 #387

Merged
merged 1 commit into from Mar 1, 2021
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
Expand Up @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,18 @@ public interface SynthesisInputOrBuilder
// @@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();
/**
*
*
Expand All @@ -48,6 +60,21 @@ public interface SynthesisInputOrBuilder
*/
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();
/**
*
*
Expand Down
Expand Up @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,18 @@ public interface SynthesisInputOrBuilder
// @@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();
/**
*
*
Expand All @@ -48,6 +60,21 @@ public interface SynthesisInputOrBuilder
*/
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();
/**
*
*
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Expand Up @@ -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"
}
},
{
Expand Down