diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java index 4f302ab6..cc7d9426 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java @@ -110,12 +110,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static OperatingSystemType valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static OperatingSystemType forNumber(int value) { switch (value) { case 0: @@ -189,6 +197,8 @@ public interface PosixAccountOrBuilder * * * bool primary = 1; + * + * @return The primary. */ boolean getPrimary(); @@ -200,6 +210,8 @@ public interface PosixAccountOrBuilder * * * string username = 2; + * + * @return The username. */ java.lang.String getUsername(); /** @@ -210,6 +222,8 @@ public interface PosixAccountOrBuilder * * * string username = 2; + * + * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); @@ -221,6 +235,8 @@ public interface PosixAccountOrBuilder * * * int64 uid = 3; + * + * @return The uid. */ long getUid(); @@ -232,6 +248,8 @@ public interface PosixAccountOrBuilder * * * int64 gid = 4; + * + * @return The gid. */ long getGid(); @@ -243,6 +261,8 @@ public interface PosixAccountOrBuilder * * * string home_directory = 5; + * + * @return The homeDirectory. */ java.lang.String getHomeDirectory(); /** @@ -253,6 +273,8 @@ public interface PosixAccountOrBuilder * * * string home_directory = 5; + * + * @return The bytes for homeDirectory. */ com.google.protobuf.ByteString getHomeDirectoryBytes(); @@ -264,6 +286,8 @@ public interface PosixAccountOrBuilder * * * string shell = 6; + * + * @return The shell. */ java.lang.String getShell(); /** @@ -274,6 +298,8 @@ public interface PosixAccountOrBuilder * * * string shell = 6; + * + * @return The bytes for shell. */ com.google.protobuf.ByteString getShellBytes(); @@ -285,6 +311,8 @@ public interface PosixAccountOrBuilder * * * string gecos = 7; + * + * @return The gecos. */ java.lang.String getGecos(); /** @@ -295,6 +323,8 @@ public interface PosixAccountOrBuilder * * * string gecos = 7; + * + * @return The bytes for gecos. */ com.google.protobuf.ByteString getGecosBytes(); @@ -307,6 +337,8 @@ public interface PosixAccountOrBuilder * * * string system_id = 8; + * + * @return The systemId. */ java.lang.String getSystemId(); /** @@ -318,6 +350,8 @@ public interface PosixAccountOrBuilder * * * string system_id = 8; + * + * @return The bytes for systemId. */ com.google.protobuf.ByteString getSystemIdBytes(); @@ -329,6 +363,8 @@ public interface PosixAccountOrBuilder * * * string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The accountId. */ java.lang.String getAccountId(); /** @@ -339,6 +375,8 @@ public interface PosixAccountOrBuilder * * * string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for accountId. */ com.google.protobuf.ByteString getAccountIdBytes(); @@ -350,6 +388,8 @@ public interface PosixAccountOrBuilder * * * .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10; + * + * @return The enum numeric value on the wire for operatingSystemType. */ int getOperatingSystemTypeValue(); /** @@ -360,6 +400,8 @@ public interface PosixAccountOrBuilder * * * .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10; + * + * @return The operatingSystemType. */ com.google.cloud.oslogin.common.OsLoginProto.OperatingSystemType getOperatingSystemType(); @@ -371,6 +413,8 @@ public interface PosixAccountOrBuilder * * * string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ java.lang.String getName(); /** @@ -381,6 +425,8 @@ public interface PosixAccountOrBuilder * * * string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } @@ -414,6 +460,12 @@ private PosixAccount() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PosixAccount(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -427,7 +479,6 @@ private PosixAccount( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -553,6 +604,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * bool primary = 1; + * + * @return The primary. */ public boolean getPrimary() { return primary_; @@ -568,6 +621,8 @@ public boolean getPrimary() { * * * string username = 2; + * + * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; @@ -588,6 +643,8 @@ public java.lang.String getUsername() { * * * string username = 2; + * + * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; @@ -611,6 +668,8 @@ public com.google.protobuf.ByteString getUsernameBytes() { * * * int64 uid = 3; + * + * @return The uid. */ public long getUid() { return uid_; @@ -626,6 +685,8 @@ public long getUid() { * * * int64 gid = 4; + * + * @return The gid. */ public long getGid() { return gid_; @@ -641,6 +702,8 @@ public long getGid() { * * * string home_directory = 5; + * + * @return The homeDirectory. */ public java.lang.String getHomeDirectory() { java.lang.Object ref = homeDirectory_; @@ -661,6 +724,8 @@ public java.lang.String getHomeDirectory() { * * * string home_directory = 5; + * + * @return The bytes for homeDirectory. */ public com.google.protobuf.ByteString getHomeDirectoryBytes() { java.lang.Object ref = homeDirectory_; @@ -684,6 +749,8 @@ public com.google.protobuf.ByteString getHomeDirectoryBytes() { * * * string shell = 6; + * + * @return The shell. */ public java.lang.String getShell() { java.lang.Object ref = shell_; @@ -704,6 +771,8 @@ public java.lang.String getShell() { * * * string shell = 6; + * + * @return The bytes for shell. */ public com.google.protobuf.ByteString getShellBytes() { java.lang.Object ref = shell_; @@ -727,6 +796,8 @@ public com.google.protobuf.ByteString getShellBytes() { * * * string gecos = 7; + * + * @return The gecos. */ public java.lang.String getGecos() { java.lang.Object ref = gecos_; @@ -747,6 +818,8 @@ public java.lang.String getGecos() { * * * string gecos = 7; + * + * @return The bytes for gecos. */ public com.google.protobuf.ByteString getGecosBytes() { java.lang.Object ref = gecos_; @@ -771,6 +844,8 @@ public com.google.protobuf.ByteString getGecosBytes() { * * * string system_id = 8; + * + * @return The systemId. */ public java.lang.String getSystemId() { java.lang.Object ref = systemId_; @@ -792,6 +867,8 @@ public java.lang.String getSystemId() { * * * string system_id = 8; + * + * @return The bytes for systemId. */ public com.google.protobuf.ByteString getSystemIdBytes() { java.lang.Object ref = systemId_; @@ -815,6 +892,8 @@ public com.google.protobuf.ByteString getSystemIdBytes() { * * * string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The accountId. */ public java.lang.String getAccountId() { java.lang.Object ref = accountId_; @@ -835,6 +914,8 @@ public java.lang.String getAccountId() { * * * string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for accountId. */ public com.google.protobuf.ByteString getAccountIdBytes() { java.lang.Object ref = accountId_; @@ -858,6 +939,8 @@ public com.google.protobuf.ByteString getAccountIdBytes() { * * * .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10; + * + * @return The enum numeric value on the wire for operatingSystemType. */ public int getOperatingSystemTypeValue() { return operatingSystemType_; @@ -870,6 +953,8 @@ public int getOperatingSystemTypeValue() { * * * .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10; + * + * @return The operatingSystemType. */ public com.google.cloud.oslogin.common.OsLoginProto.OperatingSystemType getOperatingSystemType() { @@ -892,6 +977,8 @@ public int getOperatingSystemTypeValue() { * * * string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -912,6 +999,8 @@ public java.lang.String getName() { * * * string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -1419,6 +1508,8 @@ public Builder mergeFrom( * * * bool primary = 1; + * + * @return The primary. */ public boolean getPrimary() { return primary_; @@ -1431,6 +1522,9 @@ public boolean getPrimary() { * * * bool primary = 1; + * + * @param value The primary to set. + * @return This builder for chaining. */ public Builder setPrimary(boolean value) { @@ -1446,6 +1540,8 @@ public Builder setPrimary(boolean value) { * * * bool primary = 1; + * + * @return This builder for chaining. */ public Builder clearPrimary() { @@ -1463,6 +1559,8 @@ public Builder clearPrimary() { * * * string username = 2; + * + * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; @@ -1483,6 +1581,8 @@ public java.lang.String getUsername() { * * * string username = 2; + * + * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; @@ -1503,6 +1603,9 @@ public com.google.protobuf.ByteString getUsernameBytes() { * * * string username = 2; + * + * @param value The username to set. + * @return This builder for chaining. */ public Builder setUsername(java.lang.String value) { if (value == null) { @@ -1521,6 +1624,8 @@ public Builder setUsername(java.lang.String value) { * * * string username = 2; + * + * @return This builder for chaining. */ public Builder clearUsername() { @@ -1536,6 +1641,9 @@ public Builder clearUsername() { * * * string username = 2; + * + * @param value The bytes for username to set. + * @return This builder for chaining. */ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1557,6 +1665,8 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * * * int64 uid = 3; + * + * @return The uid. */ public long getUid() { return uid_; @@ -1569,6 +1679,9 @@ public long getUid() { * * * int64 uid = 3; + * + * @param value The uid to set. + * @return This builder for chaining. */ public Builder setUid(long value) { @@ -1584,6 +1697,8 @@ public Builder setUid(long value) { * * * int64 uid = 3; + * + * @return This builder for chaining. */ public Builder clearUid() { @@ -1601,6 +1716,8 @@ public Builder clearUid() { * * * int64 gid = 4; + * + * @return The gid. */ public long getGid() { return gid_; @@ -1613,6 +1730,9 @@ public long getGid() { * * * int64 gid = 4; + * + * @param value The gid to set. + * @return This builder for chaining. */ public Builder setGid(long value) { @@ -1628,6 +1748,8 @@ public Builder setGid(long value) { * * * int64 gid = 4; + * + * @return This builder for chaining. */ public Builder clearGid() { @@ -1645,6 +1767,8 @@ public Builder clearGid() { * * * string home_directory = 5; + * + * @return The homeDirectory. */ public java.lang.String getHomeDirectory() { java.lang.Object ref = homeDirectory_; @@ -1665,6 +1789,8 @@ public java.lang.String getHomeDirectory() { * * * string home_directory = 5; + * + * @return The bytes for homeDirectory. */ public com.google.protobuf.ByteString getHomeDirectoryBytes() { java.lang.Object ref = homeDirectory_; @@ -1685,6 +1811,9 @@ public com.google.protobuf.ByteString getHomeDirectoryBytes() { * * * string home_directory = 5; + * + * @param value The homeDirectory to set. + * @return This builder for chaining. */ public Builder setHomeDirectory(java.lang.String value) { if (value == null) { @@ -1703,6 +1832,8 @@ public Builder setHomeDirectory(java.lang.String value) { * * * string home_directory = 5; + * + * @return This builder for chaining. */ public Builder clearHomeDirectory() { @@ -1718,6 +1849,9 @@ public Builder clearHomeDirectory() { * * * string home_directory = 5; + * + * @param value The bytes for homeDirectory to set. + * @return This builder for chaining. */ public Builder setHomeDirectoryBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1739,6 +1873,8 @@ public Builder setHomeDirectoryBytes(com.google.protobuf.ByteString value) { * * * string shell = 6; + * + * @return The shell. */ public java.lang.String getShell() { java.lang.Object ref = shell_; @@ -1759,6 +1895,8 @@ public java.lang.String getShell() { * * * string shell = 6; + * + * @return The bytes for shell. */ public com.google.protobuf.ByteString getShellBytes() { java.lang.Object ref = shell_; @@ -1779,6 +1917,9 @@ public com.google.protobuf.ByteString getShellBytes() { * * * string shell = 6; + * + * @param value The shell to set. + * @return This builder for chaining. */ public Builder setShell(java.lang.String value) { if (value == null) { @@ -1797,6 +1938,8 @@ public Builder setShell(java.lang.String value) { * * * string shell = 6; + * + * @return This builder for chaining. */ public Builder clearShell() { @@ -1812,6 +1955,9 @@ public Builder clearShell() { * * * string shell = 6; + * + * @param value The bytes for shell to set. + * @return This builder for chaining. */ public Builder setShellBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1833,6 +1979,8 @@ public Builder setShellBytes(com.google.protobuf.ByteString value) { * * * string gecos = 7; + * + * @return The gecos. */ public java.lang.String getGecos() { java.lang.Object ref = gecos_; @@ -1853,6 +2001,8 @@ public java.lang.String getGecos() { * * * string gecos = 7; + * + * @return The bytes for gecos. */ public com.google.protobuf.ByteString getGecosBytes() { java.lang.Object ref = gecos_; @@ -1873,6 +2023,9 @@ public com.google.protobuf.ByteString getGecosBytes() { * * * string gecos = 7; + * + * @param value The gecos to set. + * @return This builder for chaining. */ public Builder setGecos(java.lang.String value) { if (value == null) { @@ -1891,6 +2044,8 @@ public Builder setGecos(java.lang.String value) { * * * string gecos = 7; + * + * @return This builder for chaining. */ public Builder clearGecos() { @@ -1906,6 +2061,9 @@ public Builder clearGecos() { * * * string gecos = 7; + * + * @param value The bytes for gecos to set. + * @return This builder for chaining. */ public Builder setGecosBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1928,6 +2086,8 @@ public Builder setGecosBytes(com.google.protobuf.ByteString value) { * * * string system_id = 8; + * + * @return The systemId. */ public java.lang.String getSystemId() { java.lang.Object ref = systemId_; @@ -1949,6 +2109,8 @@ public java.lang.String getSystemId() { * * * string system_id = 8; + * + * @return The bytes for systemId. */ public com.google.protobuf.ByteString getSystemIdBytes() { java.lang.Object ref = systemId_; @@ -1970,6 +2132,9 @@ public com.google.protobuf.ByteString getSystemIdBytes() { * * * string system_id = 8; + * + * @param value The systemId to set. + * @return This builder for chaining. */ public Builder setSystemId(java.lang.String value) { if (value == null) { @@ -1989,6 +2154,8 @@ public Builder setSystemId(java.lang.String value) { * * * string system_id = 8; + * + * @return This builder for chaining. */ public Builder clearSystemId() { @@ -2005,6 +2172,9 @@ public Builder clearSystemId() { * * * string system_id = 8; + * + * @param value The bytes for systemId to set. + * @return This builder for chaining. */ public Builder setSystemIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2026,6 +2196,8 @@ public Builder setSystemIdBytes(com.google.protobuf.ByteString value) { * * * string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The accountId. */ public java.lang.String getAccountId() { java.lang.Object ref = accountId_; @@ -2046,6 +2218,8 @@ public java.lang.String getAccountId() { * * * string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for accountId. */ public com.google.protobuf.ByteString getAccountIdBytes() { java.lang.Object ref = accountId_; @@ -2066,6 +2240,9 @@ public com.google.protobuf.ByteString getAccountIdBytes() { * * * string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The accountId to set. + * @return This builder for chaining. */ public Builder setAccountId(java.lang.String value) { if (value == null) { @@ -2084,6 +2261,8 @@ public Builder setAccountId(java.lang.String value) { * * * string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearAccountId() { @@ -2099,6 +2278,9 @@ public Builder clearAccountId() { * * * string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for accountId to set. + * @return This builder for chaining. */ public Builder setAccountIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2120,6 +2302,8 @@ public Builder setAccountIdBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10; + * + * @return The enum numeric value on the wire for operatingSystemType. */ public int getOperatingSystemTypeValue() { return operatingSystemType_; @@ -2132,6 +2316,9 @@ public int getOperatingSystemTypeValue() { * * * .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10; + * + * @param value The enum numeric value on the wire for operatingSystemType to set. + * @return This builder for chaining. */ public Builder setOperatingSystemTypeValue(int value) { operatingSystemType_ = value; @@ -2146,6 +2333,8 @@ public Builder setOperatingSystemTypeValue(int value) { * * * .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10; + * + * @return The operatingSystemType. */ public com.google.cloud.oslogin.common.OsLoginProto.OperatingSystemType getOperatingSystemType() { @@ -2165,6 +2354,9 @@ public Builder setOperatingSystemTypeValue(int value) { * * * .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10; + * + * @param value The operatingSystemType to set. + * @return This builder for chaining. */ public Builder setOperatingSystemType( com.google.cloud.oslogin.common.OsLoginProto.OperatingSystemType value) { @@ -2184,6 +2376,8 @@ public Builder setOperatingSystemType( * * * .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10; + * + * @return This builder for chaining. */ public Builder clearOperatingSystemType() { @@ -2201,6 +2395,8 @@ public Builder clearOperatingSystemType() { * * * string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -2221,6 +2417,8 @@ public java.lang.String getName() { * * * string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -2241,6 +2439,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -2259,6 +2460,8 @@ public Builder setName(java.lang.String value) { * * * string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -2274,6 +2477,9 @@ public Builder clearName() { * * * string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2353,6 +2559,8 @@ public interface SshPublicKeyOrBuilder * * * string key = 1; + * + * @return The key. */ java.lang.String getKey(); /** @@ -2365,6 +2573,8 @@ public interface SshPublicKeyOrBuilder * * * string key = 1; + * + * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); @@ -2376,6 +2586,8 @@ public interface SshPublicKeyOrBuilder * * * int64 expiration_time_usec = 2; + * + * @return The expirationTimeUsec. */ long getExpirationTimeUsec(); @@ -2387,6 +2599,8 @@ public interface SshPublicKeyOrBuilder * * * string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The fingerprint. */ java.lang.String getFingerprint(); /** @@ -2397,6 +2611,8 @@ public interface SshPublicKeyOrBuilder * * * string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for fingerprint. */ com.google.protobuf.ByteString getFingerprintBytes(); @@ -2408,6 +2624,8 @@ public interface SshPublicKeyOrBuilder * * * string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ java.lang.String getName(); /** @@ -2418,6 +2636,8 @@ public interface SshPublicKeyOrBuilder * * * string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } @@ -2446,6 +2666,12 @@ private SshPublicKey() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SshPublicKey(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -2459,7 +2685,6 @@ private SshPublicKey( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -2542,6 +2767,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string key = 1; + * + * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -2564,6 +2791,8 @@ public java.lang.String getKey() { * * * string key = 1; + * + * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; @@ -2587,6 +2816,8 @@ public com.google.protobuf.ByteString getKeyBytes() { * * * int64 expiration_time_usec = 2; + * + * @return The expirationTimeUsec. */ public long getExpirationTimeUsec() { return expirationTimeUsec_; @@ -2602,6 +2833,8 @@ public long getExpirationTimeUsec() { * * * string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The fingerprint. */ public java.lang.String getFingerprint() { java.lang.Object ref = fingerprint_; @@ -2622,6 +2855,8 @@ public java.lang.String getFingerprint() { * * * string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for fingerprint. */ public com.google.protobuf.ByteString getFingerprintBytes() { java.lang.Object ref = fingerprint_; @@ -2645,6 +2880,8 @@ public com.google.protobuf.ByteString getFingerprintBytes() { * * * string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -2665,6 +2902,8 @@ public java.lang.String getName() { * * * string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -3059,6 +3298,8 @@ public Builder mergeFrom( * * * string key = 1; + * + * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -3081,6 +3322,8 @@ public java.lang.String getKey() { * * * string key = 1; + * + * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; @@ -3103,6 +3346,9 @@ public com.google.protobuf.ByteString getKeyBytes() { * * * string key = 1; + * + * @param value The key to set. + * @return This builder for chaining. */ public Builder setKey(java.lang.String value) { if (value == null) { @@ -3123,6 +3369,8 @@ public Builder setKey(java.lang.String value) { * * * string key = 1; + * + * @return This builder for chaining. */ public Builder clearKey() { @@ -3140,6 +3388,9 @@ public Builder clearKey() { * * * string key = 1; + * + * @param value The bytes for key to set. + * @return This builder for chaining. */ public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -3161,6 +3412,8 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { * * * int64 expiration_time_usec = 2; + * + * @return The expirationTimeUsec. */ public long getExpirationTimeUsec() { return expirationTimeUsec_; @@ -3173,6 +3426,9 @@ public long getExpirationTimeUsec() { * * * int64 expiration_time_usec = 2; + * + * @param value The expirationTimeUsec to set. + * @return This builder for chaining. */ public Builder setExpirationTimeUsec(long value) { @@ -3188,6 +3444,8 @@ public Builder setExpirationTimeUsec(long value) { * * * int64 expiration_time_usec = 2; + * + * @return This builder for chaining. */ public Builder clearExpirationTimeUsec() { @@ -3205,6 +3463,8 @@ public Builder clearExpirationTimeUsec() { * * * string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The fingerprint. */ public java.lang.String getFingerprint() { java.lang.Object ref = fingerprint_; @@ -3225,6 +3485,8 @@ public java.lang.String getFingerprint() { * * * string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for fingerprint. */ public com.google.protobuf.ByteString getFingerprintBytes() { java.lang.Object ref = fingerprint_; @@ -3245,6 +3507,9 @@ public com.google.protobuf.ByteString getFingerprintBytes() { * * * string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The fingerprint to set. + * @return This builder for chaining. */ public Builder setFingerprint(java.lang.String value) { if (value == null) { @@ -3263,6 +3528,8 @@ public Builder setFingerprint(java.lang.String value) { * * * string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearFingerprint() { @@ -3278,6 +3545,9 @@ public Builder clearFingerprint() { * * * string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for fingerprint to set. + * @return This builder for chaining. */ public Builder setFingerprintBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -3299,6 +3569,8 @@ public Builder setFingerprintBytes(com.google.protobuf.ByteString value) { * * * string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -3319,6 +3591,8 @@ public java.lang.String getName() { * * * string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -3339,6 +3613,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -3357,6 +3634,8 @@ public Builder setName(java.lang.String value) { * * * string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -3372,6 +3651,9 @@ public Builder clearName() { * * * string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -3479,21 +3761,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "OsLogin\\Common\352A+\n\033oslogin.googleapis.co" + "m/User\022\014users/{user}b\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.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); internal_static_google_cloud_oslogin_common_PosixAccount_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_oslogin_common_PosixAccount_fieldAccessorTable = diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java index d2e56048..876d6095 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java @@ -41,6 +41,12 @@ private DeletePosixAccountRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeletePosixAccountRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeletePosixAccountRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -144,6 +151,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -489,6 +498,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -513,6 +524,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -537,6 +550,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -559,6 +575,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -578,6 +596,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequestOrBuilder.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequestOrBuilder.java index b50a8301..49af860f 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequestOrBuilder.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface DeletePosixAccountRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -49,6 +51,8 @@ public interface DeletePosixAccountRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java index ed88f885..989c611b 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java @@ -41,6 +41,12 @@ private DeleteSshPublicKeyRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteSshPublicKeyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteSshPublicKeyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -144,6 +151,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -489,6 +498,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -513,6 +524,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -537,6 +550,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -559,6 +575,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -578,6 +596,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequestOrBuilder.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequestOrBuilder.java index 06ab26b2..3a33410f 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequestOrBuilder.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface DeleteSshPublicKeyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -49,6 +51,8 @@ public interface DeleteSshPublicKeyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequest.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequest.java index 2230fa63..0eecbbf6 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequest.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequest.java @@ -43,6 +43,12 @@ private GetLoginProfileRequest() { systemId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetLoginProfileRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private GetLoginProfileRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -134,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -156,6 +163,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -179,6 +188,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string project_id = 2; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -199,6 +210,8 @@ public java.lang.String getProjectId() { * * * string project_id = 2; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -222,6 +235,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string system_id = 3; + * + * @return The systemId. */ public java.lang.String getSystemId() { java.lang.Object ref = systemId_; @@ -242,6 +257,8 @@ public java.lang.String getSystemId() { * * * string system_id = 3; + * + * @return The bytes for systemId. */ public com.google.protobuf.ByteString getSystemIdBytes() { java.lang.Object ref = systemId_; @@ -616,6 +633,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -638,6 +657,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -660,6 +681,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -680,6 +704,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -697,6 +723,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -718,6 +747,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * string project_id = 2; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -738,6 +769,8 @@ public java.lang.String getProjectId() { * * * string project_id = 2; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -758,6 +791,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 2; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -776,6 +812,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 2; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -791,6 +829,9 @@ public Builder clearProjectId() { * * * string project_id = 2; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -812,6 +853,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * * string system_id = 3; + * + * @return The systemId. */ public java.lang.String getSystemId() { java.lang.Object ref = systemId_; @@ -832,6 +875,8 @@ public java.lang.String getSystemId() { * * * string system_id = 3; + * + * @return The bytes for systemId. */ public com.google.protobuf.ByteString getSystemIdBytes() { java.lang.Object ref = systemId_; @@ -852,6 +897,9 @@ public com.google.protobuf.ByteString getSystemIdBytes() { * * * string system_id = 3; + * + * @param value The systemId to set. + * @return This builder for chaining. */ public Builder setSystemId(java.lang.String value) { if (value == null) { @@ -870,6 +918,8 @@ public Builder setSystemId(java.lang.String value) { * * * string system_id = 3; + * + * @return This builder for chaining. */ public Builder clearSystemId() { @@ -885,6 +935,9 @@ public Builder clearSystemId() { * * * string system_id = 3; + * + * @param value The bytes for systemId to set. + * @return This builder for chaining. */ public Builder setSystemIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequestOrBuilder.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequestOrBuilder.java index 3260af42..d0918098 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequestOrBuilder.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface GetLoginProfileRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -45,6 +47,8 @@ public interface GetLoginProfileRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -56,6 +60,8 @@ public interface GetLoginProfileRequestOrBuilder * * * string project_id = 2; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -66,6 +72,8 @@ public interface GetLoginProfileRequestOrBuilder * * * string project_id = 2; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -77,6 +85,8 @@ public interface GetLoginProfileRequestOrBuilder * * * string system_id = 3; + * + * @return The systemId. */ java.lang.String getSystemId(); /** @@ -87,6 +97,8 @@ public interface GetLoginProfileRequestOrBuilder * * * string system_id = 3; + * + * @return The bytes for systemId. */ com.google.protobuf.ByteString getSystemIdBytes(); } diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java index 27fda9a9..0569ddae 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java @@ -41,6 +41,12 @@ private GetSshPublicKeyRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetSshPublicKeyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetSshPublicKeyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -144,6 +151,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -488,6 +497,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -512,6 +523,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -536,6 +549,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -558,6 +574,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -577,6 +595,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequestOrBuilder.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequestOrBuilder.java index 17340dfe..b5f95cd6 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequestOrBuilder.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface GetSshPublicKeyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -49,6 +51,8 @@ public interface GetSshPublicKeyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequest.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequest.java index 5db0bf64..ab405876 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequest.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequest.java @@ -42,6 +42,12 @@ private ImportSshPublicKeyRequest() { projectId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportSshPublicKeyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ImportSshPublicKeyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -143,6 +148,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -165,6 +172,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -190,6 +199,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the sshPublicKey field is set. */ public boolean hasSshPublicKey() { return sshPublicKey_ != null; @@ -204,6 +215,8 @@ public boolean hasSshPublicKey() { * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The sshPublicKey. */ public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKey() { return sshPublicKey_ == null @@ -236,6 +249,8 @@ public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKey * * * string project_id = 3; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -256,6 +271,8 @@ public java.lang.String getProjectId() { * * * string project_id = 3; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -643,6 +660,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -665,6 +684,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -687,6 +708,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -707,6 +731,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -724,6 +750,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -752,6 +781,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the sshPublicKey field is set. */ public boolean hasSshPublicKey() { return sshPublicKeyBuilder_ != null || sshPublicKey_ != null; @@ -766,6 +797,8 @@ public boolean hasSshPublicKey() { * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The sshPublicKey. */ public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKey() { if (sshPublicKeyBuilder_ == null) { @@ -949,6 +982,8 @@ public Builder clearSshPublicKey() { * * * string project_id = 3; + * + * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -969,6 +1004,8 @@ public java.lang.String getProjectId() { * * * string project_id = 3; + * + * @return The bytes for projectId. */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -989,6 +1026,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * string project_id = 3; + * + * @param value The projectId to set. + * @return This builder for chaining. */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -1007,6 +1047,8 @@ public Builder setProjectId(java.lang.String value) { * * * string project_id = 3; + * + * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1022,6 +1064,9 @@ public Builder clearProjectId() { * * * string project_id = 3; + * + * @param value The bytes for projectId to set. + * @return This builder for chaining. */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequestOrBuilder.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequestOrBuilder.java index 357fbc09..5cf058ef 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequestOrBuilder.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface ImportSshPublicKeyRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -45,6 +47,8 @@ public interface ImportSshPublicKeyRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -58,6 +62,8 @@ public interface ImportSshPublicKeyRequestOrBuilder * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the sshPublicKey field is set. */ boolean hasSshPublicKey(); /** @@ -70,6 +76,8 @@ public interface ImportSshPublicKeyRequestOrBuilder * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The sshPublicKey. */ com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKey(); /** @@ -93,6 +101,8 @@ public interface ImportSshPublicKeyRequestOrBuilder * * * string project_id = 3; + * + * @return The projectId. */ java.lang.String getProjectId(); /** @@ -103,6 +113,8 @@ public interface ImportSshPublicKeyRequestOrBuilder * * * string project_id = 3; + * + * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); } diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponse.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponse.java index c9e0468d..bc11eb89 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponse.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponse.java @@ -39,6 +39,12 @@ private ImportSshPublicKeyResponse(com.google.protobuf.GeneratedMessageV3.Builde private ImportSshPublicKeyResponse() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportSshPublicKeyResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private ImportSshPublicKeyResponse( 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() { * * * .google.cloud.oslogin.v1.LoginProfile login_profile = 1; + * + * @return Whether the loginProfile field is set. */ public boolean hasLoginProfile() { return loginProfile_ != null; @@ -135,6 +142,8 @@ public boolean hasLoginProfile() { * * * .google.cloud.oslogin.v1.LoginProfile login_profile = 1; + * + * @return The loginProfile. */ public com.google.cloud.oslogin.v1.LoginProfile getLoginProfile() { return loginProfile_ == null @@ -499,6 +508,8 @@ public Builder mergeFrom( * * * .google.cloud.oslogin.v1.LoginProfile login_profile = 1; + * + * @return Whether the loginProfile field is set. */ public boolean hasLoginProfile() { return loginProfileBuilder_ != null || loginProfile_ != null; @@ -511,6 +522,8 @@ public boolean hasLoginProfile() { * * * .google.cloud.oslogin.v1.LoginProfile login_profile = 1; + * + * @return The loginProfile. */ public com.google.cloud.oslogin.v1.LoginProfile getLoginProfile() { if (loginProfileBuilder_ == null) { diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponseOrBuilder.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponseOrBuilder.java index 02abdcee..5e19ee13 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponseOrBuilder.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponseOrBuilder.java @@ -31,6 +31,8 @@ public interface ImportSshPublicKeyResponseOrBuilder * * * .google.cloud.oslogin.v1.LoginProfile login_profile = 1; + * + * @return Whether the loginProfile field is set. */ boolean hasLoginProfile(); /** @@ -41,6 +43,8 @@ public interface ImportSshPublicKeyResponseOrBuilder * * * .google.cloud.oslogin.v1.LoginProfile login_profile = 1; + * + * @return The loginProfile. */ com.google.cloud.oslogin.v1.LoginProfile getLoginProfile(); /** diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfile.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfile.java index 391559f2..c0b66986 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfile.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfile.java @@ -43,6 +43,12 @@ private LoginProfile() { posixAccounts_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LoginProfile(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -76,11 +82,11 @@ private LoginProfile( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { posixAccounts_ = new java.util.ArrayList< com.google.cloud.oslogin.common.OsLoginProto.PosixAccount>(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } posixAccounts_.add( input.readMessage( @@ -90,11 +96,11 @@ private LoginProfile( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { sshPublicKeys_ = com.google.protobuf.MapField.newMapField( SshPublicKeysDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry< java.lang.String, com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey> @@ -121,7 +127,7 @@ private LoginProfile( } 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)) { posixAccounts_ = java.util.Collections.unmodifiableList(posixAccounts_); } this.unknownFields = unknownFields.build(); @@ -155,7 +161,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.oslogin.v1.LoginProfile.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -166,6 +171,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -186,6 +193,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -637,7 +646,7 @@ public Builder clear() { if (posixAccountsBuilder_ == null) { posixAccounts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { posixAccountsBuilder_.clear(); } @@ -670,12 +679,11 @@ public com.google.cloud.oslogin.v1.LoginProfile buildPartial() { com.google.cloud.oslogin.v1.LoginProfile result = new com.google.cloud.oslogin.v1.LoginProfile(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; if (posixAccountsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { posixAccounts_ = java.util.Collections.unmodifiableList(posixAccounts_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.posixAccounts_ = posixAccounts_; } else { @@ -683,7 +691,6 @@ public com.google.cloud.oslogin.v1.LoginProfile buildPartial() { } result.sshPublicKeys_ = internalGetSshPublicKeys(); result.sshPublicKeys_.makeImmutable(); - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -741,7 +748,7 @@ public Builder mergeFrom(com.google.cloud.oslogin.v1.LoginProfile other) { if (!other.posixAccounts_.isEmpty()) { if (posixAccounts_.isEmpty()) { posixAccounts_ = other.posixAccounts_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePosixAccountsIsMutable(); posixAccounts_.addAll(other.posixAccounts_); @@ -754,7 +761,7 @@ public Builder mergeFrom(com.google.cloud.oslogin.v1.LoginProfile other) { posixAccountsBuilder_.dispose(); posixAccountsBuilder_ = null; posixAccounts_ = other.posixAccounts_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); posixAccountsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPosixAccountsFieldBuilder() @@ -805,6 +812,8 @@ public Builder mergeFrom( * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -825,6 +834,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -845,6 +856,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -863,6 +877,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -878,6 +894,9 @@ public Builder clearName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -894,11 +913,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { posixAccounts_ = java.util.Collections.emptyList(); private void ensurePosixAccountsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { posixAccounts_ = new java.util.ArrayList( posixAccounts_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } @@ -1121,7 +1140,7 @@ public Builder addAllPosixAccounts( public Builder clearPosixAccounts() { if (posixAccountsBuilder_ == null) { posixAccounts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { posixAccountsBuilder_.clear(); @@ -1252,7 +1271,7 @@ public Builder removePosixAccounts(int index) { com.google.cloud.oslogin.common.OsLoginProto.PosixAccount.Builder, com.google.cloud.oslogin.common.OsLoginProto.PosixAccountOrBuilder>( posixAccounts_, - ((bitField0_ & 0x00000002) != 0), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); posixAccounts_ = null; diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfileOrBuilder.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfileOrBuilder.java index 52143ca5..a416afc4 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfileOrBuilder.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfileOrBuilder.java @@ -31,6 +31,8 @@ public interface LoginProfileOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ java.lang.String getName(); /** @@ -41,6 +43,8 @@ public interface LoginProfileOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java index 6cb14676..606df82d 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java @@ -145,26 +145,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "OsLogin.V1\312\002\027Google\\Cloud\\OsLogin\\V1b\006pr" + "oto3" }; - 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.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.oslogin.common.OsLoginProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.oslogin.common.OsLoginProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); internal_static_google_cloud_oslogin_v1_LoginProfile_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_oslogin_v1_LoginProfile_fieldAccessorTable = diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java index 958f240e..1497a0ed 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java @@ -41,6 +41,12 @@ private UpdateSshPublicKeyRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateSshPublicKeyRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private UpdateSshPublicKeyRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -152,6 +157,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -201,6 +210,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the sshPublicKey field is set. */ public boolean hasSshPublicKey() { return sshPublicKey_ != null; @@ -215,6 +226,8 @@ public boolean hasSshPublicKey() { * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The sshPublicKey. */ public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKey() { return sshPublicKey_ == null @@ -247,6 +260,8 @@ public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKey * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -259,6 +274,8 @@ public boolean hasUpdateMask() { * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -664,6 +681,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -688,6 +707,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -712,6 +733,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -734,6 +758,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -753,6 +779,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -781,6 +810,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the sshPublicKey field is set. */ public boolean hasSshPublicKey() { return sshPublicKeyBuilder_ != null || sshPublicKey_ != null; @@ -795,6 +826,8 @@ public boolean hasSshPublicKey() { * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The sshPublicKey. */ public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKey() { if (sshPublicKeyBuilder_ == null) { @@ -983,6 +1016,8 @@ public Builder clearSshPublicKey() { * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -995,6 +1030,8 @@ public boolean hasUpdateMask() { * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { diff --git a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequestOrBuilder.java b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequestOrBuilder.java index 1578589d..6e14c3ab 100644 --- a/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequestOrBuilder.java +++ b/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface UpdateSshPublicKeyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -49,6 +51,8 @@ public interface UpdateSshPublicKeyRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -62,6 +66,8 @@ public interface UpdateSshPublicKeyRequestOrBuilder * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the sshPublicKey field is set. */ boolean hasSshPublicKey(); /** @@ -74,6 +80,8 @@ public interface UpdateSshPublicKeyRequestOrBuilder * * .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The sshPublicKey. */ com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKey(); /** @@ -97,6 +105,8 @@ public interface UpdateSshPublicKeyRequestOrBuilder * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -107,6 +117,8 @@ public interface UpdateSshPublicKeyRequestOrBuilder * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** diff --git a/synth.metadata b/synth.metadata index b4a9d449..3a495528 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-11-19T19:54:35.685928Z", + "updateTime": "2019-12-12T08:47:15.667744Z", "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" } }, {