diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequest.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequest.java index 335da7e2..d665c540 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequest.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequest.java @@ -35,6 +35,12 @@ private GenerateAccessTokenRequest() { scope_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GenerateAccessTokenRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -69,9 +75,9 @@ private GenerateAccessTokenRequest( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { delegates_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } delegates_.add(s); break; @@ -79,9 +85,9 @@ private GenerateAccessTokenRequest( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { scope_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } scope_.add(s); break; @@ -115,10 +121,10 @@ private GenerateAccessTokenRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { delegates_ = delegates_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { scope_ = scope_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -141,7 +147,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -154,6 +159,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -176,6 +183,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -206,6 +215,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * repeated string delegates = 2; + * + * @return A list containing the delegates. */ public com.google.protobuf.ProtocolStringList getDelegatesList() { return delegates_; @@ -225,6 +236,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * * * repeated string delegates = 2; + * + * @return The count of delegates. */ public int getDelegatesCount() { return delegates_.size(); @@ -244,6 +257,9 @@ public int getDelegatesCount() { * * * repeated string delegates = 2; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ public java.lang.String getDelegates(int index) { return delegates_.get(index); @@ -263,6 +279,9 @@ public java.lang.String getDelegates(int index) { * * * repeated string delegates = 2; + * + * @param index The index of the value to return. + * @return The bytes of the delegates at the given index. */ public com.google.protobuf.ByteString getDelegatesBytes(int index) { return delegates_.getByteString(index); @@ -281,6 +300,8 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * * repeated string scope = 4; + * + * @return A list containing the scope. */ public com.google.protobuf.ProtocolStringList getScopeList() { return scope_; @@ -296,6 +317,8 @@ public com.google.protobuf.ProtocolStringList getScopeList() { * * * repeated string scope = 4; + * + * @return The count of scope. */ public int getScopeCount() { return scope_.size(); @@ -311,6 +334,9 @@ public int getScopeCount() { * * * repeated string scope = 4; + * + * @param index The index of the element to return. + * @return The scope at the given index. */ public java.lang.String getScope(int index) { return scope_.get(index); @@ -326,6 +352,9 @@ public java.lang.String getScope(int index) { * * * repeated string scope = 4; + * + * @param index The index of the value to return. + * @return The bytes of the scope at the given index. */ public com.google.protobuf.ByteString getScopeBytes(int index) { return scope_.getByteString(index); @@ -344,6 +373,8 @@ public com.google.protobuf.ByteString getScopeBytes(int index) { * * * .google.protobuf.Duration lifetime = 7; + * + * @return Whether the lifetime field is set. */ public boolean hasLifetime() { return lifetime_ != null; @@ -359,6 +390,8 @@ public boolean hasLifetime() { * * * .google.protobuf.Duration lifetime = 7; + * + * @return The lifetime. */ public com.google.protobuf.Duration getLifetime() { return lifetime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lifetime_; @@ -625,9 +658,9 @@ public Builder clear() { name_ = ""; delegates_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); scope_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); if (lifetimeBuilder_ == null) { lifetime_ = null; } else { @@ -663,16 +696,15 @@ public com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest buildParti com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest result = new com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { delegates_ = delegates_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.delegates_ = delegates_; - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { scope_ = scope_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } result.scope_ = scope_; if (lifetimeBuilder_ == null) { @@ -680,7 +712,6 @@ public com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest buildParti } else { result.lifetime_ = lifetimeBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -739,7 +770,7 @@ public Builder mergeFrom(com.google.cloud.iam.credentials.v1.GenerateAccessToken if (!other.delegates_.isEmpty()) { if (delegates_.isEmpty()) { delegates_ = other.delegates_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDelegatesIsMutable(); delegates_.addAll(other.delegates_); @@ -749,7 +780,7 @@ public Builder mergeFrom(com.google.cloud.iam.credentials.v1.GenerateAccessToken if (!other.scope_.isEmpty()) { if (scope_.isEmpty()) { scope_ = other.scope_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureScopeIsMutable(); scope_.addAll(other.scope_); @@ -803,6 +834,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -825,6 +858,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -847,6 +882,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -867,6 +905,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -884,6 +924,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -900,9 +943,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDelegatesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { delegates_ = new com.google.protobuf.LazyStringArrayList(delegates_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -920,6 +963,8 @@ private void ensureDelegatesIsMutable() { * * * repeated string delegates = 2; + * + * @return A list containing the delegates. */ public com.google.protobuf.ProtocolStringList getDelegatesList() { return delegates_.getUnmodifiableView(); @@ -939,6 +984,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * * * repeated string delegates = 2; + * + * @return The count of delegates. */ public int getDelegatesCount() { return delegates_.size(); @@ -958,6 +1005,9 @@ public int getDelegatesCount() { * * * repeated string delegates = 2; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ public java.lang.String getDelegates(int index) { return delegates_.get(index); @@ -977,6 +1027,9 @@ public java.lang.String getDelegates(int index) { * * * repeated string delegates = 2; + * + * @param index The index of the value to return. + * @return The bytes of the delegates at the given index. */ public com.google.protobuf.ByteString getDelegatesBytes(int index) { return delegates_.getByteString(index); @@ -996,6 +1049,10 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * * repeated string delegates = 2; + * + * @param index The index to set the value at. + * @param value The delegates to set. + * @return This builder for chaining. */ public Builder setDelegates(int index, java.lang.String value) { if (value == null) { @@ -1021,6 +1078,9 @@ public Builder setDelegates(int index, java.lang.String value) { * * * repeated string delegates = 2; + * + * @param value The delegates to add. + * @return This builder for chaining. */ public Builder addDelegates(java.lang.String value) { if (value == null) { @@ -1046,6 +1106,9 @@ public Builder addDelegates(java.lang.String value) { * * * repeated string delegates = 2; + * + * @param values The delegates to add. + * @return This builder for chaining. */ public Builder addAllDelegates(java.lang.Iterable values) { ensureDelegatesIsMutable(); @@ -1068,10 +1131,12 @@ public Builder addAllDelegates(java.lang.Iterable values) { * * * repeated string delegates = 2; + * + * @return This builder for chaining. */ public Builder clearDelegates() { delegates_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1090,6 +1155,9 @@ public Builder clearDelegates() { * * * repeated string delegates = 2; + * + * @param value The bytes of the delegates to add. + * @return This builder for chaining. */ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1106,9 +1174,9 @@ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureScopeIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { scope_ = new com.google.protobuf.LazyStringArrayList(scope_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; } } /** @@ -1122,6 +1190,8 @@ private void ensureScopeIsMutable() { * * * repeated string scope = 4; + * + * @return A list containing the scope. */ public com.google.protobuf.ProtocolStringList getScopeList() { return scope_.getUnmodifiableView(); @@ -1137,6 +1207,8 @@ public com.google.protobuf.ProtocolStringList getScopeList() { * * * repeated string scope = 4; + * + * @return The count of scope. */ public int getScopeCount() { return scope_.size(); @@ -1152,6 +1224,9 @@ public int getScopeCount() { * * * repeated string scope = 4; + * + * @param index The index of the element to return. + * @return The scope at the given index. */ public java.lang.String getScope(int index) { return scope_.get(index); @@ -1167,6 +1242,9 @@ public java.lang.String getScope(int index) { * * * repeated string scope = 4; + * + * @param index The index of the value to return. + * @return The bytes of the scope at the given index. */ public com.google.protobuf.ByteString getScopeBytes(int index) { return scope_.getByteString(index); @@ -1182,6 +1260,10 @@ public com.google.protobuf.ByteString getScopeBytes(int index) { * * * repeated string scope = 4; + * + * @param index The index to set the value at. + * @param value The scope to set. + * @return This builder for chaining. */ public Builder setScope(int index, java.lang.String value) { if (value == null) { @@ -1203,6 +1285,9 @@ public Builder setScope(int index, java.lang.String value) { * * * repeated string scope = 4; + * + * @param value The scope to add. + * @return This builder for chaining. */ public Builder addScope(java.lang.String value) { if (value == null) { @@ -1224,6 +1309,9 @@ public Builder addScope(java.lang.String value) { * * * repeated string scope = 4; + * + * @param values The scope to add. + * @return This builder for chaining. */ public Builder addAllScope(java.lang.Iterable values) { ensureScopeIsMutable(); @@ -1242,10 +1330,12 @@ public Builder addAllScope(java.lang.Iterable values) { * * * repeated string scope = 4; + * + * @return This builder for chaining. */ public Builder clearScope() { scope_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1260,6 +1350,9 @@ public Builder clearScope() { * * * repeated string scope = 4; + * + * @param value The bytes of the scope to add. + * @return This builder for chaining. */ public Builder addScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1289,6 +1382,8 @@ public Builder addScopeBytes(com.google.protobuf.ByteString value) { * * * .google.protobuf.Duration lifetime = 7; + * + * @return Whether the lifetime field is set. */ public boolean hasLifetime() { return lifetimeBuilder_ != null || lifetime_ != null; @@ -1304,6 +1399,8 @@ public boolean hasLifetime() { * * * .google.protobuf.Duration lifetime = 7; + * + * @return The lifetime. */ public com.google.protobuf.Duration getLifetime() { if (lifetimeBuilder_ == null) { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequestOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequestOrBuilder.java index 7361bd6c..f398a733 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequestOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface GenerateAccessTokenRequestOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -45,6 +47,8 @@ public interface GenerateAccessTokenRequestOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -63,6 +67,8 @@ public interface GenerateAccessTokenRequestOrBuilder * * * repeated string delegates = 2; + * + * @return A list containing the delegates. */ java.util.List getDelegatesList(); /** @@ -80,6 +86,8 @@ public interface GenerateAccessTokenRequestOrBuilder * * * repeated string delegates = 2; + * + * @return The count of delegates. */ int getDelegatesCount(); /** @@ -97,6 +105,9 @@ public interface GenerateAccessTokenRequestOrBuilder * * * repeated string delegates = 2; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ java.lang.String getDelegates(int index); /** @@ -114,6 +125,9 @@ public interface GenerateAccessTokenRequestOrBuilder * * * repeated string delegates = 2; + * + * @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); @@ -128,6 +142,8 @@ public interface GenerateAccessTokenRequestOrBuilder * * * repeated string scope = 4; + * + * @return A list containing the scope. */ java.util.List getScopeList(); /** @@ -141,6 +157,8 @@ public interface GenerateAccessTokenRequestOrBuilder * * * repeated string scope = 4; + * + * @return The count of scope. */ int getScopeCount(); /** @@ -154,6 +172,9 @@ public interface GenerateAccessTokenRequestOrBuilder * * * repeated string scope = 4; + * + * @param index The index of the element to return. + * @return The scope at the given index. */ java.lang.String getScope(int index); /** @@ -167,6 +188,9 @@ public interface GenerateAccessTokenRequestOrBuilder * * * repeated string scope = 4; + * + * @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); @@ -181,6 +205,8 @@ public interface GenerateAccessTokenRequestOrBuilder * * * .google.protobuf.Duration lifetime = 7; + * + * @return Whether the lifetime field is set. */ boolean hasLifetime(); /** @@ -194,6 +220,8 @@ public interface GenerateAccessTokenRequestOrBuilder * * * .google.protobuf.Duration lifetime = 7; + * + * @return The lifetime. */ com.google.protobuf.Duration getLifetime(); /** diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponse.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponse.java index bbf566ee..87e7f7d2 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponse.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponse.java @@ -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; @@ -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 { @@ -123,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string access_token = 1; + * + * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; @@ -143,6 +150,8 @@ public java.lang.String getAccessToken() { * * * string access_token = 1; + * + * @return The bytes for accessToken. */ public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; @@ -167,6 +176,8 @@ public com.google.protobuf.ByteString getAccessTokenBytes() { * * * .google.protobuf.Timestamp expire_time = 3; + * + * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTime_ != null; @@ -180,6 +191,8 @@ public boolean hasExpireTime() { * * * .google.protobuf.Timestamp expire_time = 3; + * + * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; @@ -550,6 +563,8 @@ public Builder mergeFrom( * * * string access_token = 1; + * + * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; @@ -570,6 +585,8 @@ public java.lang.String getAccessToken() { * * * string access_token = 1; + * + * @return The bytes for accessToken. */ public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; @@ -590,6 +607,9 @@ public com.google.protobuf.ByteString getAccessTokenBytes() { * * * string access_token = 1; + * + * @param value The accessToken to set. + * @return This builder for chaining. */ public Builder setAccessToken(java.lang.String value) { if (value == null) { @@ -608,6 +628,8 @@ public Builder setAccessToken(java.lang.String value) { * * * string access_token = 1; + * + * @return This builder for chaining. */ public Builder clearAccessToken() { @@ -623,6 +645,9 @@ public Builder clearAccessToken() { * * * string access_token = 1; + * + * @param value The bytes for accessToken to set. + * @return This builder for chaining. */ public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -650,6 +675,8 @@ public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { * * * .google.protobuf.Timestamp expire_time = 3; + * + * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; @@ -663,6 +690,8 @@ public boolean hasExpireTime() { * * * .google.protobuf.Timestamp expire_time = 3; + * + * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponseOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponseOrBuilder.java index d6b9c006..886dc465 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponseOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponseOrBuilder.java @@ -31,6 +31,8 @@ public interface GenerateAccessTokenResponseOrBuilder * * * string access_token = 1; + * + * @return The accessToken. */ java.lang.String getAccessToken(); /** @@ -41,6 +43,8 @@ public interface GenerateAccessTokenResponseOrBuilder * * * string access_token = 1; + * + * @return The bytes for accessToken. */ com.google.protobuf.ByteString getAccessTokenBytes(); @@ -53,6 +57,8 @@ public interface GenerateAccessTokenResponseOrBuilder * * * .google.protobuf.Timestamp expire_time = 3; + * + * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** @@ -64,6 +70,8 @@ public interface GenerateAccessTokenResponseOrBuilder * * * .google.protobuf.Timestamp expire_time = 3; + * + * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequest.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequest.java index 765e62e5..0cb900d3 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequest.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequest.java @@ -35,6 +35,12 @@ private GenerateIdTokenRequest() { audience_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GenerateIdTokenRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -69,9 +75,9 @@ private GenerateIdTokenRequest( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { delegates_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } delegates_.add(s); break; @@ -102,7 +108,7 @@ private GenerateIdTokenRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { delegates_ = delegates_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -125,7 +131,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -160,6 +167,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -190,6 +199,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * repeated string delegates = 2; + * + * @return A list containing the delegates. */ public com.google.protobuf.ProtocolStringList getDelegatesList() { return delegates_; @@ -209,6 +220,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * * * repeated string delegates = 2; + * + * @return The count of delegates. */ public int getDelegatesCount() { return delegates_.size(); @@ -228,6 +241,9 @@ public int getDelegatesCount() { * * * repeated string delegates = 2; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ public java.lang.String getDelegates(int index) { return delegates_.get(index); @@ -247,6 +263,9 @@ public java.lang.String getDelegates(int index) { * * * repeated string delegates = 2; + * + * @param index The index of the value to return. + * @return The bytes of the delegates at the given index. */ public com.google.protobuf.ByteString getDelegatesBytes(int index) { return delegates_.getByteString(index); @@ -263,6 +282,8 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * * string audience = 3; + * + * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; @@ -284,6 +305,8 @@ public java.lang.String getAudience() { * * * string audience = 3; + * + * @return The bytes for audience. */ public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; @@ -308,6 +331,8 @@ public com.google.protobuf.ByteString getAudienceBytes() { * * * bool include_email = 4; + * + * @return The includeEmail. */ public boolean getIncludeEmail() { return includeEmail_; @@ -547,7 +572,7 @@ public Builder clear() { name_ = ""; delegates_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); audience_ = ""; includeEmail_ = false; @@ -580,16 +605,14 @@ public com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest buildPartial() com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest result = new com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { delegates_ = delegates_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.delegates_ = delegates_; result.audience_ = audience_; result.includeEmail_ = includeEmail_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -647,7 +670,7 @@ public Builder mergeFrom(com.google.cloud.iam.credentials.v1.GenerateIdTokenRequ if (!other.delegates_.isEmpty()) { if (delegates_.isEmpty()) { delegates_ = other.delegates_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDelegatesIsMutable(); delegates_.addAll(other.delegates_); @@ -704,6 +727,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -726,6 +751,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -748,6 +775,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -768,6 +798,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -785,6 +817,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -801,9 +836,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDelegatesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { delegates_ = new com.google.protobuf.LazyStringArrayList(delegates_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -821,6 +856,8 @@ private void ensureDelegatesIsMutable() { * * * repeated string delegates = 2; + * + * @return A list containing the delegates. */ public com.google.protobuf.ProtocolStringList getDelegatesList() { return delegates_.getUnmodifiableView(); @@ -840,6 +877,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * * * repeated string delegates = 2; + * + * @return The count of delegates. */ public int getDelegatesCount() { return delegates_.size(); @@ -859,6 +898,9 @@ public int getDelegatesCount() { * * * repeated string delegates = 2; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ public java.lang.String getDelegates(int index) { return delegates_.get(index); @@ -878,6 +920,9 @@ public java.lang.String getDelegates(int index) { * * * repeated string delegates = 2; + * + * @param index The index of the value to return. + * @return The bytes of the delegates at the given index. */ public com.google.protobuf.ByteString getDelegatesBytes(int index) { return delegates_.getByteString(index); @@ -897,6 +942,10 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * * repeated string delegates = 2; + * + * @param index The index to set the value at. + * @param value The delegates to set. + * @return This builder for chaining. */ public Builder setDelegates(int index, java.lang.String value) { if (value == null) { @@ -922,6 +971,9 @@ public Builder setDelegates(int index, java.lang.String value) { * * * repeated string delegates = 2; + * + * @param value The delegates to add. + * @return This builder for chaining. */ public Builder addDelegates(java.lang.String value) { if (value == null) { @@ -947,6 +999,9 @@ public Builder addDelegates(java.lang.String value) { * * * repeated string delegates = 2; + * + * @param values The delegates to add. + * @return This builder for chaining. */ public Builder addAllDelegates(java.lang.Iterable values) { ensureDelegatesIsMutable(); @@ -969,10 +1024,12 @@ public Builder addAllDelegates(java.lang.Iterable values) { * * * repeated string delegates = 2; + * + * @return This builder for chaining. */ public Builder clearDelegates() { delegates_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -991,6 +1048,9 @@ public Builder clearDelegates() { * * * repeated string delegates = 2; + * + * @param value The bytes of the delegates to add. + * @return This builder for chaining. */ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1013,6 +1073,8 @@ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { * * * string audience = 3; + * + * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; @@ -1034,6 +1096,8 @@ public java.lang.String getAudience() { * * * string audience = 3; + * + * @return The bytes for audience. */ public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; @@ -1055,6 +1119,9 @@ public com.google.protobuf.ByteString getAudienceBytes() { * * * string audience = 3; + * + * @param value The audience to set. + * @return This builder for chaining. */ public Builder setAudience(java.lang.String value) { if (value == null) { @@ -1074,6 +1141,8 @@ public Builder setAudience(java.lang.String value) { * * * string audience = 3; + * + * @return This builder for chaining. */ public Builder clearAudience() { @@ -1090,6 +1159,9 @@ public Builder clearAudience() { * * * string audience = 3; + * + * @param value The bytes for audience to set. + * @return This builder for chaining. */ public Builder setAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1112,6 +1184,8 @@ public Builder setAudienceBytes(com.google.protobuf.ByteString value) { * * * bool include_email = 4; + * + * @return The includeEmail. */ public boolean getIncludeEmail() { return includeEmail_; @@ -1125,6 +1199,9 @@ public boolean getIncludeEmail() { * * * bool include_email = 4; + * + * @param value The includeEmail to set. + * @return This builder for chaining. */ public Builder setIncludeEmail(boolean value) { @@ -1141,6 +1218,8 @@ public Builder setIncludeEmail(boolean value) { * * * bool include_email = 4; + * + * @return This builder for chaining. */ public Builder clearIncludeEmail() { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequestOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequestOrBuilder.java index 3341d453..1992d599 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequestOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface GenerateIdTokenRequestOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -45,6 +47,8 @@ public interface GenerateIdTokenRequestOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -63,6 +67,8 @@ public interface GenerateIdTokenRequestOrBuilder * * * repeated string delegates = 2; + * + * @return A list containing the delegates. */ java.util.List getDelegatesList(); /** @@ -80,6 +86,8 @@ public interface GenerateIdTokenRequestOrBuilder * * * repeated string delegates = 2; + * + * @return The count of delegates. */ int getDelegatesCount(); /** @@ -97,6 +105,9 @@ public interface GenerateIdTokenRequestOrBuilder * * * repeated string delegates = 2; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ java.lang.String getDelegates(int index); /** @@ -114,6 +125,9 @@ public interface GenerateIdTokenRequestOrBuilder * * * repeated string delegates = 2; + * + * @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); @@ -126,6 +140,8 @@ public interface GenerateIdTokenRequestOrBuilder * * * string audience = 3; + * + * @return The audience. */ java.lang.String getAudience(); /** @@ -137,6 +153,8 @@ public interface GenerateIdTokenRequestOrBuilder * * * string audience = 3; + * + * @return The bytes for audience. */ com.google.protobuf.ByteString getAudienceBytes(); @@ -149,6 +167,8 @@ public interface GenerateIdTokenRequestOrBuilder * * * bool include_email = 4; + * + * @return The includeEmail. */ boolean getIncludeEmail(); } diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponse.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponse.java index 203edb88..ca8a2ce2 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponse.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponse.java @@ -33,6 +33,12 @@ private GenerateIdTokenResponse() { token_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GenerateIdTokenResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -46,7 +52,6 @@ private GenerateIdTokenResponse( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -108,6 +113,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string token = 1; + * + * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; @@ -128,6 +135,8 @@ public java.lang.String getToken() { * * * string token = 1; + * + * @return The bytes for token. */ public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; @@ -461,6 +470,8 @@ public Builder mergeFrom( * * * string token = 1; + * + * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; @@ -481,6 +492,8 @@ public java.lang.String getToken() { * * * string token = 1; + * + * @return The bytes for token. */ public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; @@ -501,6 +514,9 @@ public com.google.protobuf.ByteString getTokenBytes() { * * * string token = 1; + * + * @param value The token to set. + * @return This builder for chaining. */ public Builder setToken(java.lang.String value) { if (value == null) { @@ -519,6 +535,8 @@ public Builder setToken(java.lang.String value) { * * * string token = 1; + * + * @return This builder for chaining. */ public Builder clearToken() { @@ -534,6 +552,9 @@ public Builder clearToken() { * * * string token = 1; + * + * @param value The bytes for token to set. + * @return This builder for chaining. */ public Builder setTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponseOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponseOrBuilder.java index 7f0ed3a1..638822e8 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponseOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponseOrBuilder.java @@ -31,6 +31,8 @@ public interface GenerateIdTokenResponseOrBuilder * * * string token = 1; + * + * @return The token. */ java.lang.String getToken(); /** @@ -41,6 +43,8 @@ public interface GenerateIdTokenResponseOrBuilder * * * string token = 1; + * + * @return The bytes for token. */ com.google.protobuf.ByteString getTokenBytes(); } diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsCommonProto.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsCommonProto.java index 1deb06c6..ceb9243d 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsCommonProto.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsCommonProto.java @@ -92,21 +92,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto/googleapis/iam/credentials/v1;cred" + "entials\370\001\001b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_iam_credentials_v1_GenerateAccessTokenRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_iam_credentials_v1_GenerateAccessTokenRequest_fieldAccessorTable = diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsProto.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsProto.java index ef626a1d..8249c691 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsProto.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsProto.java @@ -62,21 +62,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ng.org/genproto/googleapis/iam/credentia" + "ls/v1;credentials\370\001\001b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.cloud.iam.credentials.v1.IAMCredentialsCommonProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.cloud.iam.credentials.v1.IAMCredentialsCommonProto.getDescriptor(), + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/ServiceAccountName.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/ServiceAccountName.java index 52089cb8..b2d07cea 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/ServiceAccountName.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/ServiceAccountName.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class ServiceAccountName implements ResourceName { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequest.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequest.java index 97bb7db9..198dcda3 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequest.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequest.java @@ -35,6 +35,12 @@ private SignBlobRequest() { payload_ = com.google.protobuf.ByteString.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SignBlobRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -69,9 +75,9 @@ private SignBlobRequest( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { delegates_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } delegates_.add(s); break; @@ -95,7 +101,7 @@ private SignBlobRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { delegates_ = delegates_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -118,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.iam.credentials.v1.SignBlobRequest.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -131,6 +136,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -153,6 +160,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -183,6 +192,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * repeated string delegates = 3; + * + * @return A list containing the delegates. */ public com.google.protobuf.ProtocolStringList getDelegatesList() { return delegates_; @@ -202,6 +213,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * * * repeated string delegates = 3; + * + * @return The count of delegates. */ public int getDelegatesCount() { return delegates_.size(); @@ -221,6 +234,9 @@ public int getDelegatesCount() { * * * repeated string delegates = 3; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ public java.lang.String getDelegates(int index) { return delegates_.get(index); @@ -240,6 +256,9 @@ public java.lang.String getDelegates(int index) { * * * repeated string delegates = 3; + * + * @param index The index of the value to return. + * @return The bytes of the delegates at the given index. */ public com.google.protobuf.ByteString getDelegatesBytes(int index) { return delegates_.getByteString(index); @@ -255,6 +274,8 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * * bytes payload = 5; + * + * @return The payload. */ public com.google.protobuf.ByteString getPayload() { return payload_; @@ -484,7 +505,7 @@ public Builder clear() { name_ = ""; delegates_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); payload_ = com.google.protobuf.ByteString.EMPTY; return this; @@ -515,15 +536,13 @@ public com.google.cloud.iam.credentials.v1.SignBlobRequest buildPartial() { com.google.cloud.iam.credentials.v1.SignBlobRequest result = new com.google.cloud.iam.credentials.v1.SignBlobRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { delegates_ = delegates_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.delegates_ = delegates_; result.payload_ = payload_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -581,7 +600,7 @@ public Builder mergeFrom(com.google.cloud.iam.credentials.v1.SignBlobRequest oth if (!other.delegates_.isEmpty()) { if (delegates_.isEmpty()) { delegates_ = other.delegates_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDelegatesIsMutable(); delegates_.addAll(other.delegates_); @@ -634,6 +653,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -656,6 +677,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -678,6 +701,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -698,6 +724,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -715,6 +743,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -731,9 +762,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDelegatesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { delegates_ = new com.google.protobuf.LazyStringArrayList(delegates_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -751,6 +782,8 @@ private void ensureDelegatesIsMutable() { * * * repeated string delegates = 3; + * + * @return A list containing the delegates. */ public com.google.protobuf.ProtocolStringList getDelegatesList() { return delegates_.getUnmodifiableView(); @@ -770,6 +803,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * * * repeated string delegates = 3; + * + * @return The count of delegates. */ public int getDelegatesCount() { return delegates_.size(); @@ -789,6 +824,9 @@ public int getDelegatesCount() { * * * repeated string delegates = 3; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ public java.lang.String getDelegates(int index) { return delegates_.get(index); @@ -808,6 +846,9 @@ public java.lang.String getDelegates(int index) { * * * repeated string delegates = 3; + * + * @param index The index of the value to return. + * @return The bytes of the delegates at the given index. */ public com.google.protobuf.ByteString getDelegatesBytes(int index) { return delegates_.getByteString(index); @@ -827,6 +868,10 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * * repeated string delegates = 3; + * + * @param index The index to set the value at. + * @param value The delegates to set. + * @return This builder for chaining. */ public Builder setDelegates(int index, java.lang.String value) { if (value == null) { @@ -852,6 +897,9 @@ public Builder setDelegates(int index, java.lang.String value) { * * * repeated string delegates = 3; + * + * @param value The delegates to add. + * @return This builder for chaining. */ public Builder addDelegates(java.lang.String value) { if (value == null) { @@ -877,6 +925,9 @@ public Builder addDelegates(java.lang.String value) { * * * repeated string delegates = 3; + * + * @param values The delegates to add. + * @return This builder for chaining. */ public Builder addAllDelegates(java.lang.Iterable values) { ensureDelegatesIsMutable(); @@ -899,10 +950,12 @@ public Builder addAllDelegates(java.lang.Iterable values) { * * * repeated string delegates = 3; + * + * @return This builder for chaining. */ public Builder clearDelegates() { delegates_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -921,6 +974,9 @@ public Builder clearDelegates() { * * * repeated string delegates = 3; + * + * @param value The bytes of the delegates to add. + * @return This builder for chaining. */ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -942,6 +998,8 @@ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { * * * bytes payload = 5; + * + * @return The payload. */ public com.google.protobuf.ByteString getPayload() { return payload_; @@ -954,6 +1012,9 @@ public com.google.protobuf.ByteString getPayload() { * * * bytes payload = 5; + * + * @param value The payload to set. + * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { @@ -972,6 +1033,8 @@ public Builder setPayload(com.google.protobuf.ByteString value) { * * * bytes payload = 5; + * + * @return This builder for chaining. */ public Builder clearPayload() { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequestOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequestOrBuilder.java index d1306f0d..aa2eb5d9 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequestOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface SignBlobRequestOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -45,6 +47,8 @@ public interface SignBlobRequestOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -63,6 +67,8 @@ public interface SignBlobRequestOrBuilder * * * repeated string delegates = 3; + * + * @return A list containing the delegates. */ java.util.List getDelegatesList(); /** @@ -80,6 +86,8 @@ public interface SignBlobRequestOrBuilder * * * repeated string delegates = 3; + * + * @return The count of delegates. */ int getDelegatesCount(); /** @@ -97,6 +105,9 @@ public interface SignBlobRequestOrBuilder * * * repeated string delegates = 3; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ java.lang.String getDelegates(int index); /** @@ -114,6 +125,9 @@ public interface SignBlobRequestOrBuilder * * * repeated string delegates = 3; + * + * @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); @@ -125,6 +139,8 @@ public interface SignBlobRequestOrBuilder * * * bytes payload = 5; + * + * @return The payload. */ com.google.protobuf.ByteString getPayload(); } diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponse.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponse.java index c728bcec..2f1a3d6f 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponse.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponse.java @@ -34,6 +34,12 @@ private SignBlobResponse() { signedBlob_ = com.google.protobuf.ByteString.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SignBlobResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -47,7 +53,6 @@ private SignBlobResponse( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -114,6 +119,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string key_id = 1; + * + * @return The keyId. */ public java.lang.String getKeyId() { java.lang.Object ref = keyId_; @@ -134,6 +141,8 @@ public java.lang.String getKeyId() { * * * string key_id = 1; + * + * @return The bytes for keyId. */ public com.google.protobuf.ByteString getKeyIdBytes() { java.lang.Object ref = keyId_; @@ -157,6 +166,8 @@ public com.google.protobuf.ByteString getKeyIdBytes() { * * * bytes signed_blob = 4; + * + * @return The signedBlob. */ public com.google.protobuf.ByteString getSignedBlob() { return signedBlob_; @@ -496,6 +507,8 @@ public Builder mergeFrom( * * * string key_id = 1; + * + * @return The keyId. */ public java.lang.String getKeyId() { java.lang.Object ref = keyId_; @@ -516,6 +529,8 @@ public java.lang.String getKeyId() { * * * string key_id = 1; + * + * @return The bytes for keyId. */ public com.google.protobuf.ByteString getKeyIdBytes() { java.lang.Object ref = keyId_; @@ -536,6 +551,9 @@ public com.google.protobuf.ByteString getKeyIdBytes() { * * * string key_id = 1; + * + * @param value The keyId to set. + * @return This builder for chaining. */ public Builder setKeyId(java.lang.String value) { if (value == null) { @@ -554,6 +572,8 @@ public Builder setKeyId(java.lang.String value) { * * * string key_id = 1; + * + * @return This builder for chaining. */ public Builder clearKeyId() { @@ -569,6 +589,9 @@ public Builder clearKeyId() { * * * string key_id = 1; + * + * @param value The bytes for keyId to set. + * @return This builder for chaining. */ public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -590,6 +613,8 @@ public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { * * * bytes signed_blob = 4; + * + * @return The signedBlob. */ public com.google.protobuf.ByteString getSignedBlob() { return signedBlob_; @@ -602,6 +627,9 @@ public com.google.protobuf.ByteString getSignedBlob() { * * * bytes signed_blob = 4; + * + * @param value The signedBlob to set. + * @return This builder for chaining. */ public Builder setSignedBlob(com.google.protobuf.ByteString value) { if (value == null) { @@ -620,6 +648,8 @@ public Builder setSignedBlob(com.google.protobuf.ByteString value) { * * * bytes signed_blob = 4; + * + * @return This builder for chaining. */ public Builder clearSignedBlob() { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponseOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponseOrBuilder.java index 3fa3226f..b87db6b7 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponseOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponseOrBuilder.java @@ -31,6 +31,8 @@ public interface SignBlobResponseOrBuilder * * * string key_id = 1; + * + * @return The keyId. */ java.lang.String getKeyId(); /** @@ -41,6 +43,8 @@ public interface SignBlobResponseOrBuilder * * * string key_id = 1; + * + * @return The bytes for keyId. */ com.google.protobuf.ByteString getKeyIdBytes(); @@ -52,6 +56,8 @@ public interface SignBlobResponseOrBuilder * * * bytes signed_blob = 4; + * + * @return The signedBlob. */ com.google.protobuf.ByteString getSignedBlob(); } diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequest.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequest.java index 7dbafaf2..f43749af 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequest.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequest.java @@ -35,6 +35,12 @@ private SignJwtRequest() { payload_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SignJwtRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -69,9 +75,9 @@ private SignJwtRequest( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { delegates_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } delegates_.add(s); break; @@ -97,7 +103,7 @@ private SignJwtRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { delegates_ = delegates_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.iam.credentials.v1.SignJwtRequest.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -155,6 +162,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -185,6 +194,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * repeated string delegates = 3; + * + * @return A list containing the delegates. */ public com.google.protobuf.ProtocolStringList getDelegatesList() { return delegates_; @@ -204,6 +215,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * * * repeated string delegates = 3; + * + * @return The count of delegates. */ public int getDelegatesCount() { return delegates_.size(); @@ -223,6 +236,9 @@ public int getDelegatesCount() { * * * repeated string delegates = 3; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ public java.lang.String getDelegates(int index) { return delegates_.get(index); @@ -242,6 +258,9 @@ public java.lang.String getDelegates(int index) { * * * repeated string delegates = 3; + * + * @param index The index of the value to return. + * @return The bytes of the delegates at the given index. */ public com.google.protobuf.ByteString getDelegatesBytes(int index) { return delegates_.getByteString(index); @@ -257,6 +276,8 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * * string payload = 5; + * + * @return The payload. */ public java.lang.String getPayload() { java.lang.Object ref = payload_; @@ -277,6 +298,8 @@ public java.lang.String getPayload() { * * * string payload = 5; + * + * @return The bytes for payload. */ public com.google.protobuf.ByteString getPayloadBytes() { java.lang.Object ref = payload_; @@ -514,7 +537,7 @@ public Builder clear() { name_ = ""; delegates_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); payload_ = ""; return this; @@ -545,15 +568,13 @@ public com.google.cloud.iam.credentials.v1.SignJwtRequest buildPartial() { com.google.cloud.iam.credentials.v1.SignJwtRequest result = new com.google.cloud.iam.credentials.v1.SignJwtRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { delegates_ = delegates_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.delegates_ = delegates_; result.payload_ = payload_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -611,7 +632,7 @@ public Builder mergeFrom(com.google.cloud.iam.credentials.v1.SignJwtRequest othe if (!other.delegates_.isEmpty()) { if (delegates_.isEmpty()) { delegates_ = other.delegates_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDelegatesIsMutable(); delegates_.addAll(other.delegates_); @@ -665,6 +686,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -687,6 +710,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -709,6 +734,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -729,6 +757,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -746,6 +776,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -762,9 +795,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDelegatesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { delegates_ = new com.google.protobuf.LazyStringArrayList(delegates_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -782,6 +815,8 @@ private void ensureDelegatesIsMutable() { * * * repeated string delegates = 3; + * + * @return A list containing the delegates. */ public com.google.protobuf.ProtocolStringList getDelegatesList() { return delegates_.getUnmodifiableView(); @@ -801,6 +836,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * * * repeated string delegates = 3; + * + * @return The count of delegates. */ public int getDelegatesCount() { return delegates_.size(); @@ -820,6 +857,9 @@ public int getDelegatesCount() { * * * repeated string delegates = 3; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ public java.lang.String getDelegates(int index) { return delegates_.get(index); @@ -839,6 +879,9 @@ public java.lang.String getDelegates(int index) { * * * repeated string delegates = 3; + * + * @param index The index of the value to return. + * @return The bytes of the delegates at the given index. */ public com.google.protobuf.ByteString getDelegatesBytes(int index) { return delegates_.getByteString(index); @@ -858,6 +901,10 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * * repeated string delegates = 3; + * + * @param index The index to set the value at. + * @param value The delegates to set. + * @return This builder for chaining. */ public Builder setDelegates(int index, java.lang.String value) { if (value == null) { @@ -883,6 +930,9 @@ public Builder setDelegates(int index, java.lang.String value) { * * * repeated string delegates = 3; + * + * @param value The delegates to add. + * @return This builder for chaining. */ public Builder addDelegates(java.lang.String value) { if (value == null) { @@ -908,6 +958,9 @@ public Builder addDelegates(java.lang.String value) { * * * repeated string delegates = 3; + * + * @param values The delegates to add. + * @return This builder for chaining. */ public Builder addAllDelegates(java.lang.Iterable values) { ensureDelegatesIsMutable(); @@ -930,10 +983,12 @@ public Builder addAllDelegates(java.lang.Iterable values) { * * * repeated string delegates = 3; + * + * @return This builder for chaining. */ public Builder clearDelegates() { delegates_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -952,6 +1007,9 @@ public Builder clearDelegates() { * * * repeated string delegates = 3; + * + * @param value The bytes of the delegates to add. + * @return This builder for chaining. */ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -973,6 +1031,8 @@ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { * * * string payload = 5; + * + * @return The payload. */ public java.lang.String getPayload() { java.lang.Object ref = payload_; @@ -993,6 +1053,8 @@ public java.lang.String getPayload() { * * * string payload = 5; + * + * @return The bytes for payload. */ public com.google.protobuf.ByteString getPayloadBytes() { java.lang.Object ref = payload_; @@ -1013,6 +1075,9 @@ public com.google.protobuf.ByteString getPayloadBytes() { * * * string payload = 5; + * + * @param value The payload to set. + * @return This builder for chaining. */ public Builder setPayload(java.lang.String value) { if (value == null) { @@ -1031,6 +1096,8 @@ public Builder setPayload(java.lang.String value) { * * * string payload = 5; + * + * @return This builder for chaining. */ public Builder clearPayload() { @@ -1046,6 +1113,9 @@ public Builder clearPayload() { * * * string payload = 5; + * + * @param value The bytes for payload to set. + * @return This builder for chaining. */ public Builder setPayloadBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequestOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequestOrBuilder.java index fc6c8ac1..4897c908 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequestOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface SignJwtRequestOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -45,6 +47,8 @@ public interface SignJwtRequestOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -63,6 +67,8 @@ public interface SignJwtRequestOrBuilder * * * repeated string delegates = 3; + * + * @return A list containing the delegates. */ java.util.List getDelegatesList(); /** @@ -80,6 +86,8 @@ public interface SignJwtRequestOrBuilder * * * repeated string delegates = 3; + * + * @return The count of delegates. */ int getDelegatesCount(); /** @@ -97,6 +105,9 @@ public interface SignJwtRequestOrBuilder * * * repeated string delegates = 3; + * + * @param index The index of the element to return. + * @return The delegates at the given index. */ java.lang.String getDelegates(int index); /** @@ -114,6 +125,9 @@ public interface SignJwtRequestOrBuilder * * * repeated string delegates = 3; + * + * @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); @@ -125,6 +139,8 @@ public interface SignJwtRequestOrBuilder * * * string payload = 5; + * + * @return The payload. */ java.lang.String getPayload(); /** @@ -135,6 +151,8 @@ public interface SignJwtRequestOrBuilder * * * string payload = 5; + * + * @return The bytes for payload. */ com.google.protobuf.ByteString getPayloadBytes(); } diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponse.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponse.java index ca8e6eab..ff04dc78 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponse.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponse.java @@ -34,6 +34,12 @@ private SignJwtResponse() { signedJwt_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SignJwtResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -47,7 +53,6 @@ private SignJwtResponse( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -116,6 +121,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string key_id = 1; + * + * @return The keyId. */ public java.lang.String getKeyId() { java.lang.Object ref = keyId_; @@ -136,6 +143,8 @@ public java.lang.String getKeyId() { * * * string key_id = 1; + * + * @return The bytes for keyId. */ public com.google.protobuf.ByteString getKeyIdBytes() { java.lang.Object ref = keyId_; @@ -159,6 +168,8 @@ public com.google.protobuf.ByteString getKeyIdBytes() { * * * string signed_jwt = 2; + * + * @return The signedJwt. */ public java.lang.String getSignedJwt() { java.lang.Object ref = signedJwt_; @@ -179,6 +190,8 @@ public java.lang.String getSignedJwt() { * * * string signed_jwt = 2; + * + * @return The bytes for signedJwt. */ public com.google.protobuf.ByteString getSignedJwtBytes() { java.lang.Object ref = signedJwt_; @@ -527,6 +540,8 @@ public Builder mergeFrom( * * * string key_id = 1; + * + * @return The keyId. */ public java.lang.String getKeyId() { java.lang.Object ref = keyId_; @@ -547,6 +562,8 @@ public java.lang.String getKeyId() { * * * string key_id = 1; + * + * @return The bytes for keyId. */ public com.google.protobuf.ByteString getKeyIdBytes() { java.lang.Object ref = keyId_; @@ -567,6 +584,9 @@ public com.google.protobuf.ByteString getKeyIdBytes() { * * * string key_id = 1; + * + * @param value The keyId to set. + * @return This builder for chaining. */ public Builder setKeyId(java.lang.String value) { if (value == null) { @@ -585,6 +605,8 @@ public Builder setKeyId(java.lang.String value) { * * * string key_id = 1; + * + * @return This builder for chaining. */ public Builder clearKeyId() { @@ -600,6 +622,9 @@ public Builder clearKeyId() { * * * string key_id = 1; + * + * @param value The bytes for keyId to set. + * @return This builder for chaining. */ public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -621,6 +646,8 @@ public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { * * * string signed_jwt = 2; + * + * @return The signedJwt. */ public java.lang.String getSignedJwt() { java.lang.Object ref = signedJwt_; @@ -641,6 +668,8 @@ public java.lang.String getSignedJwt() { * * * string signed_jwt = 2; + * + * @return The bytes for signedJwt. */ public com.google.protobuf.ByteString getSignedJwtBytes() { java.lang.Object ref = signedJwt_; @@ -661,6 +690,9 @@ public com.google.protobuf.ByteString getSignedJwtBytes() { * * * string signed_jwt = 2; + * + * @param value The signedJwt to set. + * @return This builder for chaining. */ public Builder setSignedJwt(java.lang.String value) { if (value == null) { @@ -679,6 +711,8 @@ public Builder setSignedJwt(java.lang.String value) { * * * string signed_jwt = 2; + * + * @return This builder for chaining. */ public Builder clearSignedJwt() { @@ -694,6 +728,9 @@ public Builder clearSignedJwt() { * * * string signed_jwt = 2; + * + * @param value The bytes for signedJwt to set. + * @return This builder for chaining. */ public Builder setSignedJwtBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponseOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponseOrBuilder.java index 54879231..2a6e2bb3 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponseOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponseOrBuilder.java @@ -31,6 +31,8 @@ public interface SignJwtResponseOrBuilder * * * string key_id = 1; + * + * @return The keyId. */ java.lang.String getKeyId(); /** @@ -41,6 +43,8 @@ public interface SignJwtResponseOrBuilder * * * string key_id = 1; + * + * @return The bytes for keyId. */ com.google.protobuf.ByteString getKeyIdBytes(); @@ -52,6 +56,8 @@ public interface SignJwtResponseOrBuilder * * * string signed_jwt = 2; + * + * @return The signedJwt. */ java.lang.String getSignedJwt(); /** @@ -62,6 +68,8 @@ public interface SignJwtResponseOrBuilder * * * string signed_jwt = 2; + * + * @return The bytes for signedJwt. */ com.google.protobuf.ByteString getSignedJwtBytes(); } diff --git a/synth.metadata b/synth.metadata index 5b7321d5..ac748e97 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-11-19T19:51:12.055736Z", + "updateTime": "2019-12-12T08:44:50.656064Z", "sources": [ { "generator": { "name": "artman", - "version": "0.42.1", - "dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57" + "version": "0.42.2", + "dockerImage": "googleapis/artman@sha256:a86051ce32e2454ca2558ec9e437d46c2184b6dd291f57b0686676d77242658e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5af83f47b9656261cafcf88b0b3334521ab266b3", - "internalRef": "281334391" + "sha": "19c4589a3cb44b3679f7b3fba88365b3d055d5f8", + "internalRef": "285013366" } }, {