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 (#48)
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 10d2b5c commit 556abc0
Show file tree
Hide file tree
Showing 31 changed files with 777 additions and 99 deletions.
Expand Up @@ -39,6 +39,12 @@ private CostProjection(com.google.protobuf.GeneratedMessageV3.Builder<?> builder

private CostProjection() {}

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

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -52,7 +58,6 @@ private CostProjection(
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 @@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* </pre>
*
* <code>.google.type.Money cost = 1;</code>
*
* @return Whether the cost field is set.
*/
public boolean hasCost() {
return cost_ != null;
Expand All @@ -152,6 +159,8 @@ public boolean hasCost() {
* </pre>
*
* <code>.google.type.Money cost = 1;</code>
*
* @return The cost.
*/
public com.google.type.Money getCost() {
return cost_ == null ? com.google.type.Money.getDefaultInstance() : cost_;
Expand Down Expand Up @@ -181,6 +190,8 @@ public com.google.type.MoneyOrBuilder getCostOrBuilder() {
* </pre>
*
* <code>.google.protobuf.Duration duration = 2;</code>
*
* @return Whether the duration field is set.
*/
public boolean hasDuration() {
return duration_ != null;
Expand All @@ -193,6 +204,8 @@ public boolean hasDuration() {
* </pre>
*
* <code>.google.protobuf.Duration duration = 2;</code>
*
* @return The duration.
*/
public com.google.protobuf.Duration getDuration() {
return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
Expand Down Expand Up @@ -582,6 +595,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>.google.type.Money cost = 1;</code>
*
* @return Whether the cost field is set.
*/
public boolean hasCost() {
return costBuilder_ != null || cost_ != null;
Expand All @@ -596,6 +611,8 @@ public boolean hasCost() {
* </pre>
*
* <code>.google.type.Money cost = 1;</code>
*
* @return The cost.
*/
public com.google.type.Money getCost() {
if (costBuilder_ == null) {
Expand Down Expand Up @@ -769,6 +786,8 @@ public com.google.type.MoneyOrBuilder getCostOrBuilder() {
* </pre>
*
* <code>.google.protobuf.Duration duration = 2;</code>
*
* @return Whether the duration field is set.
*/
public boolean hasDuration() {
return durationBuilder_ != null || duration_ != null;
Expand All @@ -781,6 +800,8 @@ public boolean hasDuration() {
* </pre>
*
* <code>.google.protobuf.Duration duration = 2;</code>
*
* @return The duration.
*/
public com.google.protobuf.Duration getDuration() {
if (durationBuilder_ == null) {
Expand Down
Expand Up @@ -33,6 +33,8 @@ public interface CostProjectionOrBuilder
* </pre>
*
* <code>.google.type.Money cost = 1;</code>
*
* @return Whether the cost field is set.
*/
boolean hasCost();
/**
Expand All @@ -45,6 +47,8 @@ public interface CostProjectionOrBuilder
* </pre>
*
* <code>.google.type.Money cost = 1;</code>
*
* @return The cost.
*/
com.google.type.Money getCost();
/**
Expand All @@ -68,6 +72,8 @@ public interface CostProjectionOrBuilder
* </pre>
*
* <code>.google.protobuf.Duration duration = 2;</code>
*
* @return Whether the duration field is set.
*/
boolean hasDuration();
/**
Expand All @@ -78,6 +84,8 @@ public interface CostProjectionOrBuilder
* </pre>
*
* <code>.google.protobuf.Duration duration = 2;</code>
*
* @return The duration.
*/
com.google.protobuf.Duration getDuration();
/**
Expand Down
Expand Up @@ -41,6 +41,12 @@ private GetRecommendationRequest() {
name_ = "";
}

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

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -54,7 +60,6 @@ private GetRecommendationRequest(
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 @@ -116,6 +121,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* </pre>
*
* <code>string name = 1;</code>
*
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
Expand All @@ -136,6 +143,8 @@ public java.lang.String getName() {
* </pre>
*
* <code>string name = 1;</code>
*
* @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
Expand Down Expand Up @@ -480,6 +489,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>string name = 1;</code>
*
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
Expand All @@ -500,6 +511,8 @@ public java.lang.String getName() {
* </pre>
*
* <code>string name = 1;</code>
*
* @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
Expand All @@ -520,6 +533,9 @@ public com.google.protobuf.ByteString getNameBytes() {
* </pre>
*
* <code>string name = 1;</code>
*
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
Expand All @@ -538,6 +554,8 @@ public Builder setName(java.lang.String value) {
* </pre>
*
* <code>string name = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearName() {

Expand All @@ -553,6 +571,9 @@ public Builder clearName() {
* </pre>
*
* <code>string name = 1;</code>
*
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand Down
Expand Up @@ -31,6 +31,8 @@ public interface GetRecommendationRequestOrBuilder
* </pre>
*
* <code>string name = 1;</code>
*
* @return The name.
*/
java.lang.String getName();
/**
Expand All @@ -41,6 +43,8 @@ public interface GetRecommendationRequestOrBuilder
* </pre>
*
* <code>string name = 1;</code>
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}

0 comments on commit 556abc0

Please sign in to comment.