From 408dba8fcfa1cbc87acf9bf6fce29ae7e7af739e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 27 Mar 2023 16:46:38 -0400 Subject: [PATCH] feat: [common-protos] add audit_context.proto Bazel targets (#1493) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: added overrides_by_request_protocol to backend.proto feat: added field proto_reference_documentation_uri to proto reference documentation. feat: added SERVICE_NOT_VISIBLE and GCP_SUSPENDED into error reason PiperOrigin-RevId: 517437454 Source-Link: https://github.com/googleapis/googleapis/commit/ecb1cf0a0021267dd452289fc71c75674ae29fe3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/8731b8fd2044a93c32309d633dfc2e836bf13cbf Copy-Tag: eyJwIjoiamF2YS1jb21tb24tcHJvdG9zLy5Pd2xCb3QueWFtbCIsImgiOiI4NzMxYjhmZDIwNDRhOTNjMzIzMDlkNjMzZGZjMmU4MzZiZjEzY2JmIn0= chore: regenerate API index Source-Link: https://github.com/googleapis/googleapis/commit/40a03de111ea6b1d9a3aef0ed1127ffdb01d0601 Source-Link: https://github.com/googleapis/googleapis-gen/commit/6c17328e9e1c2b58e9600722e8fc8cbe84600d7f Copy-Tag: eyJwIjoiamF2YS1jb21tb24tcHJvdG9zLy5Pd2xCb3QueWFtbCIsImgiOiI2YzE3MzI4ZTllMWMyYjU4ZTk2MDA3MjJlOGZjOGNiZTg0NjAwZDdmIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add audit_context.proto Bazel targets PiperOrigin-RevId: 519036970 Source-Link: https://github.com/googleapis/googleapis/commit/c454580348d04e2a02c7ebc61737e3b3d47fbac5 Source-Link: https://github.com/googleapis/googleapis-gen/commit/2fc6ba766b36975078e79155038c79196acb4a3f Copy-Tag: eyJwIjoiamF2YS1jb21tb24tcHJvdG9zLy5Pd2xCb3QueWFtbCIsImgiOiIyZmM2YmE3NjZiMzY5NzUwNzhlNzkxNTUwMzhjNzkxOTZhY2I0YTNmIn0= * 🦉 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 --- .../com/google/api/AuthenticationRule.java | 21 +- .../api/AuthenticationRuleOrBuilder.java | 6 +- .../java/com/google/api/BackendProto.java | 34 +- .../main/java/com/google/api/BackendRule.java | 394 ++++- .../com/google/api/BackendRuleOrBuilder.java | 66 +- .../src/main/java/com/google/api/Billing.java | 78 +- .../com/google/api/ClientLibrarySettings.java | 28 +- .../api/ClientLibrarySettingsOrBuilder.java | 8 +- .../main/java/com/google/api/ClientProto.java | 82 +- .../main/java/com/google/api/ContextRule.java | 21 +- .../com/google/api/ContextRuleOrBuilder.java | 6 +- .../main/java/com/google/api/ErrorReason.java | 88 + .../java/com/google/api/ErrorReasonProto.java | 12 +- .../main/java/com/google/api/HttpRule.java | 39 +- .../com/google/api/HttpRuleOrBuilder.java | 6 +- .../src/main/java/com/google/api/Logging.java | 129 +- .../java/com/google/api/MethodSettings.java | 48 +- .../google/api/MethodSettingsOrBuilder.java | 12 +- .../src/main/java/com/google/api/Metric.java | 35 +- .../java/com/google/api/MetricDescriptor.java | 145 +- .../google/api/MetricDescriptorOrBuilder.java | 28 +- .../java/com/google/api/MetricOrBuilder.java | 10 +- .../main/java/com/google/api/MetricRule.java | 21 +- .../com/google/api/MetricRuleOrBuilder.java | 6 +- .../com/google/api/MonitoredResource.java | 94 +- .../api/MonitoredResourceDescriptor.java | 14 +- .../google/api/MonitoredResourceMetadata.java | 24 +- .../api/MonitoredResourceOrBuilder.java | 20 +- .../main/java/com/google/api/Monitoring.java | 78 +- .../main/java/com/google/api/Publishing.java | 193 +++ .../com/google/api/PublishingOrBuilder.java | 27 + .../src/main/java/com/google/api/Service.java | 253 +-- .../java/com/google/api/ServiceOrBuilder.java | 55 +- .../com/google/api/SystemParameterRule.java | 21 +- .../api/SystemParameterRuleOrBuilder.java | 6 +- .../main/java/com/google/api/UsageRule.java | 21 +- .../com/google/api/UsageRuleOrBuilder.java | 6 +- .../google/longrunning/OperationsProto.java | 10 +- .../com/google/rpc/context/AuditContext.java | 1417 +++++++++++++++++ .../rpc/context/AuditContextOrBuilder.java | 164 ++ .../google/rpc/context/AuditContextProto.java | 77 + .../src/main/proto/google/api/auth.proto | 5 +- .../src/main/proto/google/api/backend.proto | 8 +- .../src/main/proto/google/api/billing.proto | 8 +- .../src/main/proto/google/api/client.proto | 14 +- .../main/proto/google/api/config_change.proto | 2 +- .../src/main/proto/google/api/context.proto | 5 +- .../src/main/proto/google/api/control.proto | 2 +- .../main/proto/google/api/distribution.proto | 2 +- .../main/proto/google/api/documentation.proto | 2 +- .../src/main/proto/google/api/endpoint.proto | 2 +- .../main/proto/google/api/error_reason.proto | 37 +- .../proto/google/api/field_behavior.proto | 2 +- .../src/main/proto/google/api/http.proto | 14 +- .../src/main/proto/google/api/httpbody.proto | 2 +- .../src/main/proto/google/api/label.proto | 2 +- .../main/proto/google/api/launch_stage.proto | 2 +- .../src/main/proto/google/api/log.proto | 2 +- .../src/main/proto/google/api/logging.proto | 11 +- .../src/main/proto/google/api/metric.proto | 18 +- .../proto/google/api/monitored_resource.proto | 43 +- .../main/proto/google/api/monitoring.proto | 8 +- .../src/main/proto/google/api/quota.proto | 5 +- .../src/main/proto/google/api/resource.proto | 2 +- .../src/main/proto/google/api/routing.proto | 2 +- .../src/main/proto/google/api/service.proto | 13 +- .../main/proto/google/api/source_info.proto | 2 +- .../proto/google/api/system_parameter.proto | 5 +- .../src/main/proto/google/api/usage.proto | 5 +- .../main/proto/google/api/visibility.proto | 2 +- .../proto/google/longrunning/operations.proto | 2 +- .../google/rpc/context/audit_context.proto | 49 + 72 files changed, 3427 insertions(+), 654 deletions(-) create mode 100644 java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java create mode 100644 java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextOrBuilder.java create mode 100644 java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextProto.java create mode 100644 java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/audit_context.proto diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java index e0edb2ae62..15ab9eb377 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java @@ -81,7 +81,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -105,7 +106,8 @@ public java.lang.String getSelector() { * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -732,7 +734,8 @@ public Builder mergeFrom( * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -755,7 +758,8 @@ public java.lang.String getSelector() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -778,7 +782,8 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -800,7 +805,8 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -818,7 +824,8 @@ public Builder clearSelector() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java index 6b307c22f3..ca38fc60e7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java @@ -28,7 +28,8 @@ public interface AuthenticationRuleOrBuilder * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -41,7 +42,8 @@ public interface AuthenticationRuleOrBuilder * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java index 2c755afd17..3cc5ae6575 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java @@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_api_BackendRule_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_api_BackendRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -46,19 +50,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n\030google/api/backend.proto\022\ngoogle.api\"1" + "\n\007Backend\022&\n\005rules\030\001 \003(\0132\027.google.api.Ba" - + "ckendRule\"\366\002\n\013BackendRule\022\020\n\010selector\030\001 " + + "ckendRule\"\262\004\n\013BackendRule\022\020\n\010selector\030\001 " + "\001(\t\022\017\n\007address\030\002 \001(\t\022\020\n\010deadline\030\003 \001(\001\022\030" + "\n\014min_deadline\030\004 \001(\001B\002\030\001\022\032\n\022operation_de" + "adline\030\005 \001(\001\022A\n\020path_translation\030\006 \001(\0162\'" + ".google.api.BackendRule.PathTranslation\022" + "\026\n\014jwt_audience\030\007 \001(\tH\000\022\026\n\014disable_auth\030" - + "\010 \001(\010H\000\022\020\n\010protocol\030\t \001(\t\"e\n\017PathTransla" - + "tion\022 \n\034PATH_TRANSLATION_UNSPECIFIED\020\000\022\024" - + "\n\020CONSTANT_ADDRESS\020\001\022\032\n\026APPEND_PATH_TO_A" - + "DDRESS\020\002B\020\n\016authenticationBn\n\016com.google" - + ".apiB\014BackendProtoP\001ZEgoogle.golang.org/" - + "genproto/googleapis/api/serviceconfig;se" - + "rviceconfig\242\002\004GAPIb\006proto3" + + "\010 \001(\010H\000\022\020\n\010protocol\030\t \001(\t\022^\n\035overrides_b" + + "y_request_protocol\030\n \003(\01327.google.api.Ba" + + "ckendRule.OverridesByRequestProtocolEntr" + + "y\032Z\n\037OverridesByRequestProtocolEntry\022\013\n\003" + + "key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google.api.Ba" + + "ckendRule:\0028\001\"e\n\017PathTranslation\022 \n\034PATH" + + "_TRANSLATION_UNSPECIFIED\020\000\022\024\n\020CONSTANT_A" + + "DDRESS\020\001\022\032\n\026APPEND_PATH_TO_ADDRESS\020\002B\020\n\016" + + "authenticationBn\n\016com.google.apiB\014Backen" + + "dProtoP\001ZEgoogle.golang.org/genproto/goo" + + "gleapis/api/serviceconfig;serviceconfig\242" + + "\002\004GAPIb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -84,8 +93,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "JwtAudience", "DisableAuth", "Protocol", + "OverridesByRequestProtocol", "Authentication", }); + internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor = + internal_static_google_api_BackendRule_descriptor.getNestedTypes().get(0); + internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java index 3b25610d3f..8eb90a0d77 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java @@ -59,6 +59,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_BackendRule_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 10: + return internalGetOverridesByRequestProtocol(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -327,7 +338,8 @@ public AuthenticationCase getAuthenticationCase() { * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -351,7 +363,8 @@ public java.lang.String getSelector() { * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -481,7 +494,7 @@ public double getDeadline() { * double min_deadline = 4 [deprecated = true]; * * @deprecated google.api.BackendRule.min_deadline is deprecated. See - * google/api/backend.proto;l=123 + * google/api/backend.proto;l=124 * @return The minDeadline. */ @java.lang.Override @@ -730,6 +743,117 @@ public com.google.protobuf.ByteString getProtocolBytes() { } } + public static final int OVERRIDES_BY_REQUEST_PROTOCOL_FIELD_NUMBER = 10; + + private static final class OverridesByRequestProtocolDefaultEntryHolder { + static final com.google.protobuf.MapEntry + defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.api.BackendProto + .internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.api.BackendRule.getDefaultInstance()); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField + overridesByRequestProtocol_; + + private com.google.protobuf.MapField + internalGetOverridesByRequestProtocol() { + if (overridesByRequestProtocol_ == null) { + return com.google.protobuf.MapField.emptyMapField( + OverridesByRequestProtocolDefaultEntryHolder.defaultEntry); + } + return overridesByRequestProtocol_; + } + + public int getOverridesByRequestProtocolCount() { + return internalGetOverridesByRequestProtocol().getMap().size(); + } + /** + * + * + *
+   * The map between request protocol and the backend address.
+   * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + @java.lang.Override + public boolean containsOverridesByRequestProtocol(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetOverridesByRequestProtocol().getMap().containsKey(key); + } + /** Use {@link #getOverridesByRequestProtocolMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getOverridesByRequestProtocol() { + return getOverridesByRequestProtocolMap(); + } + /** + * + * + *
+   * The map between request protocol and the backend address.
+   * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + @java.lang.Override + public java.util.Map + getOverridesByRequestProtocolMap() { + return internalGetOverridesByRequestProtocol().getMap(); + } + /** + * + * + *
+   * The map between request protocol and the backend address.
+   * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + @java.lang.Override + public /* nullable */ com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( + java.lang.String key, + /* nullable */ + com.google.api.BackendRule defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetOverridesByRequestProtocol().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * The map between request protocol and the backend address.
+   * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + @java.lang.Override + public com.google.api.BackendRule getOverridesByRequestProtocolOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetOverridesByRequestProtocol().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -772,6 +896,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, protocol_); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, + internalGetOverridesByRequestProtocol(), + OverridesByRequestProtocolDefaultEntryHolder.defaultEntry, + 10); getUnknownFields().writeTo(output); } @@ -811,6 +940,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, protocol_); } + for (java.util.Map.Entry entry : + internalGetOverridesByRequestProtocol().getMap().entrySet()) { + com.google.protobuf.MapEntry + overridesByRequestProtocol__ = + OverridesByRequestProtocolDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, overridesByRequestProtocol__); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -836,6 +978,8 @@ public boolean equals(final java.lang.Object obj) { != java.lang.Double.doubleToLongBits(other.getOperationDeadline())) return false; if (pathTranslation_ != other.pathTranslation_) return false; if (!getProtocol().equals(other.getProtocol())) return false; + if (!internalGetOverridesByRequestProtocol() + .equals(other.internalGetOverridesByRequestProtocol())) return false; if (!getAuthenticationCase().equals(other.getAuthenticationCase())) return false; switch (authenticationCase_) { case 7: @@ -881,6 +1025,10 @@ public int hashCode() { hash = (53 * hash) + pathTranslation_; hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + getProtocol().hashCode(); + if (!internalGetOverridesByRequestProtocol().getMap().isEmpty()) { + hash = (37 * hash) + OVERRIDES_BY_REQUEST_PROTOCOL_FIELD_NUMBER; + hash = (53 * hash) + internalGetOverridesByRequestProtocol().hashCode(); + } switch (authenticationCase_) { case 7: hash = (37 * hash) + JWT_AUDIENCE_FIELD_NUMBER; @@ -1009,6 +1157,26 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_BackendRule_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 10: + return internalGetOverridesByRequestProtocol(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 10: + return internalGetMutableOverridesByRequestProtocol(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -1035,6 +1203,7 @@ public Builder clear() { operationDeadline_ = 0D; pathTranslation_ = 0; protocol_ = ""; + internalGetMutableOverridesByRequestProtocol().clear(); authenticationCase_ = 0; authentication_ = null; return this; @@ -1093,6 +1262,10 @@ private void buildPartial0(com.google.api.BackendRule result) { if (((from_bitField0_ & 0x00000100) != 0)) { result.protocol_ = protocol_; } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.overridesByRequestProtocol_ = internalGetOverridesByRequestProtocol(); + result.overridesByRequestProtocol_.makeImmutable(); + } } private void buildPartialOneofs(com.google.api.BackendRule result) { @@ -1172,6 +1345,9 @@ public Builder mergeFrom(com.google.api.BackendRule other) { bitField0_ |= 0x00000100; onChanged(); } + internalGetMutableOverridesByRequestProtocol() + .mergeFrom(other.internalGetOverridesByRequestProtocol()); + bitField0_ |= 0x00000200; switch (other.getAuthenticationCase()) { case JWT_AUDIENCE: { @@ -1271,6 +1447,22 @@ public Builder mergeFrom( bitField0_ |= 0x00000100; break; } // case 74 + case 82: + { + com.google.protobuf.MapEntry + overridesByRequestProtocol__ = + input.readMessage( + OverridesByRequestProtocolDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableOverridesByRequestProtocol() + .getMutableMap() + .put( + overridesByRequestProtocol__.getKey(), + overridesByRequestProtocol__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 82 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1310,7 +1502,8 @@ public Builder clearAuthentication() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -1333,7 +1526,8 @@ public java.lang.String getSelector() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -1356,7 +1550,8 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -1378,7 +1573,8 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -1396,7 +1592,8 @@ public Builder clearSelector() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -1658,7 +1855,7 @@ public Builder clearDeadline() { * double min_deadline = 4 [deprecated = true]; * * @deprecated google.api.BackendRule.min_deadline is deprecated. See - * google/api/backend.proto;l=123 + * google/api/backend.proto;l=124 * @return The minDeadline. */ @java.lang.Override @@ -1676,7 +1873,7 @@ public double getMinDeadline() { * double min_deadline = 4 [deprecated = true]; * * @deprecated google.api.BackendRule.min_deadline is deprecated. See - * google/api/backend.proto;l=123 + * google/api/backend.proto;l=124 * @param value The minDeadline to set. * @return This builder for chaining. */ @@ -1698,7 +1895,7 @@ public Builder setMinDeadline(double value) { * double min_deadline = 4 [deprecated = true]; * * @deprecated google.api.BackendRule.min_deadline is deprecated. See - * google/api/backend.proto;l=123 + * google/api/backend.proto;l=124 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2234,6 +2431,181 @@ public Builder setProtocolBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.MapField + overridesByRequestProtocol_; + + private com.google.protobuf.MapField + internalGetOverridesByRequestProtocol() { + if (overridesByRequestProtocol_ == null) { + return com.google.protobuf.MapField.emptyMapField( + OverridesByRequestProtocolDefaultEntryHolder.defaultEntry); + } + return overridesByRequestProtocol_; + } + + private com.google.protobuf.MapField + internalGetMutableOverridesByRequestProtocol() { + if (overridesByRequestProtocol_ == null) { + overridesByRequestProtocol_ = + com.google.protobuf.MapField.newMapField( + OverridesByRequestProtocolDefaultEntryHolder.defaultEntry); + } + if (!overridesByRequestProtocol_.isMutable()) { + overridesByRequestProtocol_ = overridesByRequestProtocol_.copy(); + } + bitField0_ |= 0x00000200; + onChanged(); + return overridesByRequestProtocol_; + } + + public int getOverridesByRequestProtocolCount() { + return internalGetOverridesByRequestProtocol().getMap().size(); + } + /** + * + * + *
+     * The map between request protocol and the backend address.
+     * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + @java.lang.Override + public boolean containsOverridesByRequestProtocol(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetOverridesByRequestProtocol().getMap().containsKey(key); + } + /** Use {@link #getOverridesByRequestProtocolMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getOverridesByRequestProtocol() { + return getOverridesByRequestProtocolMap(); + } + /** + * + * + *
+     * The map between request protocol and the backend address.
+     * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + @java.lang.Override + public java.util.Map + getOverridesByRequestProtocolMap() { + return internalGetOverridesByRequestProtocol().getMap(); + } + /** + * + * + *
+     * The map between request protocol and the backend address.
+     * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + @java.lang.Override + public /* nullable */ com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( + java.lang.String key, + /* nullable */ + com.google.api.BackendRule defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetOverridesByRequestProtocol().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * The map between request protocol and the backend address.
+     * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + @java.lang.Override + public com.google.api.BackendRule getOverridesByRequestProtocolOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetOverridesByRequestProtocol().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearOverridesByRequestProtocol() { + bitField0_ = (bitField0_ & ~0x00000200); + internalGetMutableOverridesByRequestProtocol().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * The map between request protocol and the backend address.
+     * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + public Builder removeOverridesByRequestProtocol(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableOverridesByRequestProtocol().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableOverridesByRequestProtocol() { + bitField0_ |= 0x00000200; + return internalGetMutableOverridesByRequestProtocol().getMutableMap(); + } + /** + * + * + *
+     * The map between request protocol and the backend address.
+     * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + public Builder putOverridesByRequestProtocol( + java.lang.String key, com.google.api.BackendRule value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableOverridesByRequestProtocol().getMutableMap().put(key, value); + bitField0_ |= 0x00000200; + return this; + } + /** + * + * + *
+     * The map between request protocol and the backend address.
+     * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + public Builder putAllOverridesByRequestProtocol( + java.util.Map values) { + internalGetMutableOverridesByRequestProtocol().getMutableMap().putAll(values); + bitField0_ |= 0x00000200; + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java index a76b090140..e4d76647a7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java @@ -28,7 +28,8 @@ public interface BackendRuleOrBuilder * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -41,7 +42,8 @@ public interface BackendRuleOrBuilder * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -127,7 +129,7 @@ public interface BackendRuleOrBuilder * double min_deadline = 4 [deprecated = true]; * * @deprecated google.api.BackendRule.min_deadline is deprecated. See - * google/api/backend.proto;l=123 + * google/api/backend.proto;l=124 * @return The minDeadline. */ @java.lang.Deprecated @@ -289,5 +291,63 @@ public interface BackendRuleOrBuilder */ com.google.protobuf.ByteString getProtocolBytes(); + /** + * + * + *
+   * The map between request protocol and the backend address.
+   * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + int getOverridesByRequestProtocolCount(); + /** + * + * + *
+   * The map between request protocol and the backend address.
+   * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + boolean containsOverridesByRequestProtocol(java.lang.String key); + /** Use {@link #getOverridesByRequestProtocolMap()} instead. */ + @java.lang.Deprecated + java.util.Map getOverridesByRequestProtocol(); + /** + * + * + *
+   * The map between request protocol and the backend address.
+   * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + java.util.Map getOverridesByRequestProtocolMap(); + /** + * + * + *
+   * The map between request protocol and the backend address.
+   * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + /* nullable */ + com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( + java.lang.String key, + /* nullable */ + com.google.api.BackendRule defaultValue); + /** + * + * + *
+   * The map between request protocol and the backend address.
+   * 
+ * + * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; + */ + com.google.api.BackendRule getOverridesByRequestProtocolOrThrow(java.lang.String key); + public com.google.api.BackendRule.AuthenticationCase getAuthenticationCase(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java index 27c25dbbb8..081f409851 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java @@ -102,7 +102,8 @@ public interface BillingDestinationOrBuilder * *
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 1; @@ -115,7 +116,8 @@ public interface BillingDestinationOrBuilder * *
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 1; @@ -129,7 +131,8 @@ public interface BillingDestinationOrBuilder * *
      * Names of the metrics to report to this billing destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each name must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -142,7 +145,8 @@ public interface BillingDestinationOrBuilder * *
      * Names of the metrics to report to this billing destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each name must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -155,7 +159,8 @@ public interface BillingDestinationOrBuilder * *
      * Names of the metrics to report to this billing destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each name must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -169,7 +174,8 @@ public interface BillingDestinationOrBuilder * *
      * Names of the metrics to report to this billing destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each name must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -239,7 +245,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 1; @@ -263,7 +270,8 @@ public java.lang.String getMonitoredResource() { * *
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 1; @@ -292,7 +300,8 @@ public com.google.protobuf.ByteString getMonitoredResourceBytes() { * *
      * Names of the metrics to report to this billing destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each name must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -307,7 +316,8 @@ public com.google.protobuf.ProtocolStringList getMetricsList() { * *
      * Names of the metrics to report to this billing destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each name must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -322,7 +332,8 @@ public int getMetricsCount() { * *
      * Names of the metrics to report to this billing destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each name must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -338,7 +349,8 @@ public java.lang.String getMetrics(int index) { * *
      * Names of the metrics to report to this billing destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each name must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -746,7 +758,8 @@ public Builder mergeFrom( * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -769,7 +782,8 @@ public java.lang.String getMonitoredResource() { * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -792,7 +806,8 @@ public com.google.protobuf.ByteString getMonitoredResourceBytes() { * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -814,7 +829,8 @@ public Builder setMonitoredResource(java.lang.String value) { * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -832,7 +848,8 @@ public Builder clearMonitoredResource() { * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -865,7 +882,8 @@ private void ensureMetricsIsMutable() { * *
        * Names of the metrics to report to this billing destination.
-       * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each name must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -880,7 +898,8 @@ public com.google.protobuf.ProtocolStringList getMetricsList() { * *
        * Names of the metrics to report to this billing destination.
-       * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each name must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -895,7 +914,8 @@ public int getMetricsCount() { * *
        * Names of the metrics to report to this billing destination.
-       * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each name must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -911,7 +931,8 @@ public java.lang.String getMetrics(int index) { * *
        * Names of the metrics to report to this billing destination.
-       * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each name must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -927,7 +948,8 @@ public com.google.protobuf.ByteString getMetricsBytes(int index) { * *
        * Names of the metrics to report to this billing destination.
-       * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each name must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -950,7 +972,8 @@ public Builder setMetrics(int index, java.lang.String value) { * *
        * Names of the metrics to report to this billing destination.
-       * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each name must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -972,7 +995,8 @@ public Builder addMetrics(java.lang.String value) { * *
        * Names of the metrics to report to this billing destination.
-       * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each name must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -991,7 +1015,8 @@ public Builder addAllMetrics(java.lang.Iterable values) { * *
        * Names of the metrics to report to this billing destination.
-       * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each name must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -1009,7 +1034,8 @@ public Builder clearMetrics() { * *
        * Names of the metrics to report to this billing destination.
-       * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each name must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java index 69164dba53..22e1d6a886 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java @@ -75,7 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Version of the API to apply these settings to.
+   * Version of the API to apply these settings to. This is the full protobuf
+   * package for the API, ending in the version element.
+   * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
    * 
* * string version = 1; @@ -98,7 +100,9 @@ public java.lang.String getVersion() { * * *
-   * Version of the API to apply these settings to.
+   * Version of the API to apply these settings to. This is the full protobuf
+   * package for the API, ending in the version element.
+   * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
    * 
* * string version = 1; @@ -1187,7 +1191,9 @@ public Builder mergeFrom( * * *
-     * Version of the API to apply these settings to.
+     * Version of the API to apply these settings to. This is the full protobuf
+     * package for the API, ending in the version element.
+     * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
      * 
* * string version = 1; @@ -1209,7 +1215,9 @@ public java.lang.String getVersion() { * * *
-     * Version of the API to apply these settings to.
+     * Version of the API to apply these settings to. This is the full protobuf
+     * package for the API, ending in the version element.
+     * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
      * 
* * string version = 1; @@ -1231,7 +1239,9 @@ public com.google.protobuf.ByteString getVersionBytes() { * * *
-     * Version of the API to apply these settings to.
+     * Version of the API to apply these settings to. This is the full protobuf
+     * package for the API, ending in the version element.
+     * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
      * 
* * string version = 1; @@ -1252,7 +1262,9 @@ public Builder setVersion(java.lang.String value) { * * *
-     * Version of the API to apply these settings to.
+     * Version of the API to apply these settings to. This is the full protobuf
+     * package for the API, ending in the version element.
+     * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
      * 
* * string version = 1; @@ -1269,7 +1281,9 @@ public Builder clearVersion() { * * *
-     * Version of the API to apply these settings to.
+     * Version of the API to apply these settings to. This is the full protobuf
+     * package for the API, ending in the version element.
+     * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
      * 
* * string version = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java index e4a965bd48..e44a81fa71 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java @@ -27,7 +27,9 @@ public interface ClientLibrarySettingsOrBuilder * * *
-   * Version of the API to apply these settings to.
+   * Version of the API to apply these settings to. This is the full protobuf
+   * package for the API, ending in the version element.
+   * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
    * 
* * string version = 1; @@ -39,7 +41,9 @@ public interface ClientLibrarySettingsOrBuilder * * *
-   * Version of the API to apply these settings to.
+   * Version of the API to apply these settings to. This is the full protobuf
+   * package for the API, ending in the version element.
+   * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
    * 
* * string version = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java index d1402599d5..2b57d89a3d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java @@ -209,7 +209,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "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" + + "gs\"\376\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" @@ -217,45 +217,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\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\"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" + + "pi.ClientLibrarySettings\022)\n!proto_refere" + + "nce_documentation_uri\030n \001(\t\"\343\001\n\014JavaSett" + + "ings\022\027\n\017library_package\030\001 \001(\t\022L\n\023service" + + "_class_names\030\002 \003(\0132/.google.api.JavaSett" + + "ings.ServiceClassNamesEntry\0222\n\006common\030\003 " + + "\001(\0132\".google.api.CommonLanguageSettings\032" + + "8\n\026ServiceClassNamesEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001\"A\n\013CppSettings\0222\n\006comm" + + "on\030\001 \001(\0132\".google.api.CommonLanguageSett" + + "ings\"A\n\013PhpSettings\0222\n\006common\030\001 \001(\0132\".go" + + "ogle.api.CommonLanguageSettings\"D\n\016Pytho" + + "nSettings\0222\n\006common\030\001 \001(\0132\".google.api.C" + + "ommonLanguageSettings\"B\n\014NodeSettings\0222\n" + + "\006common\030\001 \001(\0132\".google.api.CommonLanguag" + + "eSettings\"D\n\016DotnetSettings\0222\n\006common\030\001 " + + "\001(\0132\".google.api.CommonLanguageSettings\"" + + "B\n\014RubySettings\0222\n\006common\030\001 \001(\0132\".google" + + ".api.CommonLanguageSettings\"@\n\nGoSetting" + + "s\0222\n\006common\030\001 \001(\0132\".google.api.CommonLan" + + "guageSettings\"\260\002\n\016MethodSettings\022\020\n\010sele" + + "ctor\030\001 \001(\t\022<\n\014long_running\030\002 \001(\0132&.googl" + + "e.api.MethodSettings.LongRunning\032\315\001\n\013Lon" + + "gRunning\0225\n\022initial_poll_delay\030\001 \001(\0132\031.g" + + "oogle.protobuf.Duration\022\035\n\025poll_delay_mu" + + "ltiplier\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\031ClientLibraryOrganization\022+\n\'CLIENT_" + + "LIBRARY_ORGANIZATION_UNSPECIFIED\020\000\022\t\n\005CL" + + "OUD\020\001\022\007\n\003ADS\020\002\022\n\n\006PHOTOS\020\003\022\017\n\013STREET_VIE" + + "W\020\004*g\n\030ClientLibraryDestination\022*\n&CLIEN" + + "T_LIBRARY_DESTINATION_UNSPECIFIED\020\000\022\n\n\006G" + + "ITHUB\020\n\022\023\n\017PACKAGE_MANAGER\020\024:9\n\020method_s" + + "ignature\022\036.google.protobuf.MethodOptions" + + "\030\233\010 \003(\t:6\n\014default_host\022\037.google.protobu" + + "f.ServiceOptions\030\231\010 \001(\t:6\n\014oauth_scopes\022" + + "\037.google.protobuf.ServiceOptions\030\232\010 \001(\tB" + + "i\n\016com.google.apiB\013ClientProtoP\001ZAgoogle" + + ".golang.org/genproto/googleapis/api/anno" + + "tations;annotations\242\002\004GAPIb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -305,6 +306,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DocTagPrefix", "Organization", "LibrarySettings", + "ProtoReferenceDocumentationUri", }); internal_static_google_api_JavaSettings_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_api_JavaSettings_fieldAccessorTable = diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java index 1cc6e06348..de05105937 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java @@ -78,7 +78,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -102,7 +103,8 @@ public java.lang.String getSelector() { * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -891,7 +893,8 @@ public Builder mergeFrom( * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -914,7 +917,8 @@ public java.lang.String getSelector() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -937,7 +941,8 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -959,7 +964,8 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -977,7 +983,8 @@ public Builder clearSelector() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java index a0df126799..d6c720cd07 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java @@ -28,7 +28,8 @@ public interface ContextRuleOrBuilder * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -41,7 +42,8 @@ public interface ContextRuleOrBuilder * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java index 63903e464f..68f6de9284 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java @@ -669,6 +669,48 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * ORG_RESTRICTION_HEADER_INVALID = 28; */ ORG_RESTRICTION_HEADER_INVALID(28), + /** + * + * + *
+   * Unimplemented. Do not use.
+   * The request is calling a service that is not visible to the consumer.
+   * Example of an ErrorInfo when the consumer "projects/123" contacting
+   *  "pubsub.googleapis.com" service which is not visible to the consumer.
+   *     { "reason": "SERVICE_NOT_VISIBLE",
+   *       "domain": "googleapis.com",
+   *       "metadata": {
+   *         "consumer": "projects/123",
+   *         "service": "pubsub.googleapis.com"
+   *       }
+   *     }
+   * This response indicates the "pubsub.googleapis.com" is not visible to
+   * "projects/123" (or it may not exist).
+   * 
+ * + * SERVICE_NOT_VISIBLE = 29; + */ + SERVICE_NOT_VISIBLE(29), + /** + * + * + *
+   * The request is related to a project for which GCP access is suspended.
+   * Example of an ErrorInfo when the consumer "projects/123" fails to contact
+   * "pubsub.googleapis.com" service because GCP access is suspended:
+   *     { "reason": "GCP_SUSPENDED",
+   *       "domain": "googleapis.com",
+   *       "metadata": {
+   *         "consumer": "projects/123",
+   *         "service": "pubsub.googleapis.com"
+   *       }
+   *     }
+   * This response indicates the associated GCP account has been suspended.
+   * 
+ * + * GCP_SUSPENDED = 30; + */ + GCP_SUSPENDED(30), UNRECOGNIZED(-1), ; @@ -1304,6 +1346,48 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * ORG_RESTRICTION_HEADER_INVALID = 28; */ public static final int ORG_RESTRICTION_HEADER_INVALID_VALUE = 28; + /** + * + * + *
+   * Unimplemented. Do not use.
+   * The request is calling a service that is not visible to the consumer.
+   * Example of an ErrorInfo when the consumer "projects/123" contacting
+   *  "pubsub.googleapis.com" service which is not visible to the consumer.
+   *     { "reason": "SERVICE_NOT_VISIBLE",
+   *       "domain": "googleapis.com",
+   *       "metadata": {
+   *         "consumer": "projects/123",
+   *         "service": "pubsub.googleapis.com"
+   *       }
+   *     }
+   * This response indicates the "pubsub.googleapis.com" is not visible to
+   * "projects/123" (or it may not exist).
+   * 
+ * + * SERVICE_NOT_VISIBLE = 29; + */ + public static final int SERVICE_NOT_VISIBLE_VALUE = 29; + /** + * + * + *
+   * The request is related to a project for which GCP access is suspended.
+   * Example of an ErrorInfo when the consumer "projects/123" fails to contact
+   * "pubsub.googleapis.com" service because GCP access is suspended:
+   *     { "reason": "GCP_SUSPENDED",
+   *       "domain": "googleapis.com",
+   *       "metadata": {
+   *         "consumer": "projects/123",
+   *         "service": "pubsub.googleapis.com"
+   *       }
+   *     }
+   * This response indicates the associated GCP account has been suspended.
+   * 
+ * + * GCP_SUSPENDED = 30; + */ + public static final int GCP_SUSPENDED_VALUE = 30; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -1385,6 +1469,10 @@ public static ErrorReason forNumber(int value) { return ORG_RESTRICTION_VIOLATION; case 28: return ORG_RESTRICTION_HEADER_INVALID; + case 29: + return SERVICE_NOT_VISIBLE; + case 30: + return GCP_SUSPENDED; default: return null; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java index 406d7c3554..6642221913 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java @@ -36,7 +36,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\035google/api/error_reason.proto\022\ngoogle." - + "api*\300\006\n\013ErrorReason\022\034\n\030ERROR_REASON_UNSP" + + "api*\354\006\n\013ErrorReason\022\034\n\030ERROR_REASON_UNSP" + "ECIFIED\020\000\022\024\n\020SERVICE_DISABLED\020\001\022\024\n\020BILLI" + "NG_DISABLED\020\002\022\023\n\017API_KEY_INVALID\020\003\022\033\n\027AP" + "I_KEY_SERVICE_BLOCKED\020\004\022!\n\035API_KEY_HTTP_" @@ -56,10 +56,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "OCKED_BY_ADMIN\020\030\022\'\n#RESOURCE_USAGE_RESTR" + "ICTION_VIOLATED\020\031\022 \n\034SYSTEM_PARAMETER_UN" + "SUPPORTED\020\032\022\035\n\031ORG_RESTRICTION_VIOLATION" - + "\020\033\022\"\n\036ORG_RESTRICTION_HEADER_INVALID\020\034Bp" - + "\n\016com.google.apiB\020ErrorReasonProtoP\001ZCgo" - + "ogle.golang.org/genproto/googleapis/api/" - + "error_reason;error_reason\242\002\004GAPIb\006proto3" + + "\020\033\022\"\n\036ORG_RESTRICTION_HEADER_INVALID\020\034\022\027" + + "\n\023SERVICE_NOT_VISIBLE\020\035\022\021\n\rGCP_SUSPENDED" + + "\020\036Bp\n\016com.google.apiB\020ErrorReasonProtoP\001" + + "ZCgoogle.golang.org/genproto/googleapis/" + + "api/error_reason;error_reason\242\002\004GAPIb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java index 8560ac5209..03212bbdab 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java @@ -163,15 +163,18 @@ * 1. Leaf request fields (recursive expansion nested messages in the request * message) are classified into three categories: * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They + * are passed via the HTTP * request body. * - All other fields are passed via the URL query parameters, and the * parameter name is the field path in the request message. A repeated * field can be represented as multiple query parameters under the same * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL + * query parameter, all fields * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP + * request body, all * fields are passed via URL path and URL query parameters. * ### Path template syntax * Template = "/" Segments [ Verb ] ; @@ -356,7 +359,8 @@ public PatternCase getPatternCase() { * *
    * Selects a method to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -380,7 +384,8 @@ public java.lang.String getSelector() { * *
    * Selects a method to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -1433,15 +1438,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * 1. Leaf request fields (recursive expansion nested messages in the request * message) are classified into three categories: * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They + * are passed via the HTTP * request body. * - All other fields are passed via the URL query parameters, and the * parameter name is the field path in the request message. A repeated * field can be represented as multiple query parameters under the same * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL + * query parameter, all fields * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP + * request body, all * fields are passed via URL path and URL query parameters. * ### Path template syntax * Template = "/" Segments [ Verb ] ; @@ -1896,7 +1904,8 @@ public Builder clearPattern() { * *
      * Selects a method to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -1919,7 +1928,8 @@ public java.lang.String getSelector() { * *
      * Selects a method to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -1942,7 +1952,8 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects a method to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -1964,7 +1975,8 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects a method to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -1982,7 +1994,8 @@ public Builder clearSelector() { * *
      * Selects a method to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java index 85b2a1e7c9..31d51732f2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java @@ -28,7 +28,8 @@ public interface HttpRuleOrBuilder * *
    * Selects a method to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -41,7 +42,8 @@ public interface HttpRuleOrBuilder * *
    * Selects a method to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java index 6fa5599672..26cf4b48d7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java @@ -101,7 +101,8 @@ public interface LoggingDestinationOrBuilder * *
      * The monitored resource type. The type must be defined in the
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 3; @@ -114,7 +115,8 @@ public interface LoggingDestinationOrBuilder * *
      * The monitored resource type. The type must be defined in the
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 3; @@ -128,9 +130,9 @@ public interface LoggingDestinationOrBuilder * *
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      * 
* * repeated string logs = 1; @@ -143,9 +145,9 @@ public interface LoggingDestinationOrBuilder * *
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      * 
* * repeated string logs = 1; @@ -158,9 +160,9 @@ public interface LoggingDestinationOrBuilder * *
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      * 
* * repeated string logs = 1; @@ -174,9 +176,9 @@ public interface LoggingDestinationOrBuilder * *
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      * 
* * repeated string logs = 1; @@ -246,7 +248,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
      * The monitored resource type. The type must be defined in the
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 3; @@ -270,7 +273,8 @@ public java.lang.String getMonitoredResource() { * *
      * The monitored resource type. The type must be defined in the
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 3; @@ -299,9 +303,9 @@ public com.google.protobuf.ByteString getMonitoredResourceBytes() { * *
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      * 
* * repeated string logs = 1; @@ -316,9 +320,9 @@ public com.google.protobuf.ProtocolStringList getLogsList() { * *
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      * 
* * repeated string logs = 1; @@ -333,9 +337,9 @@ public int getLogsCount() { * *
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      * 
* * repeated string logs = 1; @@ -351,9 +355,9 @@ public java.lang.String getLogs(int index) { * *
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      * 
* * repeated string logs = 1; @@ -761,7 +765,8 @@ public Builder mergeFrom( * *
        * The monitored resource type. The type must be defined in the
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 3; @@ -784,7 +789,8 @@ public java.lang.String getMonitoredResource() { * *
        * The monitored resource type. The type must be defined in the
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 3; @@ -807,7 +813,8 @@ public com.google.protobuf.ByteString getMonitoredResourceBytes() { * *
        * The monitored resource type. The type must be defined in the
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 3; @@ -829,7 +836,8 @@ public Builder setMonitoredResource(java.lang.String value) { * *
        * The monitored resource type. The type must be defined in the
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 3; @@ -847,7 +855,8 @@ public Builder clearMonitoredResource() { * *
        * The monitored resource type. The type must be defined in the
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 3; @@ -880,9 +889,9 @@ private void ensureLogsIsMutable() { * *
        * Names of the logs to be sent to this destination. Each name must
-       * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-       * not a domain scoped name, it will be automatically prefixed with
-       * the service name followed by "/".
+       * be defined in the [Service.logs][google.api.Service.logs] section. If the
+       * log name is not a domain scoped name, it will be automatically prefixed
+       * with the service name followed by "/".
        * 
* * repeated string logs = 1; @@ -897,9 +906,9 @@ public com.google.protobuf.ProtocolStringList getLogsList() { * *
        * Names of the logs to be sent to this destination. Each name must
-       * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-       * not a domain scoped name, it will be automatically prefixed with
-       * the service name followed by "/".
+       * be defined in the [Service.logs][google.api.Service.logs] section. If the
+       * log name is not a domain scoped name, it will be automatically prefixed
+       * with the service name followed by "/".
        * 
* * repeated string logs = 1; @@ -914,9 +923,9 @@ public int getLogsCount() { * *
        * Names of the logs to be sent to this destination. Each name must
-       * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-       * not a domain scoped name, it will be automatically prefixed with
-       * the service name followed by "/".
+       * be defined in the [Service.logs][google.api.Service.logs] section. If the
+       * log name is not a domain scoped name, it will be automatically prefixed
+       * with the service name followed by "/".
        * 
* * repeated string logs = 1; @@ -932,9 +941,9 @@ public java.lang.String getLogs(int index) { * *
        * Names of the logs to be sent to this destination. Each name must
-       * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-       * not a domain scoped name, it will be automatically prefixed with
-       * the service name followed by "/".
+       * be defined in the [Service.logs][google.api.Service.logs] section. If the
+       * log name is not a domain scoped name, it will be automatically prefixed
+       * with the service name followed by "/".
        * 
* * repeated string logs = 1; @@ -950,9 +959,9 @@ public com.google.protobuf.ByteString getLogsBytes(int index) { * *
        * Names of the logs to be sent to this destination. Each name must
-       * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-       * not a domain scoped name, it will be automatically prefixed with
-       * the service name followed by "/".
+       * be defined in the [Service.logs][google.api.Service.logs] section. If the
+       * log name is not a domain scoped name, it will be automatically prefixed
+       * with the service name followed by "/".
        * 
* * repeated string logs = 1; @@ -975,9 +984,9 @@ public Builder setLogs(int index, java.lang.String value) { * *
        * Names of the logs to be sent to this destination. Each name must
-       * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-       * not a domain scoped name, it will be automatically prefixed with
-       * the service name followed by "/".
+       * be defined in the [Service.logs][google.api.Service.logs] section. If the
+       * log name is not a domain scoped name, it will be automatically prefixed
+       * with the service name followed by "/".
        * 
* * repeated string logs = 1; @@ -999,9 +1008,9 @@ public Builder addLogs(java.lang.String value) { * *
        * Names of the logs to be sent to this destination. Each name must
-       * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-       * not a domain scoped name, it will be automatically prefixed with
-       * the service name followed by "/".
+       * be defined in the [Service.logs][google.api.Service.logs] section. If the
+       * log name is not a domain scoped name, it will be automatically prefixed
+       * with the service name followed by "/".
        * 
* * repeated string logs = 1; @@ -1020,9 +1029,9 @@ public Builder addAllLogs(java.lang.Iterable values) { * *
        * Names of the logs to be sent to this destination. Each name must
-       * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-       * not a domain scoped name, it will be automatically prefixed with
-       * the service name followed by "/".
+       * be defined in the [Service.logs][google.api.Service.logs] section. If the
+       * log name is not a domain scoped name, it will be automatically prefixed
+       * with the service name followed by "/".
        * 
* * repeated string logs = 1; @@ -1040,9 +1049,9 @@ public Builder clearLogs() { * *
        * Names of the logs to be sent to this destination. Each name must
-       * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-       * not a domain scoped name, it will be automatically prefixed with
-       * the service name followed by "/".
+       * be defined in the [Service.logs][google.api.Service.logs] section. If the
+       * log name is not a domain scoped name, it will be automatically prefixed
+       * with the service name followed by "/".
        * 
* * repeated string logs = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java index 5abe3a36ef..40b1242c37 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java @@ -1641,8 +1641,8 @@ public com.google.protobuf.ByteString getSelectorBytes() { * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -1670,8 +1670,8 @@ public boolean hasLongRunning() { * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -1701,8 +1701,8 @@ public com.google.api.MethodSettings.LongRunning getLongRunning() { * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -2214,8 +2214,8 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -2242,8 +2242,8 @@ public boolean hasLongRunning() { * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -2276,8 +2276,8 @@ public com.google.api.MethodSettings.LongRunning getLongRunning() { * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -2312,8 +2312,8 @@ public Builder setLongRunning(com.google.api.MethodSettings.LongRunning value) { * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -2346,8 +2346,8 @@ public Builder setLongRunning( * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -2385,8 +2385,8 @@ public Builder mergeLongRunning(com.google.api.MethodSettings.LongRunning value) * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -2418,8 +2418,8 @@ public Builder clearLongRunning() { * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -2446,8 +2446,8 @@ public com.google.api.MethodSettings.LongRunning.Builder getLongRunningBuilder() * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -2478,8 +2478,8 @@ public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilde * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java index bd5c5eaf25..9bc4f14caa 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java @@ -59,8 +59,8 @@ public interface MethodSettingsOrBuilder * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -85,8 +85,8 @@ public interface MethodSettingsOrBuilder * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute @@ -111,8 +111,8 @@ public interface MethodSettingsOrBuilder * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: - * method_behavior: - * - selector: CreateAdDomain + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java index 17651f7db2..95d806a9e9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java @@ -84,8 +84,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-   * For example, `custom.googleapis.com/invoice/paid/amount`.
+   * An existing metric type, see
+   * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+   * `custom.googleapis.com/invoice/paid/amount`.
    * 
* * string type = 3; @@ -108,8 +109,9 @@ public java.lang.String getType() { * * *
-   * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-   * For example, `custom.googleapis.com/invoice/paid/amount`.
+   * An existing metric type, see
+   * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+   * `custom.googleapis.com/invoice/paid/amount`.
    * 
* * string type = 3; @@ -630,8 +632,9 @@ public Builder mergeFrom( * * *
-     * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-     * For example, `custom.googleapis.com/invoice/paid/amount`.
+     * An existing metric type, see
+     * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+     * `custom.googleapis.com/invoice/paid/amount`.
      * 
* * string type = 3; @@ -653,8 +656,9 @@ public java.lang.String getType() { * * *
-     * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-     * For example, `custom.googleapis.com/invoice/paid/amount`.
+     * An existing metric type, see
+     * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+     * `custom.googleapis.com/invoice/paid/amount`.
      * 
* * string type = 3; @@ -676,8 +680,9 @@ public com.google.protobuf.ByteString getTypeBytes() { * * *
-     * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-     * For example, `custom.googleapis.com/invoice/paid/amount`.
+     * An existing metric type, see
+     * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+     * `custom.googleapis.com/invoice/paid/amount`.
      * 
* * string type = 3; @@ -698,8 +703,9 @@ public Builder setType(java.lang.String value) { * * *
-     * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-     * For example, `custom.googleapis.com/invoice/paid/amount`.
+     * An existing metric type, see
+     * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+     * `custom.googleapis.com/invoice/paid/amount`.
      * 
* * string type = 3; @@ -716,8 +722,9 @@ public Builder clearType() { * * *
-     * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-     * For example, `custom.googleapis.com/invoice/paid/amount`.
+     * An existing metric type, see
+     * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+     * `custom.googleapis.com/invoice/paid/amount`.
      * 
* * string type = 3; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java index 1161062194..f39ceed755 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java @@ -522,13 +522,15 @@ public interface MetricDescriptorMetadataOrBuilder * * *
-     * Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
+     * Deprecated. Must use the
+     * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+     * instead.
      * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. - * See google/api/metric.proto;l=83 + * See google/api/metric.proto;l=85 * @return The enum numeric value on the wire for launchStage. */ @java.lang.Deprecated @@ -537,13 +539,15 @@ public interface MetricDescriptorMetadataOrBuilder * * *
-     * Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
+     * Deprecated. Must use the
+     * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+     * instead.
      * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. - * See google/api/metric.proto;l=83 + * See google/api/metric.proto;l=85 * @return The launchStage. */ @java.lang.Deprecated @@ -689,13 +693,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
+     * Deprecated. Must use the
+     * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+     * instead.
      * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. - * See google/api/metric.proto;l=83 + * See google/api/metric.proto;l=85 * @return The enum numeric value on the wire for launchStage. */ @java.lang.Override @@ -707,13 +713,15 @@ public int getLaunchStageValue() { * * *
-     * Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
+     * Deprecated. Must use the
+     * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+     * instead.
      * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. - * See google/api/metric.proto;l=83 + * See google/api/metric.proto;l=85 * @return The launchStage. */ @java.lang.Override @@ -1252,13 +1260,15 @@ public Builder mergeFrom( * * *
-       * Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
+       * Deprecated. Must use the
+       * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+       * instead.
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is - * deprecated. See google/api/metric.proto;l=83 + * deprecated. See google/api/metric.proto;l=85 * @return The enum numeric value on the wire for launchStage. */ @java.lang.Override @@ -1270,13 +1280,15 @@ public int getLaunchStageValue() { * * *
-       * Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
+       * Deprecated. Must use the
+       * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+       * instead.
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is - * deprecated. See google/api/metric.proto;l=83 + * deprecated. See google/api/metric.proto;l=85 * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ @@ -1291,13 +1303,15 @@ public Builder setLaunchStageValue(int value) { * * *
-       * Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
+       * Deprecated. Must use the
+       * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+       * instead.
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is - * deprecated. See google/api/metric.proto;l=83 + * deprecated. See google/api/metric.proto;l=85 * @return The launchStage. */ @java.lang.Override @@ -1310,13 +1324,15 @@ public com.google.api.LaunchStage getLaunchStage() { * * *
-       * Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
+       * Deprecated. Must use the
+       * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+       * instead.
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is - * deprecated. See google/api/metric.proto;l=83 + * deprecated. See google/api/metric.proto;l=85 * @param value The launchStage to set. * @return This builder for chaining. */ @@ -1334,13 +1350,15 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { * * *
-       * Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
+       * Deprecated. Must use the
+       * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+       * instead.
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is - * deprecated. See google/api/metric.proto;l=83 + * deprecated. See google/api/metric.proto;l=85 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2527,9 +2545,10 @@ public com.google.api.LaunchStage getLaunchStage() { *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
-   * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-   * with this metric type can only be associated with one of the monitored
-   * resource types listed here.
+   * a metric type and a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+   * is associated with this metric type can only be associated with one of the
+   * monitored resource types listed here.
    * 
* * repeated string monitored_resource_types = 13; @@ -2545,9 +2564,10 @@ public com.google.protobuf.ProtocolStringList getMonitoredResourceTypesList() { *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
-   * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-   * with this metric type can only be associated with one of the monitored
-   * resource types listed here.
+   * a metric type and a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+   * is associated with this metric type can only be associated with one of the
+   * monitored resource types listed here.
    * 
* * repeated string monitored_resource_types = 13; @@ -2563,9 +2583,10 @@ public int getMonitoredResourceTypesCount() { *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
-   * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-   * with this metric type can only be associated with one of the monitored
-   * resource types listed here.
+   * a metric type and a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+   * is associated with this metric type can only be associated with one of the
+   * monitored resource types listed here.
    * 
* * repeated string monitored_resource_types = 13; @@ -2582,9 +2603,10 @@ public java.lang.String getMonitoredResourceTypes(int index) { *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
-   * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-   * with this metric type can only be associated with one of the monitored
-   * resource types listed here.
+   * a metric type and a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+   * is associated with this metric type can only be associated with one of the
+   * monitored resource types listed here.
    * 
* * repeated string monitored_resource_types = 13; @@ -5144,9 +5166,10 @@ private void ensureMonitoredResourceTypesIsMutable() { *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
-     * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-     * with this metric type can only be associated with one of the monitored
-     * resource types listed here.
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
      * 
* * repeated string monitored_resource_types = 13; @@ -5162,9 +5185,10 @@ public com.google.protobuf.ProtocolStringList getMonitoredResourceTypesList() { *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
-     * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-     * with this metric type can only be associated with one of the monitored
-     * resource types listed here.
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
      * 
* * repeated string monitored_resource_types = 13; @@ -5180,9 +5204,10 @@ public int getMonitoredResourceTypesCount() { *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
-     * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-     * with this metric type can only be associated with one of the monitored
-     * resource types listed here.
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
      * 
* * repeated string monitored_resource_types = 13; @@ -5199,9 +5224,10 @@ public java.lang.String getMonitoredResourceTypes(int index) { *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
-     * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-     * with this metric type can only be associated with one of the monitored
-     * resource types listed here.
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
      * 
* * repeated string monitored_resource_types = 13; @@ -5218,9 +5244,10 @@ public com.google.protobuf.ByteString getMonitoredResourceTypesBytes(int index) *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
-     * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-     * with this metric type can only be associated with one of the monitored
-     * resource types listed here.
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
      * 
* * repeated string monitored_resource_types = 13; @@ -5244,9 +5271,10 @@ public Builder setMonitoredResourceTypes(int index, java.lang.String value) { *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
-     * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-     * with this metric type can only be associated with one of the monitored
-     * resource types listed here.
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
      * 
* * repeated string monitored_resource_types = 13; @@ -5269,9 +5297,10 @@ public Builder addMonitoredResourceTypes(java.lang.String value) { *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
-     * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-     * with this metric type can only be associated with one of the monitored
-     * resource types listed here.
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
      * 
* * repeated string monitored_resource_types = 13; @@ -5291,9 +5320,10 @@ public Builder addAllMonitoredResourceTypes(java.lang.Iterable *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
-     * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-     * with this metric type can only be associated with one of the monitored
-     * resource types listed here.
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
      * 
* * repeated string monitored_resource_types = 13; @@ -5312,9 +5342,10 @@ public Builder clearMonitoredResourceTypes() { *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
-     * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-     * with this metric type can only be associated with one of the monitored
-     * resource types listed here.
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
      * 
* * repeated string monitored_resource_types = 13; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java index c2a244e093..e50bfaa62d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java @@ -526,9 +526,10 @@ public interface MetricDescriptorOrBuilder *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
-   * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-   * with this metric type can only be associated with one of the monitored
-   * resource types listed here.
+   * a metric type and a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+   * is associated with this metric type can only be associated with one of the
+   * monitored resource types listed here.
    * 
* * repeated string monitored_resource_types = 13; @@ -542,9 +543,10 @@ public interface MetricDescriptorOrBuilder *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
-   * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-   * with this metric type can only be associated with one of the monitored
-   * resource types listed here.
+   * a metric type and a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+   * is associated with this metric type can only be associated with one of the
+   * monitored resource types listed here.
    * 
* * repeated string monitored_resource_types = 13; @@ -558,9 +560,10 @@ public interface MetricDescriptorOrBuilder *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
-   * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-   * with this metric type can only be associated with one of the monitored
-   * resource types listed here.
+   * a metric type and a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+   * is associated with this metric type can only be associated with one of the
+   * monitored resource types listed here.
    * 
* * repeated string monitored_resource_types = 13; @@ -575,9 +578,10 @@ public interface MetricDescriptorOrBuilder *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
-   * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
-   * with this metric type can only be associated with one of the monitored
-   * resource types listed here.
+   * a metric type and a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+   * is associated with this metric type can only be associated with one of the
+   * monitored resource types listed here.
    * 
* * repeated string monitored_resource_types = 13; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java index 74d4aa6b4f..a5756a7e21 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java @@ -27,8 +27,9 @@ public interface MetricOrBuilder * * *
-   * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-   * For example, `custom.googleapis.com/invoice/paid/amount`.
+   * An existing metric type, see
+   * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+   * `custom.googleapis.com/invoice/paid/amount`.
    * 
* * string type = 3; @@ -40,8 +41,9 @@ public interface MetricOrBuilder * * *
-   * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-   * For example, `custom.googleapis.com/invoice/paid/amount`.
+   * An existing metric type, see
+   * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+   * `custom.googleapis.com/invoice/paid/amount`.
    * 
* * string type = 3; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java index 5e616d4976..1d858e3f3c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java @@ -85,7 +85,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -109,7 +110,8 @@ public java.lang.String getSelector() { * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -641,7 +643,8 @@ public Builder mergeFrom( * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -664,7 +667,8 @@ public java.lang.String getSelector() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -687,7 +691,8 @@ public com.google.protobuf.ByteString getSelectorBytes() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -709,7 +714,8 @@ public Builder setSelector(java.lang.String value) { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -727,7 +733,8 @@ public Builder clearSelector() { * *
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java index 8f4734544c..4827435062 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java @@ -28,7 +28,8 @@ public interface MetricRuleOrBuilder * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -41,7 +42,8 @@ public interface MetricRuleOrBuilder * *
    * Selects the methods to which this rule applies.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java index affc3f4a45..7798d6f43b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java @@ -25,11 +25,13 @@ * An object representing a resource that can be used for monitoring, logging, * billing, or other purposes. Examples include virtual machine instances, * databases, and storage devices such as disks. The `type` field identifies a - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's - * schema. Information in the `labels` field identifies the actual resource and - * its attributes according to the schema. For example, a particular Compute - * Engine VM instance could be represented by the following object, because the - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels + * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object + * that describes the resource's schema. Information in the `labels` field + * identifies the actual resource and its attributes according to the schema. + * For example, a particular Compute Engine VM instance could be represented by + * the following object, because the + * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for + * `"gce_instance"` has labels * `"project_id"`, `"instance_id"` and `"zone"`: * { "type": "gce_instance", * "labels": { "project_id": "my-project", @@ -98,10 +100,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * *
    * Required. The monitored resource type. This field must match
-   * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-   * example, the type of a Compute Engine VM instance is `gce_instance`.
-   * Some descriptors include the service name in the type; for example,
-   * the type of a Datastream stream is `datastream.googleapis.com/Stream`.
+   * the `type` field of a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+   * object. For example, the type of a Compute Engine VM instance is
+   * `gce_instance`. Some descriptors include the service name in the type; for
+   * example, the type of a Datastream stream is
+   * `datastream.googleapis.com/Stream`.
    * 
* * string type = 1; @@ -125,10 +129,12 @@ public java.lang.String getType() { * *
    * Required. The monitored resource type. This field must match
-   * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-   * example, the type of a Compute Engine VM instance is `gce_instance`.
-   * Some descriptors include the service name in the type; for example,
-   * the type of a Datastream stream is `datastream.googleapis.com/Stream`.
+   * the `type` field of a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+   * object. For example, the type of a Compute Engine VM instance is
+   * `gce_instance`. Some descriptors include the service name in the type; for
+   * example, the type of a Datastream stream is
+   * `datastream.googleapis.com/Stream`.
    * 
* * string type = 1; @@ -439,11 +445,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * An object representing a resource that can be used for monitoring, logging, * billing, or other purposes. Examples include virtual machine instances, * databases, and storage devices such as disks. The `type` field identifies a - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's - * schema. Information in the `labels` field identifies the actual resource and - * its attributes according to the schema. For example, a particular Compute - * Engine VM instance could be represented by the following object, because the - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels + * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object + * that describes the resource's schema. Information in the `labels` field + * identifies the actual resource and its attributes according to the schema. + * For example, a particular Compute Engine VM instance could be represented by + * the following object, because the + * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for + * `"gce_instance"` has labels * `"project_id"`, `"instance_id"` and `"zone"`: * { "type": "gce_instance", * "labels": { "project_id": "my-project", @@ -670,10 +678,12 @@ public Builder mergeFrom( * *
      * Required. The monitored resource type. This field must match
-     * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-     * example, the type of a Compute Engine VM instance is `gce_instance`.
-     * Some descriptors include the service name in the type; for example,
-     * the type of a Datastream stream is `datastream.googleapis.com/Stream`.
+     * the `type` field of a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+     * object. For example, the type of a Compute Engine VM instance is
+     * `gce_instance`. Some descriptors include the service name in the type; for
+     * example, the type of a Datastream stream is
+     * `datastream.googleapis.com/Stream`.
      * 
* * string type = 1; @@ -696,10 +706,12 @@ public java.lang.String getType() { * *
      * Required. The monitored resource type. This field must match
-     * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-     * example, the type of a Compute Engine VM instance is `gce_instance`.
-     * Some descriptors include the service name in the type; for example,
-     * the type of a Datastream stream is `datastream.googleapis.com/Stream`.
+     * the `type` field of a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+     * object. For example, the type of a Compute Engine VM instance is
+     * `gce_instance`. Some descriptors include the service name in the type; for
+     * example, the type of a Datastream stream is
+     * `datastream.googleapis.com/Stream`.
      * 
* * string type = 1; @@ -722,10 +734,12 @@ public com.google.protobuf.ByteString getTypeBytes() { * *
      * Required. The monitored resource type. This field must match
-     * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-     * example, the type of a Compute Engine VM instance is `gce_instance`.
-     * Some descriptors include the service name in the type; for example,
-     * the type of a Datastream stream is `datastream.googleapis.com/Stream`.
+     * the `type` field of a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+     * object. For example, the type of a Compute Engine VM instance is
+     * `gce_instance`. Some descriptors include the service name in the type; for
+     * example, the type of a Datastream stream is
+     * `datastream.googleapis.com/Stream`.
      * 
* * string type = 1; @@ -747,10 +761,12 @@ public Builder setType(java.lang.String value) { * *
      * Required. The monitored resource type. This field must match
-     * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-     * example, the type of a Compute Engine VM instance is `gce_instance`.
-     * Some descriptors include the service name in the type; for example,
-     * the type of a Datastream stream is `datastream.googleapis.com/Stream`.
+     * the `type` field of a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+     * object. For example, the type of a Compute Engine VM instance is
+     * `gce_instance`. Some descriptors include the service name in the type; for
+     * example, the type of a Datastream stream is
+     * `datastream.googleapis.com/Stream`.
      * 
* * string type = 1; @@ -768,10 +784,12 @@ public Builder clearType() { * *
      * Required. The monitored resource type. This field must match
-     * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-     * example, the type of a Compute Engine VM instance is `gce_instance`.
-     * Some descriptors include the service name in the type; for example,
-     * the type of a Datastream stream is `datastream.googleapis.com/Stream`.
+     * the `type` field of a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+     * object. For example, the type of a Compute Engine VM instance is
+     * `gce_instance`. Some descriptors include the service name in the type; for
+     * example, the type of a Datastream stream is
+     * `datastream.googleapis.com/Stream`.
      * 
* * string type = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java index df72f2845f..3bb01b3c41 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java @@ -22,9 +22,10 @@ * * *
- * An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a
- * type name and a set of labels.  For example, the monitored resource
- * descriptor for Google Compute Engine VM instances has a type of
+ * An object that describes the schema of a
+ * [MonitoredResource][google.api.MonitoredResource] object using a type name
+ * and a set of labels.  For example, the monitored resource descriptor for
+ * Google Compute Engine VM instances has a type of
  * `"gce_instance"` and specifies the use of the labels `"instance_id"` and
  * `"zone"` to identify particular VM instances.
  * Different APIs can support different monitored resource types. APIs generally
@@ -636,9 +637,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    *
    * 
-   * An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a
-   * type name and a set of labels.  For example, the monitored resource
-   * descriptor for Google Compute Engine VM instances has a type of
+   * An object that describes the schema of a
+   * [MonitoredResource][google.api.MonitoredResource] object using a type name
+   * and a set of labels.  For example, the monitored resource descriptor for
+   * Google Compute Engine VM instances has a type of
    * `"gce_instance"` and specifies the use of the labels `"instance_id"` and
    * `"zone"` to identify particular VM instances.
    * Different APIs can support different monitored resource types. APIs generally
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java
index c30f8e75f7..a32f62611c 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java
@@ -22,12 +22,12 @@
  *
  *
  * 
- * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object.
- * [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to
- * uniquely identify a monitored resource instance. There is some other useful
- * auxiliary metadata. Monitoring and Logging use an ingestion
- * pipeline to extract metadata for cloud resources of all types, and store
- * the metadata in this message.
+ * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource]
+ * object. [MonitoredResource][google.api.MonitoredResource] objects contain the
+ * minimum set of information to uniquely identify a monitored resource
+ * instance. There is some other useful auxiliary metadata. Monitoring and
+ * Logging use an ingestion pipeline to extract metadata for cloud resources of
+ * all types, and store the metadata in this message.
  * 
* * Protobuf type {@code google.api.MonitoredResourceMetadata} @@ -437,12 +437,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object.
-   * [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to
-   * uniquely identify a monitored resource instance. There is some other useful
-   * auxiliary metadata. Monitoring and Logging use an ingestion
-   * pipeline to extract metadata for cloud resources of all types, and store
-   * the metadata in this message.
+   * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource]
+   * object. [MonitoredResource][google.api.MonitoredResource] objects contain the
+   * minimum set of information to uniquely identify a monitored resource
+   * instance. There is some other useful auxiliary metadata. Monitoring and
+   * Logging use an ingestion pipeline to extract metadata for cloud resources of
+   * all types, and store the metadata in this message.
    * 
* * Protobuf type {@code google.api.MonitoredResourceMetadata} diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java index e2ef700cb6..1a2e1a72b4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java @@ -28,10 +28,12 @@ public interface MonitoredResourceOrBuilder * *
    * Required. The monitored resource type. This field must match
-   * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-   * example, the type of a Compute Engine VM instance is `gce_instance`.
-   * Some descriptors include the service name in the type; for example,
-   * the type of a Datastream stream is `datastream.googleapis.com/Stream`.
+   * the `type` field of a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+   * object. For example, the type of a Compute Engine VM instance is
+   * `gce_instance`. Some descriptors include the service name in the type; for
+   * example, the type of a Datastream stream is
+   * `datastream.googleapis.com/Stream`.
    * 
* * string type = 1; @@ -44,10 +46,12 @@ public interface MonitoredResourceOrBuilder * *
    * Required. The monitored resource type. This field must match
-   * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-   * example, the type of a Compute Engine VM instance is `gce_instance`.
-   * Some descriptors include the service name in the type; for example,
-   * the type of a Datastream stream is `datastream.googleapis.com/Stream`.
+   * the `type` field of a
+   * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+   * object. For example, the type of a Compute Engine VM instance is
+   * `gce_instance`. Some descriptors include the service name in the type; for
+   * example, the type of a Datastream stream is
+   * `datastream.googleapis.com/Stream`.
    * 
* * string type = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java index 4d1b9f9516..6f7d6a58ae 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java @@ -124,7 +124,8 @@ public interface MonitoringDestinationOrBuilder * *
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 1; @@ -137,7 +138,8 @@ public interface MonitoringDestinationOrBuilder * *
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 1; @@ -151,7 +153,8 @@ public interface MonitoringDestinationOrBuilder * *
      * Types of the metrics to report to this monitoring destination.
-     * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -164,7 +167,8 @@ public interface MonitoringDestinationOrBuilder * *
      * Types of the metrics to report to this monitoring destination.
-     * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -177,7 +181,8 @@ public interface MonitoringDestinationOrBuilder * *
      * Types of the metrics to report to this monitoring destination.
-     * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -191,7 +196,8 @@ public interface MonitoringDestinationOrBuilder * *
      * Types of the metrics to report to this monitoring destination.
-     * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -261,7 +267,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 1; @@ -285,7 +292,8 @@ public java.lang.String getMonitoredResource() { * *
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      * 
* * string monitored_resource = 1; @@ -314,7 +322,8 @@ public com.google.protobuf.ByteString getMonitoredResourceBytes() { * *
      * Types of the metrics to report to this monitoring destination.
-     * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -329,7 +338,8 @@ public com.google.protobuf.ProtocolStringList getMetricsList() { * *
      * Types of the metrics to report to this monitoring destination.
-     * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -344,7 +354,8 @@ public int getMetricsCount() { * *
      * Types of the metrics to report to this monitoring destination.
-     * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -360,7 +371,8 @@ public java.lang.String getMetrics(int index) { * *
      * Types of the metrics to report to this monitoring destination.
-     * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      * 
* * repeated string metrics = 2; @@ -770,7 +782,8 @@ public Builder mergeFrom( * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -793,7 +806,8 @@ public java.lang.String getMonitoredResource() { * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -816,7 +830,8 @@ public com.google.protobuf.ByteString getMonitoredResourceBytes() { * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -838,7 +853,8 @@ public Builder setMonitoredResource(java.lang.String value) { * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -856,7 +872,8 @@ public Builder clearMonitoredResource() { * *
        * The monitored resource type. The type must be defined in
-       * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+       * [Service.monitored_resources][google.api.Service.monitored_resources]
+       * section.
        * 
* * string monitored_resource = 1; @@ -889,7 +906,8 @@ private void ensureMetricsIsMutable() { * *
        * Types of the metrics to report to this monitoring destination.
-       * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each type must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -904,7 +922,8 @@ public com.google.protobuf.ProtocolStringList getMetricsList() { * *
        * Types of the metrics to report to this monitoring destination.
-       * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each type must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -919,7 +938,8 @@ public int getMetricsCount() { * *
        * Types of the metrics to report to this monitoring destination.
-       * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each type must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -935,7 +955,8 @@ public java.lang.String getMetrics(int index) { * *
        * Types of the metrics to report to this monitoring destination.
-       * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each type must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -951,7 +972,8 @@ public com.google.protobuf.ByteString getMetricsBytes(int index) { * *
        * Types of the metrics to report to this monitoring destination.
-       * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each type must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -974,7 +996,8 @@ public Builder setMetrics(int index, java.lang.String value) { * *
        * Types of the metrics to report to this monitoring destination.
-       * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each type must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -996,7 +1019,8 @@ public Builder addMetrics(java.lang.String value) { * *
        * Types of the metrics to report to this monitoring destination.
-       * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each type must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -1015,7 +1039,8 @@ public Builder addAllMetrics(java.lang.Iterable values) { * *
        * Types of the metrics to report to this monitoring destination.
-       * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each type must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; @@ -1033,7 +1058,8 @@ public Builder clearMetrics() { * *
        * Types of the metrics to report to this monitoring destination.
-       * Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
+       * Each type must be defined in
+       * [Service.metrics][google.api.Service.metrics] section.
        * 
* * repeated string metrics = 2; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java index f2fa37b476..799889161e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java @@ -49,6 +49,7 @@ private Publishing() { docTagPrefix_ = ""; organization_ = 0; librarySettings_ = java.util.Collections.emptyList(); + protoReferenceDocumentationUri_ = ""; } @java.lang.Override @@ -598,6 +599,59 @@ public com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder return librarySettings_.get(index); } + public static final int PROTO_REFERENCE_DOCUMENTATION_URI_FIELD_NUMBER = 110; + + @SuppressWarnings("serial") + private volatile java.lang.Object protoReferenceDocumentationUri_ = ""; + /** + * + * + *
+   * Optional link to proto reference documentation.  Example:
+   * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+   * 
+ * + * string proto_reference_documentation_uri = 110; + * + * @return The protoReferenceDocumentationUri. + */ + @java.lang.Override + public java.lang.String getProtoReferenceDocumentationUri() { + java.lang.Object ref = protoReferenceDocumentationUri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + protoReferenceDocumentationUri_ = s; + return s; + } + } + /** + * + * + *
+   * Optional link to proto reference documentation.  Example:
+   * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+   * 
+ * + * string proto_reference_documentation_uri = 110; + * + * @return The bytes for protoReferenceDocumentationUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProtoReferenceDocumentationUriBytes() { + java.lang.Object ref = protoReferenceDocumentationUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + protoReferenceDocumentationUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -642,6 +696,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < librarySettings_.size(); i++) { output.writeMessage(109, librarySettings_.get(i)); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoReferenceDocumentationUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 110, protoReferenceDocumentationUri_); + } getUnknownFields().writeTo(output); } @@ -686,6 +744,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, librarySettings_.get(i)); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoReferenceDocumentationUri_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 110, protoReferenceDocumentationUri_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -710,6 +773,8 @@ public boolean equals(final java.lang.Object obj) { if (!getDocTagPrefix().equals(other.getDocTagPrefix())) return false; if (organization_ != other.organization_) return false; if (!getLibrarySettingsList().equals(other.getLibrarySettingsList())) return false; + if (!getProtoReferenceDocumentationUri().equals(other.getProtoReferenceDocumentationUri())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -745,6 +810,8 @@ public int hashCode() { hash = (37 * hash) + LIBRARY_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getLibrarySettingsList().hashCode(); } + hash = (37 * hash) + PROTO_REFERENCE_DOCUMENTATION_URI_FIELD_NUMBER; + hash = (53 * hash) + getProtoReferenceDocumentationUri().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -904,6 +971,7 @@ public Builder clear() { librarySettingsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); + protoReferenceDocumentationUri_ = ""; return this; } @@ -983,6 +1051,9 @@ private void buildPartial0(com.google.api.Publishing result) { if (((from_bitField0_ & 0x00000080) != 0)) { result.organization_ = organization_; } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.protoReferenceDocumentationUri_ = protoReferenceDocumentationUri_; + } } @java.lang.Override @@ -1122,6 +1193,11 @@ public Builder mergeFrom(com.google.api.Publishing other) { } } } + if (!other.getProtoReferenceDocumentationUri().isEmpty()) { + protoReferenceDocumentationUri_ = other.protoReferenceDocumentationUri_; + bitField0_ |= 0x00000200; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1216,6 +1292,12 @@ public Builder mergeFrom( } break; } // case 874 + case 882: + { + protoReferenceDocumentationUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 882 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2816,6 +2898,117 @@ public com.google.api.ClientLibrarySettings.Builder addLibrarySettingsBuilder(in return librarySettingsBuilder_; } + private java.lang.Object protoReferenceDocumentationUri_ = ""; + /** + * + * + *
+     * Optional link to proto reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+     * 
+ * + * string proto_reference_documentation_uri = 110; + * + * @return The protoReferenceDocumentationUri. + */ + public java.lang.String getProtoReferenceDocumentationUri() { + java.lang.Object ref = protoReferenceDocumentationUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + protoReferenceDocumentationUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional link to proto reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+     * 
+ * + * string proto_reference_documentation_uri = 110; + * + * @return The bytes for protoReferenceDocumentationUri. + */ + public com.google.protobuf.ByteString getProtoReferenceDocumentationUriBytes() { + java.lang.Object ref = protoReferenceDocumentationUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + protoReferenceDocumentationUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional link to proto reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+     * 
+ * + * string proto_reference_documentation_uri = 110; + * + * @param value The protoReferenceDocumentationUri to set. + * @return This builder for chaining. + */ + public Builder setProtoReferenceDocumentationUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + protoReferenceDocumentationUri_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional link to proto reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+     * 
+ * + * string proto_reference_documentation_uri = 110; + * + * @return This builder for chaining. + */ + public Builder clearProtoReferenceDocumentationUri() { + protoReferenceDocumentationUri_ = getDefaultInstance().getProtoReferenceDocumentationUri(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional link to proto reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+     * 
+ * + * string proto_reference_documentation_uri = 110; + * + * @param value The bytes for protoReferenceDocumentationUri to set. + * @return This builder for chaining. + */ + public Builder setProtoReferenceDocumentationUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + protoReferenceDocumentationUri_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java index b6eee072ba..1021409581 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java @@ -355,4 +355,31 @@ public interface PublishingOrBuilder * repeated .google.api.ClientLibrarySettings library_settings = 109; */ com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder(int index); + + /** + * + * + *
+   * Optional link to proto reference documentation.  Example:
+   * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+   * 
+ * + * string proto_reference_documentation_uri = 110; + * + * @return The protoReferenceDocumentationUri. + */ + java.lang.String getProtoReferenceDocumentationUri(); + /** + * + * + *
+   * Optional link to proto reference documentation.  Example:
+   * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+   * 
+ * + * string proto_reference_documentation_uri = 110; + * + * @return The bytes for protoReferenceDocumentationUri. + */ + com.google.protobuf.ByteString getProtoReferenceDocumentationUriBytes(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java index b6435338b0..fac54578d0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java @@ -329,10 +329,10 @@ public com.google.protobuf.ByteString getIdBytes() { * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -346,10 +346,10 @@ public java.util.List getApisList() { * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -363,10 +363,10 @@ public java.util.List getApisOrBuild * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -380,10 +380,10 @@ public int getApisCount() { * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -397,10 +397,10 @@ public com.google.protobuf.Api getApis(int index) { * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -1211,7 +1211,8 @@ public com.google.api.MetricDescriptorOrBuilder getMetricsOrBuilder(int index) { * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -1225,7 +1226,8 @@ public java.util.List getMonitoredRe * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -1240,7 +1242,8 @@ public java.util.List getMonitoredRe * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -1254,7 +1257,8 @@ public int getMonitoredResourcesCount() { * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -1268,7 +1272,8 @@ public com.google.api.MonitoredResourceDescriptor getMonitoredResources(int inde * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -3472,10 +3477,10 @@ private void ensureApisIsMutable() { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3492,10 +3497,10 @@ public java.util.List getApisList() { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3512,10 +3517,10 @@ public int getApisCount() { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3532,10 +3537,10 @@ public com.google.protobuf.Api getApis(int index) { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3558,10 +3563,10 @@ public Builder setApis(int index, com.google.protobuf.Api value) { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3581,10 +3586,10 @@ public Builder setApis(int index, com.google.protobuf.Api.Builder builderForValu * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3607,10 +3612,10 @@ public Builder addApis(com.google.protobuf.Api value) { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3633,10 +3638,10 @@ public Builder addApis(int index, com.google.protobuf.Api value) { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3656,10 +3661,10 @@ public Builder addApis(com.google.protobuf.Api.Builder builderForValue) { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3679,10 +3684,10 @@ public Builder addApis(int index, com.google.protobuf.Api.Builder builderForValu * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3702,10 +3707,10 @@ public Builder addAllApis(java.lang.Iterable * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3725,10 +3730,10 @@ public Builder clearApis() { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3748,10 +3753,10 @@ public Builder removeApis(int index) { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3764,10 +3769,10 @@ public com.google.protobuf.Api.Builder getApisBuilder(int index) { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3784,10 +3789,10 @@ public com.google.protobuf.ApiOrBuilder getApisOrBuilder(int index) { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3804,10 +3809,10 @@ public java.util.List getApisOrBuild * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3820,10 +3825,10 @@ public com.google.protobuf.Api.Builder addApisBuilder() { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -3836,10 +3841,10 @@ public com.google.protobuf.Api.Builder addApisBuilder(int index) { * *
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      * 
* * repeated .google.protobuf.Api apis = 3; @@ -7243,7 +7248,8 @@ private void ensureMonitoredResourcesIsMutable() { * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7260,7 +7266,8 @@ public java.util.List getMonitoredRe * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7277,7 +7284,8 @@ public int getMonitoredResourcesCount() { * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7294,7 +7302,8 @@ public com.google.api.MonitoredResourceDescriptor getMonitoredResources(int inde * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7318,7 +7327,8 @@ public Builder setMonitoredResources( * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7339,7 +7349,8 @@ public Builder setMonitoredResources( * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7362,7 +7373,8 @@ public Builder addMonitoredResources(com.google.api.MonitoredResourceDescriptor * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7386,7 +7398,8 @@ public Builder addMonitoredResources( * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7407,7 +7420,8 @@ public Builder addMonitoredResources( * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7428,7 +7442,8 @@ public Builder addMonitoredResources( * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7449,7 +7464,8 @@ public Builder addAllMonitoredResources( * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7469,7 +7485,8 @@ public Builder clearMonitoredResources() { * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7489,7 +7506,8 @@ public Builder removeMonitoredResources(int index) { * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7503,7 +7521,8 @@ public com.google.api.MonitoredResourceDescriptor.Builder getMonitoredResourcesB * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7521,7 +7540,8 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getMonitoredResources * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7539,7 +7559,8 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getMonitoredResources * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7553,7 +7574,8 @@ public com.google.api.MonitoredResourceDescriptor.Builder addMonitoredResourcesB * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -7568,7 +7590,8 @@ public com.google.api.MonitoredResourceDescriptor.Builder addMonitoredResourcesB * *
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java index ee3a9cae6d..4bf479bf81 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java @@ -142,10 +142,10 @@ public interface ServiceOrBuilder * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -156,10 +156,10 @@ public interface ServiceOrBuilder * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -170,10 +170,10 @@ public interface ServiceOrBuilder * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -184,10 +184,10 @@ public interface ServiceOrBuilder * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -198,10 +198,10 @@ public interface ServiceOrBuilder * *
    * A list of API interfaces exported by this service. Only the `name` field
-   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-   * author, as the remaining fields will be derived from the IDL during the
-   * normalization process. It is an error to specify an API interface here
-   * which cannot be resolved against the associated IDL files.
+   * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+   * the configuration author, as the remaining fields will be derived from the
+   * IDL during the normalization process. It is an error to specify an API
+   * interface here which cannot be resolved against the associated IDL files.
    * 
* * repeated .google.protobuf.Api apis = 3; @@ -813,7 +813,8 @@ public interface ServiceOrBuilder * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -824,7 +825,8 @@ public interface ServiceOrBuilder * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -835,7 +837,8 @@ public interface ServiceOrBuilder * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -846,7 +849,8 @@ public interface ServiceOrBuilder * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; @@ -858,7 +862,8 @@ public interface ServiceOrBuilder * *
    * Defines the monitored resources used by this service. This is required
-   * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+   * by the [Service.monitoring][google.api.Service.monitoring] and
+   * [Service.logging][google.api.Service.logging] configurations.
    * 
* * repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java index dc2b8cbd14..ffdca924be 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java @@ -79,7 +79,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -104,7 +105,8 @@ public java.lang.String getSelector() { *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -631,7 +633,8 @@ public Builder mergeFrom( *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -655,7 +658,8 @@ public java.lang.String getSelector() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -679,7 +683,8 @@ public com.google.protobuf.ByteString getSelectorBytes() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -702,7 +707,8 @@ public Builder setSelector(java.lang.String value) { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -721,7 +727,8 @@ public Builder clearSelector() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java index cfdbef70ff..da5cd58b1e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java @@ -29,7 +29,8 @@ public interface SystemParameterRuleOrBuilder *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -43,7 +44,8 @@ public interface SystemParameterRuleOrBuilder *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java index ffd9c31c06..8cd6f28d51 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java @@ -91,7 +91,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -116,7 +117,8 @@ public java.lang.String getSelector() { *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -578,7 +580,8 @@ public Builder mergeFrom( *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -602,7 +605,8 @@ public java.lang.String getSelector() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -626,7 +630,8 @@ public com.google.protobuf.ByteString getSelectorBytes() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -649,7 +654,8 @@ public Builder setSelector(java.lang.String value) { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; @@ -668,7 +674,8 @@ public Builder clearSelector() { *
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java index f3c9487787..c283341880 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java @@ -29,7 +29,8 @@ public interface UsageRuleOrBuilder *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; @@ -43,7 +44,8 @@ public interface UsageRuleOrBuilder *
    * Selects the methods to which this rule applies. Use '*' to indicate all
    * methods in all APIs.
-   * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+   * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+   * details.
    * 
* * string selector = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java index 010227c11c..781db90574 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java @@ -132,11 +132,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ongrunning.Operation\"\000\032\035\312A\032longrunning.g" + "oogleapis.com:Z\n\016operation_info\022\036.google" + ".protobuf.MethodOptions\030\231\010 \001(\0132!.google." - + "longrunning.OperationInfoB\227\001\n\026com.google" - + ".longrunningB\017OperationsProtoP\001Z=google." - + "golang.org/genproto/googleapis/longrunni" - + "ng;longrunning\370\001\001\252\002\022Google.LongRunning\312\002" - + "\022Google\\LongRunningb\006proto3" + + "longrunning.OperationInfoB\235\001\n\026com.google" + + ".longrunningB\017OperationsProtoP\001ZCcloud.g" + + "oogle.com/go/longrunning/autogen/longrun" + + "ningpb;longrunningpb\370\001\001\252\002\022Google.LongRun" + + "ning\312\002\022Google\\LongRunningb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java new file mode 100644 index 0000000000..c1ad7785a7 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java @@ -0,0 +1,1417 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/rpc/context/audit_context.proto + +package com.google.rpc.context; + +/** + * + * + *
+ * `AuditContext` provides information that is needed for audit logging.
+ * 
+ * + * Protobuf type {@code google.rpc.context.AuditContext} + */ +public final class AuditContext extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.rpc.context.AuditContext) + AuditContextOrBuilder { + private static final long serialVersionUID = 0L; + // Use AuditContext.newBuilder() to construct. + private AuditContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AuditContext() { + auditLog_ = com.google.protobuf.ByteString.EMPTY; + targetResource_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AuditContext(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.rpc.context.AuditContextProto + .internal_static_google_rpc_context_AuditContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.rpc.context.AuditContextProto + .internal_static_google_rpc_context_AuditContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.rpc.context.AuditContext.class, + com.google.rpc.context.AuditContext.Builder.class); + } + + public static final int AUDIT_LOG_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString auditLog_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+   * Serialized audit log.
+   * 
+ * + * bytes audit_log = 1; + * + * @return The auditLog. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAuditLog() { + return auditLog_; + } + + public static final int SCRUBBED_REQUEST_FIELD_NUMBER = 2; + private com.google.protobuf.Struct scrubbedRequest_; + /** + * + * + *
+   * An API request message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + * + * @return Whether the scrubbedRequest field is set. + */ + @java.lang.Override + public boolean hasScrubbedRequest() { + return scrubbedRequest_ != null; + } + /** + * + * + *
+   * An API request message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + * + * @return The scrubbedRequest. + */ + @java.lang.Override + public com.google.protobuf.Struct getScrubbedRequest() { + return scrubbedRequest_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : scrubbedRequest_; + } + /** + * + * + *
+   * An API request message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getScrubbedRequestOrBuilder() { + return scrubbedRequest_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : scrubbedRequest_; + } + + public static final int SCRUBBED_RESPONSE_FIELD_NUMBER = 3; + private com.google.protobuf.Struct scrubbedResponse_; + /** + * + * + *
+   * An API response message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + * + * @return Whether the scrubbedResponse field is set. + */ + @java.lang.Override + public boolean hasScrubbedResponse() { + return scrubbedResponse_ != null; + } + /** + * + * + *
+   * An API response message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + * + * @return The scrubbedResponse. + */ + @java.lang.Override + public com.google.protobuf.Struct getScrubbedResponse() { + return scrubbedResponse_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : scrubbedResponse_; + } + /** + * + * + *
+   * An API response message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getScrubbedResponseOrBuilder() { + return scrubbedResponse_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : scrubbedResponse_; + } + + public static final int SCRUBBED_RESPONSE_ITEM_COUNT_FIELD_NUMBER = 4; + private int scrubbedResponseItemCount_ = 0; + /** + * + * + *
+   * Number of scrubbed response items.
+   * 
+ * + * int32 scrubbed_response_item_count = 4; + * + * @return The scrubbedResponseItemCount. + */ + @java.lang.Override + public int getScrubbedResponseItemCount() { + return scrubbedResponseItemCount_; + } + + public static final int TARGET_RESOURCE_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object targetResource_ = ""; + /** + * + * + *
+   * Audit resource name which is scrubbed.
+   * 
+ * + * string target_resource = 5; + * + * @return The targetResource. + */ + @java.lang.Override + public java.lang.String getTargetResource() { + java.lang.Object ref = targetResource_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetResource_ = s; + return s; + } + } + /** + * + * + *
+   * Audit resource name which is scrubbed.
+   * 
+ * + * string target_resource = 5; + * + * @return The bytes for targetResource. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTargetResourceBytes() { + java.lang.Object ref = targetResource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetResource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!auditLog_.isEmpty()) { + output.writeBytes(1, auditLog_); + } + if (scrubbedRequest_ != null) { + output.writeMessage(2, getScrubbedRequest()); + } + if (scrubbedResponse_ != null) { + output.writeMessage(3, getScrubbedResponse()); + } + if (scrubbedResponseItemCount_ != 0) { + output.writeInt32(4, scrubbedResponseItemCount_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetResource_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, targetResource_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!auditLog_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, auditLog_); + } + if (scrubbedRequest_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScrubbedRequest()); + } + if (scrubbedResponse_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getScrubbedResponse()); + } + if (scrubbedResponseItemCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, scrubbedResponseItemCount_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetResource_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, targetResource_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.rpc.context.AuditContext)) { + return super.equals(obj); + } + com.google.rpc.context.AuditContext other = (com.google.rpc.context.AuditContext) obj; + + if (!getAuditLog().equals(other.getAuditLog())) return false; + if (hasScrubbedRequest() != other.hasScrubbedRequest()) return false; + if (hasScrubbedRequest()) { + if (!getScrubbedRequest().equals(other.getScrubbedRequest())) return false; + } + if (hasScrubbedResponse() != other.hasScrubbedResponse()) return false; + if (hasScrubbedResponse()) { + if (!getScrubbedResponse().equals(other.getScrubbedResponse())) return false; + } + if (getScrubbedResponseItemCount() != other.getScrubbedResponseItemCount()) return false; + if (!getTargetResource().equals(other.getTargetResource())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AUDIT_LOG_FIELD_NUMBER; + hash = (53 * hash) + getAuditLog().hashCode(); + if (hasScrubbedRequest()) { + hash = (37 * hash) + SCRUBBED_REQUEST_FIELD_NUMBER; + hash = (53 * hash) + getScrubbedRequest().hashCode(); + } + if (hasScrubbedResponse()) { + hash = (37 * hash) + SCRUBBED_RESPONSE_FIELD_NUMBER; + hash = (53 * hash) + getScrubbedResponse().hashCode(); + } + hash = (37 * hash) + SCRUBBED_RESPONSE_ITEM_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getScrubbedResponseItemCount(); + hash = (37 * hash) + TARGET_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getTargetResource().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.rpc.context.AuditContext parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.rpc.context.AuditContext parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.rpc.context.AuditContext parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.rpc.context.AuditContext parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.rpc.context.AuditContext parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.rpc.context.AuditContext parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.rpc.context.AuditContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.rpc.context.AuditContext parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.rpc.context.AuditContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.rpc.context.AuditContext parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.rpc.context.AuditContext parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.rpc.context.AuditContext parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.rpc.context.AuditContext prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * `AuditContext` provides information that is needed for audit logging.
+   * 
+ * + * Protobuf type {@code google.rpc.context.AuditContext} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.rpc.context.AuditContext) + com.google.rpc.context.AuditContextOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.rpc.context.AuditContextProto + .internal_static_google_rpc_context_AuditContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.rpc.context.AuditContextProto + .internal_static_google_rpc_context_AuditContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.rpc.context.AuditContext.class, + com.google.rpc.context.AuditContext.Builder.class); + } + + // Construct using com.google.rpc.context.AuditContext.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + auditLog_ = com.google.protobuf.ByteString.EMPTY; + scrubbedRequest_ = null; + if (scrubbedRequestBuilder_ != null) { + scrubbedRequestBuilder_.dispose(); + scrubbedRequestBuilder_ = null; + } + scrubbedResponse_ = null; + if (scrubbedResponseBuilder_ != null) { + scrubbedResponseBuilder_.dispose(); + scrubbedResponseBuilder_ = null; + } + scrubbedResponseItemCount_ = 0; + targetResource_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.rpc.context.AuditContextProto + .internal_static_google_rpc_context_AuditContext_descriptor; + } + + @java.lang.Override + public com.google.rpc.context.AuditContext getDefaultInstanceForType() { + return com.google.rpc.context.AuditContext.getDefaultInstance(); + } + + @java.lang.Override + public com.google.rpc.context.AuditContext build() { + com.google.rpc.context.AuditContext result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.rpc.context.AuditContext buildPartial() { + com.google.rpc.context.AuditContext result = new com.google.rpc.context.AuditContext(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.rpc.context.AuditContext result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.auditLog_ = auditLog_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.scrubbedRequest_ = + scrubbedRequestBuilder_ == null ? scrubbedRequest_ : scrubbedRequestBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.scrubbedResponse_ = + scrubbedResponseBuilder_ == null ? scrubbedResponse_ : scrubbedResponseBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.scrubbedResponseItemCount_ = scrubbedResponseItemCount_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.targetResource_ = targetResource_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.rpc.context.AuditContext) { + return mergeFrom((com.google.rpc.context.AuditContext) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.rpc.context.AuditContext other) { + if (other == com.google.rpc.context.AuditContext.getDefaultInstance()) return this; + if (other.getAuditLog() != com.google.protobuf.ByteString.EMPTY) { + setAuditLog(other.getAuditLog()); + } + if (other.hasScrubbedRequest()) { + mergeScrubbedRequest(other.getScrubbedRequest()); + } + if (other.hasScrubbedResponse()) { + mergeScrubbedResponse(other.getScrubbedResponse()); + } + if (other.getScrubbedResponseItemCount() != 0) { + setScrubbedResponseItemCount(other.getScrubbedResponseItemCount()); + } + if (!other.getTargetResource().isEmpty()) { + targetResource_ = other.targetResource_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + auditLog_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getScrubbedRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getScrubbedResponseFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + scrubbedResponseItemCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + targetResource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.ByteString auditLog_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * Serialized audit log.
+     * 
+ * + * bytes audit_log = 1; + * + * @return The auditLog. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAuditLog() { + return auditLog_; + } + /** + * + * + *
+     * Serialized audit log.
+     * 
+ * + * bytes audit_log = 1; + * + * @param value The auditLog to set. + * @return This builder for chaining. + */ + public Builder setAuditLog(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + auditLog_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Serialized audit log.
+     * 
+ * + * bytes audit_log = 1; + * + * @return This builder for chaining. + */ + public Builder clearAuditLog() { + bitField0_ = (bitField0_ & ~0x00000001); + auditLog_ = getDefaultInstance().getAuditLog(); + onChanged(); + return this; + } + + private com.google.protobuf.Struct scrubbedRequest_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + scrubbedRequestBuilder_; + /** + * + * + *
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + * + * @return Whether the scrubbedRequest field is set. + */ + public boolean hasScrubbedRequest() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + * + * @return The scrubbedRequest. + */ + public com.google.protobuf.Struct getScrubbedRequest() { + if (scrubbedRequestBuilder_ == null) { + return scrubbedRequest_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : scrubbedRequest_; + } else { + return scrubbedRequestBuilder_.getMessage(); + } + } + /** + * + * + *
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + */ + public Builder setScrubbedRequest(com.google.protobuf.Struct value) { + if (scrubbedRequestBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + scrubbedRequest_ = value; + } else { + scrubbedRequestBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + */ + public Builder setScrubbedRequest(com.google.protobuf.Struct.Builder builderForValue) { + if (scrubbedRequestBuilder_ == null) { + scrubbedRequest_ = builderForValue.build(); + } else { + scrubbedRequestBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + */ + public Builder mergeScrubbedRequest(com.google.protobuf.Struct value) { + if (scrubbedRequestBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && scrubbedRequest_ != null + && scrubbedRequest_ != com.google.protobuf.Struct.getDefaultInstance()) { + getScrubbedRequestBuilder().mergeFrom(value); + } else { + scrubbedRequest_ = value; + } + } else { + scrubbedRequestBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + */ + public Builder clearScrubbedRequest() { + bitField0_ = (bitField0_ & ~0x00000002); + scrubbedRequest_ = null; + if (scrubbedRequestBuilder_ != null) { + scrubbedRequestBuilder_.dispose(); + scrubbedRequestBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + */ + public com.google.protobuf.Struct.Builder getScrubbedRequestBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getScrubbedRequestFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + */ + public com.google.protobuf.StructOrBuilder getScrubbedRequestOrBuilder() { + if (scrubbedRequestBuilder_ != null) { + return scrubbedRequestBuilder_.getMessageOrBuilder(); + } else { + return scrubbedRequest_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : scrubbedRequest_; + } + } + /** + * + * + *
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + getScrubbedRequestFieldBuilder() { + if (scrubbedRequestBuilder_ == null) { + scrubbedRequestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getScrubbedRequest(), getParentForChildren(), isClean()); + scrubbedRequest_ = null; + } + return scrubbedRequestBuilder_; + } + + private com.google.protobuf.Struct scrubbedResponse_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + scrubbedResponseBuilder_; + /** + * + * + *
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + * + * @return Whether the scrubbedResponse field is set. + */ + public boolean hasScrubbedResponse() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + * + * @return The scrubbedResponse. + */ + public com.google.protobuf.Struct getScrubbedResponse() { + if (scrubbedResponseBuilder_ == null) { + return scrubbedResponse_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : scrubbedResponse_; + } else { + return scrubbedResponseBuilder_.getMessage(); + } + } + /** + * + * + *
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + */ + public Builder setScrubbedResponse(com.google.protobuf.Struct value) { + if (scrubbedResponseBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + scrubbedResponse_ = value; + } else { + scrubbedResponseBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + */ + public Builder setScrubbedResponse(com.google.protobuf.Struct.Builder builderForValue) { + if (scrubbedResponseBuilder_ == null) { + scrubbedResponse_ = builderForValue.build(); + } else { + scrubbedResponseBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + */ + public Builder mergeScrubbedResponse(com.google.protobuf.Struct value) { + if (scrubbedResponseBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && scrubbedResponse_ != null + && scrubbedResponse_ != com.google.protobuf.Struct.getDefaultInstance()) { + getScrubbedResponseBuilder().mergeFrom(value); + } else { + scrubbedResponse_ = value; + } + } else { + scrubbedResponseBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + */ + public Builder clearScrubbedResponse() { + bitField0_ = (bitField0_ & ~0x00000004); + scrubbedResponse_ = null; + if (scrubbedResponseBuilder_ != null) { + scrubbedResponseBuilder_.dispose(); + scrubbedResponseBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + */ + public com.google.protobuf.Struct.Builder getScrubbedResponseBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getScrubbedResponseFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + */ + public com.google.protobuf.StructOrBuilder getScrubbedResponseOrBuilder() { + if (scrubbedResponseBuilder_ != null) { + return scrubbedResponseBuilder_.getMessageOrBuilder(); + } else { + return scrubbedResponse_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : scrubbedResponse_; + } + } + /** + * + * + *
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + getScrubbedResponseFieldBuilder() { + if (scrubbedResponseBuilder_ == null) { + scrubbedResponseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getScrubbedResponse(), getParentForChildren(), isClean()); + scrubbedResponse_ = null; + } + return scrubbedResponseBuilder_; + } + + private int scrubbedResponseItemCount_; + /** + * + * + *
+     * Number of scrubbed response items.
+     * 
+ * + * int32 scrubbed_response_item_count = 4; + * + * @return The scrubbedResponseItemCount. + */ + @java.lang.Override + public int getScrubbedResponseItemCount() { + return scrubbedResponseItemCount_; + } + /** + * + * + *
+     * Number of scrubbed response items.
+     * 
+ * + * int32 scrubbed_response_item_count = 4; + * + * @param value The scrubbedResponseItemCount to set. + * @return This builder for chaining. + */ + public Builder setScrubbedResponseItemCount(int value) { + + scrubbedResponseItemCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Number of scrubbed response items.
+     * 
+ * + * int32 scrubbed_response_item_count = 4; + * + * @return This builder for chaining. + */ + public Builder clearScrubbedResponseItemCount() { + bitField0_ = (bitField0_ & ~0x00000008); + scrubbedResponseItemCount_ = 0; + onChanged(); + return this; + } + + private java.lang.Object targetResource_ = ""; + /** + * + * + *
+     * Audit resource name which is scrubbed.
+     * 
+ * + * string target_resource = 5; + * + * @return The targetResource. + */ + public java.lang.String getTargetResource() { + java.lang.Object ref = targetResource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetResource_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Audit resource name which is scrubbed.
+     * 
+ * + * string target_resource = 5; + * + * @return The bytes for targetResource. + */ + public com.google.protobuf.ByteString getTargetResourceBytes() { + java.lang.Object ref = targetResource_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetResource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Audit resource name which is scrubbed.
+     * 
+ * + * string target_resource = 5; + * + * @param value The targetResource to set. + * @return This builder for chaining. + */ + public Builder setTargetResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + targetResource_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Audit resource name which is scrubbed.
+     * 
+ * + * string target_resource = 5; + * + * @return This builder for chaining. + */ + public Builder clearTargetResource() { + targetResource_ = getDefaultInstance().getTargetResource(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Audit resource name which is scrubbed.
+     * 
+ * + * string target_resource = 5; + * + * @param value The bytes for targetResource to set. + * @return This builder for chaining. + */ + public Builder setTargetResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetResource_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.rpc.context.AuditContext) + } + + // @@protoc_insertion_point(class_scope:google.rpc.context.AuditContext) + private static final com.google.rpc.context.AuditContext DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.rpc.context.AuditContext(); + } + + public static com.google.rpc.context.AuditContext getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.rpc.context.AuditContext getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextOrBuilder.java new file mode 100644 index 0000000000..e92c0cdf94 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextOrBuilder.java @@ -0,0 +1,164 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/rpc/context/audit_context.proto + +package com.google.rpc.context; + +public interface AuditContextOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.rpc.context.AuditContext) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Serialized audit log.
+   * 
+ * + * bytes audit_log = 1; + * + * @return The auditLog. + */ + com.google.protobuf.ByteString getAuditLog(); + + /** + * + * + *
+   * An API request message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + * + * @return Whether the scrubbedRequest field is set. + */ + boolean hasScrubbedRequest(); + /** + * + * + *
+   * An API request message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + * + * @return The scrubbedRequest. + */ + com.google.protobuf.Struct getScrubbedRequest(); + /** + * + * + *
+   * An API request message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_request = 2; + */ + com.google.protobuf.StructOrBuilder getScrubbedRequestOrBuilder(); + + /** + * + * + *
+   * An API response message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + * + * @return Whether the scrubbedResponse field is set. + */ + boolean hasScrubbedResponse(); + /** + * + * + *
+   * An API response message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + * + * @return The scrubbedResponse. + */ + com.google.protobuf.Struct getScrubbedResponse(); + /** + * + * + *
+   * An API response message that is scrubbed based on the method annotation.
+   * This field should only be filled if audit_log field is present.
+   * Service Control will use this to assemble a complete log for Cloud Audit
+   * Logs and Google internal audit logs.
+   * 
+ * + * .google.protobuf.Struct scrubbed_response = 3; + */ + com.google.protobuf.StructOrBuilder getScrubbedResponseOrBuilder(); + + /** + * + * + *
+   * Number of scrubbed response items.
+   * 
+ * + * int32 scrubbed_response_item_count = 4; + * + * @return The scrubbedResponseItemCount. + */ + int getScrubbedResponseItemCount(); + + /** + * + * + *
+   * Audit resource name which is scrubbed.
+   * 
+ * + * string target_resource = 5; + * + * @return The targetResource. + */ + java.lang.String getTargetResource(); + /** + * + * + *
+   * Audit resource name which is scrubbed.
+   * 
+ * + * string target_resource = 5; + * + * @return The bytes for targetResource. + */ + com.google.protobuf.ByteString getTargetResourceBytes(); +} diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextProto.java new file mode 100644 index 0000000000..21195b3c4b --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextProto.java @@ -0,0 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/rpc/context/audit_context.proto + +package com.google.rpc.context; + +public final class AuditContextProto { + private AuditContextProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_rpc_context_AuditContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_rpc_context_AuditContext_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n&google/rpc/context/audit_context.proto" + + "\022\022google.rpc.context\032\034google/protobuf/st" + + "ruct.proto\"\307\001\n\014AuditContext\022\021\n\taudit_log" + + "\030\001 \001(\014\0221\n\020scrubbed_request\030\002 \001(\0132\027.googl" + + "e.protobuf.Struct\0222\n\021scrubbed_response\030\003" + + " \001(\0132\027.google.protobuf.Struct\022$\n\034scrubbe" + + "d_response_item_count\030\004 \001(\005\022\027\n\017target_re" + + "source\030\005 \001(\tBk\n\026com.google.rpc.contextB\021" + + "AuditContextProtoP\001Z9google.golang.org/g" + + "enproto/googleapis/rpc/context;context\370\001" + + "\001b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.StructProto.getDescriptor(), + }); + internal_static_google_rpc_context_AuditContext_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_rpc_context_AuditContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_rpc_context_AuditContext_descriptor, + new java.lang.String[] { + "AuditLog", + "ScrubbedRequest", + "ScrubbedResponse", + "ScrubbedResponseItemCount", + "TargetResource", + }); + com.google.protobuf.StructProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/auth.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/auth.proto index 21a8ce1b0a..ca91bb1bf0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/auth.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/auth.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -62,7 +62,8 @@ message Authentication { message AuthenticationRule { // Selects the methods to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // The requirements for OAuth credentials. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/backend.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/backend.proto index 1a3b705f62..6ff68878b6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/backend.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/backend.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -91,7 +91,8 @@ message BackendRule { // Selects the methods to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // The address of the API backend. @@ -178,4 +179,7 @@ message BackendRule { // https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids // for more details on the supported values. string protocol = 9; + + // The map between request protocol and the backend address. + map overrides_by_request_protocol = 10; } diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/billing.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/billing.proto index e94c2ec581..8b75452fbc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/billing.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/billing.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,11 +59,13 @@ message Billing { // bill against consumer project). message BillingDestination { // The monitored resource type. The type must be defined in - // [Service.monitored_resources][google.api.Service.monitored_resources] section. + // [Service.monitored_resources][google.api.Service.monitored_resources] + // section. string monitored_resource = 1; // Names of the metrics to report to this billing destination. - // Each name must be defined in [Service.metrics][google.api.Service.metrics] section. + // Each name must be defined in + // [Service.metrics][google.api.Service.metrics] section. repeated string metrics = 2; } diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto index 227ccf3a53..ca25db4e40 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -112,7 +112,9 @@ message CommonLanguageSettings { // Details about how and where to publish client libraries. message ClientLibrarySettings { - // Version of the API to apply these settings to. + // Version of the API to apply these settings to. This is the full protobuf + // package for the API, ending in the version element. + // Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1". string version = 1; // Launch stage of this version of the API. @@ -186,6 +188,10 @@ message Publishing { // times in this list, then the last one wins. Settings from earlier // settings with the same version string are discarded. repeated ClientLibrarySettings library_settings = 109; + + // Optional link to proto reference documentation. Example: + // https://cloud.google.com/pubsub/lite/docs/reference/rpc + string proto_reference_documentation_uri = 110; } // Settings for Java client libraries. @@ -302,8 +308,8 @@ message MethodSettings { // Example of a YAML configuration:: // // publishing: - // method_behavior: - // - selector: CreateAdDomain + // method_settings: + // - selector: google.cloud.speech.v2.Speech.BatchRecognize // long_running: // initial_poll_delay: // seconds: 60 # 1 minute diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/config_change.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/config_change.proto index f1fcde4f79..1dc8044b90 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/config_change.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/config_change.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/context.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/context.proto index 8e776ecfc3..1b1651780e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/context.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/context.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -70,7 +70,8 @@ message Context { message ContextRule { // Selects the methods to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // A list of full type names of requested contexts. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/control.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/control.proto index 5e14dee30f..275e4388a3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/control.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/control.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/distribution.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/distribution.proto index b079a43891..0baf6afd1c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/distribution.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/distribution.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/documentation.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/documentation.proto index d15562db50..0dabdfcf80 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/documentation.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/documentation.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/endpoint.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/endpoint.proto index 3b9f6a16c1..7f6dca7c16 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/endpoint.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/error_reason.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/error_reason.proto index 3b1d0e2123..c0509be4fc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/error_reason.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/error_reason.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -532,4 +532,39 @@ enum ErrorReason { // } // } ORG_RESTRICTION_HEADER_INVALID = 28; + + // Unimplemented. Do not use. + // + // The request is calling a service that is not visible to the consumer. + // + // Example of an ErrorInfo when the consumer "projects/123" contacting + // "pubsub.googleapis.com" service which is not visible to the consumer. + // + // { "reason": "SERVICE_NOT_VISIBLE", + // "domain": "googleapis.com", + // "metadata": { + // "consumer": "projects/123", + // "service": "pubsub.googleapis.com" + // } + // } + // + // This response indicates the "pubsub.googleapis.com" is not visible to + // "projects/123" (or it may not exist). + SERVICE_NOT_VISIBLE = 29; + + // The request is related to a project for which GCP access is suspended. + // + // Example of an ErrorInfo when the consumer "projects/123" fails to contact + // "pubsub.googleapis.com" service because GCP access is suspended: + // + // { "reason": "GCP_SUSPENDED", + // "domain": "googleapis.com", + // "metadata": { + // "consumer": "projects/123", + // "service": "pubsub.googleapis.com" + // } + // } + // + // This response indicates the associated GCP account has been suspended. + GCP_SUSPENDED = 30; } diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_behavior.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_behavior.proto index c4abe3b670..1a3a2f2fb2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_behavior.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_behavior.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/http.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/http.proto index 113fa936a0..31d867a27d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/http.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/http.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -210,15 +210,18 @@ message Http { // 1. Leaf request fields (recursive expansion nested messages in the request // message) are classified into three categories: // - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP +// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They +// are passed via the HTTP // request body. // - All other fields are passed via the URL query parameters, and the // parameter name is the field path in the request message. A repeated // field can be represented as multiple query parameters under the same // name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields +// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL +// query parameter, all fields // are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all +// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP +// request body, all // fields are passed via URL path and URL query parameters. // // ### Path template syntax @@ -313,7 +316,8 @@ message Http { message HttpRule { // Selects a method to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // Determines the URL pattern is matched by this rules. This pattern can be diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto index 00c80aba9d..7f1685e808 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/label.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/label.proto index af294c91ca..698f6bd4de 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/label.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/label.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/launch_stage.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/launch_stage.proto index 6524db5756..9802de7952 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/launch_stage.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/launch_stage.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/log.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/log.proto index 22ee289372..416c4f6c2f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/log.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/log.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/logging.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/logging.proto index e60f77ca50..650786fded 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/logging.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/logging.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -56,13 +56,14 @@ message Logging { // or the consumer project). message LoggingDestination { // The monitored resource type. The type must be defined in the - // [Service.monitored_resources][google.api.Service.monitored_resources] section. + // [Service.monitored_resources][google.api.Service.monitored_resources] + // section. string monitored_resource = 3; // Names of the logs to be sent to this destination. Each name must - // be defined in the [Service.logs][google.api.Service.logs] section. If the log name is - // not a domain scoped name, it will be automatically prefixed with - // the service name followed by "/". + // be defined in the [Service.logs][google.api.Service.logs] section. If the + // log name is not a domain scoped name, it will be automatically prefixed + // with the service name followed by "/". repeated string logs = 1; } diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/metric.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/metric.proto index c206666f63..9bf043c493 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/metric.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/metric.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -80,7 +80,9 @@ message MetricDescriptor { // Additional annotations that can be used to guide the usage of a metric. message MetricDescriptorMetadata { - // Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead. + // Deprecated. Must use the + // [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] + // instead. LaunchStage launch_stage = 1 [deprecated = true]; // The sampling period of metric data points. For metrics which are written @@ -245,17 +247,19 @@ message MetricDescriptor { // Read-only. If present, then a [time // series][google.monitoring.v3.TimeSeries], which is identified partially by - // a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated - // with this metric type can only be associated with one of the monitored - // resource types listed here. + // a metric type and a + // [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that + // is associated with this metric type can only be associated with one of the + // monitored resource types listed here. repeated string monitored_resource_types = 13; } // A specific metric, identified by specifying values for all of the // labels of a [`MetricDescriptor`][google.api.MetricDescriptor]. message Metric { - // An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor]. - // For example, `custom.googleapis.com/invoice/paid/amount`. + // An existing metric type, see + // [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example, + // `custom.googleapis.com/invoice/paid/amount`. string type = 3; // The set of label values that uniquely identify this metric. All diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitored_resource.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitored_resource.proto index 8b97baa104..c6f9759288 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitored_resource.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitored_resource.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,9 +27,10 @@ option java_outer_classname = "MonitoredResourceProto"; option java_package = "com.google.api"; option objc_class_prefix = "GAPI"; -// An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a -// type name and a set of labels. For example, the monitored resource -// descriptor for Google Compute Engine VM instances has a type of +// An object that describes the schema of a +// [MonitoredResource][google.api.MonitoredResource] object using a type name +// and a set of labels. For example, the monitored resource descriptor for +// Google Compute Engine VM instances has a type of // `"gce_instance"` and specifies the use of the labels `"instance_id"` and // `"zone"` to identify particular VM instances. // @@ -76,11 +77,13 @@ message MonitoredResourceDescriptor { // An object representing a resource that can be used for monitoring, logging, // billing, or other purposes. Examples include virtual machine instances, // databases, and storage devices such as disks. The `type` field identifies a -// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's -// schema. Information in the `labels` field identifies the actual resource and -// its attributes according to the schema. For example, a particular Compute -// Engine VM instance could be represented by the following object, because the -// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels +// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object +// that describes the resource's schema. Information in the `labels` field +// identifies the actual resource and its attributes according to the schema. +// For example, a particular Compute Engine VM instance could be represented by +// the following object, because the +// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for +// `"gce_instance"` has labels // `"project_id"`, `"instance_id"` and `"zone"`: // // { "type": "gce_instance", @@ -89,10 +92,12 @@ message MonitoredResourceDescriptor { // "zone": "us-central1-a" }} message MonitoredResource { // Required. The monitored resource type. This field must match - // the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For - // example, the type of a Compute Engine VM instance is `gce_instance`. - // Some descriptors include the service name in the type; for example, - // the type of a Datastream stream is `datastream.googleapis.com/Stream`. + // the `type` field of a + // [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] + // object. For example, the type of a Compute Engine VM instance is + // `gce_instance`. Some descriptors include the service name in the type; for + // example, the type of a Datastream stream is + // `datastream.googleapis.com/Stream`. string type = 1; // Required. Values for all of the labels listed in the associated monitored @@ -101,12 +106,12 @@ message MonitoredResource { map labels = 2; } -// Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object. -// [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to -// uniquely identify a monitored resource instance. There is some other useful -// auxiliary metadata. Monitoring and Logging use an ingestion -// pipeline to extract metadata for cloud resources of all types, and store -// the metadata in this message. +// Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] +// object. [MonitoredResource][google.api.MonitoredResource] objects contain the +// minimum set of information to uniquely identify a monitored resource +// instance. There is some other useful auxiliary metadata. Monitoring and +// Logging use an ingestion pipeline to extract metadata for cloud resources of +// all types, and store the metadata in this message. message MonitoredResourceMetadata { // Output only. Values for predefined system metadata labels. // System labels are a kind of metadata extracted by Google, including diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitoring.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitoring.proto index 60770ec5a3..753703e545 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitoring.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -79,11 +79,13 @@ message Monitoring { // or the consumer project). message MonitoringDestination { // The monitored resource type. The type must be defined in - // [Service.monitored_resources][google.api.Service.monitored_resources] section. + // [Service.monitored_resources][google.api.Service.monitored_resources] + // section. string monitored_resource = 1; // Types of the metrics to report to this monitoring destination. - // Each type must be defined in [Service.metrics][google.api.Service.metrics] section. + // Each type must be defined in + // [Service.metrics][google.api.Service.metrics] section. repeated string metrics = 2; } diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto index 3272cdae5c..7ccc102fc7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -87,7 +87,8 @@ message Quota { message MetricRule { // Selects the methods to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // Metrics to update when the selected methods are called, and the associated diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/resource.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/resource.proto index 0ce0344f57..bf0cbec5de 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/resource.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/resource.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/routing.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/routing.proto index 0138283890..b35289be8e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/routing.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/routing.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/service.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/service.proto index a901863428..3de5b66758 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/service.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/service.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -98,10 +98,10 @@ message Service { string id = 33; // A list of API interfaces exported by this service. Only the `name` field - // of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration - // author, as the remaining fields will be derived from the IDL during the - // normalization process. It is an error to specify an API interface here - // which cannot be resolved against the associated IDL files. + // of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by + // the configuration author, as the remaining fields will be derived from the + // IDL during the normalization process. It is an error to specify an API + // interface here which cannot be resolved against the associated IDL files. repeated google.protobuf.Api apis = 3; // A list of all proto message types included in this API service. @@ -159,7 +159,8 @@ message Service { repeated MetricDescriptor metrics = 24; // Defines the monitored resources used by this service. This is required - // by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. + // by the [Service.monitoring][google.api.Service.monitoring] and + // [Service.logging][google.api.Service.logging] configurations. repeated MonitoredResourceDescriptor monitored_resources = 25; // Billing configuration. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/source_info.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/source_info.proto index cbdd625cdb..51fe27901f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/source_info.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/source_info.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/system_parameter.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/system_parameter.proto index 7d0b1d572e..8d29057f77 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/system_parameter.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/system_parameter.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -67,7 +67,8 @@ message SystemParameterRule { // Selects the methods to which this rule applies. Use '*' to indicate all // methods in all APIs. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // Define parameters. Multiple names may be defined for a parameter. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/usage.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/usage.proto index ad2764c90f..b9384b44ae 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/usage.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/usage.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -80,7 +80,8 @@ message UsageRule { // Selects the methods to which this rule applies. Use '*' to indicate all // methods in all APIs. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // If true, the selected method allows unregistered calls, e.g. calls diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/visibility.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/visibility.proto index 0be4581d14..8b1f946fd1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/visibility.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/visibility.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/longrunning/operations.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/longrunning/operations.proto index c1fdc6f529..c8fda207e6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/longrunning/operations.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/longrunning/operations.proto @@ -26,7 +26,7 @@ import "google/protobuf/descriptor.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.LongRunning"; -option go_package = "google.golang.org/genproto/googleapis/longrunning;longrunning"; +option go_package = "cloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb"; option java_multiple_files = true; option java_outer_classname = "OperationsProto"; option java_package = "com.google.longrunning"; diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/audit_context.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/audit_context.proto new file mode 100644 index 0000000000..7b8b7051f4 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/audit_context.proto @@ -0,0 +1,49 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.rpc.context; + +import "google/protobuf/struct.proto"; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/genproto/googleapis/rpc/context;context"; +option java_multiple_files = true; +option java_outer_classname = "AuditContextProto"; +option java_package = "com.google.rpc.context"; + +// `AuditContext` provides information that is needed for audit logging. +message AuditContext { + // Serialized audit log. + bytes audit_log = 1; + + // An API request message that is scrubbed based on the method annotation. + // This field should only be filled if audit_log field is present. + // Service Control will use this to assemble a complete log for Cloud Audit + // Logs and Google internal audit logs. + google.protobuf.Struct scrubbed_request = 2; + + // An API response message that is scrubbed based on the method annotation. + // This field should only be filled if audit_log field is present. + // Service Control will use this to assemble a complete log for Cloud Audit + // Logs and Google internal audit logs. + google.protobuf.Struct scrubbed_response = 3; + + // Number of scrubbed response items. + int32 scrubbed_response_item_count = 4; + + // Audit resource name which is scrubbed. + string target_resource = 5; +}