-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: regenerate texttospeech client (#23747)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
- Loading branch information
1 parent
bf42991
commit a44d90e
Showing
20 changed files
with
582 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
...xttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/model/MultiSpeakerMarkup.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License | ||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
* or implied. See the License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
/* | ||
* This code was generated by https://github.com/googleapis/google-api-java-client-services/ | ||
* Modify at your own risk. | ||
*/ | ||
|
||
package com.google.api.services.texttospeech.v1.model; | ||
|
||
/** | ||
* A collection of turns for multi-speaker synthesis. | ||
* | ||
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is | ||
* transmitted over HTTP when working with the Cloud Text-to-Speech API. For a detailed explanation | ||
* see: | ||
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> | ||
* </p> | ||
* | ||
* @author Google, Inc. | ||
*/ | ||
@SuppressWarnings("javadoc") | ||
public final class MultiSpeakerMarkup extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Required. Speaker turns. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.util.List<Turn> turns; | ||
|
||
/** | ||
* Required. Speaker turns. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.util.List<Turn> getTurns() { | ||
return turns; | ||
} | ||
|
||
/** | ||
* Required. Speaker turns. | ||
* @param turns turns or {@code null} for none | ||
*/ | ||
public MultiSpeakerMarkup setTurns(java.util.List<Turn> turns) { | ||
this.turns = turns; | ||
return this; | ||
} | ||
|
||
@Override | ||
public MultiSpeakerMarkup set(String fieldName, Object value) { | ||
return (MultiSpeakerMarkup) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public MultiSpeakerMarkup clone() { | ||
return (MultiSpeakerMarkup) super.clone(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
...pi-services-texttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/model/Turn.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License | ||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
* or implied. See the License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
/* | ||
* This code was generated by https://github.com/googleapis/google-api-java-client-services/ | ||
* Modify at your own risk. | ||
*/ | ||
|
||
package com.google.api.services.texttospeech.v1.model; | ||
|
||
/** | ||
* A Multi-speaker turn. | ||
* | ||
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is | ||
* transmitted over HTTP when working with the Cloud Text-to-Speech API. For a detailed explanation | ||
* see: | ||
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> | ||
* </p> | ||
* | ||
* @author Google, Inc. | ||
*/ | ||
@SuppressWarnings("javadoc") | ||
public final class Turn extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for | ||
* available speakers. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String speaker; | ||
|
||
/** | ||
* Required. The text to speak. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String text; | ||
|
||
/** | ||
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for | ||
* available speakers. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getSpeaker() { | ||
return speaker; | ||
} | ||
|
||
/** | ||
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for | ||
* available speakers. | ||
* @param speaker speaker or {@code null} for none | ||
*/ | ||
public Turn setSpeaker(java.lang.String speaker) { | ||
this.speaker = speaker; | ||
return this; | ||
} | ||
|
||
/** | ||
* Required. The text to speak. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getText() { | ||
return text; | ||
} | ||
|
||
/** | ||
* Required. The text to speak. | ||
* @param text text or {@code null} for none | ||
*/ | ||
public Turn setText(java.lang.String text) { | ||
this.text = text; | ||
return this; | ||
} | ||
|
||
@Override | ||
public Turn set(String fieldName, Object value) { | ||
return (Turn) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public Turn clone() { | ||
return (Turn) super.clone(); | ||
} | ||
|
||
} |
67 changes: 67 additions & 0 deletions
67
...texttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/model/VoiceCloneParams.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License | ||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
* or implied. See the License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
/* | ||
* This code was generated by https://github.com/googleapis/google-api-java-client-services/ | ||
* Modify at your own risk. | ||
*/ | ||
|
||
package com.google.api.services.texttospeech.v1.model; | ||
|
||
/** | ||
* The configuration of Voice Clone feature. | ||
* | ||
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is | ||
* transmitted over HTTP when working with the Cloud Text-to-Speech API. For a detailed explanation | ||
* see: | ||
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> | ||
* </p> | ||
* | ||
* @author Google, Inc. | ||
*/ | ||
@SuppressWarnings("javadoc") | ||
public final class VoiceCloneParams extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Required. Created by GenerateVoiceCloningKey. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String voiceCloningKey; | ||
|
||
/** | ||
* Required. Created by GenerateVoiceCloningKey. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getVoiceCloningKey() { | ||
return voiceCloningKey; | ||
} | ||
|
||
/** | ||
* Required. Created by GenerateVoiceCloningKey. | ||
* @param voiceCloningKey voiceCloningKey or {@code null} for none | ||
*/ | ||
public VoiceCloneParams setVoiceCloningKey(java.lang.String voiceCloningKey) { | ||
this.voiceCloningKey = voiceCloningKey; | ||
return this; | ||
} | ||
|
||
@Override | ||
public VoiceCloneParams set(String fieldName, Object value) { | ||
return (VoiceCloneParams) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public VoiceCloneParams clone() { | ||
return (VoiceCloneParams) super.clone(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.