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

Commit

Permalink
Browse files Browse the repository at this point in the history
docs(regen): updated javadocs from protoc update (#43)
  • Loading branch information
yoshi-automation authored and chingor13 committed Dec 18, 2019
1 parent 4a30c3e commit 23c923b
Show file tree
Hide file tree
Showing 109 changed files with 3,177 additions and 203 deletions.
Expand Up @@ -41,6 +41,12 @@ private BatchTranslateMetadata() {
state_ = 0;
}

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

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -54,7 +60,6 @@ private BatchTranslateMetadata(
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 @@ -286,12 +291,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 State 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 State forNumber(int value) {
switch (value) {
case 0:
Expand Down Expand Up @@ -367,6 +380,8 @@ private State(int value) {
* </pre>
*
* <code>.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;</code>
*
* @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
Expand All @@ -379,6 +394,8 @@ public int getStateValue() {
* </pre>
*
* <code>.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;</code>
*
* @return The state.
*/
public com.google.cloud.translate.v3.BatchTranslateMetadata.State getState() {
@SuppressWarnings("deprecation")
Expand All @@ -399,6 +416,8 @@ public com.google.cloud.translate.v3.BatchTranslateMetadata.State getState() {
* </pre>
*
* <code>int64 translated_characters = 2;</code>
*
* @return The translatedCharacters.
*/
public long getTranslatedCharacters() {
return translatedCharacters_;
Expand All @@ -415,6 +434,8 @@ public long getTranslatedCharacters() {
* </pre>
*
* <code>int64 failed_characters = 3;</code>
*
* @return The failedCharacters.
*/
public long getFailedCharacters() {
return failedCharacters_;
Expand All @@ -432,6 +453,8 @@ public long getFailedCharacters() {
* </pre>
*
* <code>int64 total_characters = 4;</code>
*
* @return The totalCharacters.
*/
public long getTotalCharacters() {
return totalCharacters_;
Expand All @@ -447,6 +470,8 @@ public long getTotalCharacters() {
* </pre>
*
* <code>.google.protobuf.Timestamp submit_time = 5;</code>
*
* @return Whether the submitTime field is set.
*/
public boolean hasSubmitTime() {
return submitTime_ != null;
Expand All @@ -459,6 +484,8 @@ public boolean hasSubmitTime() {
* </pre>
*
* <code>.google.protobuf.Timestamp submit_time = 5;</code>
*
* @return The submitTime.
*/
public com.google.protobuf.Timestamp getSubmitTime() {
return submitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : submitTime_;
Expand Down Expand Up @@ -879,6 +906,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;</code>
*
* @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
Expand All @@ -891,6 +920,9 @@ public int getStateValue() {
* </pre>
*
* <code>.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;</code>
*
* @param value The enum numeric value on the wire for state to set.
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
Expand All @@ -905,6 +937,8 @@ public Builder setStateValue(int value) {
* </pre>
*
* <code>.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;</code>
*
* @return The state.
*/
public com.google.cloud.translate.v3.BatchTranslateMetadata.State getState() {
@SuppressWarnings("deprecation")
Expand All @@ -922,6 +956,9 @@ public com.google.cloud.translate.v3.BatchTranslateMetadata.State getState() {
* </pre>
*
* <code>.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;</code>
*
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(com.google.cloud.translate.v3.BatchTranslateMetadata.State value) {
if (value == null) {
Expand All @@ -940,6 +977,8 @@ public Builder setState(com.google.cloud.translate.v3.BatchTranslateMetadata.Sta
* </pre>
*
* <code>.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearState() {

Expand All @@ -957,6 +996,8 @@ public Builder clearState() {
* </pre>
*
* <code>int64 translated_characters = 2;</code>
*
* @return The translatedCharacters.
*/
public long getTranslatedCharacters() {
return translatedCharacters_;
Expand All @@ -969,6 +1010,9 @@ public long getTranslatedCharacters() {
* </pre>
*
* <code>int64 translated_characters = 2;</code>
*
* @param value The translatedCharacters to set.
* @return This builder for chaining.
*/
public Builder setTranslatedCharacters(long value) {

Expand All @@ -984,6 +1028,8 @@ public Builder setTranslatedCharacters(long value) {
* </pre>
*
* <code>int64 translated_characters = 2;</code>
*
* @return This builder for chaining.
*/
public Builder clearTranslatedCharacters() {

Expand All @@ -1002,6 +1048,8 @@ public Builder clearTranslatedCharacters() {
* </pre>
*
* <code>int64 failed_characters = 3;</code>
*
* @return The failedCharacters.
*/
public long getFailedCharacters() {
return failedCharacters_;
Expand All @@ -1015,6 +1063,9 @@ public long getFailedCharacters() {
* </pre>
*
* <code>int64 failed_characters = 3;</code>
*
* @param value The failedCharacters to set.
* @return This builder for chaining.
*/
public Builder setFailedCharacters(long value) {

Expand All @@ -1031,6 +1082,8 @@ public Builder setFailedCharacters(long value) {
* </pre>
*
* <code>int64 failed_characters = 3;</code>
*
* @return This builder for chaining.
*/
public Builder clearFailedCharacters() {

Expand All @@ -1050,6 +1103,8 @@ public Builder clearFailedCharacters() {
* </pre>
*
* <code>int64 total_characters = 4;</code>
*
* @return The totalCharacters.
*/
public long getTotalCharacters() {
return totalCharacters_;
Expand All @@ -1064,6 +1119,9 @@ public long getTotalCharacters() {
* </pre>
*
* <code>int64 total_characters = 4;</code>
*
* @param value The totalCharacters to set.
* @return This builder for chaining.
*/
public Builder setTotalCharacters(long value) {

Expand All @@ -1081,6 +1139,8 @@ public Builder setTotalCharacters(long value) {
* </pre>
*
* <code>int64 total_characters = 4;</code>
*
* @return This builder for chaining.
*/
public Builder clearTotalCharacters() {

Expand All @@ -1103,6 +1163,8 @@ public Builder clearTotalCharacters() {
* </pre>
*
* <code>.google.protobuf.Timestamp submit_time = 5;</code>
*
* @return Whether the submitTime field is set.
*/
public boolean hasSubmitTime() {
return submitTimeBuilder_ != null || submitTime_ != null;
Expand All @@ -1115,6 +1177,8 @@ public boolean hasSubmitTime() {
* </pre>
*
* <code>.google.protobuf.Timestamp submit_time = 5;</code>
*
* @return The submitTime.
*/
public com.google.protobuf.Timestamp getSubmitTime() {
if (submitTimeBuilder_ == null) {
Expand Down
Expand Up @@ -31,6 +31,8 @@ public interface BatchTranslateMetadataOrBuilder
* </pre>
*
* <code>.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;</code>
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
Expand All @@ -41,6 +43,8 @@ public interface BatchTranslateMetadataOrBuilder
* </pre>
*
* <code>.google.cloud.translation.v3.BatchTranslateMetadata.State state = 1;</code>
*
* @return The state.
*/
com.google.cloud.translate.v3.BatchTranslateMetadata.State getState();

Expand All @@ -52,6 +56,8 @@ public interface BatchTranslateMetadataOrBuilder
* </pre>
*
* <code>int64 translated_characters = 2;</code>
*
* @return The translatedCharacters.
*/
long getTranslatedCharacters();

Expand All @@ -64,6 +70,8 @@ public interface BatchTranslateMetadataOrBuilder
* </pre>
*
* <code>int64 failed_characters = 3;</code>
*
* @return The failedCharacters.
*/
long getFailedCharacters();

Expand All @@ -77,6 +85,8 @@ public interface BatchTranslateMetadataOrBuilder
* </pre>
*
* <code>int64 total_characters = 4;</code>
*
* @return The totalCharacters.
*/
long getTotalCharacters();

Expand All @@ -88,6 +98,8 @@ public interface BatchTranslateMetadataOrBuilder
* </pre>
*
* <code>.google.protobuf.Timestamp submit_time = 5;</code>
*
* @return Whether the submitTime field is set.
*/
boolean hasSubmitTime();
/**
Expand All @@ -98,6 +110,8 @@ public interface BatchTranslateMetadataOrBuilder
* </pre>
*
* <code>.google.protobuf.Timestamp submit_time = 5;</code>
*
* @return The submitTime.
*/
com.google.protobuf.Timestamp getSubmitTime();
/**
Expand Down

0 comments on commit 23c923b

Please sign in to comment.