diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java deleted file mode 100644 index fb7f8ed52d..0000000000 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * 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/api/annotations.proto - -package com.google.api; - -public final class AnnotationsProto { - private AnnotationsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { - registry.add(com.google.api.AnnotationsProto.http); - } - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static final int HTTP_FIELD_NUMBER = 72295728; - /** - * - * - *
- * See `HttpRule`. - *- * - *
extend .google.protobuf.MethodOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MethodOptions, com.google.api.HttpRule>
- http =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.HttpRule.class, com.google.api.HttpRule.getDefaultInstance());
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n\034google/api/annotations.proto\022\ngoogle.a"
- + "pi\032\025google/api/http.proto\032 google/protob"
- + "uf/descriptor.proto:E\n\004http\022\036.google.pro"
- + "tobuf.MethodOptions\030\260\312\274\" \001(\0132\024.google.ap"
- + "i.HttpRuleBn\n\016com.google.apiB\020Annotation"
- + "sProtoP\001ZAgoogle.golang.org/genproto/goo"
- + "gleapis/api/annotations;annotations\242\002\004GA"
- + "PIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.HttpProto.getDescriptor(),
- com.google.protobuf.DescriptorProtos.getDescriptor(),
- });
- http.internalInit(descriptor.getExtensions().get(0));
- com.google.api.HttpProto.getDescriptor();
- com.google.protobuf.DescriptorProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java
deleted file mode 100644
index 61f9e9c64d..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
- * 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/api/auth.proto
-
-package com.google.api;
-
-public final class AuthProto {
- private AuthProto() {}
-
- 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_api_Authentication_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Authentication_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_AuthenticationRule_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_AuthenticationRule_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_JwtLocation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_JwtLocation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_AuthProvider_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_AuthProvider_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_OAuthRequirements_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_OAuthRequirements_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_AuthRequirement_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_AuthRequirement_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\025google/api/auth.proto\022\ngoogle.api\"l\n\016A"
- + "uthentication\022-\n\005rules\030\003 \003(\0132\036.google.ap"
- + "i.AuthenticationRule\022+\n\tproviders\030\004 \003(\0132"
- + "\030.google.api.AuthProvider\"\251\001\n\022Authentica"
- + "tionRule\022\020\n\010selector\030\001 \001(\t\022,\n\005oauth\030\002 \001("
- + "\0132\035.google.api.OAuthRequirements\022 \n\030allo"
- + "w_without_credential\030\005 \001(\010\0221\n\014requiremen"
- + "ts\030\007 \003(\0132\033.google.api.AuthRequirement\"^\n"
- + "\013JwtLocation\022\020\n\006header\030\001 \001(\tH\000\022\017\n\005query\030"
- + "\002 \001(\tH\000\022\020\n\006cookie\030\004 \001(\tH\000\022\024\n\014value_prefi"
- + "x\030\003 \001(\tB\004\n\002in\"\232\001\n\014AuthProvider\022\n\n\002id\030\001 \001"
- + "(\t\022\016\n\006issuer\030\002 \001(\t\022\020\n\010jwks_uri\030\003 \001(\t\022\021\n\t"
- + "audiences\030\004 \001(\t\022\031\n\021authorization_url\030\005 \001"
- + "(\t\022.\n\rjwt_locations\030\006 \003(\0132\027.google.api.J"
- + "wtLocation\"-\n\021OAuthRequirements\022\030\n\020canon"
- + "ical_scopes\030\001 \001(\t\"9\n\017AuthRequirement\022\023\n\013"
- + "provider_id\030\001 \001(\t\022\021\n\taudiences\030\002 \001(\tBk\n\016"
- + "com.google.apiB\tAuthProtoP\001ZEgoogle.gola"
- + "ng.org/genproto/googleapis/api/serviceco"
- + "nfig;serviceconfig\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Authentication_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Authentication_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Authentication_descriptor,
- new java.lang.String[] {
- "Rules", "Providers",
- });
- internal_static_google_api_AuthenticationRule_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_AuthenticationRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_AuthenticationRule_descriptor,
- new java.lang.String[] {
- "Selector", "Oauth", "AllowWithoutCredential", "Requirements",
- });
- internal_static_google_api_JwtLocation_descriptor = getDescriptor().getMessageTypes().get(2);
- internal_static_google_api_JwtLocation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_JwtLocation_descriptor,
- new java.lang.String[] {
- "Header", "Query", "Cookie", "ValuePrefix", "In",
- });
- internal_static_google_api_AuthProvider_descriptor = getDescriptor().getMessageTypes().get(3);
- internal_static_google_api_AuthProvider_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_AuthProvider_descriptor,
- new java.lang.String[] {
- "Id", "Issuer", "JwksUri", "Audiences", "AuthorizationUrl", "JwtLocations",
- });
- internal_static_google_api_OAuthRequirements_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_api_OAuthRequirements_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_OAuthRequirements_descriptor,
- new java.lang.String[] {
- "CanonicalScopes",
- });
- internal_static_google_api_AuthRequirement_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_google_api_AuthRequirement_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_AuthRequirement_descriptor,
- new java.lang.String[] {
- "ProviderId", "Audiences",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
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
deleted file mode 100644
index 3cc5ae6575..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * 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/api/backend.proto
-
-package com.google.api;
-
-public final class BackendProto {
- private BackendProto() {}
-
- 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_api_Backend_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Backend_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- 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;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- 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\"\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\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(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Backend_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Backend_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Backend_descriptor,
- new java.lang.String[] {
- "Rules",
- });
- internal_static_google_api_BackendRule_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_BackendRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_BackendRule_descriptor,
- new java.lang.String[] {
- "Selector",
- "Address",
- "Deadline",
- "MinDeadline",
- "OperationDeadline",
- "PathTranslation",
- "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/BillingProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java
deleted file mode 100644
index b03896654d..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * 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/api/billing.proto
-
-package com.google.api;
-
-public final class BillingProto {
- private BillingProto() {}
-
- 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_api_Billing_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Billing_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Billing_BillingDestination_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Billing_BillingDestination_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\030google/api/billing.proto\022\ngoogle.api\"\223"
- + "\001\n\007Billing\022E\n\025consumer_destinations\030\010 \003("
- + "\0132&.google.api.Billing.BillingDestinatio"
- + "n\032A\n\022BillingDestination\022\032\n\022monitored_res"
- + "ource\030\001 \001(\t\022\017\n\007metrics\030\002 \003(\tBn\n\016com.goog"
- + "le.apiB\014BillingProtoP\001ZEgoogle.golang.or"
- + "g/genproto/googleapis/api/serviceconfig;"
- + "serviceconfig\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Billing_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Billing_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Billing_descriptor,
- new java.lang.String[] {
- "ConsumerDestinations",
- });
- internal_static_google_api_Billing_BillingDestination_descriptor =
- internal_static_google_api_Billing_descriptor.getNestedTypes().get(0);
- internal_static_google_api_Billing_BillingDestination_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Billing_BillingDestination_descriptor,
- new java.lang.String[] {
- "MonitoredResource", "Metrics",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
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
deleted file mode 100644
index 8c8f14f0e7..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java
+++ /dev/null
@@ -1,455 +0,0 @@
-/*
- * 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/api/client.proto
-
-package com.google.api;
-
-public final class ClientProto {
- private ClientProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
- registry.add(com.google.api.ClientProto.methodSignature);
- registry.add(com.google.api.ClientProto.defaultHost);
- registry.add(com.google.api.ClientProto.oauthScopes);
- }
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static final int METHOD_SIGNATURE_FIELD_NUMBER = 1051;
- /**
- *
- *
- * - * A definition of a client library method signature. - * - * In client libraries, each proto RPC corresponds to one or more methods - * which the end user is able to call, and calls the underlying RPC. - * Normally, this method receives a single argument (a struct or instance - * corresponding to the RPC request object). Defining this field will - * add one or more overloads providing flattened or simpler method signatures - * in some languages. - * - * The fields on the method signature are provided as a comma-separated - * string. - * - * For example, the proto RPC and annotation: - * - * rpc CreateSubscription(CreateSubscriptionRequest) - * returns (Subscription) { - * option (google.api.method_signature) = "name,topic"; - * } - * - * Would add the following Java overload (in addition to the method accepting - * the request object): - * - * public final Subscription createSubscription(String name, String topic) - * - * The following backwards-compatibility guidelines apply: - * - * * Adding this annotation to an unannotated method is backwards - * compatible. - * * Adding this annotation to a method which already has existing - * method signature annotations is backwards compatible if and only if - * the new method signature annotation is last in the sequence. - * * Modifying or removing an existing method signature annotation is - * a breaking change. - * * Re-ordering existing method signature annotations is a breaking - * change. - *- * - *
extend .google.protobuf.MethodOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MethodOptions, java.util.List- * The hostname for this service. - * This should be specified with no prefix or protocol. - * - * Example: - * - * service Foo { - * option (google.api.default_host) = "foo.googleapi.com"; - * ... - * } - *- * - *
extend .google.protobuf.ServiceOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.ServiceOptions, java.lang.String>
- defaultHost =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- java.lang.String.class, null);
-
- public static final int OAUTH_SCOPES_FIELD_NUMBER = 1050;
- /**
- *
- *
- * - * OAuth scopes needed for the client. - * - * Example: - * - * service Foo { - * option (google.api.oauth_scopes) = \ - * "https://www.googleapis.com/auth/cloud-platform"; - * ... - * } - * - * If there is more than one scope, use a comma-separated string: - * - * Example: - * - * service Foo { - * option (google.api.oauth_scopes) = \ - * "https://www.googleapis.com/auth/cloud-platform," - * "https://www.googleapis.com/auth/monitoring"; - * ... - * } - *- * - *
extend .google.protobuf.ServiceOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.ServiceOptions, java.lang.String>
- oauthScopes =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- java.lang.String.class, null);
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_CommonLanguageSettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_CommonLanguageSettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_ClientLibrarySettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_ClientLibrarySettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Publishing_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Publishing_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_JavaSettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_JavaSettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_JavaSettings_ServiceClassNamesEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_JavaSettings_ServiceClassNamesEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_CppSettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_CppSettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_PhpSettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_PhpSettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_PythonSettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_PythonSettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_NodeSettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_NodeSettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_DotnetSettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_DotnetSettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_DotnetSettings_RenamedServicesEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_DotnetSettings_RenamedServicesEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_DotnetSettings_RenamedResourcesEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_DotnetSettings_RenamedResourcesEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_RubySettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_RubySettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_GoSettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_GoSettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MethodSettings_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MethodSettings_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MethodSettings_LongRunning_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MethodSettings_LongRunning_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\027google/api/client.proto\022\ngoogle.api\032\035g"
- + "oogle/api/launch_stage.proto\032 google/pro"
- + "tobuf/descriptor.proto\032\036google/protobuf/"
- + "duration.proto\"t\n\026CommonLanguageSettings"
- + "\022\036\n\022reference_docs_uri\030\001 \001(\tB\002\030\001\022:\n\014dest"
- + "inations\030\002 \003(\0162$.google.api.ClientLibrar"
- + "yDestination\"\373\003\n\025ClientLibrarySettings\022\017"
- + "\n\007version\030\001 \001(\t\022-\n\014launch_stage\030\002 \001(\0162\027."
- + "google.api.LaunchStage\022\032\n\022rest_numeric_e"
- + "nums\030\003 \001(\010\022/\n\rjava_settings\030\025 \001(\0132\030.goog"
- + "le.api.JavaSettings\022-\n\014cpp_settings\030\026 \001("
- + "\0132\027.google.api.CppSettings\022-\n\014php_settin"
- + "gs\030\027 \001(\0132\027.google.api.PhpSettings\0223\n\017pyt"
- + "hon_settings\030\030 \001(\0132\032.google.api.PythonSe"
- + "ttings\022/\n\rnode_settings\030\031 \001(\0132\030.google.a"
- + "pi.NodeSettings\0223\n\017dotnet_settings\030\032 \001(\013"
- + "2\032.google.api.DotnetSettings\022/\n\rruby_set"
- + "tings\030\033 \001(\0132\030.google.api.RubySettings\022+\n"
- + "\013go_settings\030\034 \001(\0132\026.google.api.GoSettin"
- + "gs\"\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"
- + "\030h \001(\t\022\036\n\026codeowner_github_teams\030i \003(\t\022\026"
- + "\n\016doc_tag_prefix\030j \001(\t\022;\n\014organization\030k"
- + " \001(\0162%.google.api.ClientLibraryOrganizat"
- + "ion\022;\n\020library_settings\030m \003(\0132!.google.a"
- + "pi.ClientLibrarySettings\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\"\252\003\n\016DotnetSettings\0222\n\006common\030\001"
- + " \001(\0132\".google.api.CommonLanguageSettings"
- + "\022I\n\020renamed_services\030\002 \003(\0132/.google.api."
- + "DotnetSettings.RenamedServicesEntry\022K\n\021r"
- + "enamed_resources\030\003 \003(\01320.google.api.Dotn"
- + "etSettings.RenamedResourcesEntry\022\031\n\021igno"
- + "red_resources\030\004 \003(\t\022 \n\030forced_namespace_"
- + "aliases\030\005 \003(\t\022\036\n\026handwritten_signatures\030"
- + "\006 \003(\t\0326\n\024RenamedServicesEntry\022\013\n\003key\030\001 \001"
- + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0327\n\025RenamedResource"
- + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"B"
- + "\n\014RubySettings\0222\n\006common\030\001 \001(\0132\".google."
- + "api.CommonLanguageSettings\"@\n\nGoSettings"
- + "\0222\n\006common\030\001 \001(\0132\".google.api.CommonLang"
- + "uageSettings\"\317\002\n\016MethodSettings\022\020\n\010selec"
- + "tor\030\001 \001(\t\022<\n\014long_running\030\002 \001(\0132&.google"
- + ".api.MethodSettings.LongRunning\022\035\n\025auto_"
- + "populated_fields\030\003 \003(\t\032\315\001\n\013LongRunning\0225"
- + "\n\022initial_poll_delay\030\001 \001(\0132\031.google.prot"
- + "obuf.Duration\022\035\n\025poll_delay_multiplier\030\002"
- + " \001(\002\0221\n\016max_poll_delay\030\003 \001(\0132\031.google.pr"
- + "otobuf.Duration\0225\n\022total_poll_timeout\030\004 "
- + "\001(\0132\031.google.protobuf.Duration*\243\001\n\031Clien"
- + "tLibraryOrganization\022+\n\'CLIENT_LIBRARY_O"
- + "RGANIZATION_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\007\n\003"
- + "ADS\020\002\022\n\n\006PHOTOS\020\003\022\017\n\013STREET_VIEW\020\004\022\014\n\010SH"
- + "OPPING\020\005\022\007\n\003GEO\020\006\022\021\n\rGENERATIVE_AI\020\007*g\n\030"
- + "ClientLibraryDestination\022*\n&CLIENT_LIBRA"
- + "RY_DESTINATION_UNSPECIFIED\020\000\022\n\n\006GITHUB\020\n"
- + "\022\023\n\017PACKAGE_MANAGER\020\024:9\n\020method_signatur"
- + "e\022\036.google.protobuf.MethodOptions\030\233\010 \003(\t"
- + ":6\n\014default_host\022\037.google.protobuf.Servi"
- + "ceOptions\030\231\010 \001(\t:6\n\014oauth_scopes\022\037.googl"
- + "e.protobuf.ServiceOptions\030\232\010 \001(\tBi\n\016com."
- + "google.apiB\013ClientProtoP\001ZAgoogle.golang"
- + ".org/genproto/googleapis/api/annotations"
- + ";annotations\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.LaunchStageProto.getDescriptor(),
- com.google.protobuf.DescriptorProtos.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- });
- internal_static_google_api_CommonLanguageSettings_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_CommonLanguageSettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_CommonLanguageSettings_descriptor,
- new java.lang.String[] {
- "ReferenceDocsUri", "Destinations",
- });
- internal_static_google_api_ClientLibrarySettings_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_ClientLibrarySettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_ClientLibrarySettings_descriptor,
- new java.lang.String[] {
- "Version",
- "LaunchStage",
- "RestNumericEnums",
- "JavaSettings",
- "CppSettings",
- "PhpSettings",
- "PythonSettings",
- "NodeSettings",
- "DotnetSettings",
- "RubySettings",
- "GoSettings",
- });
- internal_static_google_api_Publishing_descriptor = getDescriptor().getMessageTypes().get(2);
- internal_static_google_api_Publishing_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Publishing_descriptor,
- new java.lang.String[] {
- "MethodSettings",
- "NewIssueUri",
- "DocumentationUri",
- "ApiShortName",
- "GithubLabel",
- "CodeownerGithubTeams",
- "DocTagPrefix",
- "Organization",
- "LibrarySettings",
- "ProtoReferenceDocumentationUri",
- });
- internal_static_google_api_JavaSettings_descriptor = getDescriptor().getMessageTypes().get(3);
- internal_static_google_api_JavaSettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_JavaSettings_descriptor,
- new java.lang.String[] {
- "LibraryPackage", "ServiceClassNames", "Common",
- });
- internal_static_google_api_JavaSettings_ServiceClassNamesEntry_descriptor =
- internal_static_google_api_JavaSettings_descriptor.getNestedTypes().get(0);
- internal_static_google_api_JavaSettings_ServiceClassNamesEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_JavaSettings_ServiceClassNamesEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_api_CppSettings_descriptor = getDescriptor().getMessageTypes().get(4);
- internal_static_google_api_CppSettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_CppSettings_descriptor,
- new java.lang.String[] {
- "Common",
- });
- internal_static_google_api_PhpSettings_descriptor = getDescriptor().getMessageTypes().get(5);
- internal_static_google_api_PhpSettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_PhpSettings_descriptor,
- new java.lang.String[] {
- "Common",
- });
- internal_static_google_api_PythonSettings_descriptor = getDescriptor().getMessageTypes().get(6);
- internal_static_google_api_PythonSettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_PythonSettings_descriptor,
- new java.lang.String[] {
- "Common",
- });
- internal_static_google_api_NodeSettings_descriptor = getDescriptor().getMessageTypes().get(7);
- internal_static_google_api_NodeSettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_NodeSettings_descriptor,
- new java.lang.String[] {
- "Common",
- });
- internal_static_google_api_DotnetSettings_descriptor = getDescriptor().getMessageTypes().get(8);
- internal_static_google_api_DotnetSettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_DotnetSettings_descriptor,
- new java.lang.String[] {
- "Common",
- "RenamedServices",
- "RenamedResources",
- "IgnoredResources",
- "ForcedNamespaceAliases",
- "HandwrittenSignatures",
- });
- internal_static_google_api_DotnetSettings_RenamedServicesEntry_descriptor =
- internal_static_google_api_DotnetSettings_descriptor.getNestedTypes().get(0);
- internal_static_google_api_DotnetSettings_RenamedServicesEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_DotnetSettings_RenamedServicesEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_api_DotnetSettings_RenamedResourcesEntry_descriptor =
- internal_static_google_api_DotnetSettings_descriptor.getNestedTypes().get(1);
- internal_static_google_api_DotnetSettings_RenamedResourcesEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_DotnetSettings_RenamedResourcesEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_api_RubySettings_descriptor = getDescriptor().getMessageTypes().get(9);
- internal_static_google_api_RubySettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_RubySettings_descriptor,
- new java.lang.String[] {
- "Common",
- });
- internal_static_google_api_GoSettings_descriptor = getDescriptor().getMessageTypes().get(10);
- internal_static_google_api_GoSettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_GoSettings_descriptor,
- new java.lang.String[] {
- "Common",
- });
- internal_static_google_api_MethodSettings_descriptor =
- getDescriptor().getMessageTypes().get(11);
- internal_static_google_api_MethodSettings_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MethodSettings_descriptor,
- new java.lang.String[] {
- "Selector", "LongRunning", "AutoPopulatedFields",
- });
- internal_static_google_api_MethodSettings_LongRunning_descriptor =
- internal_static_google_api_MethodSettings_descriptor.getNestedTypes().get(0);
- internal_static_google_api_MethodSettings_LongRunning_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MethodSettings_LongRunning_descriptor,
- new java.lang.String[] {
- "InitialPollDelay", "PollDelayMultiplier", "MaxPollDelay", "TotalPollTimeout",
- });
- methodSignature.internalInit(descriptor.getExtensions().get(0));
- defaultHost.internalInit(descriptor.getExtensions().get(1));
- oauthScopes.internalInit(descriptor.getExtensions().get(2));
- com.google.api.LaunchStageProto.getDescriptor();
- com.google.protobuf.DescriptorProtos.getDescriptor();
- com.google.protobuf.DurationProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java
deleted file mode 100644
index d9573bcdfd..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * 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/api/config_change.proto
-
-package com.google.api;
-
-public final class ConfigChangeProto {
- private ConfigChangeProto() {}
-
- 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_api_ConfigChange_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_ConfigChange_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Advice_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Advice_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\036google/api/config_change.proto\022\ngoogle"
- + ".api\"\227\001\n\014ConfigChange\022\017\n\007element\030\001 \001(\t\022\021"
- + "\n\told_value\030\002 \001(\t\022\021\n\tnew_value\030\003 \001(\t\022+\n\013"
- + "change_type\030\004 \001(\0162\026.google.api.ChangeTyp"
- + "e\022#\n\007advices\030\005 \003(\0132\022.google.api.Advice\"\035"
- + "\n\006Advice\022\023\n\013description\030\002 \001(\t*O\n\nChangeT"
- + "ype\022\033\n\027CHANGE_TYPE_UNSPECIFIED\020\000\022\t\n\005ADDE"
- + "D\020\001\022\013\n\007REMOVED\020\002\022\014\n\010MODIFIED\020\003Bq\n\016com.go"
- + "ogle.apiB\021ConfigChangeProtoP\001ZCgoogle.go"
- + "lang.org/genproto/googleapis/api/configc"
- + "hange;configchange\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_ConfigChange_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_ConfigChange_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_ConfigChange_descriptor,
- new java.lang.String[] {
- "Element", "OldValue", "NewValue", "ChangeType", "Advices",
- });
- internal_static_google_api_Advice_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_Advice_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Advice_descriptor,
- new java.lang.String[] {
- "Description",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java
deleted file mode 100644
index 474e18306c..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * 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/api/consumer.proto
-
-package com.google.api;
-
-public final class ConsumerProto {
- private ConsumerProto() {}
-
- 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_api_ProjectProperties_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_ProjectProperties_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Property_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Property_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\031google/api/consumer.proto\022\ngoogle.api\""
- + "=\n\021ProjectProperties\022(\n\nproperties\030\001 \003(\013"
- + "2\024.google.api.Property\"\254\001\n\010Property\022\014\n\004n"
- + "ame\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.google.api.Pro"
- + "perty.PropertyType\022\023\n\013description\030\003 \001(\t\""
- + "L\n\014PropertyType\022\017\n\013UNSPECIFIED\020\000\022\t\n\005INT6"
- + "4\020\001\022\010\n\004BOOL\020\002\022\n\n\006STRING\020\003\022\n\n\006DOUBLE\020\004Bh\n"
- + "\016com.google.apiB\rConsumerProtoP\001ZEgoogle"
- + ".golang.org/genproto/googleapis/api/serv"
- + "iceconfig;serviceconfigb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_ProjectProperties_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_ProjectProperties_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_ProjectProperties_descriptor,
- new java.lang.String[] {
- "Properties",
- });
- internal_static_google_api_Property_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_Property_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Property_descriptor,
- new java.lang.String[] {
- "Name", "Type", "Description",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java
deleted file mode 100644
index c06990e8c2..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * 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/api/context.proto
-
-package com.google.api;
-
-public final class ContextProto {
- private ContextProto() {}
-
- 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_api_Context_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Context_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_ContextRule_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_ContextRule_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\030google/api/context.proto\022\ngoogle.api\"1"
- + "\n\007Context\022&\n\005rules\030\001 \003(\0132\027.google.api.Co"
- + "ntextRule\"\215\001\n\013ContextRule\022\020\n\010selector\030\001 "
- + "\001(\t\022\021\n\trequested\030\002 \003(\t\022\020\n\010provided\030\003 \003(\t"
- + "\022\"\n\032allowed_request_extensions\030\004 \003(\t\022#\n\033"
- + "allowed_response_extensions\030\005 \003(\tBn\n\016com"
- + ".google.apiB\014ContextProtoP\001ZEgoogle.gola"
- + "ng.org/genproto/googleapis/api/serviceco"
- + "nfig;serviceconfig\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Context_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Context_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Context_descriptor,
- new java.lang.String[] {
- "Rules",
- });
- internal_static_google_api_ContextRule_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_ContextRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_ContextRule_descriptor,
- new java.lang.String[] {
- "Selector",
- "Requested",
- "Provided",
- "AllowedRequestExtensions",
- "AllowedResponseExtensions",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java
deleted file mode 100644
index 47802a784d..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * 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/api/control.proto
-
-package com.google.api;
-
-public final class ControlProto {
- private ControlProto() {}
-
- 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_api_Control_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Control_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\030google/api/control.proto\022\ngoogle.api\032\027"
- + "google/api/policy.proto\"Q\n\007Control\022\023\n\013en"
- + "vironment\030\001 \001(\t\0221\n\017method_policies\030\004 \003(\013"
- + "2\030.google.api.MethodPolicyBn\n\016com.google"
- + ".apiB\014ControlProtoP\001ZEgoogle.golang.org/"
- + "genproto/googleapis/api/serviceconfig;se"
- + "rviceconfig\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.PolicyProto.getDescriptor(),
- });
- internal_static_google_api_Control_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Control_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Control_descriptor,
- new java.lang.String[] {
- "Environment", "MethodPolicies",
- });
- com.google.api.PolicyProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java
deleted file mode 100644
index 3237218949..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- * 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/api/distribution.proto
-
-package com.google.api;
-
-public final class DistributionProto {
- private DistributionProto() {}
-
- 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_api_Distribution_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Distribution_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Distribution_Range_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Distribution_Range_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Distribution_BucketOptions_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Distribution_BucketOptions_Linear_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Distribution_Exemplar_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Distribution_Exemplar_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\035google/api/distribution.proto\022\ngoogle."
- + "api\032\031google/protobuf/any.proto\032\037google/p"
- + "rotobuf/timestamp.proto\"\331\006\n\014Distribution"
- + "\022\r\n\005count\030\001 \001(\003\022\014\n\004mean\030\002 \001(\001\022 \n\030sum_of_"
- + "squared_deviation\030\003 \001(\001\022-\n\005range\030\004 \001(\0132\036"
- + ".google.api.Distribution.Range\022>\n\016bucket"
- + "_options\030\006 \001(\0132&.google.api.Distribution"
- + ".BucketOptions\022\025\n\rbucket_counts\030\007 \003(\003\0224\n"
- + "\texemplars\030\n \003(\0132!.google.api.Distributi"
- + "on.Exemplar\032!\n\005Range\022\013\n\003min\030\001 \001(\001\022\013\n\003max"
- + "\030\002 \001(\001\032\265\003\n\rBucketOptions\022G\n\016linear_bucke"
- + "ts\030\001 \001(\0132-.google.api.Distribution.Bucke"
- + "tOptions.LinearH\000\022Q\n\023exponential_buckets"
- + "\030\002 \001(\01322.google.api.Distribution.BucketO"
- + "ptions.ExponentialH\000\022K\n\020explicit_buckets"
- + "\030\003 \001(\0132/.google.api.Distribution.BucketO"
- + "ptions.ExplicitH\000\032C\n\006Linear\022\032\n\022num_finit"
- + "e_buckets\030\001 \001(\005\022\r\n\005width\030\002 \001(\001\022\016\n\006offset"
- + "\030\003 \001(\001\032O\n\013Exponential\022\032\n\022num_finite_buck"
- + "ets\030\001 \001(\005\022\025\n\rgrowth_factor\030\002 \001(\001\022\r\n\005scal"
- + "e\030\003 \001(\001\032\032\n\010Explicit\022\016\n\006bounds\030\001 \003(\001B\t\n\007o"
- + "ptions\032s\n\010Exemplar\022\r\n\005value\030\001 \001(\001\022-\n\ttim"
- + "estamp\030\002 \001(\0132\032.google.protobuf.Timestamp"
- + "\022)\n\013attachments\030\003 \003(\0132\024.google.protobuf."
- + "AnyBq\n\016com.google.apiB\021DistributionProto"
- + "P\001ZCgoogle.golang.org/genproto/googleapi"
- + "s/api/distribution;distribution\242\002\004GAPIb\006"
- + "proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.AnyProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- });
- internal_static_google_api_Distribution_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Distribution_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Distribution_descriptor,
- new java.lang.String[] {
- "Count",
- "Mean",
- "SumOfSquaredDeviation",
- "Range",
- "BucketOptions",
- "BucketCounts",
- "Exemplars",
- });
- internal_static_google_api_Distribution_Range_descriptor =
- internal_static_google_api_Distribution_descriptor.getNestedTypes().get(0);
- internal_static_google_api_Distribution_Range_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Distribution_Range_descriptor,
- new java.lang.String[] {
- "Min", "Max",
- });
- internal_static_google_api_Distribution_BucketOptions_descriptor =
- internal_static_google_api_Distribution_descriptor.getNestedTypes().get(1);
- internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Distribution_BucketOptions_descriptor,
- new java.lang.String[] {
- "LinearBuckets", "ExponentialBuckets", "ExplicitBuckets", "Options",
- });
- internal_static_google_api_Distribution_BucketOptions_Linear_descriptor =
- internal_static_google_api_Distribution_BucketOptions_descriptor.getNestedTypes().get(0);
- internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Distribution_BucketOptions_Linear_descriptor,
- new java.lang.String[] {
- "NumFiniteBuckets", "Width", "Offset",
- });
- internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor =
- internal_static_google_api_Distribution_BucketOptions_descriptor.getNestedTypes().get(1);
- internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor,
- new java.lang.String[] {
- "NumFiniteBuckets", "GrowthFactor", "Scale",
- });
- internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor =
- internal_static_google_api_Distribution_BucketOptions_descriptor.getNestedTypes().get(2);
- internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor,
- new java.lang.String[] {
- "Bounds",
- });
- internal_static_google_api_Distribution_Exemplar_descriptor =
- internal_static_google_api_Distribution_descriptor.getNestedTypes().get(2);
- internal_static_google_api_Distribution_Exemplar_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Distribution_Exemplar_descriptor,
- new java.lang.String[] {
- "Value", "Timestamp", "Attachments",
- });
- com.google.protobuf.AnyProto.getDescriptor();
- com.google.protobuf.TimestampProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java
deleted file mode 100644
index e15d06447c..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * 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/api/documentation.proto
-
-package com.google.api;
-
-public final class DocumentationProto {
- private DocumentationProto() {}
-
- 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_api_Documentation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Documentation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_DocumentationRule_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_DocumentationRule_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Page_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Page_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\036google/api/documentation.proto\022\ngoogle"
- + ".api\"\273\001\n\rDocumentation\022\017\n\007summary\030\001 \001(\t\022"
- + "\037\n\005pages\030\005 \003(\0132\020.google.api.Page\022,\n\005rule"
- + "s\030\003 \003(\0132\035.google.api.DocumentationRule\022\036"
- + "\n\026documentation_root_url\030\004 \001(\t\022\030\n\020servic"
- + "e_root_url\030\006 \001(\t\022\020\n\010overview\030\002 \001(\t\"[\n\021Do"
- + "cumentationRule\022\020\n\010selector\030\001 \001(\t\022\023\n\013des"
- + "cription\030\002 \001(\t\022\037\n\027deprecation_descriptio"
- + "n\030\003 \001(\t\"I\n\004Page\022\014\n\004name\030\001 \001(\t\022\017\n\007content"
- + "\030\002 \001(\t\022\"\n\010subpages\030\003 \003(\0132\020.google.api.Pa"
- + "geBt\n\016com.google.apiB\022DocumentationProto"
- + "P\001ZEgoogle.golang.org/genproto/googleapi"
- + "s/api/serviceconfig;serviceconfig\242\002\004GAPI"
- + "b\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Documentation_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Documentation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Documentation_descriptor,
- new java.lang.String[] {
- "Summary", "Pages", "Rules", "DocumentationRootUrl", "ServiceRootUrl", "Overview",
- });
- internal_static_google_api_DocumentationRule_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_DocumentationRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_DocumentationRule_descriptor,
- new java.lang.String[] {
- "Selector", "Description", "DeprecationDescription",
- });
- internal_static_google_api_Page_descriptor = getDescriptor().getMessageTypes().get(2);
- internal_static_google_api_Page_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Page_descriptor,
- new java.lang.String[] {
- "Name", "Content", "Subpages",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java
deleted file mode 100644
index 196f1b64f6..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * 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/api/endpoint.proto
-
-package com.google.api;
-
-public final class EndpointProto {
- private EndpointProto() {}
-
- 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_api_Endpoint_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Endpoint_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\031google/api/endpoint.proto\022\ngoogle.api\""
- + "Q\n\010Endpoint\022\014\n\004name\030\001 \001(\t\022\023\n\007aliases\030\002 \003"
- + "(\tB\002\030\001\022\016\n\006target\030e \001(\t\022\022\n\nallow_cors\030\005 \001"
- + "(\010Bo\n\016com.google.apiB\rEndpointProtoP\001ZEg"
- + "oogle.golang.org/genproto/googleapis/api"
- + "/serviceconfig;serviceconfig\242\002\004GAPIb\006pro"
- + "to3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Endpoint_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Endpoint_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Endpoint_descriptor,
- new java.lang.String[] {
- "Name", "Aliases", "Target", "AllowCors",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
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
deleted file mode 100644
index 6642221913..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * 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/api/error_reason.proto
-
-package com.google.api;
-
-public final class ErrorReasonProto {
- private ErrorReasonProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n\035google/api/error_reason.proto\022\ngoogle."
- + "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_"
- + "REFERRER_BLOCKED\020\007\022\036\n\032API_KEY_IP_ADDRESS"
- + "_BLOCKED\020\010\022\037\n\033API_KEY_ANDROID_APP_BLOCKE"
- + "D\020\t\022\033\n\027API_KEY_IOS_APP_BLOCKED\020\r\022\027\n\023RATE"
- + "_LIMIT_EXCEEDED\020\005\022\033\n\027RESOURCE_QUOTA_EXCE"
- + "EDED\020\006\022 \n\034LOCATION_TAX_POLICY_VIOLATED\020\n"
- + "\022\027\n\023USER_PROJECT_DENIED\020\013\022\026\n\022CONSUMER_SU"
- + "SPENDED\020\014\022\024\n\020CONSUMER_INVALID\020\016\022\034\n\030SECUR"
- + "ITY_POLICY_VIOLATED\020\017\022\030\n\024ACCESS_TOKEN_EX"
- + "PIRED\020\020\022#\n\037ACCESS_TOKEN_SCOPE_INSUFFICIE"
- + "NT\020\021\022\031\n\025ACCOUNT_STATE_INVALID\020\022\022!\n\035ACCES"
- + "S_TOKEN_TYPE_UNSUPPORTED\020\023\022\027\n\023CREDENTIAL"
- + "S_MISSING\020\024\022\034\n\030RESOURCE_PROJECT_INVALID\020"
- + "\025\022\032\n\026SESSION_COOKIE_INVALID\020\027\022\031\n\025USER_BL"
- + "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\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(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java
deleted file mode 100644
index 5305eb275b..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * 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/api/field_behavior.proto
-
-package com.google.api;
-
-public final class FieldBehaviorProto {
- private FieldBehaviorProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- }
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static final int FIELD_BEHAVIOR_FIELD_NUMBER = 1052;
- /**
- *
- *
- * - * A designation of a specific field behavior (required, output only, etc.) - * in protobuf messages. - * - * Examples: - * - * string name = 1 [(google.api.field_behavior) = REQUIRED]; - * State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - * google.protobuf.Duration ttl = 1 - * [(google.api.field_behavior) = INPUT_ONLY]; - * google.protobuf.Timestamp expire_time = 1 - * [(google.api.field_behavior) = OUTPUT_ONLY, - * (google.api.field_behavior) = IMMUTABLE]; - *- * - *
extend .google.protobuf.FieldOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.FieldOptions,
- java.util.List- * Rich semantic descriptor of an API field beyond the basic typing. - * - * Examples: - * - * string request_id = 1 [(google.api.field_info).format = UUID4]; - * string old_ip_address = 2 [(google.api.field_info).format = IPV4]; - * string new_ip_address = 3 [(google.api.field_info).format = IPV6]; - * string actual_ip_address = 4 [ - * (google.api.field_info).format = IPV4_OR_IPV6 - * ]; - *- * - *
extend .google.protobuf.FieldOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.FieldOptions, com.google.api.FieldInfo>
- fieldInfo =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.FieldInfo.class, com.google.api.FieldInfo.getDefaultInstance());
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_FieldInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_FieldInfo_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\033google/api/field_info.proto\022\ngoogle.ap"
- + "i\032 google/protobuf/descriptor.proto\"\214\001\n\t"
- + "FieldInfo\022,\n\006format\030\001 \001(\0162\034.google.api.F"
- + "ieldInfo.Format\"Q\n\006Format\022\026\n\022FORMAT_UNSP"
- + "ECIFIED\020\000\022\t\n\005UUID4\020\001\022\010\n\004IPV4\020\002\022\010\n\004IPV6\020\003"
- + "\022\020\n\014IPV4_OR_IPV6\020\004:L\n\nfield_info\022\035.googl"
- + "e.protobuf.FieldOptions\030\314\361\371\212\001 \001(\0132\025.goog"
- + "le.api.FieldInfoBl\n\016com.google.apiB\016Fiel"
- + "dInfoProtoP\001ZAgoogle.golang.org/genproto"
- + "/googleapis/api/annotations;annotations\242"
- + "\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.DescriptorProtos.getDescriptor(),
- });
- internal_static_google_api_FieldInfo_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_FieldInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_FieldInfo_descriptor,
- new java.lang.String[] {
- "Format",
- });
- fieldInfo.internalInit(descriptor.getExtensions().get(0));
- com.google.protobuf.DescriptorProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java
deleted file mode 100644
index b136b6924b..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * 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/api/httpbody.proto
-
-package com.google.api;
-
-public final class HttpBodyProto {
- private HttpBodyProto() {}
-
- 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_api_HttpBody_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_HttpBody_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\031google/api/httpbody.proto\022\ngoogle.api\032"
- + "\031google/protobuf/any.proto\"X\n\010HttpBody\022\024"
- + "\n\014content_type\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\022(\n\nex"
- + "tensions\030\003 \003(\0132\024.google.protobuf.AnyBh\n\016"
- + "com.google.apiB\rHttpBodyProtoP\001Z;google."
- + "golang.org/genproto/googleapis/api/httpb"
- + "ody;httpbody\370\001\001\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.AnyProto.getDescriptor(),
- });
- internal_static_google_api_HttpBody_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_HttpBody_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_HttpBody_descriptor,
- new java.lang.String[] {
- "ContentType", "Data", "Extensions",
- });
- com.google.protobuf.AnyProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java
deleted file mode 100644
index 02dfa316be..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * 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/api/http.proto
-
-package com.google.api;
-
-public final class HttpProto {
- private HttpProto() {}
-
- 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_api_Http_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Http_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_HttpRule_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_HttpRule_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_CustomHttpPattern_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_CustomHttpPattern_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\025google/api/http.proto\022\ngoogle.api\"T\n\004H"
- + "ttp\022#\n\005rules\030\001 \003(\0132\024.google.api.HttpRule"
- + "\022\'\n\037fully_decode_reserved_expansion\030\002 \001("
- + "\010\"\201\002\n\010HttpRule\022\020\n\010selector\030\001 \001(\t\022\r\n\003get\030"
- + "\002 \001(\tH\000\022\r\n\003put\030\003 \001(\tH\000\022\016\n\004post\030\004 \001(\tH\000\022\020"
- + "\n\006delete\030\005 \001(\tH\000\022\017\n\005patch\030\006 \001(\tH\000\022/\n\006cus"
- + "tom\030\010 \001(\0132\035.google.api.CustomHttpPattern"
- + "H\000\022\014\n\004body\030\007 \001(\t\022\025\n\rresponse_body\030\014 \001(\t\022"
- + "1\n\023additional_bindings\030\013 \003(\0132\024.google.ap"
- + "i.HttpRuleB\t\n\007pattern\"/\n\021CustomHttpPatte"
- + "rn\022\014\n\004kind\030\001 \001(\t\022\014\n\004path\030\002 \001(\tBj\n\016com.go"
- + "ogle.apiB\tHttpProtoP\001ZAgoogle.golang.org"
- + "/genproto/googleapis/api/annotations;ann"
- + "otations\370\001\001\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Http_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Http_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Http_descriptor,
- new java.lang.String[] {
- "Rules", "FullyDecodeReservedExpansion",
- });
- internal_static_google_api_HttpRule_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_HttpRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_HttpRule_descriptor,
- new java.lang.String[] {
- "Selector",
- "Get",
- "Put",
- "Post",
- "Delete",
- "Patch",
- "Custom",
- "Body",
- "ResponseBody",
- "AdditionalBindings",
- "Pattern",
- });
- internal_static_google_api_CustomHttpPattern_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_api_CustomHttpPattern_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_CustomHttpPattern_descriptor,
- new java.lang.String[] {
- "Kind", "Path",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java
deleted file mode 100644
index 4a32bc4b8a..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * 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/api/label.proto
-
-package com.google.api;
-
-public final class LabelProto {
- private LabelProto() {}
-
- 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_api_LabelDescriptor_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_LabelDescriptor_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\026google/api/label.proto\022\ngoogle.api\"\234\001\n"
- + "\017LabelDescriptor\022\013\n\003key\030\001 \001(\t\0229\n\nvalue_t"
- + "ype\030\002 \001(\0162%.google.api.LabelDescriptor.V"
- + "alueType\022\023\n\013description\030\003 \001(\t\",\n\tValueTy"
- + "pe\022\n\n\006STRING\020\000\022\010\n\004BOOL\020\001\022\t\n\005INT64\020\002B_\n\016c"
- + "om.google.apiB\nLabelProtoP\001Z5google.gola"
- + "ng.org/genproto/googleapis/api/label;lab"
- + "el\370\001\001\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_LabelDescriptor_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_LabelDescriptor_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_LabelDescriptor_descriptor,
- new java.lang.String[] {
- "Key", "ValueType", "Description",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java
deleted file mode 100644
index acc85f9403..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * 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/api/launch_stage.proto
-
-package com.google.api;
-
-public final class LaunchStageProto {
- private LaunchStageProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n\035google/api/launch_stage.proto\022\ngoogle."
- + "api*\214\001\n\013LaunchStage\022\034\n\030LAUNCH_STAGE_UNSP"
- + "ECIFIED\020\000\022\021\n\rUNIMPLEMENTED\020\006\022\r\n\tPRELAUNC"
- + "H\020\007\022\020\n\014EARLY_ACCESS\020\001\022\t\n\005ALPHA\020\002\022\010\n\004BETA"
- + "\020\003\022\006\n\002GA\020\004\022\016\n\nDEPRECATED\020\005BZ\n\016com.google"
- + ".apiB\020LaunchStageProtoP\001Z-google.golang."
- + "org/genproto/googleapis/api;api\242\002\004GAPIb\006"
- + "proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java
deleted file mode 100644
index 2aaad09035..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * 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/api/log.proto
-
-package com.google.api;
-
-public final class LogProto {
- private LogProto() {}
-
- 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_api_LogDescriptor_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_LogDescriptor_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\024google/api/log.proto\022\ngoogle.api\032\026goog"
- + "le/api/label.proto\"u\n\rLogDescriptor\022\014\n\004n"
- + "ame\030\001 \001(\t\022+\n\006labels\030\002 \003(\0132\033.google.api.L"
- + "abelDescriptor\022\023\n\013description\030\003 \001(\t\022\024\n\014d"
- + "isplay_name\030\004 \001(\tBj\n\016com.google.apiB\010Log"
- + "ProtoP\001ZEgoogle.golang.org/genproto/goog"
- + "leapis/api/serviceconfig;serviceconfig\242\002"
- + "\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.LabelProto.getDescriptor(),
- });
- internal_static_google_api_LogDescriptor_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_LogDescriptor_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_LogDescriptor_descriptor,
- new java.lang.String[] {
- "Name", "Labels", "Description", "DisplayName",
- });
- com.google.api.LabelProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java
deleted file mode 100644
index 43c8d73225..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * 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/api/logging.proto
-
-package com.google.api;
-
-public final class LoggingProto {
- private LoggingProto() {}
-
- 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_api_Logging_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Logging_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Logging_LoggingDestination_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Logging_LoggingDestination_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\030google/api/logging.proto\022\ngoogle.api\"\327"
- + "\001\n\007Logging\022E\n\025producer_destinations\030\001 \003("
- + "\0132&.google.api.Logging.LoggingDestinatio"
- + "n\022E\n\025consumer_destinations\030\002 \003(\0132&.googl"
- + "e.api.Logging.LoggingDestination\032>\n\022Logg"
- + "ingDestination\022\032\n\022monitored_resource\030\003 \001"
- + "(\t\022\014\n\004logs\030\001 \003(\tBn\n\016com.google.apiB\014Logg"
- + "ingProtoP\001ZEgoogle.golang.org/genproto/g"
- + "oogleapis/api/serviceconfig;serviceconfi"
- + "g\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Logging_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Logging_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Logging_descriptor,
- new java.lang.String[] {
- "ProducerDestinations", "ConsumerDestinations",
- });
- internal_static_google_api_Logging_LoggingDestination_descriptor =
- internal_static_google_api_Logging_descriptor.getNestedTypes().get(0);
- internal_static_google_api_Logging_LoggingDestination_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Logging_LoggingDestination_descriptor,
- new java.lang.String[] {
- "MonitoredResource", "Logs",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java
deleted file mode 100644
index 43d694522c..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * 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/api/metric.proto
-
-package com.google.api;
-
-public final class MetricProto {
- private MetricProto() {}
-
- 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_api_MetricDescriptor_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MetricDescriptor_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Metric_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Metric_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Metric_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Metric_LabelsEntry_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\027google/api/metric.proto\022\ngoogle.api\032\026g"
- + "oogle/api/label.proto\032\035google/api/launch"
- + "_stage.proto\032\036google/protobuf/duration.p"
- + "roto\"\237\006\n\020MetricDescriptor\022\014\n\004name\030\001 \001(\t\022"
- + "\014\n\004type\030\010 \001(\t\022+\n\006labels\030\002 \003(\0132\033.google.a"
- + "pi.LabelDescriptor\022<\n\013metric_kind\030\003 \001(\0162"
- + "\'.google.api.MetricDescriptor.MetricKind"
- + "\022:\n\nvalue_type\030\004 \001(\0162&.google.api.Metric"
- + "Descriptor.ValueType\022\014\n\004unit\030\005 \001(\t\022\023\n\013de"
- + "scription\030\006 \001(\t\022\024\n\014display_name\030\007 \001(\t\022G\n"
- + "\010metadata\030\n \001(\01325.google.api.MetricDescr"
- + "iptor.MetricDescriptorMetadata\022-\n\014launch"
- + "_stage\030\014 \001(\0162\027.google.api.LaunchStage\022 \n"
- + "\030monitored_resource_types\030\r \003(\t\032\260\001\n\030Metr"
- + "icDescriptorMetadata\0221\n\014launch_stage\030\001 \001"
- + "(\0162\027.google.api.LaunchStageB\002\030\001\0220\n\rsampl"
- + "e_period\030\002 \001(\0132\031.google.protobuf.Duratio"
- + "n\022/\n\014ingest_delay\030\003 \001(\0132\031.google.protobu"
- + "f.Duration\"O\n\nMetricKind\022\033\n\027METRIC_KIND_"
- + "UNSPECIFIED\020\000\022\t\n\005GAUGE\020\001\022\t\n\005DELTA\020\002\022\016\n\nC"
- + "UMULATIVE\020\003\"q\n\tValueType\022\032\n\026VALUE_TYPE_U"
- + "NSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\t\n\005INT64\020\002\022\n\n\006DOU"
- + "BLE\020\003\022\n\n\006STRING\020\004\022\020\n\014DISTRIBUTION\020\005\022\t\n\005M"
- + "ONEY\020\006\"u\n\006Metric\022\014\n\004type\030\003 \001(\t\022.\n\006labels"
- + "\030\002 \003(\0132\036.google.api.Metric.LabelsEntry\032-"
- + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
- + "\t:\0028\001B_\n\016com.google.apiB\013MetricProtoP\001Z7"
- + "google.golang.org/genproto/googleapis/ap"
- + "i/metric;metric\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.LabelProto.getDescriptor(),
- com.google.api.LaunchStageProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- });
- internal_static_google_api_MetricDescriptor_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_MetricDescriptor_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MetricDescriptor_descriptor,
- new java.lang.String[] {
- "Name",
- "Type",
- "Labels",
- "MetricKind",
- "ValueType",
- "Unit",
- "Description",
- "DisplayName",
- "Metadata",
- "LaunchStage",
- "MonitoredResourceTypes",
- });
- internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor =
- internal_static_google_api_MetricDescriptor_descriptor.getNestedTypes().get(0);
- internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor,
- new java.lang.String[] {
- "LaunchStage", "SamplePeriod", "IngestDelay",
- });
- internal_static_google_api_Metric_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_Metric_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Metric_descriptor,
- new java.lang.String[] {
- "Type", "Labels",
- });
- internal_static_google_api_Metric_LabelsEntry_descriptor =
- internal_static_google_api_Metric_descriptor.getNestedTypes().get(0);
- internal_static_google_api_Metric_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Metric_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- com.google.api.LabelProto.getDescriptor();
- com.google.api.LaunchStageProto.getDescriptor();
- com.google.protobuf.DurationProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java
deleted file mode 100644
index 4d4a2321fd..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
- * 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/api/monitored_resource.proto
-
-package com.google.api;
-
-public final class MonitoredResourceProto {
- private MonitoredResourceProto() {}
-
- 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_api_MonitoredResourceDescriptor_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MonitoredResource_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MonitoredResource_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MonitoredResource_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MonitoredResource_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MonitoredResourceMetadata_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_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/api/monitored_resource.proto\022\ng"
- + "oogle.api\032\026google/api/label.proto\032\035googl"
- + "e/api/launch_stage.proto\032\034google/protobu"
- + "f/struct.proto\"\300\001\n\033MonitoredResourceDesc"
- + "riptor\022\014\n\004name\030\005 \001(\t\022\014\n\004type\030\001 \001(\t\022\024\n\014di"
- + "splay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022+\n"
- + "\006labels\030\004 \003(\0132\033.google.api.LabelDescript"
- + "or\022-\n\014launch_stage\030\007 \001(\0162\027.google.api.La"
- + "unchStage\"\213\001\n\021MonitoredResource\022\014\n\004type\030"
- + "\001 \001(\t\0229\n\006labels\030\002 \003(\0132).google.api.Monit"
- + "oredResource.LabelsEntry\032-\n\013LabelsEntry\022"
- + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\312\001\n\031Moni"
- + "toredResourceMetadata\022.\n\rsystem_labels\030\001"
- + " \001(\0132\027.google.protobuf.Struct\022J\n\013user_la"
- + "bels\030\002 \003(\01325.google.api.MonitoredResourc"
- + "eMetadata.UserLabelsEntry\0321\n\017UserLabelsE"
- + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001By\n\016"
- + "com.google.apiB\026MonitoredResourceProtoP\001"
- + "ZCgoogle.golang.org/genproto/googleapis/"
- + "api/monitoredres;monitoredres\370\001\001\242\002\004GAPIb"
- + "\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.LabelProto.getDescriptor(),
- com.google.api.LaunchStageProto.getDescriptor(),
- com.google.protobuf.StructProto.getDescriptor(),
- });
- internal_static_google_api_MonitoredResourceDescriptor_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MonitoredResourceDescriptor_descriptor,
- new java.lang.String[] {
- "Name", "Type", "DisplayName", "Description", "Labels", "LaunchStage",
- });
- internal_static_google_api_MonitoredResource_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_MonitoredResource_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MonitoredResource_descriptor,
- new java.lang.String[] {
- "Type", "Labels",
- });
- internal_static_google_api_MonitoredResource_LabelsEntry_descriptor =
- internal_static_google_api_MonitoredResource_descriptor.getNestedTypes().get(0);
- internal_static_google_api_MonitoredResource_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MonitoredResource_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_api_MonitoredResourceMetadata_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MonitoredResourceMetadata_descriptor,
- new java.lang.String[] {
- "SystemLabels", "UserLabels",
- });
- internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_descriptor =
- internal_static_google_api_MonitoredResourceMetadata_descriptor.getNestedTypes().get(0);
- internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- com.google.api.LabelProto.getDescriptor();
- com.google.api.LaunchStageProto.getDescriptor();
- com.google.protobuf.StructProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java
deleted file mode 100644
index f71eac12f1..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * 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/api/monitoring.proto
-
-package com.google.api;
-
-public final class MonitoringProto {
- private MonitoringProto() {}
-
- 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_api_Monitoring_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Monitoring_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Monitoring_MonitoringDestination_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Monitoring_MonitoringDestination_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\033google/api/monitoring.proto\022\ngoogle.ap"
- + "i\"\354\001\n\nMonitoring\022K\n\025producer_destination"
- + "s\030\001 \003(\0132,.google.api.Monitoring.Monitori"
- + "ngDestination\022K\n\025consumer_destinations\030\002"
- + " \003(\0132,.google.api.Monitoring.MonitoringD"
- + "estination\032D\n\025MonitoringDestination\022\032\n\022m"
- + "onitored_resource\030\001 \001(\t\022\017\n\007metrics\030\002 \003(\t"
- + "Bq\n\016com.google.apiB\017MonitoringProtoP\001ZEg"
- + "oogle.golang.org/genproto/googleapis/api"
- + "/serviceconfig;serviceconfig\242\002\004GAPIb\006pro"
- + "to3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Monitoring_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Monitoring_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Monitoring_descriptor,
- new java.lang.String[] {
- "ProducerDestinations", "ConsumerDestinations",
- });
- internal_static_google_api_Monitoring_MonitoringDestination_descriptor =
- internal_static_google_api_Monitoring_descriptor.getNestedTypes().get(0);
- internal_static_google_api_Monitoring_MonitoringDestination_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Monitoring_MonitoringDestination_descriptor,
- new java.lang.String[] {
- "MonitoredResource", "Metrics",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java
deleted file mode 100644
index 96f4f9abe8..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * 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/api/policy.proto
-
-package com.google.api;
-
-public final class PolicyProto {
- private PolicyProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
- registry.add(com.google.api.PolicyProto.fieldPolicy);
- registry.add(com.google.api.PolicyProto.methodPolicy);
- }
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static final int FIELD_POLICY_FIELD_NUMBER = 158361448;
- /**
- *
- *
- * - * See [FieldPolicy][]. - *- * - *
extend .google.protobuf.FieldOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.FieldOptions, com.google.api.FieldPolicy>
- fieldPolicy =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.FieldPolicy.class, com.google.api.FieldPolicy.getDefaultInstance());
-
- public static final int METHOD_POLICY_FIELD_NUMBER = 161893301;
- /**
- *
- *
- * - * See [MethodPolicy][]. - *- * - *
extend .google.protobuf.MethodOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MethodOptions, com.google.api.MethodPolicy>
- methodPolicy =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.MethodPolicy.class, com.google.api.MethodPolicy.getDefaultInstance());
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_FieldPolicy_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_FieldPolicy_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MethodPolicy_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MethodPolicy_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\027google/api/policy.proto\022\ngoogle.api\032 g"
- + "oogle/protobuf/descriptor.proto\"S\n\013Field"
- + "Policy\022\020\n\010selector\030\001 \001(\t\022\033\n\023resource_per"
- + "mission\030\002 \001(\t\022\025\n\rresource_type\030\003 \001(\t\"S\n\014"
- + "MethodPolicy\022\020\n\010selector\030\t \001(\t\0221\n\020reques"
- + "t_policies\030\002 \003(\0132\027.google.api.FieldPolic"
- + "y:O\n\014field_policy\022\035.google.protobuf.Fiel"
- + "dOptions\030\350\316\301K \001(\0132\027.google.api.FieldPoli"
- + "cy:R\n\rmethod_policy\022\036.google.protobuf.Me"
- + "thodOptions\030\265\227\231M \001(\0132\030.google.api.Method"
- + "PolicyBp\n\016com.google.apiB\013PolicyProtoP\001Z"
- + "Egoogle.golang.org/genproto/googleapis/a"
- + "pi/serviceconfig;serviceconfig\370\001\001\242\002\004GAPI"
- + "b\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.DescriptorProtos.getDescriptor(),
- });
- internal_static_google_api_FieldPolicy_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_FieldPolicy_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_FieldPolicy_descriptor,
- new java.lang.String[] {
- "Selector", "ResourcePermission", "ResourceType",
- });
- internal_static_google_api_MethodPolicy_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_MethodPolicy_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MethodPolicy_descriptor,
- new java.lang.String[] {
- "Selector", "RequestPolicies",
- });
- fieldPolicy.internalInit(descriptor.getExtensions().get(0));
- methodPolicy.internalInit(descriptor.getExtensions().get(1));
- com.google.protobuf.DescriptorProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java
deleted file mode 100644
index 33c663c8ef..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- * 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/api/quota.proto
-
-package com.google.api;
-
-public final class QuotaProto {
- private QuotaProto() {}
-
- 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_api_Quota_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Quota_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MetricRule_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MetricRule_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_MetricRule_MetricCostsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_MetricRule_MetricCostsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_QuotaLimit_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_QuotaLimit_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_QuotaLimit_ValuesEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_QuotaLimit_ValuesEntry_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\026google/api/quota.proto\022\ngoogle.api\"]\n\005"
- + "Quota\022&\n\006limits\030\003 \003(\0132\026.google.api.Quota"
- + "Limit\022,\n\014metric_rules\030\004 \003(\0132\026.google.api"
- + ".MetricRule\"\221\001\n\nMetricRule\022\020\n\010selector\030\001"
- + " \001(\t\022=\n\014metric_costs\030\002 \003(\0132\'.google.api."
- + "MetricRule.MetricCostsEntry\0322\n\020MetricCos"
- + "tsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\""
- + "\225\002\n\nQuotaLimit\022\014\n\004name\030\006 \001(\t\022\023\n\013descript"
- + "ion\030\002 \001(\t\022\025\n\rdefault_limit\030\003 \001(\003\022\021\n\tmax_"
- + "limit\030\004 \001(\003\022\021\n\tfree_tier\030\007 \001(\003\022\020\n\010durati"
- + "on\030\005 \001(\t\022\016\n\006metric\030\010 \001(\t\022\014\n\004unit\030\t \001(\t\0222"
- + "\n\006values\030\n \003(\0132\".google.api.QuotaLimit.V"
- + "aluesEntry\022\024\n\014display_name\030\014 \001(\t\032-\n\013Valu"
- + "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B"
- + "l\n\016com.google.apiB\nQuotaProtoP\001ZEgoogle."
- + "golang.org/genproto/googleapis/api/servi"
- + "ceconfig;serviceconfig\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Quota_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Quota_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Quota_descriptor,
- new java.lang.String[] {
- "Limits", "MetricRules",
- });
- internal_static_google_api_MetricRule_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_MetricRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MetricRule_descriptor,
- new java.lang.String[] {
- "Selector", "MetricCosts",
- });
- internal_static_google_api_MetricRule_MetricCostsEntry_descriptor =
- internal_static_google_api_MetricRule_descriptor.getNestedTypes().get(0);
- internal_static_google_api_MetricRule_MetricCostsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_MetricRule_MetricCostsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_api_QuotaLimit_descriptor = getDescriptor().getMessageTypes().get(2);
- internal_static_google_api_QuotaLimit_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_QuotaLimit_descriptor,
- new java.lang.String[] {
- "Name",
- "Description",
- "DefaultLimit",
- "MaxLimit",
- "FreeTier",
- "Duration",
- "Metric",
- "Unit",
- "Values",
- "DisplayName",
- });
- internal_static_google_api_QuotaLimit_ValuesEntry_descriptor =
- internal_static_google_api_QuotaLimit_descriptor.getNestedTypes().get(0);
- internal_static_google_api_QuotaLimit_ValuesEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_QuotaLimit_ValuesEntry_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/ResourceProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java
deleted file mode 100644
index 80c375e126..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * 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/api/resource.proto
-
-package com.google.api;
-
-public final class ResourceProto {
- private ResourceProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
- registry.add(com.google.api.ResourceProto.resourceReference);
- registry.add(com.google.api.ResourceProto.resourceDefinition);
- registry.add(com.google.api.ResourceProto.resource);
- }
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static final int RESOURCE_REFERENCE_FIELD_NUMBER = 1055;
- /**
- *
- *
- * - * An annotation that describes a resource reference, see - * [ResourceReference][]. - *- * - *
extend .google.protobuf.FieldOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.FieldOptions, com.google.api.ResourceReference>
- resourceReference =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.ResourceReference.class,
- com.google.api.ResourceReference.getDefaultInstance());
-
- public static final int RESOURCE_DEFINITION_FIELD_NUMBER = 1053;
- /**
- *
- *
- * - * An annotation that describes a resource definition without a corresponding - * message; see [ResourceDescriptor][]. - *- * - *
extend .google.protobuf.FileOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.FileOptions,
- java.util.List- * An annotation that describes a resource definition, see - * [ResourceDescriptor][]. - *- * - *
extend .google.protobuf.MessageOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MessageOptions, com.google.api.ResourceDescriptor>
- resource =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.ResourceDescriptor.class,
- com.google.api.ResourceDescriptor.getDefaultInstance());
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_ResourceDescriptor_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_ResourceDescriptor_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_ResourceReference_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_ResourceReference_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\031google/api/resource.proto\022\ngoogle.api\032"
- + " google/protobuf/descriptor.proto\"\356\002\n\022Re"
- + "sourceDescriptor\022\014\n\004type\030\001 \001(\t\022\017\n\007patter"
- + "n\030\002 \003(\t\022\022\n\nname_field\030\003 \001(\t\0227\n\007history\030\004"
- + " \001(\0162&.google.api.ResourceDescriptor.His"
- + "tory\022\016\n\006plural\030\005 \001(\t\022\020\n\010singular\030\006 \001(\t\0223"
- + "\n\005style\030\n \003(\0162$.google.api.ResourceDescr"
- + "iptor.Style\"[\n\007History\022\027\n\023HISTORY_UNSPEC"
- + "IFIED\020\000\022\035\n\031ORIGINALLY_SINGLE_PATTERN\020\001\022\030"
- + "\n\024FUTURE_MULTI_PATTERN\020\002\"8\n\005Style\022\025\n\021STY"
- + "LE_UNSPECIFIED\020\000\022\030\n\024DECLARATIVE_FRIENDLY"
- + "\020\001\"5\n\021ResourceReference\022\014\n\004type\030\001 \001(\t\022\022\n"
- + "\nchild_type\030\002 \001(\t:Y\n\022resource_reference\022"
- + "\035.google.protobuf.FieldOptions\030\237\010 \001(\0132\035."
- + "google.api.ResourceReference:Z\n\023resource"
- + "_definition\022\034.google.protobuf.FileOption"
- + "s\030\235\010 \003(\0132\036.google.api.ResourceDescriptor"
- + ":R\n\010resource\022\037.google.protobuf.MessageOp"
- + "tions\030\235\010 \001(\0132\036.google.api.ResourceDescri"
- + "ptorBn\n\016com.google.apiB\rResourceProtoP\001Z"
- + "Agoogle.golang.org/genproto/googleapis/a"
- + "pi/annotations;annotations\370\001\001\242\002\004GAPIb\006pr"
- + "oto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.DescriptorProtos.getDescriptor(),
- });
- internal_static_google_api_ResourceDescriptor_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_ResourceDescriptor_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_ResourceDescriptor_descriptor,
- new java.lang.String[] {
- "Type", "Pattern", "NameField", "History", "Plural", "Singular", "Style",
- });
- internal_static_google_api_ResourceReference_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_ResourceReference_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_ResourceReference_descriptor,
- new java.lang.String[] {
- "Type", "ChildType",
- });
- resourceReference.internalInit(descriptor.getExtensions().get(0));
- resourceDefinition.internalInit(descriptor.getExtensions().get(1));
- resource.internalInit(descriptor.getExtensions().get(2));
- com.google.protobuf.DescriptorProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java
deleted file mode 100644
index 31189bf5e6..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * 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/api/routing.proto
-
-package com.google.api;
-
-public final class RoutingProto {
- private RoutingProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
- registry.add(com.google.api.RoutingProto.routing);
- }
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static final int ROUTING_FIELD_NUMBER = 72295729;
- /**
- *
- *
- * - * See RoutingRule. - *- * - *
extend .google.protobuf.MethodOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MethodOptions, com.google.api.RoutingRule>
- routing =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.RoutingRule.class, com.google.api.RoutingRule.getDefaultInstance());
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_RoutingRule_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_RoutingRule_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_RoutingParameter_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_RoutingParameter_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\030google/api/routing.proto\022\ngoogle.api\032 "
- + "google/protobuf/descriptor.proto\"G\n\013Rout"
- + "ingRule\0228\n\022routing_parameters\030\002 \003(\0132\034.go"
- + "ogle.api.RoutingParameter\"8\n\020RoutingPara"
- + "meter\022\r\n\005field\030\001 \001(\t\022\025\n\rpath_template\030\002 "
- + "\001(\t:K\n\007routing\022\036.google.protobuf.MethodO"
- + "ptions\030\261\312\274\" \001(\0132\027.google.api.RoutingRule"
- + "Bj\n\016com.google.apiB\014RoutingProtoP\001ZAgoog"
- + "le.golang.org/genproto/googleapis/api/an"
- + "notations;annotations\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.DescriptorProtos.getDescriptor(),
- });
- internal_static_google_api_RoutingRule_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_RoutingRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_RoutingRule_descriptor,
- new java.lang.String[] {
- "RoutingParameters",
- });
- internal_static_google_api_RoutingParameter_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_RoutingParameter_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_RoutingParameter_descriptor,
- new java.lang.String[] {
- "Field", "PathTemplate",
- });
- routing.internalInit(descriptor.getExtensions().get(0));
- com.google.protobuf.DescriptorProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java
deleted file mode 100644
index 1f5f57d815..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/*
- * 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/api/service.proto
-
-package com.google.api;
-
-public final class ServiceProto {
- private ServiceProto() {}
-
- 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_api_Service_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Service_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\030google/api/service.proto\022\ngoogle.api\032\025"
- + "google/api/auth.proto\032\030google/api/backen"
- + "d.proto\032\030google/api/billing.proto\032\027googl"
- + "e/api/client.proto\032\030google/api/context.p"
- + "roto\032\030google/api/control.proto\032\036google/a"
- + "pi/documentation.proto\032\031google/api/endpo"
- + "int.proto\032\025google/api/http.proto\032\024google"
- + "/api/log.proto\032\030google/api/logging.proto"
- + "\032\027google/api/metric.proto\032#google/api/mo"
- + "nitored_resource.proto\032\033google/api/monit"
- + "oring.proto\032\026google/api/quota.proto\032\034goo"
- + "gle/api/source_info.proto\032!google/api/sy"
- + "stem_parameter.proto\032\026google/api/usage.p"
- + "roto\032\031google/protobuf/api.proto\032\032google/"
- + "protobuf/type.proto\032\036google/protobuf/wra"
- + "ppers.proto\"\202\010\n\007Service\022\014\n\004name\030\001 \001(\t\022\r\n"
- + "\005title\030\002 \001(\t\022\033\n\023producer_project_id\030\026 \001("
- + "\t\022\n\n\002id\030! \001(\t\022\"\n\004apis\030\003 \003(\0132\024.google.pro"
- + "tobuf.Api\022$\n\005types\030\004 \003(\0132\025.google.protob"
- + "uf.Type\022$\n\005enums\030\005 \003(\0132\025.google.protobuf"
- + ".Enum\0220\n\rdocumentation\030\006 \001(\0132\031.google.ap"
- + "i.Documentation\022$\n\007backend\030\010 \001(\0132\023.googl"
- + "e.api.Backend\022\036\n\004http\030\t \001(\0132\020.google.api"
- + ".Http\022 \n\005quota\030\n \001(\0132\021.google.api.Quota\022"
- + "2\n\016authentication\030\013 \001(\0132\032.google.api.Aut"
- + "hentication\022$\n\007context\030\014 \001(\0132\023.google.ap"
- + "i.Context\022 \n\005usage\030\017 \001(\0132\021.google.api.Us"
- + "age\022\'\n\tendpoints\030\022 \003(\0132\024.google.api.Endp"
- + "oint\022$\n\007control\030\025 \001(\0132\023.google.api.Contr"
- + "ol\022\'\n\004logs\030\027 \003(\0132\031.google.api.LogDescrip"
- + "tor\022-\n\007metrics\030\030 \003(\0132\034.google.api.Metric"
- + "Descriptor\022D\n\023monitored_resources\030\031 \003(\0132"
- + "\'.google.api.MonitoredResourceDescriptor"
- + "\022$\n\007billing\030\032 \001(\0132\023.google.api.Billing\022$"
- + "\n\007logging\030\033 \001(\0132\023.google.api.Logging\022*\n\n"
- + "monitoring\030\034 \001(\0132\026.google.api.Monitoring"
- + "\0227\n\021system_parameters\030\035 \001(\0132\034.google.api"
- + ".SystemParameters\022+\n\013source_info\030% \001(\0132\026"
- + ".google.api.SourceInfo\022*\n\npublishing\030- \001"
- + "(\0132\026.google.api.Publishing\0224\n\016config_ver"
- + "sion\030\024 \001(\0132\034.google.protobuf.UInt32Value"
- + "Bn\n\016com.google.apiB\014ServiceProtoP\001ZEgoog"
- + "le.golang.org/genproto/googleapis/api/se"
- + "rviceconfig;serviceconfig\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AuthProto.getDescriptor(),
- com.google.api.BackendProto.getDescriptor(),
- com.google.api.BillingProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- com.google.api.ContextProto.getDescriptor(),
- com.google.api.ControlProto.getDescriptor(),
- com.google.api.DocumentationProto.getDescriptor(),
- com.google.api.EndpointProto.getDescriptor(),
- com.google.api.HttpProto.getDescriptor(),
- com.google.api.LogProto.getDescriptor(),
- com.google.api.LoggingProto.getDescriptor(),
- com.google.api.MetricProto.getDescriptor(),
- com.google.api.MonitoredResourceProto.getDescriptor(),
- com.google.api.MonitoringProto.getDescriptor(),
- com.google.api.QuotaProto.getDescriptor(),
- com.google.api.SourceInfoProto.getDescriptor(),
- com.google.api.SystemParameterProto.getDescriptor(),
- com.google.api.UsageProto.getDescriptor(),
- com.google.protobuf.ApiProto.getDescriptor(),
- com.google.protobuf.TypeProto.getDescriptor(),
- com.google.protobuf.WrappersProto.getDescriptor(),
- });
- internal_static_google_api_Service_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Service_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Service_descriptor,
- new java.lang.String[] {
- "Name",
- "Title",
- "ProducerProjectId",
- "Id",
- "Apis",
- "Types",
- "Enums",
- "Documentation",
- "Backend",
- "Http",
- "Quota",
- "Authentication",
- "Context",
- "Usage",
- "Endpoints",
- "Control",
- "Logs",
- "Metrics",
- "MonitoredResources",
- "Billing",
- "Logging",
- "Monitoring",
- "SystemParameters",
- "SourceInfo",
- "Publishing",
- "ConfigVersion",
- });
- com.google.api.AuthProto.getDescriptor();
- com.google.api.BackendProto.getDescriptor();
- com.google.api.BillingProto.getDescriptor();
- com.google.api.ClientProto.getDescriptor();
- com.google.api.ContextProto.getDescriptor();
- com.google.api.ControlProto.getDescriptor();
- com.google.api.DocumentationProto.getDescriptor();
- com.google.api.EndpointProto.getDescriptor();
- com.google.api.HttpProto.getDescriptor();
- com.google.api.LogProto.getDescriptor();
- com.google.api.LoggingProto.getDescriptor();
- com.google.api.MetricProto.getDescriptor();
- com.google.api.MonitoredResourceProto.getDescriptor();
- com.google.api.MonitoringProto.getDescriptor();
- com.google.api.QuotaProto.getDescriptor();
- com.google.api.SourceInfoProto.getDescriptor();
- com.google.api.SystemParameterProto.getDescriptor();
- com.google.api.UsageProto.getDescriptor();
- com.google.protobuf.ApiProto.getDescriptor();
- com.google.protobuf.TypeProto.getDescriptor();
- com.google.protobuf.WrappersProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java
deleted file mode 100644
index 7c1b540d5b..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * 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/api/source_info.proto
-
-package com.google.api;
-
-public final class SourceInfoProto {
- private SourceInfoProto() {}
-
- 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_api_SourceInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_SourceInfo_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\034google/api/source_info.proto\022\ngoogle.a"
- + "pi\032\031google/protobuf/any.proto\"8\n\nSourceI"
- + "nfo\022*\n\014source_files\030\001 \003(\0132\024.google.proto"
- + "buf.AnyBq\n\016com.google.apiB\017SourceInfoPro"
- + "toP\001ZEgoogle.golang.org/genproto/googlea"
- + "pis/api/serviceconfig;serviceconfig\242\002\004GA"
- + "PIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.AnyProto.getDescriptor(),
- });
- internal_static_google_api_SourceInfo_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_SourceInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_SourceInfo_descriptor,
- new java.lang.String[] {
- "SourceFiles",
- });
- com.google.protobuf.AnyProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java
deleted file mode 100644
index 1d1b9c28ff..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * 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/api/system_parameter.proto
-
-package com.google.api;
-
-public final class SystemParameterProto {
- private SystemParameterProto() {}
-
- 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_api_SystemParameters_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_SystemParameters_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_SystemParameterRule_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_SystemParameterRule_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_SystemParameter_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_SystemParameter_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/api/system_parameter.proto\022\ngoo"
- + "gle.api\"B\n\020SystemParameters\022.\n\005rules\030\001 \003"
- + "(\0132\037.google.api.SystemParameterRule\"X\n\023S"
- + "ystemParameterRule\022\020\n\010selector\030\001 \001(\t\022/\n\n"
- + "parameters\030\002 \003(\0132\033.google.api.SystemPara"
- + "meter\"Q\n\017SystemParameter\022\014\n\004name\030\001 \001(\t\022\023"
- + "\n\013http_header\030\002 \001(\t\022\033\n\023url_query_paramet"
- + "er\030\003 \001(\tBv\n\016com.google.apiB\024SystemParame"
- + "terProtoP\001ZEgoogle.golang.org/genproto/g"
- + "oogleapis/api/serviceconfig;serviceconfi"
- + "g\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_SystemParameters_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_SystemParameters_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_SystemParameters_descriptor,
- new java.lang.String[] {
- "Rules",
- });
- internal_static_google_api_SystemParameterRule_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_SystemParameterRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_SystemParameterRule_descriptor,
- new java.lang.String[] {
- "Selector", "Parameters",
- });
- internal_static_google_api_SystemParameter_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_api_SystemParameter_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_SystemParameter_descriptor,
- new java.lang.String[] {
- "Name", "HttpHeader", "UrlQueryParameter",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java
deleted file mode 100644
index 07163a828c..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * 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/api/usage.proto
-
-package com.google.api;
-
-public final class UsageProto {
- private UsageProto() {}
-
- 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_api_Usage_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Usage_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_UsageRule_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_UsageRule_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\026google/api/usage.proto\022\ngoogle.api\"j\n\005"
- + "Usage\022\024\n\014requirements\030\001 \003(\t\022$\n\005rules\030\006 \003"
- + "(\0132\025.google.api.UsageRule\022%\n\035producer_no"
- + "tification_channel\030\007 \001(\t\"]\n\tUsageRule\022\020\n"
- + "\010selector\030\001 \001(\t\022 \n\030allow_unregistered_ca"
- + "lls\030\002 \001(\010\022\034\n\024skip_service_control\030\003 \001(\010B"
- + "l\n\016com.google.apiB\nUsageProtoP\001ZEgoogle."
- + "golang.org/genproto/googleapis/api/servi"
- + "ceconfig;serviceconfig\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_api_Usage_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Usage_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Usage_descriptor,
- new java.lang.String[] {
- "Requirements", "Rules", "ProducerNotificationChannel",
- });
- internal_static_google_api_UsageRule_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_UsageRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_UsageRule_descriptor,
- new java.lang.String[] {
- "Selector", "AllowUnregisteredCalls", "SkipServiceControl",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java
deleted file mode 100644
index aaa371cf61..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java
+++ /dev/null
@@ -1,209 +0,0 @@
-/*
- * 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/api/visibility.proto
-
-package com.google.api;
-
-public final class VisibilityProto {
- private VisibilityProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
- registry.add(com.google.api.VisibilityProto.enumVisibility);
- registry.add(com.google.api.VisibilityProto.valueVisibility);
- registry.add(com.google.api.VisibilityProto.fieldVisibility);
- registry.add(com.google.api.VisibilityProto.messageVisibility);
- registry.add(com.google.api.VisibilityProto.methodVisibility);
- registry.add(com.google.api.VisibilityProto.apiVisibility);
- }
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static final int ENUM_VISIBILITY_FIELD_NUMBER = 72295727;
- /**
- *
- *
- * - * See `VisibilityRule`. - *- * - *
extend .google.protobuf.EnumOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.EnumOptions, com.google.api.VisibilityRule>
- enumVisibility =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.VisibilityRule.class,
- com.google.api.VisibilityRule.getDefaultInstance());
-
- public static final int VALUE_VISIBILITY_FIELD_NUMBER = 72295727;
- /**
- *
- *
- * - * See `VisibilityRule`. - *- * - *
extend .google.protobuf.EnumValueOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.api.VisibilityRule>
- valueVisibility =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.VisibilityRule.class,
- com.google.api.VisibilityRule.getDefaultInstance());
-
- public static final int FIELD_VISIBILITY_FIELD_NUMBER = 72295727;
- /**
- *
- *
- * - * See `VisibilityRule`. - *- * - *
extend .google.protobuf.FieldOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.FieldOptions, com.google.api.VisibilityRule>
- fieldVisibility =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.VisibilityRule.class,
- com.google.api.VisibilityRule.getDefaultInstance());
-
- public static final int MESSAGE_VISIBILITY_FIELD_NUMBER = 72295727;
- /**
- *
- *
- * - * See `VisibilityRule`. - *- * - *
extend .google.protobuf.MessageOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MessageOptions, com.google.api.VisibilityRule>
- messageVisibility =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.VisibilityRule.class,
- com.google.api.VisibilityRule.getDefaultInstance());
-
- public static final int METHOD_VISIBILITY_FIELD_NUMBER = 72295727;
- /**
- *
- *
- * - * See `VisibilityRule`. - *- * - *
extend .google.protobuf.MethodOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MethodOptions, com.google.api.VisibilityRule>
- methodVisibility =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.VisibilityRule.class,
- com.google.api.VisibilityRule.getDefaultInstance());
-
- public static final int API_VISIBILITY_FIELD_NUMBER = 72295727;
- /**
- *
- *
- * - * See `VisibilityRule`. - *- * - *
extend .google.protobuf.ServiceOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.api.VisibilityRule>
- apiVisibility =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.api.VisibilityRule.class,
- com.google.api.VisibilityRule.getDefaultInstance());
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_Visibility_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_Visibility_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_api_VisibilityRule_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_api_VisibilityRule_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\033google/api/visibility.proto\022\ngoogle.ap"
- + "i\032 google/protobuf/descriptor.proto\"7\n\nV"
- + "isibility\022)\n\005rules\030\001 \003(\0132\032.google.api.Vi"
- + "sibilityRule\"7\n\016VisibilityRule\022\020\n\010select"
- + "or\030\001 \001(\t\022\023\n\013restriction\030\002 \001(\t:T\n\017enum_vi"
- + "sibility\022\034.google.protobuf.EnumOptions\030\257"
- + "\312\274\" \001(\0132\032.google.api.VisibilityRule:Z\n\020v"
- + "alue_visibility\022!.google.protobuf.EnumVa"
- + "lueOptions\030\257\312\274\" \001(\0132\032.google.api.Visibil"
- + "ityRule:V\n\020field_visibility\022\035.google.pro"
- + "tobuf.FieldOptions\030\257\312\274\" \001(\0132\032.google.api"
- + ".VisibilityRule:Z\n\022message_visibility\022\037."
- + "google.protobuf.MessageOptions\030\257\312\274\" \001(\0132"
- + "\032.google.api.VisibilityRule:X\n\021method_vi"
- + "sibility\022\036.google.protobuf.MethodOptions"
- + "\030\257\312\274\" \001(\0132\032.google.api.VisibilityRule:V\n"
- + "\016api_visibility\022\037.google.protobuf.Servic"
- + "eOptions\030\257\312\274\" \001(\0132\032.google.api.Visibilit"
- + "yRuleBn\n\016com.google.apiB\017VisibilityProto"
- + "P\001Z?google.golang.org/genproto/googleapi"
- + "s/api/visibility;visibility\370\001\001\242\002\004GAPIb\006p"
- + "roto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.DescriptorProtos.getDescriptor(),
- });
- internal_static_google_api_Visibility_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_api_Visibility_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_Visibility_descriptor,
- new java.lang.String[] {
- "Rules",
- });
- internal_static_google_api_VisibilityRule_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_api_VisibilityRule_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_api_VisibilityRule_descriptor,
- new java.lang.String[] {
- "Selector", "Restriction",
- });
- enumVisibility.internalInit(descriptor.getExtensions().get(0));
- valueVisibility.internalInit(descriptor.getExtensions().get(1));
- fieldVisibility.internalInit(descriptor.getExtensions().get(2));
- messageVisibility.internalInit(descriptor.getExtensions().get(3));
- methodVisibility.internalInit(descriptor.getExtensions().get(4));
- apiVisibility.internalInit(descriptor.getExtensions().get(5));
- com.google.protobuf.DescriptorProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/ExtendedOperationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/ExtendedOperationsProto.java
deleted file mode 100644
index e5215cdc96..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/ExtendedOperationsProto.java
+++ /dev/null
@@ -1,181 +0,0 @@
-/*
- * 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/cloud/extended_operations.proto
-
-package com.google.cloud;
-
-public final class ExtendedOperationsProto {
- private ExtendedOperationsProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
- registry.add(com.google.cloud.ExtendedOperationsProto.operationField);
- registry.add(com.google.cloud.ExtendedOperationsProto.operationRequestField);
- registry.add(com.google.cloud.ExtendedOperationsProto.operationResponseField);
- registry.add(com.google.cloud.ExtendedOperationsProto.operationService);
- registry.add(com.google.cloud.ExtendedOperationsProto.operationPollingMethod);
- }
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static final int OPERATION_FIELD_FIELD_NUMBER = 1149;
- /**
- *
- *
- * - * A field annotation that maps fields in an API-specific Operation object to - * their standard counterparts in google.longrunning.Operation. See - * OperationResponseMapping enum definition. - *- * - *
extend .google.protobuf.FieldOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.FieldOptions,
- com.google.cloud.OperationResponseMapping>
- operationField =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.cloud.OperationResponseMapping.class, null);
-
- public static final int OPERATION_REQUEST_FIELD_FIELD_NUMBER = 1150;
- /**
- *
- *
- * - * A field annotation that maps fields in the initial request message - * (the one which started the LRO) to their counterparts in the polling - * request message. For non-standard LRO, the polling response may be missing - * some of the information needed to make a subsequent polling request. The - * missing information (for example, project or region ID) is contained in the - * fields of the initial request message that this annotation must be applied - * to. The string value of the annotation corresponds to the name of the - * counterpart field in the polling request message that the annotated field's - * value will be copied to. - *- * - *
extend .google.protobuf.FieldOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.FieldOptions, java.lang.String>
- operationRequestField =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- java.lang.String.class, null);
-
- public static final int OPERATION_RESPONSE_FIELD_FIELD_NUMBER = 1151;
- /**
- *
- *
- * - * A field annotation that maps fields in the polling request message to their - * counterparts in the initial and/or polling response message. The initial - * and the polling methods return an API-specific Operation object. Some of - * the fields from that response object must be reused in the subsequent - * request (like operation name/ID) to fully identify the polled operation. - * This annotation must be applied to the fields in the polling request - * message, the string value of the annotation must correspond to the name of - * the counterpart field in the Operation response object whose value will be - * copied to the annotated field. - *- * - *
extend .google.protobuf.FieldOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.FieldOptions, java.lang.String>
- operationResponseField =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- java.lang.String.class, null);
-
- public static final int OPERATION_SERVICE_FIELD_NUMBER = 1249;
- /**
- *
- *
- * - * A method annotation that maps an LRO method (the one which starts an LRO) - * to the service, which will be used to poll for the operation status. The - * annotation must be applied to the method which starts an LRO, the string - * value of the annotation must correspond to the name of the service used to - * poll for the operation status. - *- * - *
extend .google.protobuf.MethodOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MethodOptions, java.lang.String>
- operationService =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- java.lang.String.class, null);
-
- public static final int OPERATION_POLLING_METHOD_FIELD_NUMBER = 1250;
- /**
- *
- *
- * - * A method annotation that marks methods that can be used for polling - * operation status (e.g. the MyPollingService.Get(MyPollingRequest) method). - *- * - *
extend .google.protobuf.MethodOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MethodOptions, java.lang.Boolean>
- operationPollingMethod =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- java.lang.Boolean.class, null);
-
- 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/cloud/extended_operations.proto"
- + "\022\014google.cloud\032 google/protobuf/descript"
- + "or.proto*b\n\030OperationResponseMapping\022\r\n\t"
- + "UNDEFINED\020\000\022\010\n\004NAME\020\001\022\n\n\006STATUS\020\002\022\016\n\nERR"
- + "OR_CODE\020\003\022\021\n\rERROR_MESSAGE\020\004:_\n\017operatio"
- + "n_field\022\035.google.protobuf.FieldOptions\030\375"
- + "\010 \001(\0162&.google.cloud.OperationResponseMa"
- + "pping:?\n\027operation_request_field\022\035.googl"
- + "e.protobuf.FieldOptions\030\376\010 \001(\t:@\n\030operat"
- + "ion_response_field\022\035.google.protobuf.Fie"
- + "ldOptions\030\377\010 \001(\t::\n\021operation_service\022\036."
- + "google.protobuf.MethodOptions\030\341\t \001(\t:A\n\030"
- + "operation_polling_method\022\036.google.protob"
- + "uf.MethodOptions\030\342\t \001(\010By\n\020com.google.cl"
- + "oudB\027ExtendedOperationsProtoP\001ZCgoogle.g"
- + "olang.org/genproto/googleapis/cloud/exte"
- + "ndedops;extendedops\242\002\004GAPIb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.DescriptorProtos.getDescriptor(),
- });
- operationField.internalInit(descriptor.getExtensions().get(0));
- operationRequestField.internalInit(descriptor.getExtensions().get(1));
- operationResponseField.internalInit(descriptor.getExtensions().get(2));
- operationService.internalInit(descriptor.getExtensions().get(3));
- operationPollingMethod.internalInit(descriptor.getExtensions().get(4));
- com.google.protobuf.DescriptorProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java
deleted file mode 100644
index 40add613b7..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java
+++ /dev/null
@@ -1,310 +0,0 @@
-/*
- * 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/cloud/audit/audit_log.proto
-
-package com.google.cloud.audit;
-
-public final class AuditLogProto {
- private AuditLogProto() {}
-
- 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_cloud_audit_AuditLog_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_AuditLog_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_AuthenticationInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_AuthorizationInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_RequestMetadata_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_ResourceLocation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_PolicyViolationInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_audit_ViolationInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_audit_ViolationInfo_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/cloud/audit/audit_log.proto\022\022go"
- + "ogle.cloud.audit\032\037google/api/field_behav"
- + "ior.proto\032\031google/protobuf/any.proto\032\034go"
- + "ogle/protobuf/struct.proto\032*google/rpc/c"
- + "ontext/attribute_context.proto\032\027google/r"
- + "pc/status.proto\"\306\005\n\010AuditLog\022\024\n\014service_"
- + "name\030\007 \001(\t\022\023\n\013method_name\030\010 \001(\t\022\025\n\rresou"
- + "rce_name\030\013 \001(\t\022?\n\021resource_location\030\024 \001("
- + "\0132$.google.cloud.audit.ResourceLocation\022"
- + "8\n\027resource_original_state\030\023 \001(\0132\027.googl"
- + "e.protobuf.Struct\022\032\n\022num_response_items\030"
- + "\014 \001(\003\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Statu"
- + "s\022C\n\023authentication_info\030\003 \001(\0132&.google."
- + "cloud.audit.AuthenticationInfo\022A\n\022author"
- + "ization_info\030\t \003(\0132%.google.cloud.audit."
- + "AuthorizationInfo\022F\n\025policy_violation_in"
- + "fo\030\031 \001(\0132\'.google.cloud.audit.PolicyViol"
- + "ationInfo\022=\n\020request_metadata\030\004 \001(\0132#.go"
- + "ogle.cloud.audit.RequestMetadata\022(\n\007requ"
- + "est\030\020 \001(\0132\027.google.protobuf.Struct\022)\n\010re"
- + "sponse\030\021 \001(\0132\027.google.protobuf.Struct\022)\n"
- + "\010metadata\030\022 \001(\0132\027.google.protobuf.Struct"
- + "\022.\n\014service_data\030\017 \001(\0132\024.google.protobuf"
- + ".AnyB\002\030\001\"\231\002\n\022AuthenticationInfo\022\027\n\017princ"
- + "ipal_email\030\001 \001(\t\022\032\n\022authority_selector\030\002"
- + " \001(\t\0226\n\025third_party_principal\030\004 \001(\0132\027.go"
- + "ogle.protobuf.Struct\022 \n\030service_account_"
- + "key_name\030\005 \001(\t\022Y\n\037service_account_delega"
- + "tion_info\030\006 \003(\01320.google.cloud.audit.Ser"
- + "viceAccountDelegationInfo\022\031\n\021principal_s"
- + "ubject\030\010 \001(\t\"\226\001\n\021AuthorizationInfo\022\020\n\010re"
- + "source\030\001 \001(\t\022\022\n\npermission\030\002 \001(\t\022\017\n\007gran"
- + "ted\030\003 \001(\010\022J\n\023resource_attributes\030\005 \001(\0132-"
- + ".google.rpc.context.AttributeContext.Res"
- + "ource\"\365\001\n\017RequestMetadata\022\021\n\tcaller_ip\030\001"
- + " \001(\t\022\"\n\032caller_supplied_user_agent\030\002 \001(\t"
- + "\022\026\n\016caller_network\030\003 \001(\t\022H\n\022request_attr"
- + "ibutes\030\007 \001(\0132,.google.rpc.context.Attrib"
- + "uteContext.Request\022I\n\026destination_attrib"
- + "utes\030\010 \001(\0132).google.rpc.context.Attribut"
- + "eContext.Peer\"I\n\020ResourceLocation\022\031\n\021cur"
- + "rent_locations\030\001 \003(\t\022\032\n\022original_locatio"
- + "ns\030\002 \003(\t\"\303\003\n\034ServiceAccountDelegationInf"
- + "o\022\031\n\021principal_subject\030\003 \001(\t\022e\n\025first_pa"
- + "rty_principal\030\001 \001(\0132D.google.cloud.audit"
- + ".ServiceAccountDelegationInfo.FirstParty"
- + "PrincipalH\000\022e\n\025third_party_principal\030\002 \001"
- + "(\0132D.google.cloud.audit.ServiceAccountDe"
- + "legationInfo.ThirdPartyPrincipalH\000\032a\n\023Fi"
- + "rstPartyPrincipal\022\027\n\017principal_email\030\001 \001"
- + "(\t\0221\n\020service_metadata\030\002 \001(\0132\027.google.pr"
- + "otobuf.Struct\032J\n\023ThirdPartyPrincipal\0223\n\022"
- + "third_party_claims\030\001 \001(\0132\027.google.protob"
- + "uf.StructB\013\n\tAuthority\"d\n\023PolicyViolatio"
- + "nInfo\022M\n\031org_policy_violation_info\030\001 \001(\013"
- + "2*.google.cloud.audit.OrgPolicyViolation"
- + "Info\"\266\002\n\026OrgPolicyViolationInfo\022.\n\007paylo"
- + "ad\030\001 \001(\0132\027.google.protobuf.StructB\004\342A\001\001\022"
- + "\033\n\rresource_type\030\002 \001(\tB\004\342A\001\001\022Y\n\rresource"
- + "_tags\030\003 \003(\0132<.google.cloud.audit.OrgPoli"
- + "cyViolationInfo.ResourceTagsEntryB\004\342A\001\001\022"
- + "?\n\016violation_info\030\004 \003(\0132!.google.cloud.a"
- + "udit.ViolationInfoB\004\342A\001\001\0323\n\021ResourceTags"
- + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\233\002"
- + "\n\rViolationInfo\022\030\n\nconstraint\030\001 \001(\tB\004\342A\001"
- + "\001\022\033\n\rerror_message\030\002 \001(\tB\004\342A\001\001\022\033\n\rchecke"
- + "d_value\030\003 \001(\tB\004\342A\001\001\022G\n\013policy_type\030\004 \001(\016"
- + "2,.google.cloud.audit.ViolationInfo.Poli"
- + "cyTypeB\004\342A\001\001\"m\n\nPolicyType\022\033\n\027POLICY_TYP"
- + "E_UNSPECIFIED\020\000\022\026\n\022BOOLEAN_CONSTRAINT\020\001\022"
- + "\023\n\017LIST_CONSTRAINT\020\002\022\025\n\021CUSTOM_CONSTRAIN"
- + "T\020\003Be\n\026com.google.cloud.auditB\rAuditLogP"
- + "rotoP\001Z7google.golang.org/genproto/googl"
- + "eapis/cloud/audit;audit\370\001\001b\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.protobuf.AnyProto.getDescriptor(),
- com.google.protobuf.StructProto.getDescriptor(),
- com.google.rpc.context.AttributeContextProto.getDescriptor(),
- com.google.rpc.StatusProto.getDescriptor(),
- });
- internal_static_google_cloud_audit_AuditLog_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_audit_AuditLog_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_AuditLog_descriptor,
- new java.lang.String[] {
- "ServiceName",
- "MethodName",
- "ResourceName",
- "ResourceLocation",
- "ResourceOriginalState",
- "NumResponseItems",
- "Status",
- "AuthenticationInfo",
- "AuthorizationInfo",
- "PolicyViolationInfo",
- "RequestMetadata",
- "Request",
- "Response",
- "Metadata",
- "ServiceData",
- });
- internal_static_google_cloud_audit_AuthenticationInfo_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_AuthenticationInfo_descriptor,
- new java.lang.String[] {
- "PrincipalEmail",
- "AuthoritySelector",
- "ThirdPartyPrincipal",
- "ServiceAccountKeyName",
- "ServiceAccountDelegationInfo",
- "PrincipalSubject",
- });
- internal_static_google_cloud_audit_AuthorizationInfo_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_AuthorizationInfo_descriptor,
- new java.lang.String[] {
- "Resource", "Permission", "Granted", "ResourceAttributes",
- });
- internal_static_google_cloud_audit_RequestMetadata_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_RequestMetadata_descriptor,
- new java.lang.String[] {
- "CallerIp",
- "CallerSuppliedUserAgent",
- "CallerNetwork",
- "RequestAttributes",
- "DestinationAttributes",
- });
- internal_static_google_cloud_audit_ResourceLocation_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_ResourceLocation_descriptor,
- new java.lang.String[] {
- "CurrentLocations", "OriginalLocations",
- });
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor,
- new java.lang.String[] {
- "PrincipalSubject", "FirstPartyPrincipal", "ThirdPartyPrincipal", "Authority",
- });
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor =
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor
- .getNestedTypes()
- .get(0);
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor,
- new java.lang.String[] {
- "PrincipalEmail", "ServiceMetadata",
- });
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor =
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor
- .getNestedTypes()
- .get(1);
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor,
- new java.lang.String[] {
- "ThirdPartyClaims",
- });
- internal_static_google_cloud_audit_PolicyViolationInfo_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_PolicyViolationInfo_descriptor,
- new java.lang.String[] {
- "OrgPolicyViolationInfo",
- });
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor =
- getDescriptor().getMessageTypes().get(7);
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor,
- new java.lang.String[] {
- "Payload", "ResourceType", "ResourceTags", "ViolationInfo",
- });
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor =
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor
- .getNestedTypes()
- .get(0);
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_cloud_audit_ViolationInfo_descriptor =
- getDescriptor().getMessageTypes().get(8);
- internal_static_google_cloud_audit_ViolationInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_audit_ViolationInfo_descriptor,
- new java.lang.String[] {
- "Constraint", "ErrorMessage", "CheckedValue", "PolicyType",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.FieldBehaviorProto.getDescriptor();
- com.google.protobuf.AnyProto.getDescriptor();
- com.google.protobuf.StructProto.getDescriptor();
- com.google.rpc.context.AttributeContextProto.getDescriptor();
- com.google.rpc.StatusProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequestOrBuilder.java
deleted file mode 100644
index a8f3d0f9b5..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequestOrBuilder.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * 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/cloud/location/locations.proto
-
-package com.google.cloud.location;
-
-public interface GetLocationRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.location.GetLocationRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Resource name for the location. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Resource name for the location. - *- * - *
string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationsProto.java
deleted file mode 100644
index d2b6da3066..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationsProto.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- * 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/cloud/location/locations.proto
-
-package com.google.cloud.location;
-
-public final class LocationsProto {
- private LocationsProto() {}
-
- 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_cloud_location_ListLocationsRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_location_ListLocationsRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_location_ListLocationsResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_location_ListLocationsResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_location_GetLocationRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_location_GetLocationRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_location_Location_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_location_Location_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_location_Location_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_location_Location_LabelsEntry_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/cloud/location/locations.proto\022"
- + "\025google.cloud.location\032\034google/api/annot"
- + "ations.proto\032\031google/protobuf/any.proto\032"
- + "\027google/api/client.proto\"[\n\024ListLocation"
- + "sRequest\022\014\n\004name\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021"
- + "\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"d\n"
- + "\025ListLocationsResponse\0222\n\tlocations\030\001 \003("
- + "\0132\037.google.cloud.location.Location\022\027\n\017ne"
- + "xt_page_token\030\002 \001(\t\"\"\n\022GetLocationReques"
- + "t\022\014\n\004name\030\001 \001(\t\"\327\001\n\010Location\022\014\n\004name\030\001 \001"
- + "(\t\022\023\n\013location_id\030\004 \001(\t\022\024\n\014display_name\030"
- + "\005 \001(\t\022;\n\006labels\030\002 \003(\0132+.google.cloud.loc"
- + "ation.Location.LabelsEntry\022&\n\010metadata\030\003"
- + " \001(\0132\024.google.protobuf.Any\032-\n\013LabelsEntr"
- + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\0012\244\003\n\tLo"
- + "cations\022\253\001\n\rListLocations\022+.google.cloud"
- + ".location.ListLocationsRequest\032,.google."
- + "cloud.location.ListLocationsResponse\"?\202\323"
- + "\344\223\0029\022\024/v1/{name=locations}Z!\022\037/v1/{name="
- + "projects/*}/locations\022\236\001\n\013GetLocation\022)."
- + "google.cloud.location.GetLocationRequest"
- + "\032\037.google.cloud.location.Location\"C\202\323\344\223\002"
- + "=\022\026/v1/{name=locations/*}Z#\022!/v1/{name=p"
- + "rojects/*/locations/*}\032H\312A\024cloud.googlea"
- + "pis.com\322A.https://www.googleapis.com/aut"
- + "h/cloud-platformBo\n\031com.google.cloud.loc"
- + "ationB\016LocationsProtoP\001Z=google.golang.o"
- + "rg/genproto/googleapis/cloud/location;lo"
- + "cation\370\001\001b\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.protobuf.AnyProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- });
- internal_static_google_cloud_location_ListLocationsRequest_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_location_ListLocationsRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_location_ListLocationsRequest_descriptor,
- new java.lang.String[] {
- "Name", "Filter", "PageSize", "PageToken",
- });
- internal_static_google_cloud_location_ListLocationsResponse_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_location_ListLocationsResponse_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_location_ListLocationsResponse_descriptor,
- new java.lang.String[] {
- "Locations", "NextPageToken",
- });
- internal_static_google_cloud_location_GetLocationRequest_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_location_GetLocationRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_location_GetLocationRequest_descriptor,
- new java.lang.String[] {
- "Name",
- });
- internal_static_google_cloud_location_Location_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_location_Location_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_location_Location_descriptor,
- new java.lang.String[] {
- "Name", "LocationId", "DisplayName", "Labels", "Metadata",
- });
- internal_static_google_cloud_location_Location_LabelsEntry_descriptor =
- internal_static_google_cloud_location_Location_descriptor.getNestedTypes().get(0);
- internal_static_google_cloud_location_Location_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_location_Location_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ClientProto.defaultHost);
- registry.add(com.google.api.AnnotationsProto.http);
- registry.add(com.google.api.ClientProto.oauthScopes);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
- com.google.protobuf.AnyProto.getDescriptor();
- com.google.api.ClientProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportProto.java
deleted file mode 100644
index 2d6c618e3a..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportProto.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * 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/geo/type/viewport.proto
-
-package com.google.geo.type;
-
-public final class ViewportProto {
- private ViewportProto() {}
-
- 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_geo_type_Viewport_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_geo_type_Viewport_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\036google/geo/type/viewport.proto\022\017google"
- + ".geo.type\032\030google/type/latlng.proto\"O\n\010V"
- + "iewport\022 \n\003low\030\001 \001(\0132\023.google.type.LatLn"
- + "g\022!\n\004high\030\002 \001(\0132\023.google.type.LatLngBo\n\023"
- + "com.google.geo.typeB\rViewportProtoP\001Z@go"
- + "ogle.golang.org/genproto/googleapis/geo/"
- + "type/viewport;viewport\242\002\004GGTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.type.LatLngProto.getDescriptor(),
- });
- internal_static_google_geo_type_Viewport_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_geo_type_Viewport_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_geo_type_Viewport_descriptor,
- new java.lang.String[] {
- "Low", "High",
- });
- com.google.type.LatLngProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestProto.java
deleted file mode 100644
index 39fdf74853..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestProto.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * 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/logging/type/http_request.proto
-
-package com.google.logging.type;
-
-public final class HttpRequestProto {
- private HttpRequestProto() {}
-
- 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_logging_type_HttpRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_logging_type_HttpRequest_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/logging/type/http_request.proto"
- + "\022\023google.logging.type\032\036google/protobuf/d"
- + "uration.proto\"\357\002\n\013HttpRequest\022\026\n\016request"
- + "_method\030\001 \001(\t\022\023\n\013request_url\030\002 \001(\t\022\024\n\014re"
- + "quest_size\030\003 \001(\003\022\016\n\006status\030\004 \001(\005\022\025\n\rresp"
- + "onse_size\030\005 \001(\003\022\022\n\nuser_agent\030\006 \001(\t\022\021\n\tr"
- + "emote_ip\030\007 \001(\t\022\021\n\tserver_ip\030\r \001(\t\022\017\n\007ref"
- + "erer\030\010 \001(\t\022*\n\007latency\030\016 \001(\0132\031.google.pro"
- + "tobuf.Duration\022\024\n\014cache_lookup\030\013 \001(\010\022\021\n\t"
- + "cache_hit\030\t \001(\010\022*\n\"cache_validated_with_"
- + "origin_server\030\n \001(\010\022\030\n\020cache_fill_bytes\030"
- + "\014 \001(\003\022\020\n\010protocol\030\017 \001(\tB\276\001\n\027com.google.l"
- + "ogging.typeB\020HttpRequestProtoP\001Z8google."
- + "golang.org/genproto/googleapis/logging/t"
- + "ype;ltype\252\002\031Google.Cloud.Logging.Type\312\002\031"
- + "Google\\Cloud\\Logging\\Type\352\002\034Google::Clou"
- + "d::Logging::Typeb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.DurationProto.getDescriptor(),
- });
- internal_static_google_logging_type_HttpRequest_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_logging_type_HttpRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_logging_type_HttpRequest_descriptor,
- new java.lang.String[] {
- "RequestMethod",
- "RequestUrl",
- "RequestSize",
- "Status",
- "ResponseSize",
- "UserAgent",
- "RemoteIp",
- "ServerIp",
- "Referer",
- "Latency",
- "CacheLookup",
- "CacheHit",
- "CacheValidatedWithOriginServer",
- "CacheFillBytes",
- "Protocol",
- });
- com.google.protobuf.DurationProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverityProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverityProto.java
deleted file mode 100644
index 3f205fc516..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverityProto.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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/logging/type/log_severity.proto
-
-package com.google.logging.type;
-
-public final class LogSeverityProto {
- private LogSeverityProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- 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/logging/type/log_severity.proto"
- + "\022\023google.logging.type*\202\001\n\013LogSeverity\022\013\n"
- + "\007DEFAULT\020\000\022\t\n\005DEBUG\020d\022\t\n\004INFO\020\310\001\022\013\n\006NOTI"
- + "CE\020\254\002\022\014\n\007WARNING\020\220\003\022\n\n\005ERROR\020\364\003\022\r\n\010CRITI"
- + "CAL\020\330\004\022\n\n\005ALERT\020\274\005\022\016\n\tEMERGENCY\020\240\006B\305\001\n\027c"
- + "om.google.logging.typeB\020LogSeverityProto"
- + "P\001Z8google.golang.org/genproto/googleapi"
- + "s/logging/type;ltype\242\002\004GLOG\252\002\031Google.Clo"
- + "ud.Logging.Type\312\002\031Google\\Cloud\\Logging\\T"
- + "ype\352\002\034Google::Cloud::Logging::Typeb\006prot"
- + "o3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequestOrBuilder.java
deleted file mode 100644
index 6dbf21a0f6..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequestOrBuilder.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * 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/longrunning/operations.proto
-
-package com.google.longrunning;
-
-public interface CancelOperationRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.longrunning.CancelOperationRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The name of the operation resource to be cancelled. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * The name of the operation resource to be cancelled. - *- * - *
string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequestOrBuilder.java
deleted file mode 100644
index 3d39fee204..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequestOrBuilder.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * 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/longrunning/operations.proto
-
-package com.google.longrunning;
-
-public interface DeleteOperationRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.longrunning.DeleteOperationRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The name of the operation resource to be deleted. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * The name of the operation resource to be deleted. - *- * - *
string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequestOrBuilder.java
deleted file mode 100644
index fb60fb1fa7..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequestOrBuilder.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * 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/longrunning/operations.proto
-
-package com.google.longrunning;
-
-public interface GetOperationRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.longrunning.GetOperationRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The name of the operation resource. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * The name of the operation resource. - *- * - *
string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
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
deleted file mode 100644
index 18dae2a6fb..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/*
- * 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/longrunning/operations.proto
-
-package com.google.longrunning;
-
-public final class OperationsProto {
- private OperationsProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
- registry.add(com.google.longrunning.OperationsProto.operationInfo);
- }
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static final int OPERATION_INFO_FIELD_NUMBER = 1049;
- /**
- *
- *
- * - * Additional information regarding long-running operations. - * In particular, this specifies the types that are returned from - * long-running operations. - * - * Required for methods that return `google.longrunning.Operation`; invalid - * otherwise. - *- * - *
extend .google.protobuf.MethodOptions { ... }
- */
- public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
- com.google.protobuf.DescriptorProtos.MethodOptions, com.google.longrunning.OperationInfo>
- operationInfo =
- com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
- com.google.longrunning.OperationInfo.class,
- com.google.longrunning.OperationInfo.getDefaultInstance());
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_longrunning_Operation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_longrunning_Operation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_longrunning_GetOperationRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_longrunning_ListOperationsRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_longrunning_ListOperationsResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_longrunning_CancelOperationRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_longrunning_DeleteOperationRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_longrunning_WaitOperationRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_longrunning_OperationInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_longrunning_OperationInfo_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/longrunning/operations.proto\022\022g"
- + "oogle.longrunning\032\034google/api/annotation"
- + "s.proto\032\027google/api/client.proto\032\031google"
- + "/protobuf/any.proto\032\036google/protobuf/dur"
- + "ation.proto\032\033google/protobuf/empty.proto"
- + "\032\027google/rpc/status.proto\032 google/protob"
- + "uf/descriptor.proto\"\250\001\n\tOperation\022\014\n\004nam"
- + "e\030\001 \001(\t\022&\n\010metadata\030\002 \001(\0132\024.google.proto"
- + "buf.Any\022\014\n\004done\030\003 \001(\010\022#\n\005error\030\004 \001(\0132\022.g"
- + "oogle.rpc.StatusH\000\022(\n\010response\030\005 \001(\0132\024.g"
- + "oogle.protobuf.AnyH\000B\010\n\006result\"#\n\023GetOpe"
- + "rationRequest\022\014\n\004name\030\001 \001(\t\"\\\n\025ListOpera"
- + "tionsRequest\022\014\n\004name\030\004 \001(\t\022\016\n\006filter\030\001 \001"
- + "(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001("
- + "\t\"d\n\026ListOperationsResponse\0221\n\noperation"
- + "s\030\001 \003(\0132\035.google.longrunning.Operation\022\027"
- + "\n\017next_page_token\030\002 \001(\t\"&\n\026CancelOperati"
- + "onRequest\022\014\n\004name\030\001 \001(\t\"&\n\026DeleteOperati"
- + "onRequest\022\014\n\004name\030\001 \001(\t\"P\n\024WaitOperation"
- + "Request\022\014\n\004name\030\001 \001(\t\022*\n\007timeout\030\002 \001(\0132\031"
- + ".google.protobuf.Duration\"=\n\rOperationIn"
- + "fo\022\025\n\rresponse_type\030\001 \001(\t\022\025\n\rmetadata_ty"
- + "pe\030\002 \001(\t2\252\005\n\nOperations\022\224\001\n\016ListOperatio"
- + "ns\022).google.longrunning.ListOperationsRe"
- + "quest\032*.google.longrunning.ListOperation"
- + "sResponse\"+\332A\013name,filter\202\323\344\223\002\027\022\025/v1/{na"
- + "me=operations}\022\177\n\014GetOperation\022\'.google."
- + "longrunning.GetOperationRequest\032\035.google"
- + ".longrunning.Operation\"\'\332A\004name\202\323\344\223\002\032\022\030/"
- + "v1/{name=operations/**}\022~\n\017DeleteOperati"
- + "on\022*.google.longrunning.DeleteOperationR"
- + "equest\032\026.google.protobuf.Empty\"\'\332A\004name\202"
- + "\323\344\223\002\032*\030/v1/{name=operations/**}\022\210\001\n\017Canc"
- + "elOperation\022*.google.longrunning.CancelO"
- + "perationRequest\032\026.google.protobuf.Empty\""
- + "1\332A\004name\202\323\344\223\002$\"\037/v1/{name=operations/**}"
- + ":cancel:\001*\022Z\n\rWaitOperation\022(.google.lon"
- + "grunning.WaitOperationRequest\032\035.google.l"
- + "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\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(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- com.google.protobuf.AnyProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.rpc.StatusProto.getDescriptor(),
- com.google.protobuf.DescriptorProtos.getDescriptor(),
- });
- internal_static_google_longrunning_Operation_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_longrunning_Operation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_longrunning_Operation_descriptor,
- new java.lang.String[] {
- "Name", "Metadata", "Done", "Error", "Response", "Result",
- });
- internal_static_google_longrunning_GetOperationRequest_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_longrunning_GetOperationRequest_descriptor,
- new java.lang.String[] {
- "Name",
- });
- internal_static_google_longrunning_ListOperationsRequest_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_longrunning_ListOperationsRequest_descriptor,
- new java.lang.String[] {
- "Name", "Filter", "PageSize", "PageToken",
- });
- internal_static_google_longrunning_ListOperationsResponse_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_longrunning_ListOperationsResponse_descriptor,
- new java.lang.String[] {
- "Operations", "NextPageToken",
- });
- internal_static_google_longrunning_CancelOperationRequest_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_longrunning_CancelOperationRequest_descriptor,
- new java.lang.String[] {
- "Name",
- });
- internal_static_google_longrunning_DeleteOperationRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_longrunning_DeleteOperationRequest_descriptor,
- new java.lang.String[] {
- "Name",
- });
- internal_static_google_longrunning_WaitOperationRequest_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_longrunning_WaitOperationRequest_descriptor,
- new java.lang.String[] {
- "Name", "Timeout",
- });
- internal_static_google_longrunning_OperationInfo_descriptor =
- getDescriptor().getMessageTypes().get(7);
- internal_static_google_longrunning_OperationInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_longrunning_OperationInfo_descriptor,
- new java.lang.String[] {
- "ResponseType", "MetadataType",
- });
- operationInfo.internalInit(descriptor.getExtensions().get(0));
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ClientProto.defaultHost);
- registry.add(com.google.api.AnnotationsProto.http);
- registry.add(com.google.api.ClientProto.methodSignature);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
- com.google.api.ClientProto.getDescriptor();
- com.google.protobuf.AnyProto.getDescriptor();
- com.google.protobuf.DurationProto.getDescriptor();
- com.google.protobuf.EmptyProto.getDescriptor();
- com.google.rpc.StatusProto.getDescriptor();
- com.google.protobuf.DescriptorProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/CodeProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/CodeProto.java
deleted file mode 100644
index f63ced744c..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/CodeProto.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * 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/code.proto
-
-package com.google.rpc;
-
-public final class CodeProto {
- private CodeProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n\025google/rpc/code.proto\022\ngoogle.rpc*\267\002\n\004"
- + "Code\022\006\n\002OK\020\000\022\r\n\tCANCELLED\020\001\022\013\n\007UNKNOWN\020\002"
- + "\022\024\n\020INVALID_ARGUMENT\020\003\022\025\n\021DEADLINE_EXCEE"
- + "DED\020\004\022\r\n\tNOT_FOUND\020\005\022\022\n\016ALREADY_EXISTS\020\006"
- + "\022\025\n\021PERMISSION_DENIED\020\007\022\023\n\017UNAUTHENTICAT"
- + "ED\020\020\022\026\n\022RESOURCE_EXHAUSTED\020\010\022\027\n\023FAILED_P"
- + "RECONDITION\020\t\022\013\n\007ABORTED\020\n\022\020\n\014OUT_OF_RAN"
- + "GE\020\013\022\021\n\rUNIMPLEMENTED\020\014\022\014\n\010INTERNAL\020\r\022\017\n"
- + "\013UNAVAILABLE\020\016\022\r\n\tDATA_LOSS\020\017BX\n\016com.goo"
- + "gle.rpcB\tCodeProtoP\001Z3google.golang.org/"
- + "genproto/googleapis/rpc/code;code\242\002\003RPCb"
- + "\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorDetailsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorDetailsProto.java
deleted file mode 100644
index a62002a69f..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorDetailsProto.java
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
- * 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/error_details.proto
-
-package com.google.rpc;
-
-public final class ErrorDetailsProto {
- private ErrorDetailsProto() {}
-
- 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_ErrorInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_ErrorInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_ErrorInfo_MetadataEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_ErrorInfo_MetadataEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_RetryInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_RetryInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_DebugInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_DebugInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_QuotaFailure_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_QuotaFailure_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_QuotaFailure_Violation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_QuotaFailure_Violation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_PreconditionFailure_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_PreconditionFailure_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_PreconditionFailure_Violation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_PreconditionFailure_Violation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_BadRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_BadRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_BadRequest_FieldViolation_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_BadRequest_FieldViolation_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_RequestInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_RequestInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_ResourceInfo_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_ResourceInfo_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_Help_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_Help_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_Help_Link_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_Help_Link_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_LocalizedMessage_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_LocalizedMessage_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\036google/rpc/error_details.proto\022\ngoogle"
- + ".rpc\032\036google/protobuf/duration.proto\"\223\001\n"
- + "\tErrorInfo\022\016\n\006reason\030\001 \001(\t\022\016\n\006domain\030\002 \001"
- + "(\t\0225\n\010metadata\030\003 \003(\0132#.google.rpc.ErrorI"
- + "nfo.MetadataEntry\032/\n\rMetadataEntry\022\013\n\003ke"
- + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\";\n\tRetryInfo\022"
- + ".\n\013retry_delay\030\001 \001(\0132\031.google.protobuf.D"
- + "uration\"2\n\tDebugInfo\022\025\n\rstack_entries\030\001 "
- + "\003(\t\022\016\n\006detail\030\002 \001(\t\"y\n\014QuotaFailure\0226\n\nv"
- + "iolations\030\001 \003(\0132\".google.rpc.QuotaFailur"
- + "e.Violation\0321\n\tViolation\022\017\n\007subject\030\001 \001("
- + "\t\022\023\n\013description\030\002 \001(\t\"\225\001\n\023PreconditionF"
- + "ailure\022=\n\nviolations\030\001 \003(\0132).google.rpc."
- + "PreconditionFailure.Violation\032?\n\tViolati"
- + "on\022\014\n\004type\030\001 \001(\t\022\017\n\007subject\030\002 \001(\t\022\023\n\013des"
- + "cription\030\003 \001(\t\"\203\001\n\nBadRequest\022?\n\020field_v"
- + "iolations\030\001 \003(\0132%.google.rpc.BadRequest."
- + "FieldViolation\0324\n\016FieldViolation\022\r\n\005fiel"
- + "d\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\"7\n\013RequestI"
- + "nfo\022\022\n\nrequest_id\030\001 \001(\t\022\024\n\014serving_data\030"
- + "\002 \001(\t\"`\n\014ResourceInfo\022\025\n\rresource_type\030\001"
- + " \001(\t\022\025\n\rresource_name\030\002 \001(\t\022\r\n\005owner\030\003 \001"
- + "(\t\022\023\n\013description\030\004 \001(\t\"V\n\004Help\022$\n\005links"
- + "\030\001 \003(\0132\025.google.rpc.Help.Link\032(\n\004Link\022\023\n"
- + "\013description\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\"3\n\020Local"
- + "izedMessage\022\016\n\006locale\030\001 \001(\t\022\017\n\007message\030\002"
- + " \001(\tBl\n\016com.google.rpcB\021ErrorDetailsProt"
- + "oP\001Z?google.golang.org/genproto/googleap"
- + "is/rpc/errdetails;errdetails\242\002\003RPCb\006prot"
- + "o3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.DurationProto.getDescriptor(),
- });
- internal_static_google_rpc_ErrorInfo_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_rpc_ErrorInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_ErrorInfo_descriptor,
- new java.lang.String[] {
- "Reason", "Domain", "Metadata",
- });
- internal_static_google_rpc_ErrorInfo_MetadataEntry_descriptor =
- internal_static_google_rpc_ErrorInfo_descriptor.getNestedTypes().get(0);
- internal_static_google_rpc_ErrorInfo_MetadataEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_ErrorInfo_MetadataEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_rpc_RetryInfo_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_google_rpc_RetryInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_RetryInfo_descriptor,
- new java.lang.String[] {
- "RetryDelay",
- });
- internal_static_google_rpc_DebugInfo_descriptor = getDescriptor().getMessageTypes().get(2);
- internal_static_google_rpc_DebugInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_DebugInfo_descriptor,
- new java.lang.String[] {
- "StackEntries", "Detail",
- });
- internal_static_google_rpc_QuotaFailure_descriptor = getDescriptor().getMessageTypes().get(3);
- internal_static_google_rpc_QuotaFailure_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_QuotaFailure_descriptor,
- new java.lang.String[] {
- "Violations",
- });
- internal_static_google_rpc_QuotaFailure_Violation_descriptor =
- internal_static_google_rpc_QuotaFailure_descriptor.getNestedTypes().get(0);
- internal_static_google_rpc_QuotaFailure_Violation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_QuotaFailure_Violation_descriptor,
- new java.lang.String[] {
- "Subject", "Description",
- });
- internal_static_google_rpc_PreconditionFailure_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_rpc_PreconditionFailure_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_PreconditionFailure_descriptor,
- new java.lang.String[] {
- "Violations",
- });
- internal_static_google_rpc_PreconditionFailure_Violation_descriptor =
- internal_static_google_rpc_PreconditionFailure_descriptor.getNestedTypes().get(0);
- internal_static_google_rpc_PreconditionFailure_Violation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_PreconditionFailure_Violation_descriptor,
- new java.lang.String[] {
- "Type", "Subject", "Description",
- });
- internal_static_google_rpc_BadRequest_descriptor = getDescriptor().getMessageTypes().get(5);
- internal_static_google_rpc_BadRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_BadRequest_descriptor,
- new java.lang.String[] {
- "FieldViolations",
- });
- internal_static_google_rpc_BadRequest_FieldViolation_descriptor =
- internal_static_google_rpc_BadRequest_descriptor.getNestedTypes().get(0);
- internal_static_google_rpc_BadRequest_FieldViolation_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_BadRequest_FieldViolation_descriptor,
- new java.lang.String[] {
- "Field", "Description",
- });
- internal_static_google_rpc_RequestInfo_descriptor = getDescriptor().getMessageTypes().get(6);
- internal_static_google_rpc_RequestInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_RequestInfo_descriptor,
- new java.lang.String[] {
- "RequestId", "ServingData",
- });
- internal_static_google_rpc_ResourceInfo_descriptor = getDescriptor().getMessageTypes().get(7);
- internal_static_google_rpc_ResourceInfo_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_ResourceInfo_descriptor,
- new java.lang.String[] {
- "ResourceType", "ResourceName", "Owner", "Description",
- });
- internal_static_google_rpc_Help_descriptor = getDescriptor().getMessageTypes().get(8);
- internal_static_google_rpc_Help_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_Help_descriptor,
- new java.lang.String[] {
- "Links",
- });
- internal_static_google_rpc_Help_Link_descriptor =
- internal_static_google_rpc_Help_descriptor.getNestedTypes().get(0);
- internal_static_google_rpc_Help_Link_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_Help_Link_descriptor,
- new java.lang.String[] {
- "Description", "Url",
- });
- internal_static_google_rpc_LocalizedMessage_descriptor =
- getDescriptor().getMessageTypes().get(9);
- internal_static_google_rpc_LocalizedMessage_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_LocalizedMessage_descriptor,
- new java.lang.String[] {
- "Locale", "Message",
- });
- com.google.protobuf.DurationProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusProto.java
deleted file mode 100644
index 19260c0654..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusProto.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * 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/status.proto
-
-package com.google.rpc;
-
-public final class StatusProto {
- private StatusProto() {}
-
- 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_Status_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_Status_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\027google/rpc/status.proto\022\ngoogle.rpc\032\031g"
- + "oogle/protobuf/any.proto\"N\n\006Status\022\014\n\004co"
- + "de\030\001 \001(\005\022\017\n\007message\030\002 \001(\t\022%\n\007details\030\003 \003"
- + "(\0132\024.google.protobuf.AnyBa\n\016com.google.r"
- + "pcB\013StatusProtoP\001Z7google.golang.org/gen"
- + "proto/googleapis/rpc/status;status\370\001\001\242\002\003"
- + "RPCb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.AnyProto.getDescriptor(),
- });
- internal_static_google_rpc_Status_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_rpc_Status_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_Status_descriptor,
- new java.lang.String[] {
- "Code", "Message", "Details",
- });
- com.google.protobuf.AnyProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextProto.java
deleted file mode 100644
index 0761c33a79..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextProto.java
+++ /dev/null
@@ -1,297 +0,0 @@
-/*
- * 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/attribute_context.proto
-
-package com.google.rpc.context;
-
-public final class AttributeContextProto {
- private AttributeContextProto() {}
-
- 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_AttributeContext_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Peer_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Peer_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Api_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Api_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Auth_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Auth_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Request_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Request_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Request_HeadersEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Request_HeadersEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Response_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Response_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Response_HeadersEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Response_HeadersEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Resource_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Resource_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Resource_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Resource_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_rpc_context_AttributeContext_Resource_AnnotationsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_rpc_context_AttributeContext_Resource_AnnotationsEntry_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/attribute_context.p"
- + "roto\022\022google.rpc.context\032\031google/protobu"
- + "f/any.proto\032\036google/protobuf/duration.pr"
- + "oto\032\034google/protobuf/struct.proto\032\037googl"
- + "e/protobuf/timestamp.proto\"\203\020\n\020Attribute"
- + "Context\0229\n\006origin\030\007 \001(\0132).google.rpc.con"
- + "text.AttributeContext.Peer\0229\n\006source\030\001 \001"
- + "(\0132).google.rpc.context.AttributeContext"
- + ".Peer\022>\n\013destination\030\002 \001(\0132).google.rpc."
- + "context.AttributeContext.Peer\022=\n\007request"
- + "\030\003 \001(\0132,.google.rpc.context.AttributeCon"
- + "text.Request\022?\n\010response\030\004 \001(\0132-.google."
- + "rpc.context.AttributeContext.Response\022?\n"
- + "\010resource\030\005 \001(\0132-.google.rpc.context.Att"
- + "ributeContext.Resource\0225\n\003api\030\006 \001(\0132(.go"
- + "ogle.rpc.context.AttributeContext.Api\022(\n"
- + "\nextensions\030\010 \003(\0132\024.google.protobuf.Any\032"
- + "\276\001\n\004Peer\022\n\n\002ip\030\001 \001(\t\022\014\n\004port\030\002 \001(\003\022E\n\006la"
- + "bels\030\006 \003(\01325.google.rpc.context.Attribut"
- + "eContext.Peer.LabelsEntry\022\021\n\tprincipal\030\007"
- + " \001(\t\022\023\n\013region_code\030\010 \001(\t\032-\n\013LabelsEntry"
- + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032L\n\003Api\022"
- + "\017\n\007service\030\001 \001(\t\022\021\n\toperation\030\002 \001(\t\022\020\n\010p"
- + "rotocol\030\003 \001(\t\022\017\n\007version\030\004 \001(\t\032\177\n\004Auth\022\021"
- + "\n\tprincipal\030\001 \001(\t\022\021\n\taudiences\030\002 \003(\t\022\021\n\t"
- + "presenter\030\003 \001(\t\022\'\n\006claims\030\004 \001(\0132\027.google"
- + ".protobuf.Struct\022\025\n\raccess_levels\030\005 \003(\t\032"
- + "\357\002\n\007Request\022\n\n\002id\030\001 \001(\t\022\016\n\006method\030\002 \001(\t\022"
- + "J\n\007headers\030\003 \003(\01329.google.rpc.context.At"
- + "tributeContext.Request.HeadersEntry\022\014\n\004p"
- + "ath\030\004 \001(\t\022\014\n\004host\030\005 \001(\t\022\016\n\006scheme\030\006 \001(\t\022"
- + "\r\n\005query\030\007 \001(\t\022(\n\004time\030\t \001(\0132\032.google.pr"
- + "otobuf.Timestamp\022\014\n\004size\030\n \001(\003\022\020\n\010protoc"
- + "ol\030\013 \001(\t\022\016\n\006reason\030\014 \001(\t\0227\n\004auth\030\r \001(\0132)"
- + ".google.rpc.context.AttributeContext.Aut"
- + "h\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
- + "\002 \001(\t:\0028\001\032\201\002\n\010Response\022\014\n\004code\030\001 \001(\003\022\014\n\004"
- + "size\030\002 \001(\003\022K\n\007headers\030\003 \003(\0132:.google.rpc"
- + ".context.AttributeContext.Response.Heade"
- + "rsEntry\022(\n\004time\030\004 \001(\0132\032.google.protobuf."
- + "Timestamp\0222\n\017backend_latency\030\005 \001(\0132\031.goo"
- + "gle.protobuf.Duration\032.\n\014HeadersEntry\022\013\n"
- + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\220\004\n\010Resour"
- + "ce\022\017\n\007service\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\014\n\004typ"
- + "e\030\003 \001(\t\022I\n\006labels\030\004 \003(\01329.google.rpc.con"
- + "text.AttributeContext.Resource.LabelsEnt"
- + "ry\022\013\n\003uid\030\005 \001(\t\022S\n\013annotations\030\006 \003(\0132>.g"
- + "oogle.rpc.context.AttributeContext.Resou"
- + "rce.AnnotationsEntry\022\024\n\014display_name\030\007 \001"
- + "(\t\022/\n\013create_time\030\010 \001(\0132\032.google.protobu"
- + "f.Timestamp\022/\n\013update_time\030\t \001(\0132\032.googl"
- + "e.protobuf.Timestamp\022/\n\013delete_time\030\n \001("
- + "\0132\032.google.protobuf.Timestamp\022\014\n\004etag\030\013 "
- + "\001(\t\022\020\n\010location\030\014 \001(\t\032-\n\013LabelsEntry\022\013\n\003"
- + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Annotati"
- + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001"
- + "B\213\001\n\026com.google.rpc.contextB\025AttributeCo"
- + "ntextProtoP\001ZUgoogle.golang.org/genproto"
- + "/googleapis/rpc/context/attribute_contex"
- + "t;attribute_context\370\001\001b\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.AnyProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.StructProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- });
- internal_static_google_rpc_context_AttributeContext_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_rpc_context_AttributeContext_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_descriptor,
- new java.lang.String[] {
- "Origin",
- "Source",
- "Destination",
- "Request",
- "Response",
- "Resource",
- "Api",
- "Extensions",
- });
- internal_static_google_rpc_context_AttributeContext_Peer_descriptor =
- internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(0);
- internal_static_google_rpc_context_AttributeContext_Peer_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Peer_descriptor,
- new java.lang.String[] {
- "Ip", "Port", "Labels", "Principal", "RegionCode",
- });
- internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_descriptor =
- internal_static_google_rpc_context_AttributeContext_Peer_descriptor.getNestedTypes().get(0);
- internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_rpc_context_AttributeContext_Api_descriptor =
- internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(1);
- internal_static_google_rpc_context_AttributeContext_Api_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Api_descriptor,
- new java.lang.String[] {
- "Service", "Operation", "Protocol", "Version",
- });
- internal_static_google_rpc_context_AttributeContext_Auth_descriptor =
- internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(2);
- internal_static_google_rpc_context_AttributeContext_Auth_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Auth_descriptor,
- new java.lang.String[] {
- "Principal", "Audiences", "Presenter", "Claims", "AccessLevels",
- });
- internal_static_google_rpc_context_AttributeContext_Request_descriptor =
- internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(3);
- internal_static_google_rpc_context_AttributeContext_Request_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Request_descriptor,
- new java.lang.String[] {
- "Id",
- "Method",
- "Headers",
- "Path",
- "Host",
- "Scheme",
- "Query",
- "Time",
- "Size",
- "Protocol",
- "Reason",
- "Auth",
- });
- internal_static_google_rpc_context_AttributeContext_Request_HeadersEntry_descriptor =
- internal_static_google_rpc_context_AttributeContext_Request_descriptor
- .getNestedTypes()
- .get(0);
- internal_static_google_rpc_context_AttributeContext_Request_HeadersEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Request_HeadersEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_rpc_context_AttributeContext_Response_descriptor =
- internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(4);
- internal_static_google_rpc_context_AttributeContext_Response_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Response_descriptor,
- new java.lang.String[] {
- "Code", "Size", "Headers", "Time", "BackendLatency",
- });
- internal_static_google_rpc_context_AttributeContext_Response_HeadersEntry_descriptor =
- internal_static_google_rpc_context_AttributeContext_Response_descriptor
- .getNestedTypes()
- .get(0);
- internal_static_google_rpc_context_AttributeContext_Response_HeadersEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Response_HeadersEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_rpc_context_AttributeContext_Resource_descriptor =
- internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(5);
- internal_static_google_rpc_context_AttributeContext_Resource_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Resource_descriptor,
- new java.lang.String[] {
- "Service",
- "Name",
- "Type",
- "Labels",
- "Uid",
- "Annotations",
- "DisplayName",
- "CreateTime",
- "UpdateTime",
- "DeleteTime",
- "Etag",
- "Location",
- });
- internal_static_google_rpc_context_AttributeContext_Resource_LabelsEntry_descriptor =
- internal_static_google_rpc_context_AttributeContext_Resource_descriptor
- .getNestedTypes()
- .get(0);
- internal_static_google_rpc_context_AttributeContext_Resource_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Resource_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_rpc_context_AttributeContext_Resource_AnnotationsEntry_descriptor =
- internal_static_google_rpc_context_AttributeContext_Resource_descriptor
- .getNestedTypes()
- .get(1);
- internal_static_google_rpc_context_AttributeContext_Resource_AnnotationsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_rpc_context_AttributeContext_Resource_AnnotationsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- com.google.protobuf.AnyProto.getDescriptor();
- com.google.protobuf.DurationProto.getDescriptor();
- com.google.protobuf.StructProto.getDescriptor();
- com.google.protobuf.TimestampProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
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
deleted file mode 100644
index 21195b3c4b..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextProto.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * 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/java/com/google/type/CalendarPeriodProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriodProto.java
deleted file mode 100644
index c4f038504c..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriodProto.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * 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/type/calendar_period.proto
-
-package com.google.type;
-
-public final class CalendarPeriodProto {
- private CalendarPeriodProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- 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/type/calendar_period.proto\022\013goo"
- + "gle.type*\177\n\016CalendarPeriod\022\037\n\033CALENDAR_P"
- + "ERIOD_UNSPECIFIED\020\000\022\007\n\003DAY\020\001\022\010\n\004WEEK\020\002\022\r"
- + "\n\tFORTNIGHT\020\003\022\t\n\005MONTH\020\004\022\013\n\007QUARTER\020\005\022\010\n"
- + "\004HALF\020\006\022\010\n\004YEAR\020\007Bx\n\017com.google.typeB\023Ca"
- + "lendarPeriodProtoP\001ZHgoogle.golang.org/g"
- + "enproto/googleapis/type/calendarperiod;c"
- + "alendarperiod\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorProto.java
deleted file mode 100644
index 1a93525b1c..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorProto.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * 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/type/color.proto
-
-package com.google.type;
-
-public final class ColorProto {
- private ColorProto() {}
-
- 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_type_Color_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_Color_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\027google/type/color.proto\022\013google.type\032\036"
- + "google/protobuf/wrappers.proto\"]\n\005Color\022"
- + "\013\n\003red\030\001 \001(\002\022\r\n\005green\030\002 \001(\002\022\014\n\004blue\030\003 \001("
- + "\002\022*\n\005alpha\030\004 \001(\0132\033.google.protobuf.Float"
- + "ValueB`\n\017com.google.typeB\nColorProtoP\001Z6"
- + "google.golang.org/genproto/googleapis/ty"
- + "pe/color;color\370\001\001\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.WrappersProto.getDescriptor(),
- });
- internal_static_google_type_Color_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_type_Color_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_Color_descriptor,
- new java.lang.String[] {
- "Red", "Green", "Blue", "Alpha",
- });
- com.google.protobuf.WrappersProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateProto.java
deleted file mode 100644
index f9fd29cc94..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateProto.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * 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/type/date.proto
-
-package com.google.type;
-
-public final class DateProto {
- private DateProto() {}
-
- 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_type_Date_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_Date_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\026google/type/date.proto\022\013google.type\"0\n"
- + "\004Date\022\014\n\004year\030\001 \001(\005\022\r\n\005month\030\002 \001(\005\022\013\n\003da"
- + "y\030\003 \001(\005B]\n\017com.google.typeB\tDateProtoP\001Z"
- + "4google.golang.org/genproto/googleapis/t"
- + "ype/date;date\370\001\001\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_type_Date_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_type_Date_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_Date_descriptor,
- new java.lang.String[] {
- "Year", "Month", "Day",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeProto.java
deleted file mode 100644
index 403e98100c..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeProto.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * 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/type/datetime.proto
-
-package com.google.type;
-
-public final class DateTimeProto {
- private DateTimeProto() {}
-
- 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_type_DateTime_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_DateTime_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_type_TimeZone_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_TimeZone_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\032google/type/datetime.proto\022\013google.typ"
- + "e\032\036google/protobuf/duration.proto\"\340\001\n\010Da"
- + "teTime\022\014\n\004year\030\001 \001(\005\022\r\n\005month\030\002 \001(\005\022\013\n\003d"
- + "ay\030\003 \001(\005\022\r\n\005hours\030\004 \001(\005\022\017\n\007minutes\030\005 \001(\005"
- + "\022\017\n\007seconds\030\006 \001(\005\022\r\n\005nanos\030\007 \001(\005\022/\n\nutc_"
- + "offset\030\010 \001(\0132\031.google.protobuf.DurationH"
- + "\000\022*\n\ttime_zone\030\t \001(\0132\025.google.type.TimeZ"
- + "oneH\000B\r\n\013time_offset\"\'\n\010TimeZone\022\n\n\002id\030\001"
- + " \001(\t\022\017\n\007version\030\002 \001(\tBi\n\017com.google.type"
- + "B\rDateTimeProtoP\001Z- * The numerator in the fraction, e.g. 2 in 2/3. - *- * - *
int64 numerator = 1;
- *
- * @return The numerator.
- */
- long getNumerator();
-
- /**
- *
- *
- * - * The value by which the numerator is divided, e.g. 3 in 2/3. Must be - * positive. - *- * - *
int64 denominator = 2;
- *
- * @return The denominator.
- */
- long getDenominator();
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionProto.java
deleted file mode 100644
index dea8f4ea46..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionProto.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * 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/type/fraction.proto
-
-package com.google.type;
-
-public final class FractionProto {
- private FractionProto() {}
-
- 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_type_Fraction_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_Fraction_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\032google/type/fraction.proto\022\013google.typ"
- + "e\"2\n\010Fraction\022\021\n\tnumerator\030\001 \001(\003\022\023\n\013deno"
- + "minator\030\002 \001(\003Bf\n\017com.google.typeB\rFracti"
- + "onProtoP\001Zdouble latitude = 1;
- *
- * @return The latitude.
- */
- double getLatitude();
-
- /**
- *
- *
- * - * The longitude in degrees. It must be in the range [-180.0, +180.0]. - *- * - *
double longitude = 2;
- *
- * @return The longitude.
- */
- double getLongitude();
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngProto.java
deleted file mode 100644
index 5302d9e746..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngProto.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * 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/type/latlng.proto
-
-package com.google.type;
-
-public final class LatLngProto {
- private LatLngProto() {}
-
- 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_type_LatLng_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_LatLng_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\030google/type/latlng.proto\022\013google.type\""
- + "-\n\006LatLng\022\020\n\010latitude\030\001 \001(\001\022\021\n\tlongitude"
- + "\030\002 \001(\001Bc\n\017com.google.typeB\013LatLngProtoP\001"
- + "Z8google.golang.org/genproto/googleapis/"
- + "type/latlng;latlng\370\001\001\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_type_LatLng_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_type_LatLng_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_LatLng_descriptor,
- new java.lang.String[] {
- "Latitude", "Longitude",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextProto.java
deleted file mode 100644
index 4d1559b6ae..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextProto.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * 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/type/localized_text.proto
-
-package com.google.type;
-
-public final class LocalizedTextProto {
- private LocalizedTextProto() {}
-
- 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_type_LocalizedText_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_LocalizedText_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/type/localized_text.proto\022\013goog"
- + "le.type\"4\n\rLocalizedText\022\014\n\004text\030\001 \001(\t\022\025"
- + "\n\rlanguage_code\030\002 \001(\tBz\n\017com.google.type"
- + "B\022LocalizedTextProtoP\001ZHgoogle.golang.or"
- + "g/genproto/googleapis/type/localized_tex"
- + "t;localized_text\370\001\001\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_type_LocalizedText_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_type_LocalizedText_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_LocalizedText_descriptor,
- new java.lang.String[] {
- "Text", "LanguageCode",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyProto.java
deleted file mode 100644
index d6d549e9ef..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyProto.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * 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/type/money.proto
-
-package com.google.type;
-
-public final class MoneyProto {
- private MoneyProto() {}
-
- 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_type_Money_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_Money_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\027google/type/money.proto\022\013google.type\"<"
- + "\n\005Money\022\025\n\rcurrency_code\030\001 \001(\t\022\r\n\005units\030"
- + "\002 \001(\003\022\r\n\005nanos\030\003 \001(\005B`\n\017com.google.typeB"
- + "\nMoneyProtoP\001Z6google.golang.org/genprot"
- + "o/googleapis/type/money;money\370\001\001\242\002\003GTPb\006"
- + "proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_type_Money_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_type_Money_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_Money_descriptor,
- new java.lang.String[] {
- "CurrencyCode", "Units", "Nanos",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MonthProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MonthProto.java
deleted file mode 100644
index bfe5ee28ba..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MonthProto.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * 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/type/month.proto
-
-package com.google.type;
-
-public final class MonthProto {
- private MonthProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n\027google/type/month.proto\022\013google.type*\260"
- + "\001\n\005Month\022\025\n\021MONTH_UNSPECIFIED\020\000\022\013\n\007JANUA"
- + "RY\020\001\022\014\n\010FEBRUARY\020\002\022\t\n\005MARCH\020\003\022\t\n\005APRIL\020\004"
- + "\022\007\n\003MAY\020\005\022\010\n\004JUNE\020\006\022\010\n\004JULY\020\007\022\n\n\006AUGUST\020"
- + "\010\022\r\n\tSEPTEMBER\020\t\022\013\n\007OCTOBER\020\n\022\014\n\010NOVEMBE"
- + "R\020\013\022\014\n\010DECEMBER\020\014B]\n\017com.google.typeB\nMo"
- + "nthProtoP\001Z6google.golang.org/genproto/g"
- + "oogleapis/type/month;month\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberProto.java
deleted file mode 100644
index f69641eec3..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberProto.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * 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/type/phone_number.proto
-
-package com.google.type;
-
-public final class PhoneNumberProto {
- private PhoneNumberProto() {}
-
- 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_type_PhoneNumber_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_PhoneNumber_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_type_PhoneNumber_ShortCode_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_PhoneNumber_ShortCode_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\036google/type/phone_number.proto\022\013google"
- + ".type\"\253\001\n\013PhoneNumber\022\025\n\013e164_number\030\001 \001"
- + "(\tH\000\0228\n\nshort_code\030\002 \001(\0132\".google.type.P"
- + "honeNumber.ShortCodeH\000\022\021\n\textension\030\003 \001("
- + "\t\0320\n\tShortCode\022\023\n\013region_code\030\001 \001(\t\022\016\n\006n"
- + "umber\030\002 \001(\tB\006\n\004kindBt\n\017com.google.typeB\020"
- + "PhoneNumberProtoP\001ZDgoogle.golang.org/ge"
- + "nproto/googleapis/type/phone_number;phon"
- + "e_number\370\001\001\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_type_PhoneNumber_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_type_PhoneNumber_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_PhoneNumber_descriptor,
- new java.lang.String[] {
- "E164Number", "ShortCode", "Extension", "Kind",
- });
- internal_static_google_type_PhoneNumber_ShortCode_descriptor =
- internal_static_google_type_PhoneNumber_descriptor.getNestedTypes().get(0);
- internal_static_google_type_PhoneNumber_ShortCode_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_PhoneNumber_ShortCode_descriptor,
- new java.lang.String[] {
- "RegionCode", "Number",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressProto.java
deleted file mode 100644
index 1586e1a670..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressProto.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * 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/type/postal_address.proto
-
-package com.google.type;
-
-public final class PostalAddressProto {
- private PostalAddressProto() {}
-
- 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_type_PostalAddress_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_PostalAddress_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/type/postal_address.proto\022\013goog"
- + "le.type\"\375\001\n\rPostalAddress\022\020\n\010revision\030\001 "
- + "\001(\005\022\023\n\013region_code\030\002 \001(\t\022\025\n\rlanguage_cod"
- + "e\030\003 \001(\t\022\023\n\013postal_code\030\004 \001(\t\022\024\n\014sorting_"
- + "code\030\005 \001(\t\022\033\n\023administrative_area\030\006 \001(\t\022"
- + "\020\n\010locality\030\007 \001(\t\022\023\n\013sublocality\030\010 \001(\t\022\025"
- + "\n\raddress_lines\030\t \003(\t\022\022\n\nrecipients\030\n \003("
- + "\t\022\024\n\014organization\030\013 \001(\tBx\n\017com.google.ty"
- + "peB\022PostalAddressProtoP\001ZFgoogle.golang."
- + "org/genproto/googleapis/type/postaladdre"
- + "ss;postaladdress\370\001\001\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_type_PostalAddress_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_type_PostalAddress_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_PostalAddress_descriptor,
- new java.lang.String[] {
- "Revision",
- "RegionCode",
- "LanguageCode",
- "PostalCode",
- "SortingCode",
- "AdministrativeArea",
- "Locality",
- "Sublocality",
- "AddressLines",
- "Recipients",
- "Organization",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionProto.java
deleted file mode 100644
index 068b26b377..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionProto.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * 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/type/quaternion.proto
-
-package com.google.type;
-
-public final class QuaternionProto {
- private QuaternionProto() {}
-
- 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_type_Quaternion_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_Quaternion_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\034google/type/quaternion.proto\022\013google.t"
- + "ype\"8\n\nQuaternion\022\t\n\001x\030\001 \001(\001\022\t\n\001y\030\002 \001(\001\022"
- + "\t\n\001z\030\003 \001(\001\022\t\n\001w\030\004 \001(\001Bo\n\017com.google.type"
- + "B\017QuaternionProtoP\001Z@google.golang.org/g"
- + "enproto/googleapis/type/quaternion;quate"
- + "rnion\370\001\001\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_type_Quaternion_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_type_Quaternion_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_Quaternion_descriptor,
- new java.lang.String[] {
- "X", "Y", "Z", "W",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayProto.java
deleted file mode 100644
index ffa69a4167..0000000000
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayProto.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * 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/type/timeofday.proto
-
-package com.google.type;
-
-public final class TimeOfDayProto {
- private TimeOfDayProto() {}
-
- 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_type_TimeOfDay_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_type_TimeOfDay_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\033google/type/timeofday.proto\022\013google.ty"
- + "pe\"K\n\tTimeOfDay\022\r\n\005hours\030\001 \001(\005\022\017\n\007minute"
- + "s\030\002 \001(\005\022\017\n\007seconds\030\003 \001(\005\022\r\n\005nanos\030\004 \001(\005B"
- + "l\n\017com.google.typeB\016TimeOfDayProtoP\001Z>go"
- + "ogle.golang.org/genproto/googleapis/type"
- + "/timeofday;timeofday\370\001\001\242\002\003GTPb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
- internal_static_google_type_TimeOfDay_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_google_type_TimeOfDay_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_type_TimeOfDay_descriptor,
- new java.lang.String[] {
- "Hours", "Minutes", "Seconds", "Nanos",
- });
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java b/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java
similarity index 52%
rename from java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java
rename to owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java
index 8cc3bac92e..1cad8a1258 100644
--- a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java
+++ b/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java
@@ -1,25 +1,8 @@
-/*
- * 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.
- */
package com.google.cloud.location;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
- *
- *
* * An abstract interface that provides location-related information for * a service. Service-specific metadata is provided through the @@ -37,134 +20,113 @@ private LocationsGrpc() {} public static final java.lang.String SERVICE_NAME = "google.cloud.location.Locations"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.location.ListLocationsRequest, - com.google.cloud.location.ListLocationsResponse> - getListLocationsMethod; + private static volatile io.grpc.MethodDescriptorgetListLocationsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListLocations", requestType = com.google.cloud.location.ListLocationsRequest.class, responseType = com.google.cloud.location.ListLocationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.location.ListLocationsRequest, - com.google.cloud.location.ListLocationsResponse> - getListLocationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.location.ListLocationsRequest, - com.google.cloud.location.ListLocationsResponse> - getListLocationsMethod; + public static io.grpc.MethodDescriptor getListLocationsMethod() { + io.grpc.MethodDescriptor getListLocationsMethod; if ((getListLocationsMethod = LocationsGrpc.getListLocationsMethod) == null) { synchronized (LocationsGrpc.class) { if ((getListLocationsMethod = LocationsGrpc.getListLocationsMethod) == null) { - LocationsGrpc.getListLocationsMethod = - getListLocationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.location.ListLocationsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.location.ListLocationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new LocationsMethodDescriptorSupplier("ListLocations")) - .build(); + LocationsGrpc.getListLocationsMethod = getListLocationsMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.location.ListLocationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.location.ListLocationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new LocationsMethodDescriptorSupplier("ListLocations")) + .build(); } } } return getListLocationsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.location.GetLocationRequest, com.google.cloud.location.Location> - getGetLocationMethod; + private static volatile io.grpc.MethodDescriptor getGetLocationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetLocation", requestType = com.google.cloud.location.GetLocationRequest.class, responseType = com.google.cloud.location.Location.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.location.GetLocationRequest, com.google.cloud.location.Location> - getGetLocationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.location.GetLocationRequest, com.google.cloud.location.Location> - getGetLocationMethod; + public static io.grpc.MethodDescriptor getGetLocationMethod() { + io.grpc.MethodDescriptor getGetLocationMethod; if ((getGetLocationMethod = LocationsGrpc.getGetLocationMethod) == null) { synchronized (LocationsGrpc.class) { if ((getGetLocationMethod = LocationsGrpc.getGetLocationMethod) == null) { - LocationsGrpc.getGetLocationMethod = - getGetLocationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.location.GetLocationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.location.Location.getDefaultInstance())) - .setSchemaDescriptor(new LocationsMethodDescriptorSupplier("GetLocation")) - .build(); + LocationsGrpc.getGetLocationMethod = getGetLocationMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.location.GetLocationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.location.Location.getDefaultInstance())) + .setSchemaDescriptor(new LocationsMethodDescriptorSupplier("GetLocation")) + .build(); } } } return getGetLocationMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static LocationsStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory () { - @java.lang.Override - public LocationsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LocationsStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory () { + @java.lang.Override + public LocationsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LocationsStub(channel, callOptions); + } + }; return LocationsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static LocationsBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static LocationsBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory () { - @java.lang.Override - public LocationsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LocationsBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory () { + @java.lang.Override + public LocationsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LocationsBlockingStub(channel, callOptions); + } + }; return LocationsBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static LocationsFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static LocationsFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory () { - @java.lang.Override - public LocationsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LocationsFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory () { + @java.lang.Override + public LocationsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LocationsFutureStub(channel, callOptions); + } + }; return LocationsFutureStub.newStub(factory, channel); } /** - * - * * * An abstract interface that provides location-related information for * a service. Service-specific metadata is provided through the @@ -174,108 +136,88 @@ public LocationsFutureStub newStub( public interface AsyncService { /** - * - * ** Lists information about the supported locations for this service. **/ - default void listLocations( - com.google.cloud.location.ListLocationsRequest request, - io.grpc.stub.StreamObserver- responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListLocationsMethod(), responseObserver); + default void listLocations(com.google.cloud.location.ListLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLocationsMethod(), responseObserver); } /** - * - * * * Gets information about a location. **/ - default void getLocation( - com.google.cloud.location.GetLocationRequest request, + default void getLocation(com.google.cloud.location.GetLocationRequest request, io.grpc.stub.StreamObserverresponseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetLocationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLocationMethod(), responseObserver); } } /** * Base class for the server implementation of the service Locations. - * * * An abstract interface that provides location-related information for * a service. Service-specific metadata is provided through the * [Location.metadata][google.cloud.location.Location.metadata] field. **/ - public abstract static class LocationsImplBase implements io.grpc.BindableService, AsyncService { + public static abstract class LocationsImplBase + implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return LocationsGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service Locations. - * ** An abstract interface that provides location-related information for * a service. Service-specific metadata is provided through the * [Location.metadata][google.cloud.location.Location.metadata] field. **/ - public static final class LocationsStub extends io.grpc.stub.AbstractAsyncStub{ - private LocationsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class LocationsStub + extends io.grpc.stub.AbstractAsyncStub { + private LocationsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected LocationsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected LocationsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new LocationsStub(channel, callOptions); } /** - * - * * * Lists information about the supported locations for this service. **/ - public void listLocations( - com.google.cloud.location.ListLocationsRequest request, - io.grpc.stub.StreamObserver- responseObserver) { + public void listLocations(com.google.cloud.location.ListLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListLocationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListLocationsMethod(), getCallOptions()), request, responseObserver); } /** - * - * * * Gets information about a location. **/ - public void getLocation( - com.google.cloud.location.GetLocationRequest request, + public void getLocation(com.google.cloud.location.GetLocationRequest request, io.grpc.stub.StreamObserverresponseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetLocationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetLocationMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service Locations. - * * * An abstract interface that provides location-related information for * a service. Service-specific metadata is provided through the @@ -284,7 +226,8 @@ public void getLocation( */ public static final class LocationsBlockingStub extends io.grpc.stub.AbstractBlockingStub{ - private LocationsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private LocationsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -295,27 +238,21 @@ protected LocationsBlockingStub build( } /** - * - * * * Lists information about the supported locations for this service. **/ - public com.google.cloud.location.ListLocationsResponse listLocations( - com.google.cloud.location.ListLocationsRequest request) { + public com.google.cloud.location.ListLocationsResponse listLocations(com.google.cloud.location.ListLocationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListLocationsMethod(), getCallOptions(), request); } /** - * - * ** Gets information about a location. **/ - public com.google.cloud.location.Location getLocation( - com.google.cloud.location.GetLocationRequest request) { + public com.google.cloud.location.Location getLocation(com.google.cloud.location.GetLocationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetLocationMethod(), getCallOptions(), request); } @@ -323,7 +260,6 @@ public com.google.cloud.location.Location getLocation( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service Locations. - * ** An abstract interface that provides location-related information for * a service. Service-specific metadata is provided through the @@ -332,38 +268,35 @@ public com.google.cloud.location.Location getLocation( */ public static final class LocationsFutureStub extends io.grpc.stub.AbstractFutureStub{ - private LocationsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private LocationsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected LocationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected LocationsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new LocationsFutureStub(channel, callOptions); } /** - * - * * * Lists information about the supported locations for this service. **/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.location.ListLocationsResponse> - listLocations(com.google.cloud.location.ListLocationsRequest request) { + public com.google.common.util.concurrent.ListenableFuturelistLocations( + com.google.cloud.location.ListLocationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListLocationsMethod(), getCallOptions()), request); } /** - * - * * * Gets information about a location. **/ - public com.google.common.util.concurrent.ListenableFuture- getLocation(com.google.cloud.location.GetLocationRequest request) { + public com.google.common.util.concurrent.ListenableFuture getLocation( + com.google.cloud.location.GetLocationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetLocationMethod(), getCallOptions()), request); } @@ -372,11 +305,11 @@ protected LocationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions private static final int METHODID_LIST_LOCATIONS = 0; private static final int METHODID_GET_LOCATION = 1; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod , - io.grpc.stub.ServerCalls.ServerStreamingMethod , - io.grpc.stub.ServerCalls.ClientStreamingMethod , - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod , + io.grpc.stub.ServerCalls.ServerStreamingMethod , + io.grpc.stub.ServerCalls.ClientStreamingMethod , + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -390,14 +323,11 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_LOCATIONS: - serviceImpl.listLocations( - (com.google.cloud.location.ListLocationsRequest) request, - (io.grpc.stub.StreamObserver ) - responseObserver); + serviceImpl.listLocations((com.google.cloud.location.ListLocationsRequest) request, + (io.grpc.stub.StreamObserver ) responseObserver); break; case METHODID_GET_LOCATION: - serviceImpl.getLocation( - (com.google.cloud.location.GetLocationRequest) request, + serviceImpl.getLocation((com.google.cloud.location.GetLocationRequest) request, (io.grpc.stub.StreamObserver ) responseObserver); break; default: @@ -419,24 +349,24 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListLocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.location.ListLocationsRequest, - com.google.cloud.location.ListLocationsResponse>( - service, METHODID_LIST_LOCATIONS))) + getListLocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.location.ListLocationsRequest, + com.google.cloud.location.ListLocationsResponse>( + service, METHODID_LIST_LOCATIONS))) .addMethod( - getGetLocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.location.GetLocationRequest, - com.google.cloud.location.Location>(service, METHODID_GET_LOCATION))) + getGetLocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.location.GetLocationRequest, + com.google.cloud.location.Location>( + service, METHODID_GET_LOCATION))) .build(); } - private abstract static class LocationsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class LocationsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { LocationsBaseDescriptorSupplier() {} @java.lang.Override @@ -478,13 +408,11 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (LocationsGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new LocationsFileDescriptorSupplier()) - .addMethod(getListLocationsMethod()) - .addMethod(getGetLocationMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new LocationsFileDescriptorSupplier()) + .addMethod(getListLocationsMethod()) + .addMethod(getGetLocationMethod()) + .build(); } } } diff --git a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java b/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java similarity index 62% rename from java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java rename to owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java index 6e81480663..e044053306 100644 --- a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java +++ b/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java @@ -1,25 +1,8 @@ -/* - * 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. - */ package com.google.longrunning; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * * * Manages long-running operations with an API service. * When an API method normally takes long time to complete, it can be designed @@ -42,257 +25,206 @@ private OperationsGrpc() {} public static final java.lang.String SERVICE_NAME = "google.longrunning.Operations"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.longrunning.ListOperationsRequest, - com.google.longrunning.ListOperationsResponse> - getListOperationsMethod; + private static volatile io.grpc.MethodDescriptorgetListOperationsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListOperations", requestType = com.google.longrunning.ListOperationsRequest.class, responseType = com.google.longrunning.ListOperationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.longrunning.ListOperationsRequest, - com.google.longrunning.ListOperationsResponse> - getListOperationsMethod() { - io.grpc.MethodDescriptor< - com.google.longrunning.ListOperationsRequest, - com.google.longrunning.ListOperationsResponse> - getListOperationsMethod; + public static io.grpc.MethodDescriptor getListOperationsMethod() { + io.grpc.MethodDescriptor getListOperationsMethod; if ((getListOperationsMethod = OperationsGrpc.getListOperationsMethod) == null) { synchronized (OperationsGrpc.class) { if ((getListOperationsMethod = OperationsGrpc.getListOperationsMethod) == null) { - OperationsGrpc.getListOperationsMethod = - getListOperationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.ListOperationsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.ListOperationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OperationsMethodDescriptorSupplier("ListOperations")) - .build(); + OperationsGrpc.getListOperationsMethod = getListOperationsMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.ListOperationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.ListOperationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OperationsMethodDescriptorSupplier("ListOperations")) + .build(); } } } return getListOperationsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.longrunning.GetOperationRequest, com.google.longrunning.Operation> - getGetOperationMethod; + private static volatile io.grpc.MethodDescriptor getGetOperationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetOperation", requestType = com.google.longrunning.GetOperationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.longrunning.GetOperationRequest, com.google.longrunning.Operation> - getGetOperationMethod() { - io.grpc.MethodDescriptor< - com.google.longrunning.GetOperationRequest, com.google.longrunning.Operation> - getGetOperationMethod; + public static io.grpc.MethodDescriptor getGetOperationMethod() { + io.grpc.MethodDescriptor getGetOperationMethod; if ((getGetOperationMethod = OperationsGrpc.getGetOperationMethod) == null) { synchronized (OperationsGrpc.class) { if ((getGetOperationMethod = OperationsGrpc.getGetOperationMethod) == null) { - OperationsGrpc.getGetOperationMethod = - getGetOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.GetOperationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new OperationsMethodDescriptorSupplier("GetOperation")) - .build(); + OperationsGrpc.getGetOperationMethod = getGetOperationMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.GetOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new OperationsMethodDescriptorSupplier("GetOperation")) + .build(); } } } return getGetOperationMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.longrunning.DeleteOperationRequest, com.google.protobuf.Empty> - getDeleteOperationMethod; + private static volatile io.grpc.MethodDescriptor getDeleteOperationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteOperation", requestType = com.google.longrunning.DeleteOperationRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.longrunning.DeleteOperationRequest, com.google.protobuf.Empty> - getDeleteOperationMethod() { - io.grpc.MethodDescriptor< - com.google.longrunning.DeleteOperationRequest, com.google.protobuf.Empty> - getDeleteOperationMethod; + public static io.grpc.MethodDescriptor getDeleteOperationMethod() { + io.grpc.MethodDescriptor getDeleteOperationMethod; if ((getDeleteOperationMethod = OperationsGrpc.getDeleteOperationMethod) == null) { synchronized (OperationsGrpc.class) { if ((getDeleteOperationMethod = OperationsGrpc.getDeleteOperationMethod) == null) { - OperationsGrpc.getDeleteOperationMethod = - getDeleteOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.DeleteOperationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new OperationsMethodDescriptorSupplier("DeleteOperation")) - .build(); + OperationsGrpc.getDeleteOperationMethod = getDeleteOperationMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.DeleteOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new OperationsMethodDescriptorSupplier("DeleteOperation")) + .build(); } } } return getDeleteOperationMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.longrunning.CancelOperationRequest, com.google.protobuf.Empty> - getCancelOperationMethod; + private static volatile io.grpc.MethodDescriptor getCancelOperationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CancelOperation", requestType = com.google.longrunning.CancelOperationRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.longrunning.CancelOperationRequest, com.google.protobuf.Empty> - getCancelOperationMethod() { - io.grpc.MethodDescriptor< - com.google.longrunning.CancelOperationRequest, com.google.protobuf.Empty> - getCancelOperationMethod; + public static io.grpc.MethodDescriptor getCancelOperationMethod() { + io.grpc.MethodDescriptor getCancelOperationMethod; if ((getCancelOperationMethod = OperationsGrpc.getCancelOperationMethod) == null) { synchronized (OperationsGrpc.class) { if ((getCancelOperationMethod = OperationsGrpc.getCancelOperationMethod) == null) { - OperationsGrpc.getCancelOperationMethod = - getCancelOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.CancelOperationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new OperationsMethodDescriptorSupplier("CancelOperation")) - .build(); + OperationsGrpc.getCancelOperationMethod = getCancelOperationMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.CancelOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new OperationsMethodDescriptorSupplier("CancelOperation")) + .build(); } } } return getCancelOperationMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.longrunning.WaitOperationRequest, com.google.longrunning.Operation> - getWaitOperationMethod; + private static volatile io.grpc.MethodDescriptor getWaitOperationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "WaitOperation", requestType = com.google.longrunning.WaitOperationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.longrunning.WaitOperationRequest, com.google.longrunning.Operation> - getWaitOperationMethod() { - io.grpc.MethodDescriptor< - com.google.longrunning.WaitOperationRequest, com.google.longrunning.Operation> - getWaitOperationMethod; + public static io.grpc.MethodDescriptor getWaitOperationMethod() { + io.grpc.MethodDescriptor getWaitOperationMethod; if ((getWaitOperationMethod = OperationsGrpc.getWaitOperationMethod) == null) { synchronized (OperationsGrpc.class) { if ((getWaitOperationMethod = OperationsGrpc.getWaitOperationMethod) == null) { - OperationsGrpc.getWaitOperationMethod = - getWaitOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WaitOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.WaitOperationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new OperationsMethodDescriptorSupplier("WaitOperation")) - .build(); + OperationsGrpc.getWaitOperationMethod = getWaitOperationMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WaitOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.WaitOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new OperationsMethodDescriptorSupplier("WaitOperation")) + .build(); } } } return getWaitOperationMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static OperationsStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory () { - @java.lang.Override - public OperationsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OperationsStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory () { + @java.lang.Override + public OperationsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OperationsStub(channel, callOptions); + } + }; return OperationsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static OperationsBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static OperationsBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory () { - @java.lang.Override - public OperationsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OperationsBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory () { + @java.lang.Override + public OperationsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OperationsBlockingStub(channel, callOptions); + } + }; return OperationsBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static OperationsFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static OperationsFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory () { - @java.lang.Override - public OperationsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OperationsFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory () { + @java.lang.Override + public OperationsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OperationsFutureStub(channel, callOptions); + } + }; return OperationsFutureStub.newStub(factory, channel); } /** - * - * * * Manages long-running operations with an API service. * When an API method normally takes long time to complete, it can be designed @@ -307,8 +239,6 @@ public OperationsFutureStub newStub( public interface AsyncService { /** - * - * ** Lists operations that match the specified filter in the request. If the * server doesn't support this method, it returns `UNIMPLEMENTED`. @@ -321,33 +251,24 @@ public interface AsyncService { * is the parent resource, without the operations collection id. **/ - default void listOperations( - com.google.longrunning.ListOperationsRequest request, - io.grpc.stub.StreamObserver- responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListOperationsMethod(), responseObserver); + default void listOperations(com.google.longrunning.ListOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver); } /** - * - * * * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API * service. **/ - default void getOperation( - com.google.longrunning.GetOperationRequest request, + default void getOperation(com.google.longrunning.GetOperationRequest request, io.grpc.stub.StreamObserverresponseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOperationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOperationMethod(), responseObserver); } /** - * - * * * Deletes a long-running operation. This method indicates that the client is * no longer interested in the operation result. It does not cancel the @@ -355,16 +276,12 @@ default void getOperation( * `google.rpc.Code.UNIMPLEMENTED`. **/ - default void deleteOperation( - com.google.longrunning.DeleteOperationRequest request, + default void deleteOperation(com.google.longrunning.DeleteOperationRequest request, io.grpc.stub.StreamObserverresponseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteOperationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteOperationMethod(), responseObserver); } /** - * - * * * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not @@ -378,16 +295,12 @@ default void deleteOperation( * corresponding to `Code.CANCELLED`. **/ - default void cancelOperation( - com.google.longrunning.CancelOperationRequest request, + default void cancelOperation(com.google.longrunning.CancelOperationRequest request, io.grpc.stub.StreamObserverresponseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelOperationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelOperationMethod(), responseObserver); } /** - * - * * * Waits until the specified long-running operation is done or reaches at most * a specified timeout, returning the latest state. If the operation is @@ -400,17 +313,14 @@ default void cancelOperation( * immediate response is no guarantee that the operation is done. **/ - default void waitOperation( - com.google.longrunning.WaitOperationRequest request, + default void waitOperation(com.google.longrunning.WaitOperationRequest request, io.grpc.stub.StreamObserverresponseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getWaitOperationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWaitOperationMethod(), responseObserver); } } /** * Base class for the server implementation of the service Operations. - * * * Manages long-running operations with an API service. * When an API method normally takes long time to complete, it can be designed @@ -422,17 +332,16 @@ default void waitOperation( * so developers can have a consistent client experience. **/ - public abstract static class OperationsImplBase implements io.grpc.BindableService, AsyncService { + public static abstract class OperationsImplBase + implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return OperationsGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service Operations. - * ** Manages long-running operations with an API service. * When an API method normally takes long time to complete, it can be designed @@ -444,19 +353,20 @@ public final io.grpc.ServerServiceDefinition bindService() { * so developers can have a consistent client experience. **/ - public static final class OperationsStub extends io.grpc.stub.AbstractAsyncStub{ - private OperationsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class OperationsStub + extends io.grpc.stub.AbstractAsyncStub { + private OperationsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected OperationsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected OperationsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OperationsStub(channel, callOptions); } /** - * - * * * Lists operations that match the specified filter in the request. If the * server doesn't support this method, it returns `UNIMPLEMENTED`. @@ -469,37 +379,26 @@ protected OperationsStub build(io.grpc.Channel channel, io.grpc.CallOptions call * is the parent resource, without the operations collection id. **/ - public void listOperations( - com.google.longrunning.ListOperationsRequest request, - io.grpc.stub.StreamObserver- responseObserver) { + public void listOperations(com.google.longrunning.ListOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOperationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListOperationsMethod(), getCallOptions()), request, responseObserver); } /** - * - * * * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API * service. **/ - public void getOperation( - com.google.longrunning.GetOperationRequest request, + public void getOperation(com.google.longrunning.GetOperationRequest request, io.grpc.stub.StreamObserverresponseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOperationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetOperationMethod(), getCallOptions()), request, responseObserver); } /** - * - * * * Deletes a long-running operation. This method indicates that the client is * no longer interested in the operation result. It does not cancel the @@ -507,18 +406,13 @@ public void getOperation( * `google.rpc.Code.UNIMPLEMENTED`. **/ - public void deleteOperation( - com.google.longrunning.DeleteOperationRequest request, + public void deleteOperation(com.google.longrunning.DeleteOperationRequest request, io.grpc.stub.StreamObserverresponseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteOperationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteOperationMethod(), getCallOptions()), request, responseObserver); } /** - * - * * * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not @@ -532,18 +426,13 @@ public void deleteOperation( * corresponding to `Code.CANCELLED`. **/ - public void cancelOperation( - com.google.longrunning.CancelOperationRequest request, + public void cancelOperation(com.google.longrunning.CancelOperationRequest request, io.grpc.stub.StreamObserverresponseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelOperationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request, responseObserver); } /** - * - * * * Waits until the specified long-running operation is done or reaches at most * a specified timeout, returning the latest state. If the operation is @@ -556,19 +445,15 @@ public void cancelOperation( * immediate response is no guarantee that the operation is done. **/ - public void waitOperation( - com.google.longrunning.WaitOperationRequest request, + public void waitOperation(com.google.longrunning.WaitOperationRequest request, io.grpc.stub.StreamObserverresponseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getWaitOperationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getWaitOperationMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service Operations. - * * * Manages long-running operations with an API service. * When an API method normally takes long time to complete, it can be designed @@ -582,7 +467,8 @@ public void waitOperation( */ public static final class OperationsBlockingStub extends io.grpc.stub.AbstractBlockingStub{ - private OperationsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private OperationsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -593,8 +479,6 @@ protected OperationsBlockingStub build( } /** - * - * * * Lists operations that match the specified filter in the request. If the * server doesn't support this method, it returns `UNIMPLEMENTED`. @@ -607,30 +491,24 @@ protected OperationsBlockingStub build( * is the parent resource, without the operations collection id. **/ - public com.google.longrunning.ListOperationsResponse listOperations( - com.google.longrunning.ListOperationsRequest request) { + public com.google.longrunning.ListOperationsResponse listOperations(com.google.longrunning.ListOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListOperationsMethod(), getCallOptions(), request); } /** - * - * ** Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API * service. **/ - public com.google.longrunning.Operation getOperation( - com.google.longrunning.GetOperationRequest request) { + public com.google.longrunning.Operation getOperation(com.google.longrunning.GetOperationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetOperationMethod(), getCallOptions(), request); } /** - * - * ** Deletes a long-running operation. This method indicates that the client is * no longer interested in the operation result. It does not cancel the @@ -638,15 +516,12 @@ public com.google.longrunning.Operation getOperation( * `google.rpc.Code.UNIMPLEMENTED`. **/ - public com.google.protobuf.Empty deleteOperation( - com.google.longrunning.DeleteOperationRequest request) { + public com.google.protobuf.Empty deleteOperation(com.google.longrunning.DeleteOperationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteOperationMethod(), getCallOptions(), request); } /** - * - * ** Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not @@ -660,15 +535,12 @@ public com.google.protobuf.Empty deleteOperation( * corresponding to `Code.CANCELLED`. **/ - public com.google.protobuf.Empty cancelOperation( - com.google.longrunning.CancelOperationRequest request) { + public com.google.protobuf.Empty cancelOperation(com.google.longrunning.CancelOperationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelOperationMethod(), getCallOptions(), request); } /** - * - * ** Waits until the specified long-running operation is done or reaches at most * a specified timeout, returning the latest state. If the operation is @@ -681,8 +553,7 @@ public com.google.protobuf.Empty cancelOperation( * immediate response is no guarantee that the operation is done. **/ - public com.google.longrunning.Operation waitOperation( - com.google.longrunning.WaitOperationRequest request) { + public com.google.longrunning.Operation waitOperation(com.google.longrunning.WaitOperationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getWaitOperationMethod(), getCallOptions(), request); } @@ -690,7 +561,6 @@ public com.google.longrunning.Operation waitOperation( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service Operations. - * ** Manages long-running operations with an API service. * When an API method normally takes long time to complete, it can be designed @@ -704,18 +574,18 @@ public com.google.longrunning.Operation waitOperation( */ public static final class OperationsFutureStub extends io.grpc.stub.AbstractFutureStub{ - private OperationsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private OperationsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected OperationsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OperationsFutureStub(channel, callOptions); } /** - * - * * * Lists operations that match the specified filter in the request. If the * server doesn't support this method, it returns `UNIMPLEMENTED`. @@ -728,31 +598,26 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * is the parent resource, without the operations collection id. **/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.longrunning.ListOperationsResponse> - listOperations(com.google.longrunning.ListOperationsRequest request) { + public com.google.common.util.concurrent.ListenableFuturelistOperations( + com.google.longrunning.ListOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); } /** - * - * * * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API * service. **/ - public com.google.common.util.concurrent.ListenableFuture- getOperation(com.google.longrunning.GetOperationRequest request) { + public com.google.common.util.concurrent.ListenableFuture getOperation( + com.google.longrunning.GetOperationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetOperationMethod(), getCallOptions()), request); } /** - * - * * * Deletes a long-running operation. This method indicates that the client is * no longer interested in the operation result. It does not cancel the @@ -760,15 +625,13 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * `google.rpc.Code.UNIMPLEMENTED`. **/ - public com.google.common.util.concurrent.ListenableFuture- deleteOperation(com.google.longrunning.DeleteOperationRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteOperation( + com.google.longrunning.DeleteOperationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteOperationMethod(), getCallOptions()), request); } /** - * - * * * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not @@ -782,15 +645,13 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * corresponding to `Code.CANCELLED`. **/ - public com.google.common.util.concurrent.ListenableFuture- cancelOperation(com.google.longrunning.CancelOperationRequest request) { + public com.google.common.util.concurrent.ListenableFuture cancelOperation( + com.google.longrunning.CancelOperationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request); } /** - * - * * * Waits until the specified long-running operation is done or reaches at most * a specified timeout, returning the latest state. If the operation is @@ -803,8 +664,8 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * immediate response is no guarantee that the operation is done. **/ - public com.google.common.util.concurrent.ListenableFuture- waitOperation(com.google.longrunning.WaitOperationRequest request) { + public com.google.common.util.concurrent.ListenableFuture waitOperation( + com.google.longrunning.WaitOperationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getWaitOperationMethod(), getCallOptions()), request); } @@ -816,11 +677,11 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption private static final int METHODID_CANCEL_OPERATION = 3; private static final int METHODID_WAIT_OPERATION = 4; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod , - io.grpc.stub.ServerCalls.ServerStreamingMethod , - io.grpc.stub.ServerCalls.ClientStreamingMethod , - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod , + io.grpc.stub.ServerCalls.ServerStreamingMethod , + io.grpc.stub.ServerCalls.ClientStreamingMethod , + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -834,29 +695,23 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_OPERATIONS: - serviceImpl.listOperations( - (com.google.longrunning.ListOperationsRequest) request, - (io.grpc.stub.StreamObserver ) - responseObserver); + serviceImpl.listOperations((com.google.longrunning.ListOperationsRequest) request, + (io.grpc.stub.StreamObserver ) responseObserver); break; case METHODID_GET_OPERATION: - serviceImpl.getOperation( - (com.google.longrunning.GetOperationRequest) request, + serviceImpl.getOperation((com.google.longrunning.GetOperationRequest) request, (io.grpc.stub.StreamObserver ) responseObserver); break; case METHODID_DELETE_OPERATION: - serviceImpl.deleteOperation( - (com.google.longrunning.DeleteOperationRequest) request, + serviceImpl.deleteOperation((com.google.longrunning.DeleteOperationRequest) request, (io.grpc.stub.StreamObserver ) responseObserver); break; case METHODID_CANCEL_OPERATION: - serviceImpl.cancelOperation( - (com.google.longrunning.CancelOperationRequest) request, + serviceImpl.cancelOperation((com.google.longrunning.CancelOperationRequest) request, (io.grpc.stub.StreamObserver ) responseObserver); break; case METHODID_WAIT_OPERATION: - serviceImpl.waitOperation( - (com.google.longrunning.WaitOperationRequest) request, + serviceImpl.waitOperation((com.google.longrunning.WaitOperationRequest) request, (io.grpc.stub.StreamObserver ) responseObserver); break; default: @@ -878,42 +733,45 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.longrunning.ListOperationsRequest, - com.google.longrunning.ListOperationsResponse>( - service, METHODID_LIST_OPERATIONS))) + getListOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.longrunning.ListOperationsRequest, + com.google.longrunning.ListOperationsResponse>( + service, METHODID_LIST_OPERATIONS))) .addMethod( - getGetOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.longrunning.GetOperationRequest, com.google.longrunning.Operation>( - service, METHODID_GET_OPERATION))) + getGetOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.longrunning.GetOperationRequest, + com.google.longrunning.Operation>( + service, METHODID_GET_OPERATION))) .addMethod( - getDeleteOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.longrunning.DeleteOperationRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_OPERATION))) + getDeleteOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.longrunning.DeleteOperationRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_OPERATION))) .addMethod( - getCancelOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.longrunning.CancelOperationRequest, com.google.protobuf.Empty>( - service, METHODID_CANCEL_OPERATION))) + getCancelOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.longrunning.CancelOperationRequest, + com.google.protobuf.Empty>( + service, METHODID_CANCEL_OPERATION))) .addMethod( - getWaitOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.longrunning.WaitOperationRequest, com.google.longrunning.Operation>( - service, METHODID_WAIT_OPERATION))) + getWaitOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.longrunning.WaitOperationRequest, + com.google.longrunning.Operation>( + service, METHODID_WAIT_OPERATION))) .build(); } - private abstract static class OperationsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class OperationsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { OperationsBaseDescriptorSupplier() {} @java.lang.Override @@ -955,16 +813,14 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (OperationsGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new OperationsFileDescriptorSupplier()) - .addMethod(getListOperationsMethod()) - .addMethod(getGetOperationMethod()) - .addMethod(getDeleteOperationMethod()) - .addMethod(getCancelOperationMethod()) - .addMethod(getWaitOperationMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new OperationsFileDescriptorSupplier()) + .addMethod(getListOperationsMethod()) + .addMethod(getGetOperationMethod()) + .addMethod(getDeleteOperationMethod()) + .addMethod(getCancelOperationMethod()) + .addMethod(getWaitOperationMethod()) + .build(); } } } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Advice.java similarity index 69% rename from java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java rename to owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Advice.java index b6660f50a2..f1e9e88e83 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java +++ b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Advice.java @@ -1,26 +1,10 @@ -/* - * 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/api/config_change.proto +// Protobuf Java Version: 3.25.2 package com.google.api; /** - * - * * * Generated advice about this change, used for providing more * information about how a change will affect the existing service. @@ -28,27 +12,28 @@ * * Protobuf type {@code google.api.Advice} */ -public final class Advice extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Advice extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.Advice) AdviceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Advice.newBuilder() to construct. private Advice(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private Advice() { description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Advice(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_descriptor; } @@ -61,19 +46,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * ** Useful description for why this advice was applied and what actions should * be taken to mitigate any implied risks. ** *string description = 2;
- * * @return The description. */ @java.lang.Override @@ -82,30 +63,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * ** Useful description for why this advice was applied and what actions should * be taken to mitigate any implied risks. ** *string description = 2;
- * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -114,7 +95,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } @@ -150,14 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.api.Advice)) { return super.equals(obj); } com.google.api.Advice other = (com.google.api.Advice) obj; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,103 +158,99 @@ public int hashCode() { return hash; } - public static com.google.api.Advice parseFrom(java.nio.ByteBuffer data) + public static com.google.api.Advice parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.Advice parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.Advice parseFrom(com.google.protobuf.ByteString data) + public static com.google.api.Advice parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.Advice 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.api.Advice parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.Advice parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.Advice parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.Advice parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.Advice parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Advice parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.Advice parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.api.Advice parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.Advice parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.api.Advice prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * ** Generated advice about this change, used for providing more * information about how a change will affect the existing service. @@ -280,11 +258,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Advice} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder- implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Advice) com.google.api.AdviceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_descriptor; } @@ -297,12 +276,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.api.Advice.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -312,7 +294,8 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_descriptor; } @@ -333,9 +316,7 @@ public com.google.api.Advice build() { @java.lang.Override public com.google.api.Advice buildPartial() { com.google.api.Advice result = new com.google.api.Advice(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -351,39 +332,38 @@ private void buildPartial0(com.google.api.Advice result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.api.Advice) { - return mergeFrom((com.google.api.Advice) other); + return mergeFrom((com.google.api.Advice)other); } else { super.mergeFrom(other); return this; @@ -423,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + 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) { @@ -445,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object description_ = ""; /** - * - * * * Useful description for why this advice was applied and what actions should * be taken to mitigate any implied risks. ** *string description = 2;
- * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -473,22 +448,21 @@ public java.lang.String getDescription() { } } /** - * - * ** Useful description for why this advice was applied and what actions should * be taken to mitigate any implied risks. ** *string description = 2;
- * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -496,37 +470,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * ** Useful description for why this advice was applied and what actions should * be taken to mitigate any implied risks. ** *string description = 2;
- * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * ** Useful description for why this advice was applied and what actions should * be taken to mitigate any implied risks. ** *string description = 2;
- * * @return This builder for chaining. */ public Builder clearDescription() { @@ -536,31 +503,27 @@ public Builder clearDescription() { return this; } /** - * - * ** Useful description for why this advice was applied and what actions should * be taken to mitigate any implied risks. ** *string description = 2;
- * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.Advice) } // @@protoc_insertion_point(class_scope:google.api.Advice) private static final com.google.api.Advice DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.Advice(); } @@ -584,27 +547,27 @@ public static com.google.api.Advice getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.ParserPARSER = - new com.google.protobuf.AbstractParser () { - @java.lang.Override - public Advice 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser () { + @java.lang.Override + public Advice 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; @@ -619,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Advice getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java similarity index 51% rename from java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java rename to owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java index 313e6ff8d9..ba9fb4fb22 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java +++ b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java @@ -1,52 +1,32 @@ -/* - * 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/api/config_change.proto +// Protobuf Java Version: 3.25.2 package com.google.api; -public interface AdviceOrBuilder - extends +public interface AdviceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.Advice) com.google.protobuf.MessageOrBuilder { /** - * - * * * Useful description for why this advice was applied and what actions should * be taken to mitigate any implied risks. ** *string description = 2;
- * * @return The description. */ java.lang.String getDescription(); /** - * - * ** Useful description for why this advice was applied and what actions should * be taken to mitigate any implied risks. ** *string description = 2;
- * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java new file mode 100644 index 0000000000..8b55328a5f --- /dev/null +++ b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java @@ -0,0 +1,64 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/api/annotations.proto + +// Protobuf Java Version: 3.25.2 +package com.google.api; + +public final class AnnotationsProto { + private AnnotationsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + registry.add(com.google.api.AnnotationsProto.http); + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public static final int HTTP_FIELD_NUMBER = 72295728; + /** + *+ * See `HttpRule`. + *+ * + *extend .google.protobuf.MethodOptions { ... }
+ */ + public static final + com.google.protobuf.GeneratedMessage.GeneratedExtension< + com.google.protobuf.DescriptorProtos.MethodOptions, + com.google.api.HttpRule> http = com.google.protobuf.GeneratedMessage + .newFileScopedGeneratedExtension( + com.google.api.HttpRule.class, + com.google.api.HttpRule.getDefaultInstance()); + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\034google/api/annotations.proto\022\ngoogle.a" + + "pi\032\025google/api/http.proto\032 google/protob" + + "uf/descriptor.proto:E\n\004http\022\036.google.pro" + + "tobuf.MethodOptions\030\260\312\274\" \001(\0132\024.google.ap" + + "i.HttpRuleBn\n\016com.google.apiB\020Annotation" + + "sProtoP\001ZAgoogle.golang.org/genproto/goo" + + "gleapis/api/annotations;annotations\242\002\004GA" + + "PIb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.HttpProto.getDescriptor(), + com.google.protobuf.DescriptorProtos.getDescriptor(), + }); + http.internalInit(descriptor.getExtensions().get(0)); + com.google.api.HttpProto.getDescriptor(); + com.google.protobuf.DescriptorProtos.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java new file mode 100644 index 0000000000..a64a4c1af9 --- /dev/null +++ b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java @@ -0,0 +1,121 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/api/auth.proto + +// Protobuf Java Version: 3.25.2 +package com.google.api; + +public final class AuthProto { + private AuthProto() {} + 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_api_Authentication_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_Authentication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_AuthenticationRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_AuthenticationRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_JwtLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_JwtLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_AuthProvider_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_AuthProvider_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_OAuthRequirements_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_OAuthRequirements_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_api_AuthRequirement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_api_AuthRequirement_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\025google/api/auth.proto\022\ngoogle.api\"l\n\016A" + + "uthentication\022-\n\005rules\030\003 \003(\0132\036.google.ap" + + "i.AuthenticationRule\022+\n\tproviders\030\004 \003(\0132" + + "\030.google.api.AuthProvider\"\251\001\n\022Authentica" + + "tionRule\022\020\n\010selector\030\001 \001(\t\022,\n\005oauth\030\002 \001(" + + "\0132\035.google.api.OAuthRequirements\022 \n\030allo" + + "w_without_credential\030\005 \001(\010\0221\n\014requiremen" + + "ts\030\007 \003(\0132\033.google.api.AuthRequirement\"^\n" + + "\013JwtLocation\022\020\n\006header\030\001 \001(\tH\000\022\017\n\005query\030" + + "\002 \001(\tH\000\022\020\n\006cookie\030\004 \001(\tH\000\022\024\n\014value_prefi" + + "x\030\003 \001(\tB\004\n\002in\"\232\001\n\014AuthProvider\022\n\n\002id\030\001 \001" + + "(\t\022\016\n\006issuer\030\002 \001(\t\022\020\n\010jwks_uri\030\003 \001(\t\022\021\n\t" + + "audiences\030\004 \001(\t\022\031\n\021authorization_url\030\005 \001" + + "(\t\022.\n\rjwt_locations\030\006 \003(\0132\027.google.api.J" + + "wtLocation\"-\n\021OAuthRequirements\022\030\n\020canon" + + "ical_scopes\030\001 \001(\t\"9\n\017AuthRequirement\022\023\n\013" + + "provider_id\030\001 \001(\t\022\021\n\taudiences\030\002 \001(\tBk\n\016" + + "com.google.apiB\tAuthProtoP\001ZEgoogle.gola" + + "ng.org/genproto/googleapis/api/serviceco" + + "nfig;serviceconfig\242\002\004GAPIb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_api_Authentication_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_api_Authentication_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_Authentication_descriptor, + new java.lang.String[] { "Rules", "Providers", }); + internal_static_google_api_AuthenticationRule_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_api_AuthenticationRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_AuthenticationRule_descriptor, + new java.lang.String[] { "Selector", "Oauth", "AllowWithoutCredential", "Requirements", }); + internal_static_google_api_JwtLocation_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_api_JwtLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_JwtLocation_descriptor, + new java.lang.String[] { "Header", "Query", "Cookie", "ValuePrefix", "In", }); + internal_static_google_api_AuthProvider_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_api_AuthProvider_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_AuthProvider_descriptor, + new java.lang.String[] { "Id", "Issuer", "JwksUri", "Audiences", "AuthorizationUrl", "JwtLocations", }); + internal_static_google_api_OAuthRequirements_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_api_OAuthRequirements_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_OAuthRequirements_descriptor, + new java.lang.String[] { "CanonicalScopes", }); + internal_static_google_api_AuthRequirement_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_api_AuthRequirement_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_api_AuthRequirement_descriptor, + new java.lang.String[] { "ProviderId", "Audiences", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java similarity index 83% rename from java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java rename to owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java index 8e667869e9..404c93bf38 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java +++ b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java @@ -1,26 +1,10 @@ -/* - * 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/api/auth.proto +// Protobuf Java Version: 3.25.2 package com.google.api; /** - * - * ** Configuration for an authentication provider, including support for * [JSON Web Token @@ -29,16 +13,15 @@ * * Protobuf type {@code google.api.AuthProvider} */ -public final class AuthProvider extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuthProvider extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.AuthProvider) AuthProviderOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuthProvider.newBuilder() to construct. private AuthProvider(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private AuthProvider() { id_ = ""; issuer_ = ""; @@ -50,11 +33,13 @@ private AuthProvider() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuthProvider(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthProvider_descriptor; } @@ -67,12 +52,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } public static final int ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * ** The unique identifier of the auth provider. It will be referred to by * `AuthRequirement.provider_id`. @@ -81,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { ** *string id = 1;
- * * @return The id. */ @java.lang.Override @@ -90,15 +71,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * ** The unique identifier of the auth provider. It will be referred to by * `AuthRequirement.provider_id`. @@ -107,15 +87,16 @@ public java.lang.String getId() { ** *string id = 1;
- * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -124,12 +105,9 @@ public com.google.protobuf.ByteString getIdBytes() { } public static final int ISSUER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object issuer_ = ""; /** - * - * ** Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -140,7 +118,6 @@ public com.google.protobuf.ByteString getIdBytes() { ** *string issuer = 2;
- * * @return The issuer. */ @java.lang.Override @@ -149,15 +126,14 @@ public java.lang.String getIssuer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } } /** - * - * ** Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -168,15 +144,16 @@ public java.lang.String getIssuer() { ** *string issuer = 2;
- * * @return The bytes for issuer. */ @java.lang.Override - public com.google.protobuf.ByteString getIssuerBytes() { + public com.google.protobuf.ByteString + getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuer_ = b; return b; } else { @@ -185,12 +162,9 @@ public com.google.protobuf.ByteString getIssuerBytes() { } public static final int JWKS_URI_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object jwksUri_ = ""; /** - * - * ** URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -207,7 +181,6 @@ public com.google.protobuf.ByteString getIssuerBytes() { ** *string jwks_uri = 3;
- * * @return The jwksUri. */ @java.lang.Override @@ -216,15 +189,14 @@ public java.lang.String getJwksUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; } } /** - * - * ** URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -241,15 +213,16 @@ public java.lang.String getJwksUri() { ** *string jwks_uri = 3;
- * * @return The bytes for jwksUri. */ @java.lang.Override - public com.google.protobuf.ByteString getJwksUriBytes() { + public com.google.protobuf.ByteString + getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -258,12 +231,9 @@ public com.google.protobuf.ByteString getJwksUriBytes() { } public static final int AUDIENCES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object audiences_ = ""; /** - * - * ** The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). @@ -285,7 +255,6 @@ public com.google.protobuf.ByteString getJwksUriBytes() { ** *string audiences = 4;
- * * @return The audiences. */ @java.lang.Override @@ -294,15 +263,14 @@ public java.lang.String getAudiences() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audiences_ = s; return s; } } /** - * - * ** The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). @@ -324,15 +292,16 @@ public java.lang.String getAudiences() { ** *string audiences = 4;
- * * @return The bytes for audiences. */ @java.lang.Override - public com.google.protobuf.ByteString getAudiencesBytes() { + public com.google.protobuf.ByteString + getAudiencesBytes() { java.lang.Object ref = audiences_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audiences_ = b; return b; } else { @@ -341,19 +310,15 @@ public com.google.protobuf.ByteString getAudiencesBytes() { } public static final int AUTHORIZATION_URL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object authorizationUrl_ = ""; /** - * - * ** Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. ** *string authorization_url = 5;
- * * @return The authorizationUrl. */ @java.lang.Override @@ -362,30 +327,30 @@ public java.lang.String getAuthorizationUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationUrl_ = s; return s; } } /** - * - * ** Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. ** *string authorization_url = 5;
- * * @return The bytes for authorizationUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthorizationUrlBytes() { + public com.google.protobuf.ByteString + getAuthorizationUrlBytes() { java.lang.Object ref = authorizationUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationUrl_ = b; return b; } else { @@ -394,12 +359,9 @@ public com.google.protobuf.ByteString getAuthorizationUrlBytes() { } public static final int JWT_LOCATIONS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.ListjwtLocations_; /** - * - * * * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -428,8 +390,6 @@ public java.util.ListgetJwtLocationsList() { return jwtLocations_; } /** - * - * * * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -454,13 +414,11 @@ public java.util.ListgetJwtLocationsList() { * repeated .google.api.JwtLocation jwt_locations = 6;
*/ @java.lang.Override - public java.util.List extends com.google.api.JwtLocationOrBuilder> + public java.util.List extends com.google.api.JwtLocationOrBuilder> getJwtLocationsOrBuilderList() { return jwtLocations_; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -489,8 +447,6 @@ public int getJwtLocationsCount() { return jwtLocations_.size(); } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -519,8 +475,6 @@ public com.google.api.JwtLocation getJwtLocations(int index) { return jwtLocations_.get(index); } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -545,12 +499,12 @@ public com.google.api.JwtLocation getJwtLocations(int index) { *repeated .google.api.JwtLocation jwt_locations = 6;
*/ @java.lang.Override - public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index) { + public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder( + int index) { return jwtLocations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -562,7 +516,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -606,7 +561,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, authorizationUrl_); } for (int i = 0; i < jwtLocations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, jwtLocations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, jwtLocations_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -616,19 +572,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.api.AuthProvider)) { return super.equals(obj); } com.google.api.AuthProvider other = (com.google.api.AuthProvider) obj; - if (!getId().equals(other.getId())) return false; - if (!getIssuer().equals(other.getIssuer())) return false; - if (!getJwksUri().equals(other.getJwksUri())) return false; - if (!getAudiences().equals(other.getAudiences())) return false; - if (!getAuthorizationUrl().equals(other.getAuthorizationUrl())) return false; - if (!getJwtLocationsList().equals(other.getJwtLocationsList())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getIssuer() + .equals(other.getIssuer())) return false; + if (!getJwksUri() + .equals(other.getJwksUri())) return false; + if (!getAudiences() + .equals(other.getAudiences())) return false; + if (!getAuthorizationUrl() + .equals(other.getAuthorizationUrl())) return false; + if (!getJwtLocationsList() + .equals(other.getJwtLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -659,103 +621,99 @@ public int hashCode() { return hash; } - public static com.google.api.AuthProvider parseFrom(java.nio.ByteBuffer data) + public static com.google.api.AuthProvider parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.AuthProvider parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.AuthProvider parseFrom(com.google.protobuf.ByteString data) + public static com.google.api.AuthProvider parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.AuthProvider 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.api.AuthProvider parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.AuthProvider parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.AuthProvider parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.AuthProvider parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.AuthProvider parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.api.AuthProvider parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.AuthProvider parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.api.AuthProvider parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.AuthProvider parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.api.AuthProvider prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * ** Configuration for an authentication provider, including support for * [JSON Web Token @@ -764,11 +722,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.AuthProvider} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder- implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.AuthProvider) com.google.api.AuthProviderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthProvider_descriptor; } @@ -781,12 +740,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.api.AuthProvider.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -807,7 +769,8 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.api.AuthProto.internal_static_google_api_AuthProvider_descriptor; } @@ -829,9 +792,7 @@ public com.google.api.AuthProvider build() { public com.google.api.AuthProvider buildPartial() { com.google.api.AuthProvider result = new com.google.api.AuthProvider(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -871,39 +832,38 @@ private void buildPartial0(com.google.api.AuthProvider result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.api.AuthProvider) { - return mergeFrom((com.google.api.AuthProvider) other); + return mergeFrom((com.google.api.AuthProvider)other); } else { super.mergeFrom(other); return this; @@ -955,10 +915,9 @@ public Builder mergeFrom(com.google.api.AuthProvider other) { jwtLocationsBuilder_ = null; jwtLocations_ = other.jwtLocations_; bitField0_ = (bitField0_ & ~0x00000020); - jwtLocationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJwtLocationsFieldBuilder() - : null; + jwtLocationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJwtLocationsFieldBuilder() : null; } else { jwtLocationsBuilder_.addAllMessages(other.jwtLocations_); } @@ -990,55 +949,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - issuer_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - jwksUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - audiences_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - authorizationUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - com.google.api.JwtLocation m = - input.readMessage(com.google.api.JwtLocation.parser(), extensionRegistry); - if (jwtLocationsBuilder_ == null) { - ensureJwtLocationsIsMutable(); - jwtLocations_.add(m); - } else { - jwtLocationsBuilder_.addMessage(m); - } - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + issuer_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + jwksUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + audiences_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + authorizationUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.api.JwtLocation m = + input.readMessage( + com.google.api.JwtLocation.parser(), + extensionRegistry); + if (jwtLocationsBuilder_ == null) { + ensureJwtLocationsIsMutable(); + jwtLocations_.add(m); + } else { + jwtLocationsBuilder_.addMessage(m); + } + break; + } // case 50 + 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) { @@ -1048,13 +1002,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object id_ = ""; /** - * - * * * The unique identifier of the auth provider. It will be referred to by * `AuthRequirement.provider_id`. @@ -1063,13 +1014,13 @@ public Builder mergeFrom( ** *string id = 1;
- * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -1078,8 +1029,6 @@ public java.lang.String getId() { } } /** - * - * ** The unique identifier of the auth provider. It will be referred to by * `AuthRequirement.provider_id`. @@ -1088,14 +1037,15 @@ public java.lang.String getId() { ** *string id = 1;
- * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -1103,8 +1053,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * ** The unique identifier of the auth provider. It will be referred to by * `AuthRequirement.provider_id`. @@ -1113,22 +1061,18 @@ public com.google.protobuf.ByteString getIdBytes() { ** *string id = 1;
- * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * ** The unique identifier of the auth provider. It will be referred to by * `AuthRequirement.provider_id`. @@ -1137,7 +1081,6 @@ public Builder setId(java.lang.String value) { ** *string id = 1;
- * * @return This builder for chaining. */ public Builder clearId() { @@ -1147,8 +1090,6 @@ public Builder clearId() { return this; } /** - * - * ** The unique identifier of the auth provider. It will be referred to by * `AuthRequirement.provider_id`. @@ -1157,14 +1098,12 @@ public Builder clearId() { ** *string id = 1;
- * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -1174,8 +1113,6 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object issuer_ = ""; /** - * - * ** Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -1186,13 +1123,13 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { ** *string issuer = 2;
- * * @return The issuer. */ public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; @@ -1201,8 +1138,6 @@ public java.lang.String getIssuer() { } } /** - * - * ** Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -1213,14 +1148,15 @@ public java.lang.String getIssuer() { ** *string issuer = 2;
- * * @return The bytes for issuer. */ - public com.google.protobuf.ByteString getIssuerBytes() { + public com.google.protobuf.ByteString + getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuer_ = b; return b; } else { @@ -1228,8 +1164,6 @@ public com.google.protobuf.ByteString getIssuerBytes() { } } /** - * - * ** Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -1240,22 +1174,18 @@ public com.google.protobuf.ByteString getIssuerBytes() { ** *string issuer = 2;
- * * @param value The issuer to set. * @return This builder for chaining. */ - public Builder setIssuer(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssuer( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } issuer_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * ** Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -1266,7 +1196,6 @@ public Builder setIssuer(java.lang.String value) { ** *string issuer = 2;
- * * @return This builder for chaining. */ public Builder clearIssuer() { @@ -1276,8 +1205,6 @@ public Builder clearIssuer() { return this; } /** - * - * ** Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -1288,14 +1215,12 @@ public Builder clearIssuer() { ** *string issuer = 2;
- * * @param value The bytes for issuer to set. * @return This builder for chaining. */ - public Builder setIssuerBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssuerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issuer_ = value; bitField0_ |= 0x00000002; @@ -1305,8 +1230,6 @@ public Builder setIssuerBytes(com.google.protobuf.ByteString value) { private java.lang.Object jwksUri_ = ""; /** - * - * ** URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -1323,13 +1246,13 @@ public Builder setIssuerBytes(com.google.protobuf.ByteString value) { ** *string jwks_uri = 3;
- * * @return The jwksUri. */ public java.lang.String getJwksUri() { java.lang.Object ref = jwksUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; @@ -1338,8 +1261,6 @@ public java.lang.String getJwksUri() { } } /** - * - * ** URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -1356,14 +1277,15 @@ public java.lang.String getJwksUri() { ** *string jwks_uri = 3;
- * * @return The bytes for jwksUri. */ - public com.google.protobuf.ByteString getJwksUriBytes() { + public com.google.protobuf.ByteString + getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -1371,8 +1293,6 @@ public com.google.protobuf.ByteString getJwksUriBytes() { } } /** - * - * ** URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -1389,22 +1309,18 @@ public com.google.protobuf.ByteString getJwksUriBytes() { ** *string jwks_uri = 3;
- * * @param value The jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJwksUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } jwksUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * ** URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -1421,7 +1337,6 @@ public Builder setJwksUri(java.lang.String value) { ** *string jwks_uri = 3;
- * * @return This builder for chaining. */ public Builder clearJwksUri() { @@ -1431,8 +1346,6 @@ public Builder clearJwksUri() { return this; } /** - * - * ** URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -1449,14 +1362,12 @@ public Builder clearJwksUri() { ** *string jwks_uri = 3;
- * * @param value The bytes for jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJwksUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jwksUri_ = value; bitField0_ |= 0x00000004; @@ -1466,8 +1377,6 @@ public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object audiences_ = ""; /** - * - * ** The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). @@ -1489,13 +1398,13 @@ public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { ** *string audiences = 4;
- * * @return The audiences. */ public java.lang.String getAudiences() { java.lang.Object ref = audiences_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audiences_ = s; return s; @@ -1504,8 +1413,6 @@ public java.lang.String getAudiences() { } } /** - * - * ** The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). @@ -1527,14 +1434,15 @@ public java.lang.String getAudiences() { ** *string audiences = 4;
- * * @return The bytes for audiences. */ - public com.google.protobuf.ByteString getAudiencesBytes() { + public com.google.protobuf.ByteString + getAudiencesBytes() { java.lang.Object ref = audiences_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audiences_ = b; return b; } else { @@ -1542,8 +1450,6 @@ public com.google.protobuf.ByteString getAudiencesBytes() { } } /** - * - * ** The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). @@ -1565,22 +1471,18 @@ public com.google.protobuf.ByteString getAudiencesBytes() { ** *string audiences = 4;
- * * @param value The audiences to set. * @return This builder for chaining. */ - public Builder setAudiences(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAudiences( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } audiences_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * ** The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). @@ -1602,7 +1504,6 @@ public Builder setAudiences(java.lang.String value) { ** *string audiences = 4;
- * * @return This builder for chaining. */ public Builder clearAudiences() { @@ -1612,8 +1513,6 @@ public Builder clearAudiences() { return this; } /** - * - * ** The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). @@ -1635,14 +1534,12 @@ public Builder clearAudiences() { ** *string audiences = 4;
- * * @param value The bytes for audiences to set. * @return This builder for chaining. */ - public Builder setAudiencesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAudiencesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); audiences_ = value; bitField0_ |= 0x00000008; @@ -1652,21 +1549,19 @@ public Builder setAudiencesBytes(com.google.protobuf.ByteString value) { private java.lang.Object authorizationUrl_ = ""; /** - * - * ** Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. ** *string authorization_url = 5;
- * * @return The authorizationUrl. */ public java.lang.String getAuthorizationUrl() { java.lang.Object ref = authorizationUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationUrl_ = s; return s; @@ -1675,22 +1570,21 @@ public java.lang.String getAuthorizationUrl() { } } /** - * - * ** Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. ** *string authorization_url = 5;
- * * @return The bytes for authorizationUrl. */ - public com.google.protobuf.ByteString getAuthorizationUrlBytes() { + public com.google.protobuf.ByteString + getAuthorizationUrlBytes() { java.lang.Object ref = authorizationUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationUrl_ = b; return b; } else { @@ -1698,37 +1592,30 @@ public com.google.protobuf.ByteString getAuthorizationUrlBytes() { } } /** - * - * ** Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. ** *string authorization_url = 5;
- * * @param value The authorizationUrl to set. * @return This builder for chaining. */ - public Builder setAuthorizationUrl(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } authorizationUrl_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * ** Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. ** *string authorization_url = 5;
- * * @return This builder for chaining. */ public Builder clearAuthorizationUrl() { @@ -1738,22 +1625,18 @@ public Builder clearAuthorizationUrl() { return this; } /** - * - * ** Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. ** *string authorization_url = 5;
- * * @param value The bytes for authorizationUrl to set. * @return This builder for chaining. */ - public Builder setAuthorizationUrlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizationUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); authorizationUrl_ = value; bitField0_ |= 0x00000010; @@ -1762,24 +1645,18 @@ public Builder setAuthorizationUrlBytes(com.google.protobuf.ByteString value) { } private java.util.ListjwtLocations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJwtLocationsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { jwtLocations_ = new java.util.ArrayList (jwtLocations_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.JwtLocation, - com.google.api.JwtLocation.Builder, - com.google.api.JwtLocationOrBuilder> - jwtLocationsBuilder_; + com.google.api.JwtLocation, com.google.api.JwtLocation.Builder, com.google.api.JwtLocationOrBuilder> jwtLocationsBuilder_; /** - * - * * * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -1811,8 +1688,6 @@ public java.util.ListgetJwtLocationsList() { } } /** - * - * * * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -1844,8 +1719,6 @@ public int getJwtLocationsCount() { } } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -1877,8 +1750,6 @@ public com.google.api.JwtLocation getJwtLocations(int index) { } } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -1902,7 +1773,8 @@ public com.google.api.JwtLocation getJwtLocations(int index) { * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public Builder setJwtLocations(int index, com.google.api.JwtLocation value) { + public Builder setJwtLocations( + int index, com.google.api.JwtLocation value) { if (jwtLocationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1916,8 +1788,6 @@ public Builder setJwtLocations(int index, com.google.api.JwtLocation value) { return this; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -1941,7 +1811,8 @@ public Builder setJwtLocations(int index, com.google.api.JwtLocation value) { * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public Builder setJwtLocations(int index, com.google.api.JwtLocation.Builder builderForValue) { + public Builder setJwtLocations( + int index, com.google.api.JwtLocation.Builder builderForValue) { if (jwtLocationsBuilder_ == null) { ensureJwtLocationsIsMutable(); jwtLocations_.set(index, builderForValue.build()); @@ -1952,8 +1823,6 @@ public Builder setJwtLocations(int index, com.google.api.JwtLocation.Builder bui return this; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -1991,8 +1860,6 @@ public Builder addJwtLocations(com.google.api.JwtLocation value) { return this; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2016,7 +1883,8 @@ public Builder addJwtLocations(com.google.api.JwtLocation value) { * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public Builder addJwtLocations(int index, com.google.api.JwtLocation value) { + public Builder addJwtLocations( + int index, com.google.api.JwtLocation value) { if (jwtLocationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2030,8 +1898,6 @@ public Builder addJwtLocations(int index, com.google.api.JwtLocation value) { return this; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2055,7 +1921,8 @@ public Builder addJwtLocations(int index, com.google.api.JwtLocation value) { * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public Builder addJwtLocations(com.google.api.JwtLocation.Builder builderForValue) { + public Builder addJwtLocations( + com.google.api.JwtLocation.Builder builderForValue) { if (jwtLocationsBuilder_ == null) { ensureJwtLocationsIsMutable(); jwtLocations_.add(builderForValue.build()); @@ -2066,8 +1933,6 @@ public Builder addJwtLocations(com.google.api.JwtLocation.Builder builderForValu return this; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2091,7 +1956,8 @@ public Builder addJwtLocations(com.google.api.JwtLocation.Builder builderForValu * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public Builder addJwtLocations(int index, com.google.api.JwtLocation.Builder builderForValue) { + public Builder addJwtLocations( + int index, com.google.api.JwtLocation.Builder builderForValue) { if (jwtLocationsBuilder_ == null) { ensureJwtLocationsIsMutable(); jwtLocations_.add(index, builderForValue.build()); @@ -2102,8 +1968,6 @@ public Builder addJwtLocations(int index, com.google.api.JwtLocation.Builder bui return this; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2131,7 +1995,8 @@ public Builder addAllJwtLocations( java.lang.Iterable extends com.google.api.JwtLocation> values) { if (jwtLocationsBuilder_ == null) { ensureJwtLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jwtLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jwtLocations_); onChanged(); } else { jwtLocationsBuilder_.addAllMessages(values); @@ -2139,8 +2004,6 @@ public Builder addAllJwtLocations( return this; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2175,8 +2038,6 @@ public Builder clearJwtLocations() { return this; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2211,8 +2072,6 @@ public Builder removeJwtLocations(int index) { return this; } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2236,12 +2095,11 @@ public Builder removeJwtLocations(int index) { * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public com.google.api.JwtLocation.Builder getJwtLocationsBuilder(int index) { + public com.google.api.JwtLocation.Builder getJwtLocationsBuilder( + int index) { return getJwtLocationsFieldBuilder().getBuilder(index); } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2265,16 +2123,14 @@ public com.google.api.JwtLocation.Builder getJwtLocationsBuilder(int index) { * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index) { + public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder( + int index) { if (jwtLocationsBuilder_ == null) { - return jwtLocations_.get(index); - } else { + return jwtLocations_.get(index); } else { return jwtLocationsBuilder_.getMessageOrBuilder(index); } } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2298,8 +2154,8 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index) { * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public java.util.List extends com.google.api.JwtLocationOrBuilder> - getJwtLocationsOrBuilderList() { + public java.util.List extends com.google.api.JwtLocationOrBuilder> + getJwtLocationsOrBuilderList() { if (jwtLocationsBuilder_ != null) { return jwtLocationsBuilder_.getMessageOrBuilderList(); } else { @@ -2307,8 +2163,6 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index) { } } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2333,12 +2187,10 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index) { *repeated .google.api.JwtLocation jwt_locations = 6;
*/ public com.google.api.JwtLocation.Builder addJwtLocationsBuilder() { - return getJwtLocationsFieldBuilder() - .addBuilder(com.google.api.JwtLocation.getDefaultInstance()); + return getJwtLocationsFieldBuilder().addBuilder( + com.google.api.JwtLocation.getDefaultInstance()); } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2362,13 +2214,12 @@ public com.google.api.JwtLocation.Builder addJwtLocationsBuilder() { * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public com.google.api.JwtLocation.Builder addJwtLocationsBuilder(int index) { - return getJwtLocationsFieldBuilder() - .addBuilder(index, com.google.api.JwtLocation.getDefaultInstance()); + public com.google.api.JwtLocation.Builder addJwtLocationsBuilder( + int index) { + return getJwtLocationsFieldBuilder().addBuilder( + index, com.google.api.JwtLocation.getDefaultInstance()); } /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -2392,29 +2243,27 @@ public com.google.api.JwtLocation.Builder addJwtLocationsBuilder(int index) { * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - public java.util.ListgetJwtLocationsBuilderList() { + public java.util.List + getJwtLocationsBuilderList() { return getJwtLocationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.JwtLocation, - com.google.api.JwtLocation.Builder, - com.google.api.JwtLocationOrBuilder> + com.google.api.JwtLocation, com.google.api.JwtLocation.Builder, com.google.api.JwtLocationOrBuilder> getJwtLocationsFieldBuilder() { if (jwtLocationsBuilder_ == null) { - jwtLocationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.JwtLocation, - com.google.api.JwtLocation.Builder, - com.google.api.JwtLocationOrBuilder>( - jwtLocations_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); + jwtLocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.JwtLocation, com.google.api.JwtLocation.Builder, com.google.api.JwtLocationOrBuilder>( + jwtLocations_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); jwtLocations_ = null; } return jwtLocationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2424,12 +2273,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.AuthProvider) } // @@protoc_insertion_point(class_scope:google.api.AuthProvider) private static final com.google.api.AuthProvider DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.AuthProvider(); } @@ -2438,27 +2287,27 @@ public static com.google.api.AuthProvider getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser () { - @java.lang.Override - public AuthProvider 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser () { + @java.lang.Override + public AuthProvider 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; @@ -2473,4 +2322,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.AuthProvider getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java similarity index 88% rename from java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java rename to owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java index ac0f0426ee..8ed8eb96a9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java +++ b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java @@ -1,31 +1,14 @@ -/* - * 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/api/auth.proto +// Protobuf Java Version: 3.25.2 package com.google.api; -public interface AuthProviderOrBuilder - extends +public interface AuthProviderOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.AuthProvider) com.google.protobuf.MessageOrBuilder { /** - * - * * * The unique identifier of the auth provider. It will be referred to by * `AuthRequirement.provider_id`. @@ -34,13 +17,10 @@ public interface AuthProviderOrBuilder ** *string id = 1;
- * * @return The id. */ java.lang.String getId(); /** - * - * ** The unique identifier of the auth provider. It will be referred to by * `AuthRequirement.provider_id`. @@ -49,14 +29,12 @@ public interface AuthProviderOrBuilder ** *string id = 1;
- * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * ** Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -67,13 +45,10 @@ public interface AuthProviderOrBuilder ** *string issuer = 2;
- * * @return The issuer. */ java.lang.String getIssuer(); /** - * - * ** Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -84,14 +59,12 @@ public interface AuthProviderOrBuilder ** *string issuer = 2;
- * * @return The bytes for issuer. */ - com.google.protobuf.ByteString getIssuerBytes(); + com.google.protobuf.ByteString + getIssuerBytes(); /** - * - * ** URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -108,13 +81,10 @@ public interface AuthProviderOrBuilder ** *string jwks_uri = 3;
- * * @return The jwksUri. */ java.lang.String getJwksUri(); /** - * - * ** URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -131,14 +101,12 @@ public interface AuthProviderOrBuilder ** *string jwks_uri = 3;
- * * @return The bytes for jwksUri. */ - com.google.protobuf.ByteString getJwksUriBytes(); + com.google.protobuf.ByteString + getJwksUriBytes(); /** - * - * ** The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). @@ -160,13 +128,10 @@ public interface AuthProviderOrBuilder ** *string audiences = 4;
- * * @return The audiences. */ java.lang.String getAudiences(); /** - * - * ** The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). @@ -188,41 +153,34 @@ public interface AuthProviderOrBuilder ** *string audiences = 4;
- * * @return The bytes for audiences. */ - com.google.protobuf.ByteString getAudiencesBytes(); + com.google.protobuf.ByteString + getAudiencesBytes(); /** - * - * ** Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. ** *string authorization_url = 5;
- * * @return The authorizationUrl. */ java.lang.String getAuthorizationUrl(); /** - * - * ** Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. ** *string authorization_url = 5;
- * * @return The bytes for authorizationUrl. */ - com.google.protobuf.ByteString getAuthorizationUrlBytes(); + com.google.protobuf.ByteString + getAuthorizationUrlBytes(); /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -246,10 +204,9 @@ public interface AuthProviderOrBuilder * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - java.util.ListgetJwtLocationsList(); + java.util.List + getJwtLocationsList(); /** - * - * * * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -275,8 +232,6 @@ public interface AuthProviderOrBuilder */ com.google.api.JwtLocation getJwtLocations(int index); /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -302,8 +257,6 @@ public interface AuthProviderOrBuilder */ int getJwtLocationsCount(); /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -327,10 +280,9 @@ public interface AuthProviderOrBuilder * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - java.util.List extends com.google.api.JwtLocationOrBuilder> getJwtLocationsOrBuilderList(); + java.util.List extends com.google.api.JwtLocationOrBuilder> + getJwtLocationsOrBuilderList(); /** - * - * ** Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] @@ -354,5 +306,6 @@ public interface AuthProviderOrBuilder * *repeated .google.api.JwtLocation jwt_locations = 6;
*/ - com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index); + com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder( + int index); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java similarity index 76% rename from java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java rename to owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java index 4a23308b2f..5e5fef830d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java +++ b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java @@ -1,26 +1,10 @@ -/* - * 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/api/auth.proto +// Protobuf Java Version: 3.25.2 package com.google.api; /** - * - * ** User-defined authentication requirements, including support for * [JSON Web Token @@ -29,16 +13,15 @@ * * Protobuf type {@code google.api.AuthRequirement} */ -public final class AuthRequirement extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuthRequirement extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.AuthRequirement) AuthRequirementOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuthRequirement.newBuilder() to construct. private AuthRequirement(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private AuthRequirement() { providerId_ = ""; audiences_ = ""; @@ -46,11 +29,13 @@ private AuthRequirement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuthRequirement(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthRequirement_descriptor; } @@ -63,12 +48,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } public static final int PROVIDER_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object providerId_ = ""; /** - * - * ** [id][google.api.AuthProvider.id] from authentication provider. * @@ -78,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { ** *string provider_id = 1;
- * * @return The providerId. */ @java.lang.Override @@ -87,15 +68,14 @@ public java.lang.String getProviderId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); providerId_ = s; return s; } } /** - * - * ** [id][google.api.AuthProvider.id] from authentication provider. * @@ -105,15 +85,16 @@ public java.lang.String getProviderId() { ** *string provider_id = 1;
- * * @return The bytes for providerId. */ @java.lang.Override - public com.google.protobuf.ByteString getProviderIdBytes() { + public com.google.protobuf.ByteString + getProviderIdBytes() { java.lang.Object ref = providerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); providerId_ = b; return b; } else { @@ -122,12 +103,9 @@ public com.google.protobuf.ByteString getProviderIdBytes() { } public static final int AUDIENCES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object audiences_ = ""; /** - * - * ** NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -148,7 +126,6 @@ public com.google.protobuf.ByteString getProviderIdBytes() { ** *string audiences = 2;
- * * @return The audiences. */ @java.lang.Override @@ -157,15 +134,14 @@ public java.lang.String getAudiences() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audiences_ = s; return s; } } /** - * - * ** NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -186,15 +162,16 @@ public java.lang.String getAudiences() { ** *string audiences = 2;
- * * @return The bytes for audiences. */ @java.lang.Override - public com.google.protobuf.ByteString getAudiencesBytes() { + public com.google.protobuf.ByteString + getAudiencesBytes() { java.lang.Object ref = audiences_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audiences_ = b; return b; } else { @@ -203,7 +180,6 @@ public com.google.protobuf.ByteString getAudiencesBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(providerId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, providerId_); } @@ -245,15 +222,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.api.AuthRequirement)) { return super.equals(obj); } com.google.api.AuthRequirement other = (com.google.api.AuthRequirement) obj; - if (!getProviderId().equals(other.getProviderId())) return false; - if (!getAudiences().equals(other.getAudiences())) return false; + if (!getProviderId() + .equals(other.getProviderId())) return false; + if (!getAudiences() + .equals(other.getAudiences())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -274,103 +253,99 @@ public int hashCode() { return hash; } - public static com.google.api.AuthRequirement parseFrom(java.nio.ByteBuffer data) + public static com.google.api.AuthRequirement parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.AuthRequirement parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.AuthRequirement parseFrom(com.google.protobuf.ByteString data) + public static com.google.api.AuthRequirement parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.AuthRequirement 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.api.AuthRequirement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.AuthRequirement parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.AuthRequirement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.AuthRequirement parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.AuthRequirement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.api.AuthRequirement parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.AuthRequirement parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.api.AuthRequirement parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.AuthRequirement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.api.AuthRequirement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * ** User-defined authentication requirements, including support for * [JSON Web Token @@ -379,11 +354,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.AuthRequirement} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder- implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.AuthRequirement) com.google.api.AuthRequirementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthRequirement_descriptor; } @@ -396,12 +372,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.api.AuthRequirement.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -412,7 +391,8 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.api.AuthProto.internal_static_google_api_AuthRequirement_descriptor; } @@ -433,9 +413,7 @@ public com.google.api.AuthRequirement build() { @java.lang.Override public com.google.api.AuthRequirement buildPartial() { com.google.api.AuthRequirement result = new com.google.api.AuthRequirement(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -454,39 +432,38 @@ private void buildPartial0(com.google.api.AuthRequirement result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.api.AuthRequirement) { - return mergeFrom((com.google.api.AuthRequirement) other); + return mergeFrom((com.google.api.AuthRequirement)other); } else { super.mergeFrom(other); return this; @@ -531,25 +508,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - providerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - audiences_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + providerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + audiences_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + 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) { @@ -559,13 +533,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object providerId_ = ""; /** - * - * * * [id][google.api.AuthProvider.id] from authentication provider. * @@ -575,13 +546,13 @@ public Builder mergeFrom( ** *string provider_id = 1;
- * * @return The providerId. */ public java.lang.String getProviderId() { java.lang.Object ref = providerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); providerId_ = s; return s; @@ -590,8 +561,6 @@ public java.lang.String getProviderId() { } } /** - * - * ** [id][google.api.AuthProvider.id] from authentication provider. * @@ -601,14 +570,15 @@ public java.lang.String getProviderId() { ** *string provider_id = 1;
- * * @return The bytes for providerId. */ - public com.google.protobuf.ByteString getProviderIdBytes() { + public com.google.protobuf.ByteString + getProviderIdBytes() { java.lang.Object ref = providerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); providerId_ = b; return b; } else { @@ -616,8 +586,6 @@ public com.google.protobuf.ByteString getProviderIdBytes() { } } /** - * - * ** [id][google.api.AuthProvider.id] from authentication provider. * @@ -627,22 +595,18 @@ public com.google.protobuf.ByteString getProviderIdBytes() { ** *string provider_id = 1;
- * * @param value The providerId to set. * @return This builder for chaining. */ - public Builder setProviderId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProviderId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } providerId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * ** [id][google.api.AuthProvider.id] from authentication provider. * @@ -652,7 +616,6 @@ public Builder setProviderId(java.lang.String value) { ** *string provider_id = 1;
- * * @return This builder for chaining. */ public Builder clearProviderId() { @@ -662,8 +625,6 @@ public Builder clearProviderId() { return this; } /** - * - * ** [id][google.api.AuthProvider.id] from authentication provider. * @@ -673,14 +634,12 @@ public Builder clearProviderId() { ** *string provider_id = 1;
- * * @param value The bytes for providerId to set. * @return This builder for chaining. */ - public Builder setProviderIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProviderIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); providerId_ = value; bitField0_ |= 0x00000001; @@ -690,8 +649,6 @@ public Builder setProviderIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object audiences_ = ""; /** - * - * ** NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -712,13 +669,13 @@ public Builder setProviderIdBytes(com.google.protobuf.ByteString value) { ** *string audiences = 2;
- * * @return The audiences. */ public java.lang.String getAudiences() { java.lang.Object ref = audiences_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audiences_ = s; return s; @@ -727,8 +684,6 @@ public java.lang.String getAudiences() { } } /** - * - * ** NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -749,14 +704,15 @@ public java.lang.String getAudiences() { ** *string audiences = 2;
- * * @return The bytes for audiences. */ - public com.google.protobuf.ByteString getAudiencesBytes() { + public com.google.protobuf.ByteString + getAudiencesBytes() { java.lang.Object ref = audiences_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audiences_ = b; return b; } else { @@ -764,8 +720,6 @@ public com.google.protobuf.ByteString getAudiencesBytes() { } } /** - * - * ** NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -786,22 +740,18 @@ public com.google.protobuf.ByteString getAudiencesBytes() { ** *string audiences = 2;
- * * @param value The audiences to set. * @return This builder for chaining. */ - public Builder setAudiences(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAudiences( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } audiences_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * ** NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -822,7 +772,6 @@ public Builder setAudiences(java.lang.String value) { ** *string audiences = 2;
- * * @return This builder for chaining. */ public Builder clearAudiences() { @@ -832,8 +781,6 @@ public Builder clearAudiences() { return this; } /** - * - * ** NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -854,23 +801,21 @@ public Builder clearAudiences() { ** *string audiences = 2;
- * * @param value The bytes for audiences to set. * @return This builder for chaining. */ - public Builder setAudiencesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAudiencesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); audiences_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -880,12 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.AuthRequirement) } // @@protoc_insertion_point(class_scope:google.api.AuthRequirement) private static final com.google.api.AuthRequirement DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.AuthRequirement(); } @@ -894,27 +839,27 @@ public static com.google.api.AuthRequirement getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.ParserPARSER = - new com.google.protobuf.AbstractParser () { - @java.lang.Override - public AuthRequirement 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser () { + @java.lang.Override + public AuthRequirement 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; @@ -929,4 +874,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.AuthRequirement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java similarity index 77% rename from java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java rename to owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java index 86a8a37c7c..bcae26f336 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java +++ b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java @@ -1,31 +1,14 @@ -/* - * 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/api/auth.proto +// Protobuf Java Version: 3.25.2 package com.google.api; -public interface AuthRequirementOrBuilder - extends +public interface AuthRequirementOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.AuthRequirement) com.google.protobuf.MessageOrBuilder { /** - * - * * * [id][google.api.AuthProvider.id] from authentication provider. * @@ -35,13 +18,10 @@ public interface AuthRequirementOrBuilder ** *string provider_id = 1;
- * * @return The providerId. */ java.lang.String getProviderId(); /** - * - * ** [id][google.api.AuthProvider.id] from authentication provider. * @@ -51,14 +31,12 @@ public interface AuthRequirementOrBuilder ** *string provider_id = 1;
- * * @return The bytes for providerId. */ - com.google.protobuf.ByteString getProviderIdBytes(); + com.google.protobuf.ByteString + getProviderIdBytes(); /** - * - * ** NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -79,13 +57,10 @@ public interface AuthRequirementOrBuilder ** *string audiences = 2;
- * * @return The audiences. */ java.lang.String getAudiences(); /** - * - * ** NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -106,8 +81,8 @@ public interface AuthRequirementOrBuilder ** *string audiences = 2;
- * * @return The bytes for audiences. */ - com.google.protobuf.ByteString getAudiencesBytes(); + com.google.protobuf.ByteString + getAudiencesBytes(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Authentication.java similarity index 77% rename from java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java rename to owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Authentication.java index eecc174580..20c7bdb922 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java +++ b/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Authentication.java @@ -1,26 +1,10 @@ -/* - * 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/api/auth.proto +// Protobuf Java Version: 3.25.2 package com.google.api; /** - * - * ** `Authentication` defines the authentication configuration for API methods * provided by an API service. @@ -44,16 +28,15 @@ * * Protobuf type {@code google.api.Authentication} */ -public final class Authentication extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Authentication extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.Authentication) AuthenticationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Authentication.newBuilder() to construct. private Authentication(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private Authentication() { rules_ = java.util.Collections.emptyList(); providers_ = java.util.Collections.emptyList(); @@ -61,11 +44,13 @@ private Authentication() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Authentication(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_Authentication_descriptor; } @@ -78,12 +63,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } public static final int RULES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.Listrules_; /** - * - * * * A list of authentication rules that apply to individual API methods. * @@ -97,8 +79,6 @@ public java.util.ListgetRulesList() { return rules_; } /** - * - * * * A list of authentication rules that apply to individual API methods. * @@ -108,13 +88,11 @@ public java.util.ListgetRulesList() { * repeated .google.api.AuthenticationRule rules = 3;
*/ @java.lang.Override - public java.util.List extends com.google.api.AuthenticationRuleOrBuilder> + public java.util.List extends com.google.api.AuthenticationRuleOrBuilder> getRulesOrBuilderList() { return rules_; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -128,8 +106,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -143,8 +119,6 @@ public com.google.api.AuthenticationRule getRules(int index) { return rules_.get(index); } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -154,17 +128,15 @@ public com.google.api.AuthenticationRule getRules(int index) { *repeated .google.api.AuthenticationRule rules = 3;
*/ @java.lang.Override - public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } public static final int PROVIDERS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.Listproviders_; /** - * - * * * Defines a set of authentication providers that a service supports. *@@ -176,8 +148,6 @@ public java.util.ListgetProvidersList() { return providers_; } /** - * - * * * Defines a set of authentication providers that a service supports. *@@ -185,13 +155,11 @@ public java.util.ListgetProvidersList() { * repeated .google.api.AuthProvider providers = 4;
*/ @java.lang.Override - public java.util.List extends com.google.api.AuthProviderOrBuilder> + public java.util.List extends com.google.api.AuthProviderOrBuilder> getProvidersOrBuilderList() { return providers_; } /** - * - * ** Defines a set of authentication providers that a service supports. *@@ -203,8 +171,6 @@ public int getProvidersCount() { return providers_.size(); } /** - * - * ** Defines a set of authentication providers that a service supports. *@@ -216,8 +182,6 @@ public com.google.api.AuthProvider getProviders(int index) { return providers_.get(index); } /** - * - * ** Defines a set of authentication providers that a service supports. *@@ -225,12 +189,12 @@ public com.google.api.AuthProvider getProviders(int index) { *repeated .google.api.AuthProvider providers = 4;
*/ @java.lang.Override - public com.google.api.AuthProviderOrBuilder getProvidersOrBuilder(int index) { + public com.google.api.AuthProviderOrBuilder getProvidersOrBuilder( + int index) { return providers_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(3, rules_.get(i)); } @@ -259,10 +224,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, rules_.get(i)); } for (int i = 0; i < providers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, providers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, providers_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -272,15 +239,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.api.Authentication)) { return super.equals(obj); } com.google.api.Authentication other = (com.google.api.Authentication) obj; - if (!getRulesList().equals(other.getRulesList())) return false; - if (!getProvidersList().equals(other.getProvidersList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; + if (!getProvidersList() + .equals(other.getProvidersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -305,103 +274,99 @@ public int hashCode() { return hash; } - public static com.google.api.Authentication parseFrom(java.nio.ByteBuffer data) + public static com.google.api.Authentication parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.Authentication parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.api.Authentication parseFrom(com.google.protobuf.ByteString data) + public static com.google.api.Authentication parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.Authentication 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.api.Authentication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.api.Authentication parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.api.Authentication parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.Authentication parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.api.Authentication parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Authentication parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.api.Authentication parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.api.Authentication parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.api.Authentication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.api.Authentication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * ** `Authentication` defines the authentication configuration for API methods * provided by an API service. @@ -425,11 +390,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Authentication} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder- implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Authentication) com.google.api.AuthenticationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_Authentication_descriptor; } @@ -442,12 +408,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.api.Authentication.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -470,7 +439,8 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.api.AuthProto.internal_static_google_api_Authentication_descriptor; } @@ -492,9 +462,7 @@ public com.google.api.Authentication build() { public com.google.api.Authentication buildPartial() { com.google.api.Authentication result = new com.google.api.Authentication(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -528,39 +496,38 @@ private void buildPartial0(com.google.api.Authentication result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.api.Authentication) { - return mergeFrom((com.google.api.Authentication) other); + return mergeFrom((com.google.api.Authentication)other); } else { super.mergeFrom(other); return this; @@ -587,10 +554,9 @@ public Builder mergeFrom(com.google.api.Authentication other) { rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -614,10 +580,9 @@ public Builder mergeFrom(com.google.api.Authentication other) { providersBuilder_ = null; providers_ = other.providers_; bitField0_ = (bitField0_ & ~0x00000002); - providersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getProvidersFieldBuilder() - : null; + providersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getProvidersFieldBuilder() : null; } else { providersBuilder_.addAllMessages(other.providers_); } @@ -649,38 +614,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: - { - com.google.api.AuthenticationRule m = - input.readMessage( - com.google.api.AuthenticationRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - com.google.api.AuthProvider m = - input.readMessage(com.google.api.AuthProvider.parser(), extensionRegistry); - if (providersBuilder_ == null) { - ensureProvidersIsMutable(); - providers_.add(m); - } else { - providersBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: { + com.google.api.AuthenticationRule m = + input.readMessage( + com.google.api.AuthenticationRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.google.api.AuthProvider m = + input.readMessage( + com.google.api.AuthProvider.parser(), + extensionRegistry); + if (providersBuilder_ == null) { + ensureProvidersIsMutable(); + providers_.add(m); + } else { + providersBuilder_.addMessage(m); + } + break; + } // case 34 + 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) { @@ -690,28 +655,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList (rules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.AuthenticationRule, - com.google.api.AuthenticationRule.Builder, - com.google.api.AuthenticationRuleOrBuilder> - rulesBuilder_; + com.google.api.AuthenticationRule, com.google.api.AuthenticationRule.Builder, com.google.api.AuthenticationRuleOrBuilder> rulesBuilder_; /** - * - * * * A list of authentication rules that apply to individual API methods. * @@ -728,8 +686,6 @@ public java.util.ListgetRulesList() { } } /** - * - * * * A list of authentication rules that apply to individual API methods. * @@ -746,8 +702,6 @@ public int getRulesCount() { } } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -764,8 +718,6 @@ public com.google.api.AuthenticationRule getRules(int index) { } } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -774,7 +726,8 @@ public com.google.api.AuthenticationRule getRules(int index) { * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public Builder setRules(int index, com.google.api.AuthenticationRule value) { + public Builder setRules( + int index, com.google.api.AuthenticationRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -788,8 +741,6 @@ public Builder setRules(int index, com.google.api.AuthenticationRule value) { return this; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -798,7 +749,8 @@ public Builder setRules(int index, com.google.api.AuthenticationRule value) { * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public Builder setRules(int index, com.google.api.AuthenticationRule.Builder builderForValue) { + public Builder setRules( + int index, com.google.api.AuthenticationRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); @@ -809,8 +761,6 @@ public Builder setRules(int index, com.google.api.AuthenticationRule.Builder bui return this; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -833,8 +783,6 @@ public Builder addRules(com.google.api.AuthenticationRule value) { return this; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -843,7 +791,8 @@ public Builder addRules(com.google.api.AuthenticationRule value) { * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public Builder addRules(int index, com.google.api.AuthenticationRule value) { + public Builder addRules( + int index, com.google.api.AuthenticationRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -857,8 +806,6 @@ public Builder addRules(int index, com.google.api.AuthenticationRule value) { return this; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -867,7 +814,8 @@ public Builder addRules(int index, com.google.api.AuthenticationRule value) { * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public Builder addRules(com.google.api.AuthenticationRule.Builder builderForValue) { + public Builder addRules( + com.google.api.AuthenticationRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -878,8 +826,6 @@ public Builder addRules(com.google.api.AuthenticationRule.Builder builderForValu return this; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -888,7 +834,8 @@ public Builder addRules(com.google.api.AuthenticationRule.Builder builderForValu * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public Builder addRules(int index, com.google.api.AuthenticationRule.Builder builderForValue) { + public Builder addRules( + int index, com.google.api.AuthenticationRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); @@ -899,8 +846,6 @@ public Builder addRules(int index, com.google.api.AuthenticationRule.Builder bui return this; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -913,7 +858,8 @@ public Builder addAllRules( java.lang.Iterable extends com.google.api.AuthenticationRule> values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -921,8 +867,6 @@ public Builder addAllRules( return this; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -942,8 +886,6 @@ public Builder clearRules() { return this; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -963,8 +905,6 @@ public Builder removeRules(int index) { return this; } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -973,12 +913,11 @@ public Builder removeRules(int index) { * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public com.google.api.AuthenticationRule.Builder getRulesBuilder(int index) { + public com.google.api.AuthenticationRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -987,16 +926,14 @@ public com.google.api.AuthenticationRule.Builder getRulesBuilder(int index) { * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -1005,8 +942,8 @@ public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(int index) { * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public java.util.List extends com.google.api.AuthenticationRuleOrBuilder> - getRulesOrBuilderList() { + public java.util.List extends com.google.api.AuthenticationRuleOrBuilder> + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -1014,8 +951,6 @@ public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(int index) { } } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -1025,12 +960,10 @@ public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(int index) { *repeated .google.api.AuthenticationRule rules = 3;
*/ public com.google.api.AuthenticationRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.api.AuthenticationRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.api.AuthenticationRule.getDefaultInstance()); } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -1039,13 +972,12 @@ public com.google.api.AuthenticationRule.Builder addRulesBuilder() { * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public com.google.api.AuthenticationRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.api.AuthenticationRule.getDefaultInstance()); + public com.google.api.AuthenticationRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.api.AuthenticationRule.getDefaultInstance()); } /** - * - * ** A list of authentication rules that apply to individual API methods. * @@ -1054,46 +986,38 @@ public com.google.api.AuthenticationRule.Builder addRulesBuilder(int index) { * *repeated .google.api.AuthenticationRule rules = 3;
*/ - public java.util.ListgetRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.AuthenticationRule, - com.google.api.AuthenticationRule.Builder, - com.google.api.AuthenticationRuleOrBuilder> + com.google.api.AuthenticationRule, com.google.api.AuthenticationRule.Builder, com.google.api.AuthenticationRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.AuthenticationRule, - com.google.api.AuthenticationRule.Builder, - com.google.api.AuthenticationRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.AuthenticationRule, com.google.api.AuthenticationRule.Builder, com.google.api.AuthenticationRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } private java.util.List providers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureProvidersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { providers_ = new java.util.ArrayList (providers_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.AuthProvider, - com.google.api.AuthProvider.Builder, - com.google.api.AuthProviderOrBuilder> - providersBuilder_; + com.google.api.AuthProvider, com.google.api.AuthProvider.Builder, com.google.api.AuthProviderOrBuilder> providersBuilder_; /** - * - * * * Defines a set of authentication providers that a service supports. *@@ -1108,8 +1032,6 @@ public java.util.ListgetProvidersList() { } } /** - * - * * * Defines a set of authentication providers that a service supports. *@@ -1124,8 +1046,6 @@ public int getProvidersCount() { } } /** - * - * ** Defines a set of authentication providers that a service supports. *@@ -1140,15 +1060,14 @@ public com.google.api.AuthProvider getProviders(int index) { } } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public Builder setProviders(int index, com.google.api.AuthProvider value) { + public Builder setProviders( + int index, com.google.api.AuthProvider value) { if (providersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1162,15 +1081,14 @@ public Builder setProviders(int index, com.google.api.AuthProvider value) { return this; } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public Builder setProviders(int index, com.google.api.AuthProvider.Builder builderForValue) { + public Builder setProviders( + int index, com.google.api.AuthProvider.Builder builderForValue) { if (providersBuilder_ == null) { ensureProvidersIsMutable(); providers_.set(index, builderForValue.build()); @@ -1181,8 +1099,6 @@ public Builder setProviders(int index, com.google.api.AuthProvider.Builder build return this; } /** - * - * ** Defines a set of authentication providers that a service supports. *@@ -1203,15 +1119,14 @@ public Builder addProviders(com.google.api.AuthProvider value) { return this; } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public Builder addProviders(int index, com.google.api.AuthProvider value) { + public Builder addProviders( + int index, com.google.api.AuthProvider value) { if (providersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1225,15 +1140,14 @@ public Builder addProviders(int index, com.google.api.AuthProvider value) { return this; } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public Builder addProviders(com.google.api.AuthProvider.Builder builderForValue) { + public Builder addProviders( + com.google.api.AuthProvider.Builder builderForValue) { if (providersBuilder_ == null) { ensureProvidersIsMutable(); providers_.add(builderForValue.build()); @@ -1244,15 +1158,14 @@ public Builder addProviders(com.google.api.AuthProvider.Builder builderForValue) return this; } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public Builder addProviders(int index, com.google.api.AuthProvider.Builder builderForValue) { + public Builder addProviders( + int index, com.google.api.AuthProvider.Builder builderForValue) { if (providersBuilder_ == null) { ensureProvidersIsMutable(); providers_.add(index, builderForValue.build()); @@ -1263,8 +1176,6 @@ public Builder addProviders(int index, com.google.api.AuthProvider.Builder build return this; } /** - * - * ** Defines a set of authentication providers that a service supports. *@@ -1275,7 +1186,8 @@ public Builder addAllProviders( java.lang.Iterable extends com.google.api.AuthProvider> values) { if (providersBuilder_ == null) { ensureProvidersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, providers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, providers_); onChanged(); } else { providersBuilder_.addAllMessages(values); @@ -1283,8 +1195,6 @@ public Builder addAllProviders( return this; } /** - * - * ** Defines a set of authentication providers that a service supports. *@@ -1302,8 +1212,6 @@ public Builder clearProviders() { return this; } /** - * - * ** Defines a set of authentication providers that a service supports. *@@ -1321,44 +1229,39 @@ public Builder removeProviders(int index) { return this; } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public com.google.api.AuthProvider.Builder getProvidersBuilder(int index) { + public com.google.api.AuthProvider.Builder getProvidersBuilder( + int index) { return getProvidersFieldBuilder().getBuilder(index); } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public com.google.api.AuthProviderOrBuilder getProvidersOrBuilder(int index) { + public com.google.api.AuthProviderOrBuilder getProvidersOrBuilder( + int index) { if (providersBuilder_ == null) { - return providers_.get(index); - } else { + return providers_.get(index); } else { return providersBuilder_.getMessageOrBuilder(index); } } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public java.util.List extends com.google.api.AuthProviderOrBuilder> - getProvidersOrBuilderList() { + public java.util.List extends com.google.api.AuthProviderOrBuilder> + getProvidersOrBuilderList() { if (providersBuilder_ != null) { return providersBuilder_.getMessageOrBuilderList(); } else { @@ -1366,8 +1269,6 @@ public com.google.api.AuthProviderOrBuilder getProvidersOrBuilder(int index) { } } /** - * - * ** Defines a set of authentication providers that a service supports. *@@ -1375,54 +1276,49 @@ public com.google.api.AuthProviderOrBuilder getProvidersOrBuilder(int index) { *repeated .google.api.AuthProvider providers = 4;
*/ public com.google.api.AuthProvider.Builder addProvidersBuilder() { - return getProvidersFieldBuilder() - .addBuilder(com.google.api.AuthProvider.getDefaultInstance()); + return getProvidersFieldBuilder().addBuilder( + com.google.api.AuthProvider.getDefaultInstance()); } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public com.google.api.AuthProvider.Builder addProvidersBuilder(int index) { - return getProvidersFieldBuilder() - .addBuilder(index, com.google.api.AuthProvider.getDefaultInstance()); + public com.google.api.AuthProvider.Builder addProvidersBuilder( + int index) { + return getProvidersFieldBuilder().addBuilder( + index, com.google.api.AuthProvider.getDefaultInstance()); } /** - * - * ** Defines a set of authentication providers that a service supports. ** *repeated .google.api.AuthProvider providers = 4;
*/ - public java.util.ListgetProvidersBuilderList() { + public java.util.List + getProvidersBuilderList() { return getProvidersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.AuthProvider, - com.google.api.AuthProvider.Builder, - com.google.api.AuthProviderOrBuilder> + com.google.api.AuthProvider, com.google.api.AuthProvider.Builder, com.google.api.AuthProviderOrBuilder> getProvidersFieldBuilder() { if (providersBuilder_ == null) { - providersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.AuthProvider, - com.google.api.AuthProvider.Builder, - com.google.api.AuthProviderOrBuilder>( - providers_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + providersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.AuthProvider, com.google.api.AuthProvider.Builder, com.google.api.AuthProviderOrBuilder>( + providers_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); providers_ = null; } return providersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1432,12 +1328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.api.Authentication) } // @@protoc_insertion_point(class_scope:google.api.Authentication) private static final com.google.api.Authentication DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.api.Authentication(); } @@ -1446,27 +1342,27 @@ public static com.google.api.Authentication getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser () { - @java.lang.Override - public Authentication 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser () { + @java.lang.Override + public Authentication 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; @@ -1481,4 +1377,6 @@ public com.google.protobuf.Parser