Skip to content

Commit

Permalink
feat: Add the google.rpc.context.AuditContext and google.rpc.http mes…
Browse files Browse the repository at this point in the history
…sage to the open source (#1248)

* feat: Add the google.rpc.context.AuditContext and google.rpc.http message to the open source

Regeneration of the code based on googleapis/java-common-protos#491

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
suztomo and gcf-owl-bot[bot] authored Jan 13, 2023
1 parent 6580200 commit 1538ad8
Show file tree
Hide file tree
Showing 20 changed files with 642 additions and 301 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,69 +193,69 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n\027google/api/client.proto\022\ngoogle.api\032\035g"
+ "oogle/api/launch_stage.proto\032 google/pro"
+ "tobuf/descriptor.proto\032\036google/protobuf/"
+ "duration.proto\"p\n\026CommonLanguageSettings"
+ "\022\032\n\022reference_docs_uri\030\001 \001(\t\022:\n\014destinat"
+ "ions\030\002 \003(\0162$.google.api.ClientLibraryDes"
+ "tination\"\373\003\n\025ClientLibrarySettings\022\017\n\007ve"
+ "rsion\030\001 \001(\t\022-\n\014launch_stage\030\002 \001(\0162\027.goog"
+ "le.api.LaunchStage\022\032\n\022rest_numeric_enums"
+ "\030\003 \001(\010\022/\n\rjava_settings\030\025 \001(\0132\030.google.a"
+ "pi.JavaSettings\022-\n\014cpp_settings\030\026 \001(\0132\027."
+ "google.api.CppSettings\022-\n\014php_settings\030\027"
+ " \001(\0132\027.google.api.PhpSettings\0223\n\017python_"
+ "settings\030\030 \001(\0132\032.google.api.PythonSettin"
+ "gs\022/\n\rnode_settings\030\031 \001(\0132\030.google.api.N"
+ "odeSettings\0223\n\017dotnet_settings\030\032 \001(\0132\032.g"
+ "oogle.api.DotnetSettings\022/\n\rruby_setting"
+ "s\030\033 \001(\0132\030.google.api.RubySettings\022+\n\013go_"
+ "settings\030\034 \001(\0132\026.google.api.GoSettings\"\323"
+ "\002\n\nPublishing\0223\n\017method_settings\030\002 \003(\0132\032"
+ ".google.api.MethodSettings\022\025\n\rnew_issue_"
+ "uri\030e \001(\t\022\031\n\021documentation_uri\030f \001(\t\022\026\n\016"
+ "api_short_name\030g \001(\t\022\024\n\014github_label\030h \001"
+ "(\t\022\036\n\026codeowner_github_teams\030i \003(\t\022\026\n\016do"
+ "c_tag_prefix\030j \001(\t\022;\n\014organization\030k \001(\016"
+ "2%.google.api.ClientLibraryOrganization\022"
+ ";\n\020library_settings\030m \003(\0132!.google.api.C"
+ "lientLibrarySettings\"\343\001\n\014JavaSettings\022\027\n"
+ "\017library_package\030\001 \001(\t\022L\n\023service_class_"
+ "names\030\002 \003(\0132/.google.api.JavaSettings.Se"
+ "rviceClassNamesEntry\0222\n\006common\030\003 \001(\0132\".g"
+ "oogle.api.CommonLanguageSettings\0328\n\026Serv"
+ "iceClassNamesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value"
+ "\030\002 \001(\t:\0028\001\"A\n\013CppSettings\0222\n\006common\030\001 \001("
+ "\0132\".google.api.CommonLanguageSettings\"A\n"
+ "\013PhpSettings\0222\n\006common\030\001 \001(\0132\".google.ap"
+ "i.CommonLanguageSettings\"D\n\016PythonSettin"
+ "gs\0222\n\006common\030\001 \001(\0132\".google.api.CommonLa"
+ "nguageSettings\"B\n\014NodeSettings\0222\n\006common"
+ "\030\001 \001(\0132\".google.api.CommonLanguageSettin"
+ "gs\"D\n\016DotnetSettings\0222\n\006common\030\001 \001(\0132\".g"
+ "oogle.api.CommonLanguageSettings\"B\n\014Ruby"
+ "Settings\0222\n\006common\030\001 \001(\0132\".google.api.Co"
+ "mmonLanguageSettings\"@\n\nGoSettings\0222\n\006co"
+ "duration.proto\"t\n\026CommonLanguageSettings"
+ "\022\036\n\022reference_docs_uri\030\001 \001(\tB\002\030\001\022:\n\014dest"
+ "inations\030\002 \003(\0162$.google.api.ClientLibrar"
+ "yDestination\"\373\003\n\025ClientLibrarySettings\022\017"
+ "\n\007version\030\001 \001(\t\022-\n\014launch_stage\030\002 \001(\0162\027."
+ "google.api.LaunchStage\022\032\n\022rest_numeric_e"
+ "nums\030\003 \001(\010\022/\n\rjava_settings\030\025 \001(\0132\030.goog"
+ "le.api.JavaSettings\022-\n\014cpp_settings\030\026 \001("
+ "\0132\027.google.api.CppSettings\022-\n\014php_settin"
+ "gs\030\027 \001(\0132\027.google.api.PhpSettings\0223\n\017pyt"
+ "hon_settings\030\030 \001(\0132\032.google.api.PythonSe"
+ "ttings\022/\n\rnode_settings\030\031 \001(\0132\030.google.a"
+ "pi.NodeSettings\0223\n\017dotnet_settings\030\032 \001(\013"
+ "2\032.google.api.DotnetSettings\022/\n\rruby_set"
+ "tings\030\033 \001(\0132\030.google.api.RubySettings\022+\n"
+ "\013go_settings\030\034 \001(\0132\026.google.api.GoSettin"
+ "gs\"\323\002\n\nPublishing\0223\n\017method_settings\030\002 \003"
+ "(\0132\032.google.api.MethodSettings\022\025\n\rnew_is"
+ "sue_uri\030e \001(\t\022\031\n\021documentation_uri\030f \001(\t"
+ "\022\026\n\016api_short_name\030g \001(\t\022\024\n\014github_label"
+ "\030h \001(\t\022\036\n\026codeowner_github_teams\030i \003(\t\022\026"
+ "\n\016doc_tag_prefix\030j \001(\t\022;\n\014organization\030k"
+ " \001(\0162%.google.api.ClientLibraryOrganizat"
+ "ion\022;\n\020library_settings\030m \003(\0132!.google.a"
+ "pi.ClientLibrarySettings\"\343\001\n\014JavaSetting"
+ "s\022\027\n\017library_package\030\001 \001(\t\022L\n\023service_cl"
+ "ass_names\030\002 \003(\0132/.google.api.JavaSetting"
+ "s.ServiceClassNamesEntry\0222\n\006common\030\003 \001(\013"
+ "2\".google.api.CommonLanguageSettings\0328\n\026"
+ "ServiceClassNamesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
+ "alue\030\002 \001(\t:\0028\001\"A\n\013CppSettings\0222\n\006common\030"
+ "\001 \001(\0132\".google.api.CommonLanguageSetting"
+ "s\"A\n\013PhpSettings\0222\n\006common\030\001 \001(\0132\".googl"
+ "e.api.CommonLanguageSettings\"D\n\016PythonSe"
+ "ttings\0222\n\006common\030\001 \001(\0132\".google.api.Comm"
+ "onLanguageSettings\"B\n\014NodeSettings\0222\n\006co"
+ "mmon\030\001 \001(\0132\".google.api.CommonLanguageSe"
+ "ttings\"\260\002\n\016MethodSettings\022\020\n\010selector\030\001 "
+ "\001(\t\022<\n\014long_running\030\002 \001(\0132&.google.api.M"
+ "ethodSettings.LongRunning\032\315\001\n\013LongRunnin"
+ "g\0225\n\022initial_poll_delay\030\001 \001(\0132\031.google.p"
+ "rotobuf.Duration\022\035\n\025poll_delay_multiplie"
+ "r\030\002 \001(\002\0221\n\016max_poll_delay\030\003 \001(\0132\031.google"
+ ".protobuf.Duration\0225\n\022total_poll_timeout"
+ "\030\004 \001(\0132\031.google.protobuf.Duration*y\n\031Cli"
+ "entLibraryOrganization\022+\n\'CLIENT_LIBRARY"
+ "_ORGANIZATION_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\007"
+ "\n\003ADS\020\002\022\n\n\006PHOTOS\020\003\022\017\n\013STREET_VIEW\020\004*g\n\030"
+ "ClientLibraryDestination\022*\n&CLIENT_LIBRA"
+ "RY_DESTINATION_UNSPECIFIED\020\000\022\n\n\006GITHUB\020\n"
+ "\022\023\n\017PACKAGE_MANAGER\020\024:9\n\020method_signatur"
+ "e\022\036.google.protobuf.MethodOptions\030\233\010 \003(\t"
+ ":6\n\014default_host\022\037.google.protobuf.Servi"
+ "ceOptions\030\231\010 \001(\t:6\n\014oauth_scopes\022\037.googl"
+ "e.protobuf.ServiceOptions\030\232\010 \001(\tBi\n\016com."
+ "google.apiB\013ClientProtoP\001ZAgoogle.golang"
+ ".org/genproto/googleapis/api/annotations"
+ ";annotations\242\002\004GAPIb\006proto3"
+ "ttings\"D\n\016DotnetSettings\0222\n\006common\030\001 \001(\013"
+ "2\".google.api.CommonLanguageSettings\"B\n\014"
+ "RubySettings\0222\n\006common\030\001 \001(\0132\".google.ap"
+ "i.CommonLanguageSettings\"@\n\nGoSettings\0222"
+ "\n\006common\030\001 \001(\0132\".google.api.CommonLangua"
+ "geSettings\"\260\002\n\016MethodSettings\022\020\n\010selecto"
+ "r\030\001 \001(\t\022<\n\014long_running\030\002 \001(\0132&.google.a"
+ "pi.MethodSettings.LongRunning\032\315\001\n\013LongRu"
+ "nning\0225\n\022initial_poll_delay\030\001 \001(\0132\031.goog"
+ "le.protobuf.Duration\022\035\n\025poll_delay_multi"
+ "plier\030\002 \001(\002\0221\n\016max_poll_delay\030\003 \001(\0132\031.go"
+ "ogle.protobuf.Duration\0225\n\022total_poll_tim"
+ "eout\030\004 \001(\0132\031.google.protobuf.Duration*y\n"
+ "\031ClientLibraryOrganization\022+\n\'CLIENT_LIB"
+ "RARY_ORGANIZATION_UNSPECIFIED\020\000\022\t\n\005CLOUD"
+ "\020\001\022\007\n\003ADS\020\002\022\n\n\006PHOTOS\020\003\022\017\n\013STREET_VIEW\020\004"
+ "*g\n\030ClientLibraryDestination\022*\n&CLIENT_L"
+ "IBRARY_DESTINATION_UNSPECIFIED\020\000\022\n\n\006GITH"
+ "UB\020\n\022\023\n\017PACKAGE_MANAGER\020\024:9\n\020method_sign"
+ "ature\022\036.google.protobuf.MethodOptions\030\233\010"
+ " \003(\t:6\n\014default_host\022\037.google.protobuf.S"
+ "erviceOptions\030\231\010 \001(\t:6\n\014oauth_scopes\022\037.g"
+ "oogle.protobuf.ServiceOptions\030\232\010 \001(\tBi\n\016"
+ "com.google.apiB\013ClientProtoP\001ZAgoogle.go"
+ "lang.org/genproto/googleapis/api/annotat"
+ "ions;annotations\242\002\004GAPIb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* </pre>
*
* <code>string reference_docs_uri = 1;</code>
* <code>string reference_docs_uri = 1 [deprecated = true];</code>
*
* @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See
* google/api/client.proto;l=106
* @return The referenceDocsUri.
*/
@java.lang.Override
@java.lang.Deprecated
public java.lang.String getReferenceDocsUri() {
java.lang.Object ref = referenceDocsUri_;
if (ref instanceof java.lang.String) {
Expand All @@ -101,11 +104,14 @@ public java.lang.String getReferenceDocsUri() {
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* </pre>
*
* <code>string reference_docs_uri = 1;</code>
* <code>string reference_docs_uri = 1 [deprecated = true];</code>
*
* @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See
* google/api/client.proto;l=106
* @return The bytes for referenceDocsUri.
*/
@java.lang.Override
@java.lang.Deprecated
public com.google.protobuf.ByteString getReferenceDocsUriBytes() {
java.lang.Object ref = referenceDocsUri_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -615,10 +621,13 @@ public Builder mergeFrom(
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* </pre>
*
* <code>string reference_docs_uri = 1;</code>
* <code>string reference_docs_uri = 1 [deprecated = true];</code>
*
* @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See
* google/api/client.proto;l=106
* @return The referenceDocsUri.
*/
@java.lang.Deprecated
public java.lang.String getReferenceDocsUri() {
java.lang.Object ref = referenceDocsUri_;
if (!(ref instanceof java.lang.String)) {
Expand All @@ -638,10 +647,13 @@ public java.lang.String getReferenceDocsUri() {
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* </pre>
*
* <code>string reference_docs_uri = 1;</code>
* <code>string reference_docs_uri = 1 [deprecated = true];</code>
*
* @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See
* google/api/client.proto;l=106
* @return The bytes for referenceDocsUri.
*/
@java.lang.Deprecated
public com.google.protobuf.ByteString getReferenceDocsUriBytes() {
java.lang.Object ref = referenceDocsUri_;
if (ref instanceof String) {
Expand All @@ -661,11 +673,14 @@ public com.google.protobuf.ByteString getReferenceDocsUriBytes() {
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* </pre>
*
* <code>string reference_docs_uri = 1;</code>
* <code>string reference_docs_uri = 1 [deprecated = true];</code>
*
* @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See
* google/api/client.proto;l=106
* @param value The referenceDocsUri to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder setReferenceDocsUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
Expand All @@ -683,10 +698,13 @@ public Builder setReferenceDocsUri(java.lang.String value) {
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* </pre>
*
* <code>string reference_docs_uri = 1;</code>
* <code>string reference_docs_uri = 1 [deprecated = true];</code>
*
* @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See
* google/api/client.proto;l=106
* @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder clearReferenceDocsUri() {

referenceDocsUri_ = getDefaultInstance().getReferenceDocsUri();
Expand All @@ -701,11 +719,14 @@ public Builder clearReferenceDocsUri() {
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* </pre>
*
* <code>string reference_docs_uri = 1;</code>
* <code>string reference_docs_uri = 1 [deprecated = true];</code>
*
* @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See
* google/api/client.proto;l=106
* @param value The bytes for referenceDocsUri to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder setReferenceDocsUriBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ public interface CommonLanguageSettingsOrBuilder
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* </pre>
*
* <code>string reference_docs_uri = 1;</code>
* <code>string reference_docs_uri = 1 [deprecated = true];</code>
*
* @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See
* google/api/client.proto;l=106
* @return The referenceDocsUri.
*/
@java.lang.Deprecated
java.lang.String getReferenceDocsUri();
/**
*
Expand All @@ -44,10 +47,13 @@ public interface CommonLanguageSettingsOrBuilder
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* </pre>
*
* <code>string reference_docs_uri = 1;</code>
* <code>string reference_docs_uri = 1 [deprecated = true];</code>
*
* @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See
* google/api/client.proto;l=106
* @return The bytes for referenceDocsUri.
*/
@java.lang.Deprecated
com.google.protobuf.ByteString getReferenceDocsUriBytes();

/**
Expand Down
Loading

0 comments on commit 1538ad8

Please sign in to comment.