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 5125f22 commit 0896e12
Show file tree
Hide file tree
Showing 20 changed files with 620 additions and 102 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>string name = 1;</code>
*
* @return The name.
*/
java.lang.String getName();
/**
Expand All @@ -45,6 +47,8 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>string name = 1;</code>
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();

Expand All @@ -63,6 +67,8 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>repeated string delegates = 2;</code>
*
* @return A list containing the delegates.
*/
java.util.List<java.lang.String> getDelegatesList();
/**
Expand All @@ -80,6 +86,8 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>repeated string delegates = 2;</code>
*
* @return The count of delegates.
*/
int getDelegatesCount();
/**
Expand All @@ -97,6 +105,9 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>repeated string delegates = 2;</code>
*
* @param index The index of the element to return.
* @return The delegates at the given index.
*/
java.lang.String getDelegates(int index);
/**
Expand All @@ -114,6 +125,9 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>repeated string delegates = 2;</code>
*
* @param index The index of the value to return.
* @return The bytes of the delegates at the given index.
*/
com.google.protobuf.ByteString getDelegatesBytes(int index);

Expand All @@ -128,6 +142,8 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>repeated string scope = 4;</code>
*
* @return A list containing the scope.
*/
java.util.List<java.lang.String> getScopeList();
/**
Expand All @@ -141,6 +157,8 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>repeated string scope = 4;</code>
*
* @return The count of scope.
*/
int getScopeCount();
/**
Expand All @@ -154,6 +172,9 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>repeated string scope = 4;</code>
*
* @param index The index of the element to return.
* @return The scope at the given index.
*/
java.lang.String getScope(int index);
/**
Expand All @@ -167,6 +188,9 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>repeated string scope = 4;</code>
*
* @param index The index of the value to return.
* @return The bytes of the scope at the given index.
*/
com.google.protobuf.ByteString getScopeBytes(int index);

Expand All @@ -181,6 +205,8 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>.google.protobuf.Duration lifetime = 7;</code>
*
* @return Whether the lifetime field is set.
*/
boolean hasLifetime();
/**
Expand All @@ -194,6 +220,8 @@ public interface GenerateAccessTokenRequestOrBuilder
* </pre>
*
* <code>.google.protobuf.Duration lifetime = 7;</code>
*
* @return The lifetime.
*/
com.google.protobuf.Duration getLifetime();
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ private GenerateAccessTokenResponse() {
accessToken_ = "";
}

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

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -46,7 +52,6 @@ private GenerateAccessTokenResponse(
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 access_token = 1;</code>
*
* @return The accessToken.
*/
public java.lang.String getAccessToken() {
java.lang.Object ref = accessToken_;
Expand All @@ -143,6 +150,8 @@ public java.lang.String getAccessToken() {
* </pre>
*
* <code>string access_token = 1;</code>
*
* @return The bytes for accessToken.
*/
public com.google.protobuf.ByteString getAccessTokenBytes() {
java.lang.Object ref = accessToken_;
Expand All @@ -167,6 +176,8 @@ public com.google.protobuf.ByteString getAccessTokenBytes() {
* </pre>
*
* <code>.google.protobuf.Timestamp expire_time = 3;</code>
*
* @return Whether the expireTime field is set.
*/
public boolean hasExpireTime() {
return expireTime_ != null;
Expand All @@ -180,6 +191,8 @@ public boolean hasExpireTime() {
* </pre>
*
* <code>.google.protobuf.Timestamp expire_time = 3;</code>
*
* @return The expireTime.
*/
public com.google.protobuf.Timestamp getExpireTime() {
return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
Expand Down Expand Up @@ -550,6 +563,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>string access_token = 1;</code>
*
* @return The accessToken.
*/
public java.lang.String getAccessToken() {
java.lang.Object ref = accessToken_;
Expand All @@ -570,6 +585,8 @@ public java.lang.String getAccessToken() {
* </pre>
*
* <code>string access_token = 1;</code>
*
* @return The bytes for accessToken.
*/
public com.google.protobuf.ByteString getAccessTokenBytes() {
java.lang.Object ref = accessToken_;
Expand All @@ -590,6 +607,9 @@ public com.google.protobuf.ByteString getAccessTokenBytes() {
* </pre>
*
* <code>string access_token = 1;</code>
*
* @param value The accessToken to set.
* @return This builder for chaining.
*/
public Builder setAccessToken(java.lang.String value) {
if (value == null) {
Expand All @@ -608,6 +628,8 @@ public Builder setAccessToken(java.lang.String value) {
* </pre>
*
* <code>string access_token = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearAccessToken() {

Expand All @@ -623,6 +645,9 @@ public Builder clearAccessToken() {
* </pre>
*
* <code>string access_token = 1;</code>
*
* @param value The bytes for accessToken to set.
* @return This builder for chaining.
*/
public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand Down Expand Up @@ -650,6 +675,8 @@ public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) {
* </pre>
*
* <code>.google.protobuf.Timestamp expire_time = 3;</code>
*
* @return Whether the expireTime field is set.
*/
public boolean hasExpireTime() {
return expireTimeBuilder_ != null || expireTime_ != null;
Expand All @@ -663,6 +690,8 @@ public boolean hasExpireTime() {
* </pre>
*
* <code>.google.protobuf.Timestamp expire_time = 3;</code>
*
* @return The expireTime.
*/
public com.google.protobuf.Timestamp getExpireTime() {
if (expireTimeBuilder_ == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public interface GenerateAccessTokenResponseOrBuilder
* </pre>
*
* <code>string access_token = 1;</code>
*
* @return The accessToken.
*/
java.lang.String getAccessToken();
/**
Expand All @@ -41,6 +43,8 @@ public interface GenerateAccessTokenResponseOrBuilder
* </pre>
*
* <code>string access_token = 1;</code>
*
* @return The bytes for accessToken.
*/
com.google.protobuf.ByteString getAccessTokenBytes();

Expand All @@ -53,6 +57,8 @@ public interface GenerateAccessTokenResponseOrBuilder
* </pre>
*
* <code>.google.protobuf.Timestamp expire_time = 3;</code>
*
* @return Whether the expireTime field is set.
*/
boolean hasExpireTime();
/**
Expand All @@ -64,6 +70,8 @@ public interface GenerateAccessTokenResponseOrBuilder
* </pre>
*
* <code>.google.protobuf.Timestamp expire_time = 3;</code>
*
* @return The expireTime.
*/
com.google.protobuf.Timestamp getExpireTime();
/**
Expand Down
Loading

0 comments on commit 0896e12

Please sign in to comment.