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

Commit

Permalink
docs(regen): updated javadocs from protoc update (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Dec 18, 2019
1 parent 34fd98e commit d5e5488
Show file tree
Hide file tree
Showing 37 changed files with 935 additions and 87 deletions.

Large diffs are not rendered by default.

Expand Up @@ -33,6 +33,8 @@ public interface AudioConfigOrBuilder
* <code>
* .google.cloud.texttospeech.v1.AudioEncoding audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return The enum numeric value on the wire for audioEncoding.
*/
int getAudioEncodingValue();
/**
Expand All @@ -45,6 +47,8 @@ public interface AudioConfigOrBuilder
* <code>
* .google.cloud.texttospeech.v1.AudioEncoding audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return The audioEncoding.
*/
com.google.cloud.texttospeech.v1.AudioEncoding getAudioEncoding();

Expand All @@ -61,6 +65,8 @@ public interface AudioConfigOrBuilder
* <code>
* double speaking_rate = 2 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
* </code>
*
* @return The speakingRate.
*/
double getSpeakingRate();

Expand All @@ -76,6 +82,8 @@ public interface AudioConfigOrBuilder
* <code>
* double pitch = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
* </code>
*
* @return The pitch.
*/
double getPitch();

Expand All @@ -96,6 +104,8 @@ public interface AudioConfigOrBuilder
* <code>
* double volume_gain_db = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
* </code>
*
* @return The volumeGainDb.
*/
double getVolumeGainDb();

Expand All @@ -113,6 +123,8 @@ public interface AudioConfigOrBuilder
* </pre>
*
* <code>int32 sample_rate_hertz = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The sampleRateHertz.
*/
int getSampleRateHertz();

Expand All @@ -131,6 +143,8 @@ public interface AudioConfigOrBuilder
* <code>
* repeated string effects_profile_id = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
* </code>
*
* @return A list containing the effectsProfileId.
*/
java.util.List<java.lang.String> getEffectsProfileIdList();
/**
Expand All @@ -148,6 +162,8 @@ public interface AudioConfigOrBuilder
* <code>
* repeated string effects_profile_id = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
* </code>
*
* @return The count of effectsProfileId.
*/
int getEffectsProfileIdCount();
/**
Expand All @@ -165,6 +181,9 @@ public interface AudioConfigOrBuilder
* <code>
* repeated string effects_profile_id = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
* </code>
*
* @param index The index of the element to return.
* @return The effectsProfileId at the given index.
*/
java.lang.String getEffectsProfileId(int index);
/**
Expand All @@ -182,6 +201,9 @@ public interface AudioConfigOrBuilder
* <code>
* repeated string effects_profile_id = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
* </code>
*
* @param index The index of the value to return.
* @return The bytes of the effectsProfileId at the given index.
*/
com.google.protobuf.ByteString getEffectsProfileIdBytes(int index);
}
Expand Up @@ -129,12 +129,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 AudioEncoding 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 AudioEncoding forNumber(int value) {
switch (value) {
case 0:
Expand Down
Expand Up @@ -41,6 +41,12 @@ private ListVoicesRequest() {
languageCode_ = "";
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListVoicesRequest();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -54,7 +60,6 @@ private ListVoicesRequest(
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 @@ -123,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The languageCode.
*/
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
Expand Down Expand Up @@ -150,6 +157,8 @@ public java.lang.String getLanguageCode() {
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The bytes for languageCode.
*/
public com.google.protobuf.ByteString getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
Expand Down Expand Up @@ -497,6 +506,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The languageCode.
*/
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
Expand Down Expand Up @@ -524,6 +535,8 @@ public java.lang.String getLanguageCode() {
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The bytes for languageCode.
*/
public com.google.protobuf.ByteString getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
Expand Down Expand Up @@ -551,6 +564,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @param value The languageCode to set.
* @return This builder for chaining.
*/
public Builder setLanguageCode(java.lang.String value) {
if (value == null) {
Expand All @@ -576,6 +592,8 @@ public Builder setLanguageCode(java.lang.String value) {
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return This builder for chaining.
*/
public Builder clearLanguageCode() {

Expand All @@ -598,6 +616,9 @@ public Builder clearLanguageCode() {
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @param value The bytes for languageCode to set.
* @return This builder for chaining.
*/
public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand Down
Expand Up @@ -38,6 +38,8 @@ public interface ListVoicesRequestOrBuilder
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The languageCode.
*/
java.lang.String getLanguageCode();
/**
Expand All @@ -55,6 +57,8 @@ public interface ListVoicesRequestOrBuilder
* </pre>
*
* <code>string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The bytes for languageCode.
*/
com.google.protobuf.ByteString getLanguageCodeBytes();
}
Expand Up @@ -41,6 +41,12 @@ private ListVoicesResponse() {
voices_ = java.util.Collections.emptyList();
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListVoicesResponse();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand Down
Expand Up @@ -129,12 +129,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 SsmlVoiceGender 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 SsmlVoiceGender forNumber(int value) {
switch (value) {
case 0:
Expand Down

0 comments on commit d5e5488

Please sign in to comment.