diff --git a/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java similarity index 52% rename from owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java rename to java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java index 1cad8a1258..8cc3bac92e 100644 --- a/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java +++ b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java @@ -1,8 +1,25 @@ +/* + * 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
@@ -20,113 +37,134 @@ 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 getListLocationsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.location.ListLocationsRequest,
+          com.google.cloud.location.ListLocationsResponse>
+      getListLocationsMethod;
 
   @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 getListLocationsMethod() {
-    io.grpc.MethodDescriptor getListLocationsMethod;
+  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;
     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 getGetLocationMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.location.GetLocationRequest, com.google.cloud.location.Location>
+      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 getGetLocationMethod() {
-    io.grpc.MethodDescriptor getGetLocationMethod;
+  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;
     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
@@ -136,88 +174,108 @@ public LocationsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions
   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.StreamObserver responseObserver) { - 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 static abstract class LocationsImplBase - implements io.grpc.BindableService, AsyncService { + public abstract static 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.StreamObserver responseObserver) { 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
@@ -226,8 +284,7 @@ public void getLocation(com.google.cloud.location.GetLocationRequest request,
    */
   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);
     }
 
@@ -238,21 +295,27 @@ 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); } @@ -260,6 +323,7 @@ public com.google.cloud.location.Location getLocation(com.google.cloud.location. /** * 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
@@ -268,35 +332,38 @@ public com.google.cloud.location.Location getLocation(com.google.cloud.location.
    */
   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 listLocations( - com.google.cloud.location.ListLocationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.location.ListLocationsResponse> + listLocations(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); } @@ -305,11 +372,11 @@ public com.google.common.util.concurrent.ListenableFuture 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; @@ -323,11 +390,14 @@ private static final class MethodHandlers implements 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: @@ -349,24 +419,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 static abstract class LocationsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class LocationsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { LocationsBaseDescriptorSupplier() {} @java.lang.Override @@ -408,11 +478,13 @@ 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/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java similarity index 62% rename from owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java rename to java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java index e044053306..6e81480663 100644 --- a/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java +++ b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java @@ -1,8 +1,25 @@ +/* + * 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
@@ -25,206 +42,257 @@ 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 getListOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.longrunning.ListOperationsRequest,
+          com.google.longrunning.ListOperationsResponse>
+      getListOperationsMethod;
 
   @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 getListOperationsMethod() {
-    io.grpc.MethodDescriptor getListOperationsMethod;
+  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;
     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 getGetOperationMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.longrunning.GetOperationRequest, com.google.longrunning.Operation>
+      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 getGetOperationMethod() {
-    io.grpc.MethodDescriptor getGetOperationMethod;
+  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;
     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 getDeleteOperationMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.longrunning.DeleteOperationRequest, com.google.protobuf.Empty>
+      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 getDeleteOperationMethod() {
-    io.grpc.MethodDescriptor getDeleteOperationMethod;
+  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;
     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 getCancelOperationMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.longrunning.CancelOperationRequest, com.google.protobuf.Empty>
+      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 getCancelOperationMethod() {
-    io.grpc.MethodDescriptor getCancelOperationMethod;
+  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;
     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 getWaitOperationMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.longrunning.WaitOperationRequest, com.google.longrunning.Operation>
+      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 getWaitOperationMethod() {
-    io.grpc.MethodDescriptor getWaitOperationMethod;
+  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;
     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
@@ -239,6 +307,8 @@ public OperationsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Lists operations that match the specified filter in the request. If the
      * server doesn't support this method, it returns `UNIMPLEMENTED`.
@@ -251,24 +321,33 @@ 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.StreamObserver responseObserver) { - 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
@@ -276,12 +355,16 @@ default void getOperation(com.google.longrunning.GetOperationRequest request,
      * `google.rpc.Code.UNIMPLEMENTED`.
      * 
*/ - default void deleteOperation(com.google.longrunning.DeleteOperationRequest request, + default void deleteOperation( + com.google.longrunning.DeleteOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { - 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
@@ -295,12 +378,16 @@ default void deleteOperation(com.google.longrunning.DeleteOperationRequest reque
      * corresponding to `Code.CANCELLED`.
      * 
*/ - default void cancelOperation(com.google.longrunning.CancelOperationRequest request, + default void cancelOperation( + com.google.longrunning.CancelOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { - 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
@@ -313,14 +400,17 @@ default void cancelOperation(com.google.longrunning.CancelOperationRequest reque
      * 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.StreamObserver responseObserver) { - 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
@@ -332,16 +422,17 @@ default void waitOperation(com.google.longrunning.WaitOperationRequest request,
    * so developers can have a consistent client experience.
    * 
*/ - public static abstract class OperationsImplBase - implements io.grpc.BindableService, AsyncService { + public abstract static 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
@@ -353,20 +444,19 @@ public static abstract class OperationsImplBase
    * 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`.
@@ -379,26 +469,37 @@ protected OperationsStub build(
      * 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.StreamObserver responseObserver) { 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
@@ -406,13 +507,18 @@ public void getOperation(com.google.longrunning.GetOperationRequest request,
      * `google.rpc.Code.UNIMPLEMENTED`.
      * 
*/ - public void deleteOperation(com.google.longrunning.DeleteOperationRequest request, + public void deleteOperation( + com.google.longrunning.DeleteOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { 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
@@ -426,13 +532,18 @@ public void deleteOperation(com.google.longrunning.DeleteOperationRequest reques
      * corresponding to `Code.CANCELLED`.
      * 
*/ - public void cancelOperation(com.google.longrunning.CancelOperationRequest request, + public void cancelOperation( + com.google.longrunning.CancelOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { 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
@@ -445,15 +556,19 @@ public void cancelOperation(com.google.longrunning.CancelOperationRequest reques
      * 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.StreamObserver responseObserver) { 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
@@ -467,8 +582,7 @@ public void waitOperation(com.google.longrunning.WaitOperationRequest request,
    */
   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);
     }
 
@@ -479,6 +593,8 @@ protected OperationsBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists operations that match the specified filter in the request. If the
      * server doesn't support this method, it returns `UNIMPLEMENTED`.
@@ -491,24 +607,30 @@ 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
@@ -516,12 +638,15 @@ public com.google.longrunning.Operation getOperation(com.google.longrunning.GetO
      * `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
@@ -535,12 +660,15 @@ public com.google.protobuf.Empty deleteOperation(com.google.longrunning.DeleteOp
      * 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
@@ -553,7 +681,8 @@ public com.google.protobuf.Empty cancelOperation(com.google.longrunning.CancelOp
      * 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); } @@ -561,6 +690,7 @@ public com.google.longrunning.Operation waitOperation(com.google.longrunning.Wai /** * 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
@@ -574,18 +704,18 @@ public com.google.longrunning.Operation waitOperation(com.google.longrunning.Wai
    */
   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`.
@@ -598,26 +728,31 @@ protected OperationsFutureStub build(
      * is the parent resource, without the operations collection id.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listOperations( - com.google.longrunning.ListOperationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.longrunning.ListOperationsResponse> + listOperations(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
@@ -625,13 +760,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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
@@ -645,13 +782,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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
@@ -664,8 +803,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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);
     }
@@ -677,11 +816,11 @@ public com.google.common.util.concurrent.ListenableFuture 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;
 
@@ -695,23 +834,29 @@ private static final class MethodHandlers implements
     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:
@@ -733,45 +878,42 @@ 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 static abstract class OperationsBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class OperationsBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     OperationsBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -813,14 +955,16 @@ 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Advice.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java
similarity index 69%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Advice.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java
index 6c138bc268..b6660f50a2 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Advice.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * Generated advice about this change, used for providing more
  * information about how a change will affect the existing service.
@@ -11,28 +28,27 @@
  *
  * 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;
   }
 
@@ -45,15 +61,19 @@ protected java.lang.Object newInstance(
   }
 
   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 @@ -62,30 +82,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 { @@ -94,6 +114,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +126,7 @@ 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_); } @@ -130,15 +150,14 @@ 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; } @@ -157,99 +176,103 @@ 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.
@@ -257,12 +280,11 @@ protected Builder newBuilderForType(
    *
    * 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;
     }
 
@@ -275,15 +297,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Advice.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,8 +312,7 @@ 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;
     }
 
@@ -315,7 +333,9 @@ 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;
     }
@@ -331,38 +351,39 @@ 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;
@@ -402,17 +423,19 @@ 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) {
@@ -422,23 +445,26 @@ 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; @@ -447,21 +473,22 @@ 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 { @@ -469,30 +496,37 @@ 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; + * * @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() { @@ -502,27 +536,31 @@ 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); } @@ -532,12 +570,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(); } @@ -546,27 +584,27 @@ public static com.google.api.Advice getDefaultInstance() { return DEFAULT_INSTANCE; } - 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(); - } - }; + 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; @@ -581,6 +619,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Advice getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java similarity index 51% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java index c8c6f319f5..313e6ff8d9 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java @@ -1,31 +1,52 @@ +/* + * 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 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/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 new file mode 100644 index 0000000000..fb7f8ed52d --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java @@ -0,0 +1,78 @@ +/* + * 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 new file mode 100644 index 0000000000..61f9e9c64d --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java @@ -0,0 +1,135 @@ +/* + * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java similarity index 83% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java index c7344b408c..8e667869e9 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Configuration for an authentication provider, including support for
  * [JSON Web Token
@@ -12,15 +29,16 @@
  *
  * 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_ = "";
@@ -32,13 +50,11 @@ 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;
   }
 
@@ -51,9 +67,12 @@ protected java.lang.Object newInstance(
   }
 
   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`.
@@ -62,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -70,14 +90,15 @@ 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`.
@@ -86,16 +107,15 @@ 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 { @@ -104,9 +124,12 @@ public java.lang.String getId() { } 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
@@ -117,6 +140,7 @@ public java.lang.String getId() {
    * 
* * string issuer = 2; + * * @return The issuer. */ @java.lang.Override @@ -125,14 +149,15 @@ 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
@@ -143,16 +168,15 @@ 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 { @@ -161,9 +185,12 @@ public java.lang.String getIssuer() { } 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
@@ -180,6 +207,7 @@ public java.lang.String getIssuer() {
    * 
* * string jwks_uri = 3; + * * @return The jwksUri. */ @java.lang.Override @@ -188,14 +216,15 @@ 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
@@ -212,16 +241,15 @@ 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 { @@ -230,9 +258,12 @@ public java.lang.String getJwksUri() { } 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).
@@ -254,6 +285,7 @@ public java.lang.String getJwksUri() {
    * 
* * string audiences = 4; + * * @return The audiences. */ @java.lang.Override @@ -262,14 +294,15 @@ 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).
@@ -291,16 +324,15 @@ 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 { @@ -309,15 +341,19 @@ public java.lang.String getAudiences() { } 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 @@ -326,30 +362,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 { @@ -358,9 +394,12 @@ public java.lang.String getAuthorizationUrl() { } public static final int JWT_LOCATIONS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List 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]
@@ -389,6 +428,8 @@ public java.util.List getJwtLocationsList() {
     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]
@@ -413,11 +454,13 @@ public java.util.List getJwtLocationsList() {
    * repeated .google.api.JwtLocation jwt_locations = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       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]
@@ -446,6 +489,8 @@ 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]
@@ -474,6 +519,8 @@ 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]
@@ -498,12 +545,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;
@@ -515,8 +562,7 @@ 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_);
     }
@@ -560,8 +606,7 @@ 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;
@@ -571,25 +616,19 @@ 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;
   }
@@ -620,99 +659,103 @@ 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
@@ -721,12 +764,11 @@ protected Builder newBuilderForType(
    *
    * 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;
     }
 
@@ -739,15 +781,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.AuthProvider.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -768,8 +807,7 @@ 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;
     }
 
@@ -791,7 +829,9 @@ 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;
     }
@@ -831,38 +871,39 @@ 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;
@@ -914,9 +955,10 @@ 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_);
           }
@@ -948,50 +990,55 @@ 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) {
@@ -1001,10 +1048,13 @@ 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`.
@@ -1013,13 +1063,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; @@ -1028,6 +1078,8 @@ public java.lang.String getId() { } } /** + * + * *
      * The unique identifier of the auth provider. It will be referred to by
      * `AuthRequirement.provider_id`.
@@ -1036,15 +1088,14 @@ 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 { @@ -1052,6 +1103,8 @@ public java.lang.String getId() { } } /** + * + * *
      * The unique identifier of the auth provider. It will be referred to by
      * `AuthRequirement.provider_id`.
@@ -1060,18 +1113,22 @@ public java.lang.String getId() {
      * 
* * 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`.
@@ -1080,6 +1137,7 @@ public Builder setId(
      * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { @@ -1089,6 +1147,8 @@ public Builder clearId() { return this; } /** + * + * *
      * The unique identifier of the auth provider. It will be referred to by
      * `AuthRequirement.provider_id`.
@@ -1097,12 +1157,14 @@ 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; @@ -1112,6 +1174,8 @@ public Builder setIdBytes( 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
@@ -1122,13 +1186,13 @@ public Builder setIdBytes(
      * 
* * 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; @@ -1137,6 +1201,8 @@ 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
@@ -1147,15 +1213,14 @@ 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 { @@ -1163,6 +1228,8 @@ 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
@@ -1173,18 +1240,22 @@ public java.lang.String getIssuer() {
      * 
* * 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
@@ -1195,6 +1266,7 @@ public Builder setIssuer(
      * 
* * string issuer = 2; + * * @return This builder for chaining. */ public Builder clearIssuer() { @@ -1204,6 +1276,8 @@ 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
@@ -1214,12 +1288,14 @@ 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; @@ -1229,6 +1305,8 @@ public Builder setIssuerBytes( private java.lang.Object jwksUri_ = ""; /** + * + * *
      * URL of the provider's public key set to validate signature of the JWT. See
      * [OpenID
@@ -1245,13 +1323,13 @@ public Builder setIssuerBytes(
      * 
* * 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; @@ -1260,6 +1338,8 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * URL of the provider's public key set to validate signature of the JWT. See
      * [OpenID
@@ -1276,15 +1356,14 @@ 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 { @@ -1292,6 +1371,8 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * URL of the provider's public key set to validate signature of the JWT. See
      * [OpenID
@@ -1308,18 +1389,22 @@ public java.lang.String getJwksUri() {
      * 
* * 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
@@ -1336,6 +1421,7 @@ public Builder setJwksUri(
      * 
* * string jwks_uri = 3; + * * @return This builder for chaining. */ public Builder clearJwksUri() { @@ -1345,6 +1431,8 @@ public Builder clearJwksUri() { return this; } /** + * + * *
      * URL of the provider's public key set to validate signature of the JWT. See
      * [OpenID
@@ -1361,12 +1449,14 @@ 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; @@ -1376,6 +1466,8 @@ public Builder setJwksUriBytes( 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).
@@ -1397,13 +1489,13 @@ public Builder setJwksUriBytes(
      * 
* * 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; @@ -1412,6 +1504,8 @@ 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).
@@ -1433,15 +1527,14 @@ 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 { @@ -1449,6 +1542,8 @@ 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).
@@ -1470,18 +1565,22 @@ public java.lang.String getAudiences() {
      * 
* * 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).
@@ -1503,6 +1602,7 @@ public Builder setAudiences(
      * 
* * string audiences = 4; + * * @return This builder for chaining. */ public Builder clearAudiences() { @@ -1512,6 +1612,8 @@ 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).
@@ -1533,12 +1635,14 @@ 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; @@ -1548,19 +1652,21 @@ public Builder setAudiencesBytes( 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; @@ -1569,21 +1675,22 @@ 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 { @@ -1591,30 +1698,37 @@ 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; + * * @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() { @@ -1624,18 +1738,22 @@ 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; @@ -1644,18 +1762,24 @@ public Builder setAuthorizationUrlBytes( } private java.util.List jwtLocations_ = - 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]
@@ -1687,6 +1811,8 @@ public 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]
@@ -1718,6 +1844,8 @@ 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]
@@ -1749,6 +1877,8 @@ 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]
@@ -1772,8 +1902,7 @@ 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();
@@ -1787,6 +1916,8 @@ public Builder setJwtLocations(
       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]
@@ -1810,8 +1941,7 @@ public Builder setJwtLocations(
      *
      * 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());
@@ -1822,6 +1952,8 @@ public Builder setJwtLocations(
       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]
@@ -1859,6 +1991,8 @@ 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]
@@ -1882,8 +2016,7 @@ 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();
@@ -1897,6 +2030,8 @@ public Builder addJwtLocations(
       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]
@@ -1920,8 +2055,7 @@ public Builder addJwtLocations(
      *
      * 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());
@@ -1932,6 +2066,8 @@ public Builder addJwtLocations(
       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]
@@ -1955,8 +2091,7 @@ public Builder addJwtLocations(
      *
      * 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());
@@ -1967,6 +2102,8 @@ public Builder addJwtLocations(
       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]
@@ -1994,8 +2131,7 @@ public Builder addAllJwtLocations(
         java.lang.Iterable 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);
@@ -2003,6 +2139,8 @@ 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]
@@ -2037,6 +2175,8 @@ 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]
@@ -2071,6 +2211,8 @@ 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]
@@ -2094,11 +2236,12 @@ 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]
@@ -2122,14 +2265,16 @@ public com.google.api.JwtLocation.Builder getJwtLocationsBuilder(
      *
      * 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]
@@ -2153,8 +2298,8 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(
      *
      * repeated .google.api.JwtLocation jwt_locations = 6;
      */
-    public java.util.List 
-         getJwtLocationsOrBuilderList() {
+    public java.util.List
+        getJwtLocationsOrBuilderList() {
       if (jwtLocationsBuilder_ != null) {
         return jwtLocationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2162,6 +2307,8 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * 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]
@@ -2186,10 +2333,12 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(
      * 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]
@@ -2213,12 +2362,13 @@ 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]
@@ -2242,27 +2392,29 @@ public com.google.api.JwtLocation.Builder addJwtLocationsBuilder(
      *
      * repeated .google.api.JwtLocation jwt_locations = 6;
      */
-    public java.util.List 
-         getJwtLocationsBuilderList() {
+    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);
     }
 
@@ -2272,12 +2424,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();
   }
@@ -2286,27 +2438,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;
@@ -2321,6 +2473,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.AuthProvider getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java
similarity index 88%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java
index 7efa99db30..ac0f0426ee 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 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`.
@@ -16,10 +34,13 @@ public interface AuthProviderOrBuilder extends
    * 
* * 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`.
@@ -28,12 +49,14 @@ public interface AuthProviderOrBuilder extends
    * 
* * 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
@@ -44,10 +67,13 @@ public interface AuthProviderOrBuilder extends
    * 
* * 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
@@ -58,12 +84,14 @@ public interface AuthProviderOrBuilder extends
    * 
* * 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
@@ -80,10 +108,13 @@ public interface AuthProviderOrBuilder extends
    * 
* * 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
@@ -100,12 +131,14 @@ public interface AuthProviderOrBuilder extends
    * 
* * 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).
@@ -127,10 +160,13 @@ public interface AuthProviderOrBuilder extends
    * 
* * 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).
@@ -152,34 +188,41 @@ public interface AuthProviderOrBuilder extends
    * 
* * 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]
@@ -203,9 +246,10 @@ public interface AuthProviderOrBuilder extends
    *
    * repeated .google.api.JwtLocation jwt_locations = 6;
    */
-  java.util.List 
-      getJwtLocationsList();
+  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]
@@ -231,6 +275,8 @@ public interface AuthProviderOrBuilder extends
    */
   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]
@@ -256,6 +302,8 @@ public interface AuthProviderOrBuilder extends
    */
   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]
@@ -279,9 +327,10 @@ public interface AuthProviderOrBuilder extends
    *
    * repeated .google.api.JwtLocation jwt_locations = 6;
    */
-  java.util.List 
-      getJwtLocationsOrBuilderList();
+  java.util.List 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]
@@ -305,6 +354,5 @@ public interface AuthProviderOrBuilder extends
    *
    * repeated .google.api.JwtLocation jwt_locations = 6;
    */
-  com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(
-      int index);
+  com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java
similarity index 76%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java
index a1478a9dcc..4a23308b2f 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * User-defined authentication requirements, including support for
  * [JSON Web Token
@@ -12,15 +29,16 @@
  *
  * 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_ = "";
@@ -28,13 +46,11 @@ 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;
   }
 
@@ -47,9 +63,12 @@ protected java.lang.Object newInstance(
   }
 
   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.
    *
@@ -59,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string provider_id = 1; + * * @return The providerId. */ @java.lang.Override @@ -67,14 +87,15 @@ 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.
    *
@@ -84,16 +105,15 @@ 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 { @@ -102,9 +122,12 @@ public java.lang.String getProviderId() { } 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.
@@ -125,6 +148,7 @@ public java.lang.String getProviderId() {
    * 
* * string audiences = 2; + * * @return The audiences. */ @java.lang.Override @@ -133,14 +157,15 @@ 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.
@@ -161,16 +186,15 @@ 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 { @@ -179,6 +203,7 @@ public java.lang.String getAudiences() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,8 +215,7 @@ 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_); } @@ -221,17 +245,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.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; } @@ -252,99 +274,103 @@ 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
@@ -353,12 +379,11 @@ protected Builder newBuilderForType(
    *
    * 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;
     }
 
@@ -371,15 +396,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.AuthRequirement.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -390,8 +412,7 @@ 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;
     }
 
@@ -412,7 +433,9 @@ 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;
     }
@@ -431,38 +454,39 @@ 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;
@@ -507,22 +531,25 @@ 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) {
@@ -532,10 +559,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object providerId_ = "";
     /**
+     *
+     *
      * 
      * [id][google.api.AuthProvider.id] from authentication provider.
      *
@@ -545,13 +575,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; @@ -560,6 +590,8 @@ public java.lang.String getProviderId() { } } /** + * + * *
      * [id][google.api.AuthProvider.id] from authentication provider.
      *
@@ -569,15 +601,14 @@ 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 { @@ -585,6 +616,8 @@ public java.lang.String getProviderId() { } } /** + * + * *
      * [id][google.api.AuthProvider.id] from authentication provider.
      *
@@ -594,18 +627,22 @@ public java.lang.String getProviderId() {
      * 
* * 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.
      *
@@ -615,6 +652,7 @@ public Builder setProviderId(
      * 
* * string provider_id = 1; + * * @return This builder for chaining. */ public Builder clearProviderId() { @@ -624,6 +662,8 @@ public Builder clearProviderId() { return this; } /** + * + * *
      * [id][google.api.AuthProvider.id] from authentication provider.
      *
@@ -633,12 +673,14 @@ 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; @@ -648,6 +690,8 @@ public Builder setProviderIdBytes( private java.lang.Object audiences_ = ""; /** + * + * *
      * NOTE: This will be deprecated soon, once AuthProvider.audiences is
      * implemented and accepted in all the runtime components.
@@ -668,13 +712,13 @@ public Builder setProviderIdBytes(
      * 
* * 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; @@ -683,6 +727,8 @@ public java.lang.String getAudiences() { } } /** + * + * *
      * NOTE: This will be deprecated soon, once AuthProvider.audiences is
      * implemented and accepted in all the runtime components.
@@ -703,15 +749,14 @@ 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 { @@ -719,6 +764,8 @@ public java.lang.String getAudiences() { } } /** + * + * *
      * NOTE: This will be deprecated soon, once AuthProvider.audiences is
      * implemented and accepted in all the runtime components.
@@ -739,18 +786,22 @@ public java.lang.String getAudiences() {
      * 
* * 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.
@@ -771,6 +822,7 @@ public Builder setAudiences(
      * 
* * string audiences = 2; + * * @return This builder for chaining. */ public Builder clearAudiences() { @@ -780,6 +832,8 @@ public Builder clearAudiences() { return this; } /** + * + * *
      * NOTE: This will be deprecated soon, once AuthProvider.audiences is
      * implemented and accepted in all the runtime components.
@@ -800,21 +854,23 @@ 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); } @@ -824,12 +880,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(); } @@ -838,27 +894,27 @@ public static com.google.api.AuthRequirement getDefaultInstance() { return DEFAULT_INSTANCE; } - 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(); - } - }; + 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; @@ -873,6 +929,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.AuthRequirement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java similarity index 77% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java index 53b2ce5d27..86a8a37c7c 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 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.
    *
@@ -17,10 +35,13 @@ public interface AuthRequirementOrBuilder extends
    * 
* * string provider_id = 1; + * * @return The providerId. */ java.lang.String getProviderId(); /** + * + * *
    * [id][google.api.AuthProvider.id] from authentication provider.
    *
@@ -30,12 +51,14 @@ public interface AuthRequirementOrBuilder extends
    * 
* * 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.
@@ -56,10 +79,13 @@ public interface AuthRequirementOrBuilder extends
    * 
* * 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.
@@ -80,8 +106,8 @@ public interface AuthRequirementOrBuilder extends
    * 
* * string audiences = 2; + * * @return The bytes for audiences. */ - com.google.protobuf.ByteString - getAudiencesBytes(); + com.google.protobuf.ByteString getAudiencesBytes(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Authentication.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java similarity index 77% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Authentication.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java index a238ed9359..eecc174580 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Authentication.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * `Authentication` defines the authentication configuration for API methods
  * provided by an API service.
@@ -27,15 +44,16 @@
  *
  * 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();
@@ -43,13 +61,11 @@ 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;
   }
 
@@ -62,9 +78,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int RULES_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private java.util.List rules_;
   /**
+   *
+   *
    * 
    * A list of authentication rules that apply to individual API methods.
    *
@@ -78,6 +97,8 @@ public java.util.List getRulesList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of authentication rules that apply to individual API methods.
    *
@@ -87,11 +108,13 @@ public java.util.List getRulesList() {
    * repeated .google.api.AuthenticationRule rules = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRulesOrBuilderList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of authentication rules that apply to individual API methods.
    *
@@ -105,6 +128,8 @@ public int getRulesCount() {
     return rules_.size();
   }
   /**
+   *
+   *
    * 
    * A list of authentication rules that apply to individual API methods.
    *
@@ -118,6 +143,8 @@ public com.google.api.AuthenticationRule getRules(int index) {
     return rules_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of authentication rules that apply to individual API methods.
    *
@@ -127,15 +154,17 @@ 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.List providers_;
   /**
+   *
+   *
    * 
    * Defines a set of authentication providers that a service supports.
    * 
@@ -147,6 +176,8 @@ public java.util.List getProvidersList() { return providers_; } /** + * + * *
    * Defines a set of authentication providers that a service supports.
    * 
@@ -154,11 +185,13 @@ public java.util.List getProvidersList() { * repeated .google.api.AuthProvider providers = 4; */ @java.lang.Override - public java.util.List + public java.util.List getProvidersOrBuilderList() { return providers_; } /** + * + * *
    * Defines a set of authentication providers that a service supports.
    * 
@@ -170,6 +203,8 @@ public int getProvidersCount() { return providers_.size(); } /** + * + * *
    * Defines a set of authentication providers that a service supports.
    * 
@@ -181,6 +216,8 @@ public com.google.api.AuthProvider getProviders(int index) { return providers_.get(index); } /** + * + * *
    * Defines a set of authentication providers that a service supports.
    * 
@@ -188,12 +225,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; @@ -205,8 +242,7 @@ 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)); } @@ -223,12 +259,10 @@ 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; @@ -238,17 +272,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.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; } @@ -273,99 +305,103 @@ 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.
@@ -389,12 +425,11 @@ protected Builder newBuilderForType(
    *
    * 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;
     }
 
@@ -407,15 +442,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Authentication.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -438,8 +470,7 @@ 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;
     }
 
@@ -461,7 +492,9 @@ 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;
     }
@@ -495,38 +528,39 @@ 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;
@@ -553,9 +587,10 @@ 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_);
           }
@@ -579,9 +614,10 @@ 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_);
           }
@@ -613,38 +649,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) {
@@ -654,21 +690,28 @@ 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.
      *
@@ -685,6 +728,8 @@ public java.util.List getRulesList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -701,6 +746,8 @@ public int getRulesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -717,6 +764,8 @@ public com.google.api.AuthenticationRule getRules(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -725,8 +774,7 @@ 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();
@@ -740,6 +788,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -748,8 +798,7 @@ public Builder setRules(
      *
      * 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());
@@ -760,6 +809,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -782,6 +833,8 @@ public Builder addRules(com.google.api.AuthenticationRule value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -790,8 +843,7 @@ 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();
@@ -805,6 +857,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -813,8 +867,7 @@ public Builder addRules(
      *
      * 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());
@@ -825,6 +878,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -833,8 +888,7 @@ public Builder addRules(
      *
      * 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());
@@ -845,6 +899,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -857,8 +913,7 @@ public Builder addAllRules(
         java.lang.Iterable 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);
@@ -866,6 +921,8 @@ public Builder addAllRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -885,6 +942,8 @@ public Builder clearRules() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -904,6 +963,8 @@ public Builder removeRules(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -912,11 +973,12 @@ 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.
      *
@@ -925,14 +987,16 @@ public com.google.api.AuthenticationRule.Builder getRulesBuilder(
      *
      * 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.
      *
@@ -941,8 +1005,8 @@ public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(
      *
      * repeated .google.api.AuthenticationRule rules = 3;
      */
-    public java.util.List 
-         getRulesOrBuilderList() {
+    public java.util.List
+        getRulesOrBuilderList() {
       if (rulesBuilder_ != null) {
         return rulesBuilder_.getMessageOrBuilderList();
       } else {
@@ -950,6 +1014,8 @@ public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of authentication rules that apply to individual API methods.
      *
@@ -959,10 +1025,12 @@ public com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(
      * 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.
      *
@@ -971,12 +1039,13 @@ 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.
      *
@@ -985,38 +1054,46 @@ public com.google.api.AuthenticationRule.Builder addRulesBuilder(
      *
      * repeated .google.api.AuthenticationRule rules = 3;
      */
-    public java.util.List 
-         getRulesBuilderList() {
+    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.
      * 
@@ -1031,6 +1108,8 @@ public java.util.List getProvidersList() { } } /** + * + * *
      * Defines a set of authentication providers that a service supports.
      * 
@@ -1045,6 +1124,8 @@ public int getProvidersCount() { } } /** + * + * *
      * Defines a set of authentication providers that a service supports.
      * 
@@ -1059,14 +1140,15 @@ 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(); @@ -1080,14 +1162,15 @@ public Builder setProviders( 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()); @@ -1098,6 +1181,8 @@ public Builder setProviders( return this; } /** + * + * *
      * Defines a set of authentication providers that a service supports.
      * 
@@ -1118,14 +1203,15 @@ 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(); @@ -1139,14 +1225,15 @@ public Builder addProviders( 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()); @@ -1157,14 +1244,15 @@ public Builder addProviders( 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()); @@ -1175,6 +1263,8 @@ public Builder addProviders( return this; } /** + * + * *
      * Defines a set of authentication providers that a service supports.
      * 
@@ -1185,8 +1275,7 @@ public Builder addAllProviders( java.lang.Iterable 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); @@ -1194,6 +1283,8 @@ public Builder addAllProviders( return this; } /** + * + * *
      * Defines a set of authentication providers that a service supports.
      * 
@@ -1211,6 +1302,8 @@ public Builder clearProviders() { return this; } /** + * + * *
      * Defines a set of authentication providers that a service supports.
      * 
@@ -1228,39 +1321,44 @@ 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 - getProvidersOrBuilderList() { + public java.util.List + getProvidersOrBuilderList() { if (providersBuilder_ != null) { return providersBuilder_.getMessageOrBuilderList(); } else { @@ -1268,6 +1366,8 @@ public com.google.api.AuthProviderOrBuilder getProvidersOrBuilder( } } /** + * + * *
      * Defines a set of authentication providers that a service supports.
      * 
@@ -1275,49 +1375,54 @@ public com.google.api.AuthProviderOrBuilder getProvidersOrBuilder( * 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.List - getProvidersBuilderList() { + 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); } @@ -1327,12 +1432,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(); } @@ -1341,27 +1446,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; @@ -1376,6 +1481,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Authentication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java similarity index 71% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java index 07ed8d6c89..148735aae4 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface AuthenticationOrBuilder extends +public interface AuthenticationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Authentication) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of authentication rules that apply to individual API methods.
    *
@@ -16,9 +34,10 @@ public interface AuthenticationOrBuilder extends
    *
    * repeated .google.api.AuthenticationRule rules = 3;
    */
-  java.util.List 
-      getRulesList();
+  java.util.List getRulesList();
   /**
+   *
+   *
    * 
    * A list of authentication rules that apply to individual API methods.
    *
@@ -29,6 +48,8 @@ public interface AuthenticationOrBuilder extends
    */
   com.google.api.AuthenticationRule getRules(int index);
   /**
+   *
+   *
    * 
    * A list of authentication rules that apply to individual API methods.
    *
@@ -39,6 +60,8 @@ public interface AuthenticationOrBuilder extends
    */
   int getRulesCount();
   /**
+   *
+   *
    * 
    * A list of authentication rules that apply to individual API methods.
    *
@@ -47,9 +70,10 @@ public interface AuthenticationOrBuilder extends
    *
    * repeated .google.api.AuthenticationRule rules = 3;
    */
-  java.util.List 
-      getRulesOrBuilderList();
+  java.util.List getRulesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of authentication rules that apply to individual API methods.
    *
@@ -58,19 +82,21 @@ public interface AuthenticationOrBuilder extends
    *
    * repeated .google.api.AuthenticationRule rules = 3;
    */
-  com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(
-      int index);
+  com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Defines a set of authentication providers that a service supports.
    * 
* * repeated .google.api.AuthProvider providers = 4; */ - java.util.List - getProvidersList(); + java.util.List getProvidersList(); /** + * + * *
    * Defines a set of authentication providers that a service supports.
    * 
@@ -79,6 +105,8 @@ com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder( */ com.google.api.AuthProvider getProviders(int index); /** + * + * *
    * Defines a set of authentication providers that a service supports.
    * 
@@ -87,21 +115,23 @@ com.google.api.AuthenticationRuleOrBuilder getRulesOrBuilder( */ int getProvidersCount(); /** + * + * *
    * Defines a set of authentication providers that a service supports.
    * 
* * repeated .google.api.AuthProvider providers = 4; */ - java.util.List - getProvidersOrBuilderList(); + java.util.List getProvidersOrBuilderList(); /** + * + * *
    * Defines a set of authentication providers that a service supports.
    * 
* * repeated .google.api.AuthProvider providers = 4; */ - com.google.api.AuthProviderOrBuilder getProvidersOrBuilder( - int index); + com.google.api.AuthProviderOrBuilder getProvidersOrBuilder(int index); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java similarity index 75% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java index 3e6f68082c..adbd6d1c9e 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Authentication rules for the service.
  *
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.api.AuthenticationRule}
  */
-public final class AuthenticationRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AuthenticationRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.AuthenticationRule)
     AuthenticationRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AuthenticationRule.newBuilder() to construct.
   private AuthenticationRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AuthenticationRule() {
     selector_ = "";
     requirements_ = java.util.Collections.emptyList();
@@ -34,13 +52,11 @@ private AuthenticationRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AuthenticationRule();
   }
 
-  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_AuthenticationRule_descriptor;
   }
 
@@ -49,13 +65,17 @@ protected java.lang.Object newInstance(
       internalGetFieldAccessorTable() {
     return com.google.api.AuthProto.internal_static_google_api_AuthenticationRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.api.AuthenticationRule.class, com.google.api.AuthenticationRule.Builder.class);
+            com.google.api.AuthenticationRule.class,
+            com.google.api.AuthenticationRule.Builder.class);
   }
 
   public static final int SELECTOR_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object selector_ = "";
   /**
+   *
+   *
    * 
    * Selects the methods to which this rule applies.
    *
@@ -64,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string selector = 1; + * * @return The selector. */ @java.lang.Override @@ -72,14 +93,15 @@ public java.lang.String getSelector() { 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(); selector_ = s; return s; } } /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -88,16 +110,15 @@ public java.lang.String getSelector() {
    * 
* * string selector = 1; + * * @return The bytes for selector. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -108,11 +129,14 @@ public java.lang.String getSelector() { public static final int OAUTH_FIELD_NUMBER = 2; private com.google.api.OAuthRequirements oauth_; /** + * + * *
    * The requirements for OAuth credentials.
    * 
* * .google.api.OAuthRequirements oauth = 2; + * * @return Whether the oauth field is set. */ @java.lang.Override @@ -120,11 +144,14 @@ public boolean hasOauth() { return oauth_ != null; } /** + * + * *
    * The requirements for OAuth credentials.
    * 
* * .google.api.OAuthRequirements oauth = 2; + * * @return The oauth. */ @java.lang.Override @@ -132,6 +159,8 @@ public com.google.api.OAuthRequirements getOauth() { return oauth_ == null ? com.google.api.OAuthRequirements.getDefaultInstance() : oauth_; } /** + * + * *
    * The requirements for OAuth credentials.
    * 
@@ -146,12 +175,15 @@ public com.google.api.OAuthRequirementsOrBuilder getOauthOrBuilder() { public static final int ALLOW_WITHOUT_CREDENTIAL_FIELD_NUMBER = 5; private boolean allowWithoutCredential_ = false; /** + * + * *
    * If true, the service accepts API keys without any other credential.
    * This flag only applies to HTTP and gRPC requests.
    * 
* * bool allow_without_credential = 5; + * * @return The allowWithoutCredential. */ @java.lang.Override @@ -160,9 +192,12 @@ public boolean getAllowWithoutCredential() { } public static final int REQUIREMENTS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private java.util.List requirements_; /** + * + * *
    * Requirements for additional authentication providers.
    * 
@@ -174,6 +209,8 @@ public java.util.List getRequirementsList() { return requirements_; } /** + * + * *
    * Requirements for additional authentication providers.
    * 
@@ -181,11 +218,13 @@ public java.util.List getRequirementsList() { * repeated .google.api.AuthRequirement requirements = 7; */ @java.lang.Override - public java.util.List + public java.util.List getRequirementsOrBuilderList() { return requirements_; } /** + * + * *
    * Requirements for additional authentication providers.
    * 
@@ -197,6 +236,8 @@ public int getRequirementsCount() { return requirements_.size(); } /** + * + * *
    * Requirements for additional authentication providers.
    * 
@@ -208,6 +249,8 @@ public com.google.api.AuthRequirement getRequirements(int index) { return requirements_.get(index); } /** + * + * *
    * Requirements for additional authentication providers.
    * 
@@ -215,12 +258,12 @@ public com.google.api.AuthRequirement getRequirements(int index) { * repeated .google.api.AuthRequirement requirements = 7; */ @java.lang.Override - public com.google.api.AuthRequirementOrBuilder getRequirementsOrBuilder( - int index) { + public com.google.api.AuthRequirementOrBuilder getRequirementsOrBuilder(int index) { return requirements_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +275,7 @@ 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(selector_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); } @@ -259,16 +301,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); } if (oauth_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOauth()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOauth()); } if (allowWithoutCredential_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowWithoutCredential_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowWithoutCredential_); } for (int i = 0; i < requirements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, requirements_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, requirements_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -278,24 +317,20 @@ 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.AuthenticationRule)) { return super.equals(obj); } com.google.api.AuthenticationRule other = (com.google.api.AuthenticationRule) obj; - if (!getSelector() - .equals(other.getSelector())) return false; + if (!getSelector().equals(other.getSelector())) return false; if (hasOauth() != other.hasOauth()) return false; if (hasOauth()) { - if (!getOauth() - .equals(other.getOauth())) return false; + if (!getOauth().equals(other.getOauth())) return false; } - if (getAllowWithoutCredential() - != other.getAllowWithoutCredential()) return false; - if (!getRequirementsList() - .equals(other.getRequirementsList())) return false; + if (getAllowWithoutCredential() != other.getAllowWithoutCredential()) return false; + if (!getRequirementsList().equals(other.getRequirementsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -314,8 +349,7 @@ public int hashCode() { hash = (53 * hash) + getOauth().hashCode(); } hash = (37 * hash) + ALLOW_WITHOUT_CREDENTIAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowWithoutCredential()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowWithoutCredential()); if (getRequirementsCount() > 0) { hash = (37 * hash) + REQUIREMENTS_FIELD_NUMBER; hash = (53 * hash) + getRequirementsList().hashCode(); @@ -325,99 +359,103 @@ public int hashCode() { return hash; } - public static com.google.api.AuthenticationRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.AuthenticationRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.AuthenticationRule 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.AuthenticationRule parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.AuthenticationRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.AuthenticationRule 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.AuthenticationRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.AuthenticationRule 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.AuthenticationRule 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.AuthenticationRule 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.AuthenticationRule 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.AuthenticationRule 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.AuthenticationRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.AuthenticationRule 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.AuthenticationRule 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 rules for the service.
    *
@@ -432,33 +470,31 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.AuthenticationRule}
    */
-  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.AuthenticationRule)
       com.google.api.AuthenticationRuleOrBuilder {
-    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_AuthenticationRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.AuthProto.internal_static_google_api_AuthenticationRule_fieldAccessorTable
+      return com.google.api.AuthProto
+          .internal_static_google_api_AuthenticationRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.AuthenticationRule.class, com.google.api.AuthenticationRule.Builder.class);
+              com.google.api.AuthenticationRule.class,
+              com.google.api.AuthenticationRule.Builder.class);
     }
 
     // Construct using com.google.api.AuthenticationRule.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -481,8 +517,7 @@ 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_AuthenticationRule_descriptor;
     }
 
@@ -504,7 +539,9 @@ public com.google.api.AuthenticationRule build() {
     public com.google.api.AuthenticationRule buildPartial() {
       com.google.api.AuthenticationRule result = new com.google.api.AuthenticationRule(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -527,9 +564,7 @@ private void buildPartial0(com.google.api.AuthenticationRule result) {
         result.selector_ = selector_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.oauth_ = oauthBuilder_ == null
-            ? oauth_
-            : oauthBuilder_.build();
+        result.oauth_ = oauthBuilder_ == null ? oauth_ : oauthBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.allowWithoutCredential_ = allowWithoutCredential_;
@@ -540,38 +575,39 @@ private void buildPartial0(com.google.api.AuthenticationRule 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.AuthenticationRule) {
-        return mergeFrom((com.google.api.AuthenticationRule)other);
+        return mergeFrom((com.google.api.AuthenticationRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -609,9 +645,10 @@ public Builder mergeFrom(com.google.api.AuthenticationRule other) {
             requirementsBuilder_ = null;
             requirements_ = other.requirements_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            requirementsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRequirementsFieldBuilder() : null;
+            requirementsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRequirementsFieldBuilder()
+                    : null;
           } else {
             requirementsBuilder_.addAllMessages(other.requirements_);
           }
@@ -643,42 +680,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              selector_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getOauthFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 40: {
-              allowWithoutCredential_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 40
-            case 58: {
-              com.google.api.AuthRequirement m =
-                  input.readMessage(
-                      com.google.api.AuthRequirement.parser(),
-                      extensionRegistry);
-              if (requirementsBuilder_ == null) {
-                ensureRequirementsIsMutable();
-                requirements_.add(m);
-              } else {
-                requirementsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                selector_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getOauthFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 40:
+              {
+                allowWithoutCredential_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 40
+            case 58:
+              {
+                com.google.api.AuthRequirement m =
+                    input.readMessage(com.google.api.AuthRequirement.parser(), extensionRegistry);
+                if (requirementsBuilder_ == null) {
+                  ensureRequirementsIsMutable();
+                  requirements_.add(m);
+                } else {
+                  requirementsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 58
+            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) {
@@ -688,10 +726,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object selector_ = "";
     /**
+     *
+     *
      * 
      * Selects the methods to which this rule applies.
      *
@@ -700,13 +741,13 @@ public Builder mergeFrom(
      * 
* * string selector = 1; + * * @return The selector. */ public java.lang.String getSelector() { java.lang.Object ref = selector_; 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(); selector_ = s; return s; @@ -715,6 +756,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -723,15 +766,14 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @return The bytes for selector. */ - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -739,6 +781,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -747,18 +791,22 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @param value The selector to set. * @return This builder for chaining. */ - public Builder setSelector( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelector(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } selector_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -767,6 +815,7 @@ public Builder setSelector(
      * 
* * string selector = 1; + * * @return This builder for chaining. */ public Builder clearSelector() { @@ -776,6 +825,8 @@ public Builder clearSelector() { return this; } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -784,12 +835,14 @@ public Builder clearSelector() {
      * 
* * string selector = 1; + * * @param value The bytes for selector to set. * @return This builder for chaining. */ - public Builder setSelectorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); selector_ = value; bitField0_ |= 0x00000001; @@ -799,24 +852,33 @@ public Builder setSelectorBytes( private com.google.api.OAuthRequirements oauth_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.OAuthRequirements, com.google.api.OAuthRequirements.Builder, com.google.api.OAuthRequirementsOrBuilder> oauthBuilder_; + com.google.api.OAuthRequirements, + com.google.api.OAuthRequirements.Builder, + com.google.api.OAuthRequirementsOrBuilder> + oauthBuilder_; /** + * + * *
      * The requirements for OAuth credentials.
      * 
* * .google.api.OAuthRequirements oauth = 2; + * * @return Whether the oauth field is set. */ public boolean hasOauth() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The requirements for OAuth credentials.
      * 
* * .google.api.OAuthRequirements oauth = 2; + * * @return The oauth. */ public com.google.api.OAuthRequirements getOauth() { @@ -827,6 +889,8 @@ public com.google.api.OAuthRequirements getOauth() { } } /** + * + * *
      * The requirements for OAuth credentials.
      * 
@@ -847,14 +911,15 @@ public Builder setOauth(com.google.api.OAuthRequirements value) { return this; } /** + * + * *
      * The requirements for OAuth credentials.
      * 
* * .google.api.OAuthRequirements oauth = 2; */ - public Builder setOauth( - com.google.api.OAuthRequirements.Builder builderForValue) { + public Builder setOauth(com.google.api.OAuthRequirements.Builder builderForValue) { if (oauthBuilder_ == null) { oauth_ = builderForValue.build(); } else { @@ -865,6 +930,8 @@ public Builder setOauth( return this; } /** + * + * *
      * The requirements for OAuth credentials.
      * 
@@ -873,9 +940,9 @@ public Builder setOauth( */ public Builder mergeOauth(com.google.api.OAuthRequirements value) { if (oauthBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - oauth_ != null && - oauth_ != com.google.api.OAuthRequirements.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && oauth_ != null + && oauth_ != com.google.api.OAuthRequirements.getDefaultInstance()) { getOauthBuilder().mergeFrom(value); } else { oauth_ = value; @@ -888,6 +955,8 @@ public Builder mergeOauth(com.google.api.OAuthRequirements value) { return this; } /** + * + * *
      * The requirements for OAuth credentials.
      * 
@@ -905,6 +974,8 @@ public Builder clearOauth() { return this; } /** + * + * *
      * The requirements for OAuth credentials.
      * 
@@ -917,6 +988,8 @@ public com.google.api.OAuthRequirements.Builder getOauthBuilder() { return getOauthFieldBuilder().getBuilder(); } /** + * + * *
      * The requirements for OAuth credentials.
      * 
@@ -927,11 +1000,12 @@ public com.google.api.OAuthRequirementsOrBuilder getOauthOrBuilder() { if (oauthBuilder_ != null) { return oauthBuilder_.getMessageOrBuilder(); } else { - return oauth_ == null ? - com.google.api.OAuthRequirements.getDefaultInstance() : oauth_; + return oauth_ == null ? com.google.api.OAuthRequirements.getDefaultInstance() : oauth_; } } /** + * + * *
      * The requirements for OAuth credentials.
      * 
@@ -939,27 +1013,33 @@ public com.google.api.OAuthRequirementsOrBuilder getOauthOrBuilder() { * .google.api.OAuthRequirements oauth = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.OAuthRequirements, com.google.api.OAuthRequirements.Builder, com.google.api.OAuthRequirementsOrBuilder> + com.google.api.OAuthRequirements, + com.google.api.OAuthRequirements.Builder, + com.google.api.OAuthRequirementsOrBuilder> getOauthFieldBuilder() { if (oauthBuilder_ == null) { - oauthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.OAuthRequirements, com.google.api.OAuthRequirements.Builder, com.google.api.OAuthRequirementsOrBuilder>( - getOauth(), - getParentForChildren(), - isClean()); + oauthBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.OAuthRequirements, + com.google.api.OAuthRequirements.Builder, + com.google.api.OAuthRequirementsOrBuilder>( + getOauth(), getParentForChildren(), isClean()); oauth_ = null; } return oauthBuilder_; } - private boolean allowWithoutCredential_ ; + private boolean allowWithoutCredential_; /** + * + * *
      * If true, the service accepts API keys without any other credential.
      * This flag only applies to HTTP and gRPC requests.
      * 
* * bool allow_without_credential = 5; + * * @return The allowWithoutCredential. */ @java.lang.Override @@ -967,12 +1047,15 @@ public boolean getAllowWithoutCredential() { return allowWithoutCredential_; } /** + * + * *
      * If true, the service accepts API keys without any other credential.
      * This flag only applies to HTTP and gRPC requests.
      * 
* * bool allow_without_credential = 5; + * * @param value The allowWithoutCredential to set. * @return This builder for chaining. */ @@ -984,12 +1067,15 @@ public Builder setAllowWithoutCredential(boolean value) { return this; } /** + * + * *
      * If true, the service accepts API keys without any other credential.
      * This flag only applies to HTTP and gRPC requests.
      * 
* * bool allow_without_credential = 5; + * * @return This builder for chaining. */ public Builder clearAllowWithoutCredential() { @@ -1000,18 +1086,24 @@ public Builder clearAllowWithoutCredential() { } private java.util.List requirements_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequirementsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { requirements_ = new java.util.ArrayList(requirements_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.AuthRequirement, com.google.api.AuthRequirement.Builder, com.google.api.AuthRequirementOrBuilder> requirementsBuilder_; + com.google.api.AuthRequirement, + com.google.api.AuthRequirement.Builder, + com.google.api.AuthRequirementOrBuilder> + requirementsBuilder_; /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1026,6 +1118,8 @@ public java.util.List getRequirementsList() { } } /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1040,6 +1134,8 @@ public int getRequirementsCount() { } } /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1054,14 +1150,15 @@ public com.google.api.AuthRequirement getRequirements(int index) { } } /** + * + * *
      * Requirements for additional authentication providers.
      * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - public Builder setRequirements( - int index, com.google.api.AuthRequirement value) { + public Builder setRequirements(int index, com.google.api.AuthRequirement value) { if (requirementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,6 +1172,8 @@ public Builder setRequirements( return this; } /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1093,6 +1192,8 @@ public Builder setRequirements( return this; } /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1113,14 +1214,15 @@ public Builder addRequirements(com.google.api.AuthRequirement value) { return this; } /** + * + * *
      * Requirements for additional authentication providers.
      * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - public Builder addRequirements( - int index, com.google.api.AuthRequirement value) { + public Builder addRequirements(int index, com.google.api.AuthRequirement value) { if (requirementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1134,14 +1236,15 @@ public Builder addRequirements( return this; } /** + * + * *
      * Requirements for additional authentication providers.
      * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - public Builder addRequirements( - com.google.api.AuthRequirement.Builder builderForValue) { + public Builder addRequirements(com.google.api.AuthRequirement.Builder builderForValue) { if (requirementsBuilder_ == null) { ensureRequirementsIsMutable(); requirements_.add(builderForValue.build()); @@ -1152,6 +1255,8 @@ public Builder addRequirements( return this; } /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1170,6 +1275,8 @@ public Builder addRequirements( return this; } /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1180,8 +1287,7 @@ public Builder addAllRequirements( java.lang.Iterable values) { if (requirementsBuilder_ == null) { ensureRequirementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requirements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requirements_); onChanged(); } else { requirementsBuilder_.addAllMessages(values); @@ -1189,6 +1295,8 @@ public Builder addAllRequirements( return this; } /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1206,6 +1314,8 @@ public Builder clearRequirements() { return this; } /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1223,39 +1333,44 @@ public Builder removeRequirements(int index) { return this; } /** + * + * *
      * Requirements for additional authentication providers.
      * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - public com.google.api.AuthRequirement.Builder getRequirementsBuilder( - int index) { + public com.google.api.AuthRequirement.Builder getRequirementsBuilder(int index) { return getRequirementsFieldBuilder().getBuilder(index); } /** + * + * *
      * Requirements for additional authentication providers.
      * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - public com.google.api.AuthRequirementOrBuilder getRequirementsOrBuilder( - int index) { + public com.google.api.AuthRequirementOrBuilder getRequirementsOrBuilder(int index) { if (requirementsBuilder_ == null) { - return requirements_.get(index); } else { + return requirements_.get(index); + } else { return requirementsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Requirements for additional authentication providers.
      * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - public java.util.List - getRequirementsOrBuilderList() { + public java.util.List + getRequirementsOrBuilderList() { if (requirementsBuilder_ != null) { return requirementsBuilder_.getMessageOrBuilderList(); } else { @@ -1263,6 +1378,8 @@ public com.google.api.AuthRequirementOrBuilder getRequirementsOrBuilder( } } /** + * + * *
      * Requirements for additional authentication providers.
      * 
@@ -1270,49 +1387,54 @@ public com.google.api.AuthRequirementOrBuilder getRequirementsOrBuilder( * repeated .google.api.AuthRequirement requirements = 7; */ public com.google.api.AuthRequirement.Builder addRequirementsBuilder() { - return getRequirementsFieldBuilder().addBuilder( - com.google.api.AuthRequirement.getDefaultInstance()); + return getRequirementsFieldBuilder() + .addBuilder(com.google.api.AuthRequirement.getDefaultInstance()); } /** + * + * *
      * Requirements for additional authentication providers.
      * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - public com.google.api.AuthRequirement.Builder addRequirementsBuilder( - int index) { - return getRequirementsFieldBuilder().addBuilder( - index, com.google.api.AuthRequirement.getDefaultInstance()); + public com.google.api.AuthRequirement.Builder addRequirementsBuilder(int index) { + return getRequirementsFieldBuilder() + .addBuilder(index, com.google.api.AuthRequirement.getDefaultInstance()); } /** + * + * *
      * Requirements for additional authentication providers.
      * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - public java.util.List - getRequirementsBuilderList() { + public java.util.List getRequirementsBuilderList() { return getRequirementsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.AuthRequirement, com.google.api.AuthRequirement.Builder, com.google.api.AuthRequirementOrBuilder> + com.google.api.AuthRequirement, + com.google.api.AuthRequirement.Builder, + com.google.api.AuthRequirementOrBuilder> getRequirementsFieldBuilder() { if (requirementsBuilder_ == null) { - requirementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.AuthRequirement, com.google.api.AuthRequirement.Builder, com.google.api.AuthRequirementOrBuilder>( - requirements_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + requirementsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.AuthRequirement, + com.google.api.AuthRequirement.Builder, + com.google.api.AuthRequirementOrBuilder>( + requirements_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); requirements_ = null; } return requirementsBuilder_; } + @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); } @@ -1322,12 +1444,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.AuthenticationRule) } // @@protoc_insertion_point(class_scope:google.api.AuthenticationRule) private static final com.google.api.AuthenticationRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.AuthenticationRule(); } @@ -1336,27 +1458,27 @@ public static com.google.api.AuthenticationRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthenticationRule 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 AuthenticationRule 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; @@ -1371,6 +1493,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.AuthenticationRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java similarity index 74% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java index 31bd41946d..fdcffb5e88 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface AuthenticationRuleOrBuilder extends +public interface AuthenticationRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.AuthenticationRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -16,10 +34,13 @@ public interface AuthenticationRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The selector. */ java.lang.String getSelector(); /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -28,30 +49,38 @@ public interface AuthenticationRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The bytes for selector. */ - com.google.protobuf.ByteString - getSelectorBytes(); + com.google.protobuf.ByteString getSelectorBytes(); /** + * + * *
    * The requirements for OAuth credentials.
    * 
* * .google.api.OAuthRequirements oauth = 2; + * * @return Whether the oauth field is set. */ boolean hasOauth(); /** + * + * *
    * The requirements for OAuth credentials.
    * 
* * .google.api.OAuthRequirements oauth = 2; + * * @return The oauth. */ com.google.api.OAuthRequirements getOauth(); /** + * + * *
    * The requirements for OAuth credentials.
    * 
@@ -61,26 +90,32 @@ public interface AuthenticationRuleOrBuilder extends com.google.api.OAuthRequirementsOrBuilder getOauthOrBuilder(); /** + * + * *
    * If true, the service accepts API keys without any other credential.
    * This flag only applies to HTTP and gRPC requests.
    * 
* * bool allow_without_credential = 5; + * * @return The allowWithoutCredential. */ boolean getAllowWithoutCredential(); /** + * + * *
    * Requirements for additional authentication providers.
    * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - java.util.List - getRequirementsList(); + java.util.List getRequirementsList(); /** + * + * *
    * Requirements for additional authentication providers.
    * 
@@ -89,6 +124,8 @@ public interface AuthenticationRuleOrBuilder extends */ com.google.api.AuthRequirement getRequirements(int index); /** + * + * *
    * Requirements for additional authentication providers.
    * 
@@ -97,21 +134,23 @@ public interface AuthenticationRuleOrBuilder extends */ int getRequirementsCount(); /** + * + * *
    * Requirements for additional authentication providers.
    * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - java.util.List - getRequirementsOrBuilderList(); + java.util.List getRequirementsOrBuilderList(); /** + * + * *
    * Requirements for additional authentication providers.
    * 
* * repeated .google.api.AuthRequirement requirements = 7; */ - com.google.api.AuthRequirementOrBuilder getRequirementsOrBuilder( - int index); + com.google.api.AuthRequirementOrBuilder getRequirementsOrBuilder(int index); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Backend.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java similarity index 73% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Backend.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java index ce0b3a2e56..597e6c6646 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Backend.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java @@ -1,37 +1,53 @@ +/* + * 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; /** + * + * *
  * `Backend` defines the backend configuration for a service.
  * 
* * Protobuf type {@code google.api.Backend} */ -public final class Backend extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Backend extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.Backend) BackendOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Backend.newBuilder() to construct. private Backend(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Backend() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Backend(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_Backend_descriptor; } @@ -44,9 +60,12 @@ protected java.lang.Object newInstance( } public static final int RULES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List rules_; /** + * + * *
    * A list of API backend rules that apply to individual API methods.
    *
@@ -60,6 +79,8 @@ public java.util.List getRulesList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of API backend rules that apply to individual API methods.
    *
@@ -69,11 +90,12 @@ public java.util.List getRulesList() {
    * repeated .google.api.BackendRule rules = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getRulesOrBuilderList() {
+  public java.util.List getRulesOrBuilderList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of API backend rules that apply to individual API methods.
    *
@@ -87,6 +109,8 @@ public int getRulesCount() {
     return rules_.size();
   }
   /**
+   *
+   *
    * 
    * A list of API backend rules that apply to individual API methods.
    *
@@ -100,6 +124,8 @@ public com.google.api.BackendRule getRules(int index) {
     return rules_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of API backend rules that apply to individual API methods.
    *
@@ -109,12 +135,12 @@ public com.google.api.BackendRule getRules(int index) {
    * repeated .google.api.BackendRule rules = 1;
    */
   @java.lang.Override
-  public com.google.api.BackendRuleOrBuilder getRulesOrBuilder(
-      int index) {
+  public com.google.api.BackendRuleOrBuilder getRulesOrBuilder(int index) {
     return rules_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -126,8 +152,7 @@ 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(1, rules_.get(i));
     }
@@ -141,8 +166,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < rules_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, rules_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -152,15 +176,14 @@ 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.Backend)) {
       return super.equals(obj);
     }
     com.google.api.Backend other = (com.google.api.Backend) obj;
 
-    if (!getRulesList()
-        .equals(other.getRulesList())) return false;
+    if (!getRulesList().equals(other.getRulesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -181,111 +204,114 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.Backend parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.Backend parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Backend 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.Backend parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.Backend parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Backend 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.Backend parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Backend 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.Backend 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.Backend 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.Backend 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.Backend 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.Backend parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.Backend 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.Backend 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.Backend 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;
   }
   /**
+   *
+   *
    * 
    * `Backend` defines the backend configuration for a service.
    * 
* * Protobuf type {@code google.api.Backend} */ - 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.Backend) com.google.api.BackendOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_Backend_descriptor; } @@ -298,15 +324,12 @@ public static final class Builder extends } // Construct using com.google.api.Backend.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -322,8 +345,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.BackendProto.internal_static_google_api_Backend_descriptor; } @@ -345,7 +367,9 @@ public com.google.api.Backend build() { public com.google.api.Backend buildPartial() { com.google.api.Backend result = new com.google.api.Backend(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -370,38 +394,39 @@ private void buildPartial0(com.google.api.Backend 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.Backend) { - return mergeFrom((com.google.api.Backend)other); + return mergeFrom((com.google.api.Backend) other); } else { super.mergeFrom(other); return this; @@ -428,9 +453,10 @@ public Builder mergeFrom(com.google.api.Backend 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_); } @@ -462,25 +488,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.api.BackendRule m = - input.readMessage( - com.google.api.BackendRule.parser(), - extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.api.BackendRule m = + input.readMessage(com.google.api.BackendRule.parser(), extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 10 + 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) { @@ -490,21 +516,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List rules_ = - java.util.Collections.emptyList(); + private java.util.List rules_ = 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.BackendRule, com.google.api.BackendRule.Builder, com.google.api.BackendRuleOrBuilder> rulesBuilder_; + com.google.api.BackendRule, + com.google.api.BackendRule.Builder, + com.google.api.BackendRuleOrBuilder> + rulesBuilder_; /** + * + * *
      * A list of API backend rules that apply to individual API methods.
      *
@@ -521,6 +553,8 @@ public java.util.List getRulesList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -537,6 +571,8 @@ public int getRulesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -553,6 +589,8 @@ public com.google.api.BackendRule getRules(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -561,8 +599,7 @@ public com.google.api.BackendRule getRules(int index) {
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public Builder setRules(
-        int index, com.google.api.BackendRule value) {
+    public Builder setRules(int index, com.google.api.BackendRule value) {
       if (rulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -576,6 +613,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -584,8 +623,7 @@ public Builder setRules(
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public Builder setRules(
-        int index, com.google.api.BackendRule.Builder builderForValue) {
+    public Builder setRules(int index, com.google.api.BackendRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.set(index, builderForValue.build());
@@ -596,6 +634,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -618,6 +658,8 @@ public Builder addRules(com.google.api.BackendRule value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -626,8 +668,7 @@ public Builder addRules(com.google.api.BackendRule value) {
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public Builder addRules(
-        int index, com.google.api.BackendRule value) {
+    public Builder addRules(int index, com.google.api.BackendRule value) {
       if (rulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -641,6 +682,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -649,8 +692,7 @@ public Builder addRules(
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public Builder addRules(
-        com.google.api.BackendRule.Builder builderForValue) {
+    public Builder addRules(com.google.api.BackendRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.add(builderForValue.build());
@@ -661,6 +703,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -669,8 +713,7 @@ public Builder addRules(
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public Builder addRules(
-        int index, com.google.api.BackendRule.Builder builderForValue) {
+    public Builder addRules(int index, com.google.api.BackendRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.add(index, builderForValue.build());
@@ -681,6 +724,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -689,12 +734,10 @@ public Builder addRules(
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public Builder addAllRules(
-        java.lang.Iterable values) {
+    public Builder addAllRules(java.lang.Iterable 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);
@@ -702,6 +745,8 @@ public Builder addAllRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -721,6 +766,8 @@ public Builder clearRules() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -740,6 +787,8 @@ public Builder removeRules(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -748,11 +797,12 @@ public Builder removeRules(int index) {
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public com.google.api.BackendRule.Builder getRulesBuilder(
-        int index) {
+    public com.google.api.BackendRule.Builder getRulesBuilder(int index) {
       return getRulesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -761,14 +811,16 @@ public com.google.api.BackendRule.Builder getRulesBuilder(
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public com.google.api.BackendRuleOrBuilder getRulesOrBuilder(
-        int index) {
+    public com.google.api.BackendRuleOrBuilder getRulesOrBuilder(int index) {
       if (rulesBuilder_ == null) {
-        return rules_.get(index);  } else {
+        return rules_.get(index);
+      } else {
         return rulesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -777,8 +829,7 @@ public com.google.api.BackendRuleOrBuilder getRulesOrBuilder(
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public java.util.List 
-         getRulesOrBuilderList() {
+    public java.util.List getRulesOrBuilderList() {
       if (rulesBuilder_ != null) {
         return rulesBuilder_.getMessageOrBuilderList();
       } else {
@@ -786,6 +837,8 @@ public com.google.api.BackendRuleOrBuilder getRulesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -795,10 +848,11 @@ public com.google.api.BackendRuleOrBuilder getRulesOrBuilder(
      * repeated .google.api.BackendRule rules = 1;
      */
     public com.google.api.BackendRule.Builder addRulesBuilder() {
-      return getRulesFieldBuilder().addBuilder(
-          com.google.api.BackendRule.getDefaultInstance());
+      return getRulesFieldBuilder().addBuilder(com.google.api.BackendRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -807,12 +861,13 @@ public com.google.api.BackendRule.Builder addRulesBuilder() {
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public com.google.api.BackendRule.Builder addRulesBuilder(
-        int index) {
-      return getRulesFieldBuilder().addBuilder(
-          index, com.google.api.BackendRule.getDefaultInstance());
+    public com.google.api.BackendRule.Builder addRulesBuilder(int index) {
+      return getRulesFieldBuilder()
+          .addBuilder(index, com.google.api.BackendRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of API backend rules that apply to individual API methods.
      *
@@ -821,27 +876,29 @@ public com.google.api.BackendRule.Builder addRulesBuilder(
      *
      * repeated .google.api.BackendRule rules = 1;
      */
-    public java.util.List 
-         getRulesBuilderList() {
+    public java.util.List getRulesBuilderList() {
       return getRulesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.BackendRule, com.google.api.BackendRule.Builder, com.google.api.BackendRuleOrBuilder> 
+            com.google.api.BackendRule,
+            com.google.api.BackendRule.Builder,
+            com.google.api.BackendRuleOrBuilder>
         getRulesFieldBuilder() {
       if (rulesBuilder_ == null) {
-        rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.BackendRule, com.google.api.BackendRule.Builder, com.google.api.BackendRuleOrBuilder>(
-                rules_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        rulesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.BackendRule,
+                com.google.api.BackendRule.Builder,
+                com.google.api.BackendRuleOrBuilder>(
+                rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         rules_ = null;
       }
       return rulesBuilder_;
     }
+
     @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);
     }
 
@@ -851,12 +908,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.Backend)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.Backend)
   private static final com.google.api.Backend DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.Backend();
   }
@@ -865,27 +922,27 @@ public static com.google.api.Backend getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Backend 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 Backend 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;
@@ -900,6 +957,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.Backend getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java
similarity index 66%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java
index fb3b170ac5..9649071c93 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface BackendOrBuilder extends
+public interface BackendOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.Backend)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A list of API backend rules that apply to individual API methods.
    *
@@ -16,9 +34,10 @@ public interface BackendOrBuilder extends
    *
    * repeated .google.api.BackendRule rules = 1;
    */
-  java.util.List 
-      getRulesList();
+  java.util.List getRulesList();
   /**
+   *
+   *
    * 
    * A list of API backend rules that apply to individual API methods.
    *
@@ -29,6 +48,8 @@ public interface BackendOrBuilder extends
    */
   com.google.api.BackendRule getRules(int index);
   /**
+   *
+   *
    * 
    * A list of API backend rules that apply to individual API methods.
    *
@@ -39,6 +60,8 @@ public interface BackendOrBuilder extends
    */
   int getRulesCount();
   /**
+   *
+   *
    * 
    * A list of API backend rules that apply to individual API methods.
    *
@@ -47,9 +70,10 @@ public interface BackendOrBuilder extends
    *
    * repeated .google.api.BackendRule rules = 1;
    */
-  java.util.List 
-      getRulesOrBuilderList();
+  java.util.List getRulesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of API backend rules that apply to individual API methods.
    *
@@ -58,6 +82,5 @@ public interface BackendOrBuilder extends
    *
    * repeated .google.api.BackendRule rules = 1;
    */
-  com.google.api.BackendRuleOrBuilder getRulesOrBuilder(
-      int index);
+  com.google.api.BackendRuleOrBuilder getRulesOrBuilder(int index);
 }
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
new file mode 100644
index 0000000000..3cc5ae6575
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java
@@ -0,0 +1,110 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java
similarity index 76%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java
index dda664f777..625569117e 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java
@@ -1,24 +1,42 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * A backend rule provides configuration for an individual API element.
  * 
* * Protobuf type {@code google.api.BackendRule} */ -public final class BackendRule extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BackendRule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.BackendRule) BackendRuleOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BackendRule.newBuilder() to construct. private BackendRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BackendRule() { selector_ = ""; address_ = ""; @@ -28,28 +46,25 @@ private BackendRule() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BackendRule(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_BackendRule_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 10: return internalGetOverridesByRequestProtocol(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -59,6 +74,8 @@ protected com.google.protobuf.MapField internalGetMapField( } /** + * + * *
    * Path Translation specifies how to combine the backend address with the
    * request path in order to produce the appropriate forwarding URL for the
@@ -71,13 +88,12 @@ protected com.google.protobuf.MapField internalGetMapField(
    *
    * Protobuf enum {@code google.api.BackendRule.PathTranslation}
    */
-  public enum PathTranslation
-      implements com.google.protobuf.ProtocolMessageEnum {
-    /**
-     * PATH_TRANSLATION_UNSPECIFIED = 0;
-     */
+  public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum {
+    /** PATH_TRANSLATION_UNSPECIFIED = 0; */
     PATH_TRANSLATION_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Use the backend address as-is, with no modification to the path. If the
      * URL pattern contains variables, the variable names and values will be
@@ -108,6 +124,8 @@ public enum PathTranslation
      */
     CONSTANT_ADDRESS(1),
     /**
+     *
+     *
      * 
      * The request path will be appended to the backend address.
      *
@@ -136,11 +154,11 @@ public enum PathTranslation
     UNRECOGNIZED(-1),
     ;
 
-    /**
-     * PATH_TRANSLATION_UNSPECIFIED = 0;
-     */
+    /** PATH_TRANSLATION_UNSPECIFIED = 0; */
     public static final int PATH_TRANSLATION_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Use the backend address as-is, with no modification to the path. If the
      * URL pattern contains variables, the variable names and values will be
@@ -171,6 +189,8 @@ public enum PathTranslation
      */
     public static final int CONSTANT_ADDRESS_VALUE = 1;
     /**
+     *
+     *
      * 
      * The request path will be appended to the backend address.
      *
@@ -197,7 +217,6 @@ public enum PathTranslation
      */
     public static final int APPEND_PATH_TO_ADDRESS_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -222,39 +241,42 @@ public static PathTranslation valueOf(int value) {
      */
     public static PathTranslation forNumber(int value) {
       switch (value) {
-        case 0: return PATH_TRANSLATION_UNSPECIFIED;
-        case 1: return CONSTANT_ADDRESS;
-        case 2: return APPEND_PATH_TO_ADDRESS;
-        default: return null;
+        case 0:
+          return PATH_TRANSLATION_UNSPECIFIED;
+        case 1:
+          return CONSTANT_ADDRESS;
+        case 2:
+          return APPEND_PATH_TO_ADDRESS;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        PathTranslation> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PathTranslation findValueByNumber(int number) {
-              return PathTranslation.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public PathTranslation findValueByNumber(int number) {
+                return PathTranslation.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.api.BackendRule.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -263,8 +285,7 @@ public PathTranslation findValueByNumber(int number) {
     public static PathTranslation valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -282,15 +303,19 @@ private PathTranslation(int value) {
   }
 
   private int authenticationCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object authentication_;
+
   public enum AuthenticationCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     JWT_AUDIENCE(7),
     DISABLE_AUTH(8),
     AUTHENTICATION_NOT_SET(0);
     private final int value;
+
     private AuthenticationCase(int value) {
       this.value = value;
     }
@@ -306,27 +331,33 @@ public static AuthenticationCase valueOf(int value) {
 
     public static AuthenticationCase forNumber(int value) {
       switch (value) {
-        case 7: return JWT_AUDIENCE;
-        case 8: return DISABLE_AUTH;
-        case 0: return AUTHENTICATION_NOT_SET;
-        default: return null;
+        case 7:
+          return JWT_AUDIENCE;
+        case 8:
+          return DISABLE_AUTH;
+        case 0:
+          return AUTHENTICATION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthenticationCase
-  getAuthenticationCase() {
-    return AuthenticationCase.forNumber(
-        authenticationCase_);
+  public AuthenticationCase getAuthenticationCase() {
+    return AuthenticationCase.forNumber(authenticationCase_);
   }
 
   public static final int SELECTOR_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object selector_ = "";
   /**
+   *
+   *
    * 
    * Selects the methods to which this rule applies.
    *
@@ -335,6 +366,7 @@ public int getNumber() {
    * 
* * string selector = 1; + * * @return The selector. */ @java.lang.Override @@ -343,14 +375,15 @@ public java.lang.String getSelector() { 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(); selector_ = s; return s; } } /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -359,16 +392,15 @@ public java.lang.String getSelector() {
    * 
* * string selector = 1; + * * @return The bytes for selector. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -377,9 +409,12 @@ public java.lang.String getSelector() { } public static final int ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object address_ = ""; /** + * + * *
    * The address of the API backend.
    *
@@ -404,6 +439,7 @@ public java.lang.String getSelector() {
    * 
* * string address = 2; + * * @return The address. */ @java.lang.Override @@ -412,14 +448,15 @@ public java.lang.String getAddress() { 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(); address_ = s; return s; } } /** + * + * *
    * The address of the API backend.
    *
@@ -444,16 +481,15 @@ public java.lang.String getAddress() {
    * 
* * string address = 2; + * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; 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); address_ = b; return b; } else { @@ -464,12 +500,15 @@ public java.lang.String getAddress() { public static final int DEADLINE_FIELD_NUMBER = 3; private double deadline_ = 0D; /** + * + * *
    * The number of seconds to wait for a response from a request. The default
    * varies based on the request protocol and deployment environment.
    * 
* * double deadline = 3; + * * @return The deadline. */ @java.lang.Override @@ -480,29 +519,36 @@ public double getDeadline() { public static final int MIN_DEADLINE_FIELD_NUMBER = 4; private double minDeadline_ = 0D; /** + * + * *
    * Deprecated, do not use.
    * 
* * double min_deadline = 4 [deprecated = true]; - * @deprecated google.api.BackendRule.min_deadline is deprecated. - * See google/api/backend.proto;l=124 + * + * @deprecated google.api.BackendRule.min_deadline is deprecated. See + * google/api/backend.proto;l=124 * @return The minDeadline. */ @java.lang.Override - @java.lang.Deprecated public double getMinDeadline() { + @java.lang.Deprecated + public double getMinDeadline() { return minDeadline_; } public static final int OPERATION_DEADLINE_FIELD_NUMBER = 5; private double operationDeadline_ = 0D; /** + * + * *
    * The number of seconds to wait for the completion of a long running
    * operation. The default is no deadline.
    * 
* * double operation_deadline = 5; + * * @return The operationDeadline. */ @java.lang.Override @@ -514,22 +560,29 @@ public double getOperationDeadline() { private int pathTranslation_ = 0; /** * .google.api.BackendRule.PathTranslation path_translation = 6; + * * @return The enum numeric value on the wire for pathTranslation. */ - @java.lang.Override public int getPathTranslationValue() { + @java.lang.Override + public int getPathTranslationValue() { return pathTranslation_; } /** * .google.api.BackendRule.PathTranslation path_translation = 6; + * * @return The pathTranslation. */ - @java.lang.Override public com.google.api.BackendRule.PathTranslation getPathTranslation() { - com.google.api.BackendRule.PathTranslation result = com.google.api.BackendRule.PathTranslation.forNumber(pathTranslation_); + @java.lang.Override + public com.google.api.BackendRule.PathTranslation getPathTranslation() { + com.google.api.BackendRule.PathTranslation result = + com.google.api.BackendRule.PathTranslation.forNumber(pathTranslation_); return result == null ? com.google.api.BackendRule.PathTranslation.UNRECOGNIZED : result; } public static final int JWT_AUDIENCE_FIELD_NUMBER = 7; /** + * + * *
    * The JWT audience is used when generating a JWT ID token for the backend.
    * This ID token will be added in the HTTP "authorization" header, and sent
@@ -537,12 +590,15 @@ public double getOperationDeadline() {
    * 
* * string jwt_audience = 7; + * * @return Whether the jwtAudience field is set. */ public boolean hasJwtAudience() { return authenticationCase_ == 7; } /** + * + * *
    * The JWT audience is used when generating a JWT ID token for the backend.
    * This ID token will be added in the HTTP "authorization" header, and sent
@@ -550,6 +606,7 @@ public boolean hasJwtAudience() {
    * 
* * string jwt_audience = 7; + * * @return The jwtAudience. */ public java.lang.String getJwtAudience() { @@ -560,8 +617,7 @@ public java.lang.String getJwtAudience() { 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(); if (authenticationCase_ == 7) { authentication_ = s; @@ -570,6 +626,8 @@ public java.lang.String getJwtAudience() { } } /** + * + * *
    * The JWT audience is used when generating a JWT ID token for the backend.
    * This ID token will be added in the HTTP "authorization" header, and sent
@@ -577,18 +635,17 @@ public java.lang.String getJwtAudience() {
    * 
* * string jwt_audience = 7; + * * @return The bytes for jwtAudience. */ - public com.google.protobuf.ByteString - getJwtAudienceBytes() { + public com.google.protobuf.ByteString getJwtAudienceBytes() { java.lang.Object ref = ""; if (authenticationCase_ == 7) { ref = authentication_; } 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); if (authenticationCase_ == 7) { authentication_ = b; } @@ -600,6 +657,8 @@ public java.lang.String getJwtAudience() { public static final int DISABLE_AUTH_FIELD_NUMBER = 8; /** + * + * *
    * When disable_auth is true, a JWT ID token won't be generated and the
    * original "Authorization" HTTP header will be preserved. If the header is
@@ -608,6 +667,7 @@ public java.lang.String getJwtAudience() {
    * 
* * bool disable_auth = 8; + * * @return Whether the disableAuth field is set. */ @java.lang.Override @@ -615,6 +675,8 @@ public boolean hasDisableAuth() { return authenticationCase_ == 8; } /** + * + * *
    * When disable_auth is true, a JWT ID token won't be generated and the
    * original "Authorization" HTTP header will be preserved. If the header is
@@ -623,6 +685,7 @@ public boolean hasDisableAuth() {
    * 
* * bool disable_auth = 8; + * * @return The disableAuth. */ @java.lang.Override @@ -634,9 +697,12 @@ public boolean getDisableAuth() { } public static final int PROTOCOL_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object protocol_ = ""; /** + * + * *
    * The protocol used for sending a request to the backend.
    * The supported values are "http/1.1" and "h2".
@@ -662,6 +728,7 @@ public boolean getDisableAuth() {
    * 
* * string protocol = 9; + * * @return The protocol. */ @java.lang.Override @@ -670,14 +737,15 @@ public java.lang.String getProtocol() { 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(); protocol_ = s; return s; } } /** + * + * *
    * The protocol used for sending a request to the backend.
    * The supported values are "http/1.1" and "h2".
@@ -703,16 +771,15 @@ public java.lang.String getProtocol() {
    * 
* * string protocol = 9; + * * @return The bytes for protocol. */ @java.lang.Override - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; 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); protocol_ = b; return b; } else { @@ -721,32 +788,39 @@ public java.lang.String getProtocol() { } public static final int OVERRIDES_BY_REQUEST_PROTOCOL_FIELD_NUMBER = 10; + private static final class OverridesByRequestProtocolDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, com.google.api.BackendRule> defaultEntry = + static final com.google.protobuf.MapEntry + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.api.BackendProto.internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.api.BackendRule.getDefaultInstance()); + .newDefaultInstance( + com.google.api.BackendProto + .internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.api.BackendRule.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.api.BackendRule> overridesByRequestProtocol_; private com.google.protobuf.MapField - internalGetOverridesByRequestProtocol() { + overridesByRequestProtocol_; + + private com.google.protobuf.MapField + internalGetOverridesByRequestProtocol() { if (overridesByRequestProtocol_ == null) { return com.google.protobuf.MapField.emptyMapField( OverridesByRequestProtocolDefaultEntryHolder.defaultEntry); } return overridesByRequestProtocol_; } + public int getOverridesByRequestProtocolCount() { return internalGetOverridesByRequestProtocol().getMap().size(); } /** + * + * *
    * The map between request protocol and the backend address.
    * 
@@ -754,20 +828,22 @@ public int getOverridesByRequestProtocolCount() { * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ @java.lang.Override - public boolean containsOverridesByRequestProtocol( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsOverridesByRequestProtocol(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetOverridesByRequestProtocol().getMap().containsKey(key); } - /** - * Use {@link #getOverridesByRequestProtocolMap()} instead. - */ + /** Use {@link #getOverridesByRequestProtocolMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getOverridesByRequestProtocol() { + public java.util.Map + getOverridesByRequestProtocol() { return getOverridesByRequestProtocolMap(); } /** + * + * *
    * The map between request protocol and the backend address.
    * 
@@ -775,10 +851,13 @@ public java.util.Map getOverridesB * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ @java.lang.Override - public java.util.Map getOverridesByRequestProtocolMap() { + public java.util.Map + getOverridesByRequestProtocolMap() { return internalGetOverridesByRequestProtocol().getMap(); } /** + * + * *
    * The map between request protocol and the backend address.
    * 
@@ -786,17 +865,20 @@ public java.util.Map getOverridesB * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ @java.lang.Override - public /* nullable */ -com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( + public /* nullable */ com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( java.lang.String key, /* nullable */ -com.google.api.BackendRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.api.BackendRule defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetOverridesByRequestProtocol().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * The map between request protocol and the backend address.
    * 
@@ -804,9 +886,10 @@ com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ @java.lang.Override - public com.google.api.BackendRule getOverridesByRequestProtocolOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.api.BackendRule getOverridesByRequestProtocolOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetOverridesByRequestProtocol().getMap(); if (!map.containsKey(key)) { @@ -816,6 +899,7 @@ public com.google.api.BackendRule getOverridesByRequestProtocolOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -827,8 +911,7 @@ 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(selector_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); } @@ -844,21 +927,20 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (java.lang.Double.doubleToRawLongBits(operationDeadline_) != 0) { output.writeDouble(5, operationDeadline_); } - if (pathTranslation_ != com.google.api.BackendRule.PathTranslation.PATH_TRANSLATION_UNSPECIFIED.getNumber()) { + if (pathTranslation_ + != com.google.api.BackendRule.PathTranslation.PATH_TRANSLATION_UNSPECIFIED.getNumber()) { output.writeEnum(6, pathTranslation_); } if (authenticationCase_ == 7) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, authentication_); } if (authenticationCase_ == 8) { - output.writeBool( - 8, (boolean)((java.lang.Boolean) authentication_)); + output.writeBool(8, (boolean) ((java.lang.Boolean) authentication_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, protocol_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetOverridesByRequestProtocol(), OverridesByRequestProtocolDefaultEntryHolder.defaultEntry, @@ -879,41 +961,41 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, address_); } if (java.lang.Double.doubleToRawLongBits(deadline_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, deadline_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, deadline_); } if (java.lang.Double.doubleToRawLongBits(minDeadline_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, minDeadline_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, minDeadline_); } if (java.lang.Double.doubleToRawLongBits(operationDeadline_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, operationDeadline_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, operationDeadline_); } - if (pathTranslation_ != com.google.api.BackendRule.PathTranslation.PATH_TRANSLATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, pathTranslation_); + if (pathTranslation_ + != com.google.api.BackendRule.PathTranslation.PATH_TRANSLATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, pathTranslation_); } if (authenticationCase_ == 7) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, authentication_); } if (authenticationCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 8, (boolean)((java.lang.Boolean) authentication_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 8, (boolean) ((java.lang.Boolean) authentication_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, protocol_); } - for (java.util.Map.Entry entry - : internalGetOverridesByRequestProtocol().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetOverridesByRequestProtocol().getMap().entrySet()) { com.google.protobuf.MapEntry - overridesByRequestProtocol__ = OverridesByRequestProtocolDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, overridesByRequestProtocol__); + overridesByRequestProtocol__ = + OverridesByRequestProtocolDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, overridesByRequestProtocol__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -923,40 +1005,32 @@ 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.BackendRule)) { return super.equals(obj); } com.google.api.BackendRule other = (com.google.api.BackendRule) obj; - if (!getSelector() - .equals(other.getSelector())) return false; - if (!getAddress() - .equals(other.getAddress())) return false; + if (!getSelector().equals(other.getSelector())) return false; + if (!getAddress().equals(other.getAddress())) return false; if (java.lang.Double.doubleToLongBits(getDeadline()) - != java.lang.Double.doubleToLongBits( - other.getDeadline())) return false; + != java.lang.Double.doubleToLongBits(other.getDeadline())) return false; if (java.lang.Double.doubleToLongBits(getMinDeadline()) - != java.lang.Double.doubleToLongBits( - other.getMinDeadline())) return false; + != java.lang.Double.doubleToLongBits(other.getMinDeadline())) return false; if (java.lang.Double.doubleToLongBits(getOperationDeadline()) - != java.lang.Double.doubleToLongBits( - other.getOperationDeadline())) return false; + != java.lang.Double.doubleToLongBits(other.getOperationDeadline())) return false; if (pathTranslation_ != other.pathTranslation_) return false; - if (!getProtocol() - .equals(other.getProtocol())) return false; - if (!internalGetOverridesByRequestProtocol().equals( - other.internalGetOverridesByRequestProtocol())) return false; + if (!getProtocol().equals(other.getProtocol())) return false; + if (!internalGetOverridesByRequestProtocol() + .equals(other.internalGetOverridesByRequestProtocol())) return false; if (!getAuthenticationCase().equals(other.getAuthenticationCase())) return false; switch (authenticationCase_) { case 7: - if (!getJwtAudience() - .equals(other.getJwtAudience())) return false; + if (!getJwtAudience().equals(other.getJwtAudience())) return false; break; case 8: - if (getDisableAuth() - != other.getDisableAuth()) return false; + if (getDisableAuth() != other.getDisableAuth()) return false; break; case 0: default: @@ -977,14 +1051,20 @@ public int hashCode() { hash = (37 * hash) + ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getAddress().hashCode(); hash = (37 * hash) + DEADLINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDeadline())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDeadline())); hash = (37 * hash) + MIN_DEADLINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMinDeadline())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMinDeadline())); hash = (37 * hash) + OPERATION_DEADLINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getOperationDeadline())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getOperationDeadline())); hash = (37 * hash) + PATH_TRANSLATION_FIELD_NUMBER; hash = (53 * hash) + pathTranslation_; hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; @@ -1000,8 +1080,7 @@ public int hashCode() { break; case 8: hash = (37 * hash) + DISABLE_AUTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableAuth()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableAuth()); break; case 0: default: @@ -1011,136 +1090,137 @@ public int hashCode() { return hash; } - public static com.google.api.BackendRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.BackendRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.BackendRule 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.BackendRule parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.BackendRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.BackendRule 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.BackendRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.BackendRule 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.BackendRule 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.BackendRule 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.BackendRule 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.BackendRule 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.BackendRule parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.BackendRule 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.BackendRule 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.BackendRule 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; } /** + * + * *
    * A backend rule provides configuration for an individual API element.
    * 
* * Protobuf type {@code google.api.BackendRule} */ - 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.BackendRule) com.google.api.BackendRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_BackendRule_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 10: return internalGetOverridesByRequestProtocol(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 10: return internalGetMutableOverridesByRequestProtocol(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -1150,15 +1230,12 @@ protected com.google.protobuf.MapField internalGetMutableMapField( } // Construct using com.google.api.BackendRule.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1177,8 +1254,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.BackendProto.internal_static_google_api_BackendRule_descriptor; } @@ -1199,7 +1275,9 @@ public com.google.api.BackendRule build() { @java.lang.Override public com.google.api.BackendRule buildPartial() { com.google.api.BackendRule result = new com.google.api.BackendRule(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1243,38 +1321,39 @@ private void buildPartialOneofs(com.google.api.BackendRule 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.BackendRule) { - return mergeFrom((com.google.api.BackendRule)other); + return mergeFrom((com.google.api.BackendRule) other); } else { super.mergeFrom(other); return this; @@ -1310,23 +1389,26 @@ public Builder mergeFrom(com.google.api.BackendRule other) { bitField0_ |= 0x00000100; onChanged(); } - internalGetMutableOverridesByRequestProtocol().mergeFrom( - other.internalGetOverridesByRequestProtocol()); + internalGetMutableOverridesByRequestProtocol() + .mergeFrom(other.internalGetOverridesByRequestProtocol()); bitField0_ |= 0x00000200; switch (other.getAuthenticationCase()) { - case JWT_AUDIENCE: { - authenticationCase_ = 7; - authentication_ = other.authentication_; - onChanged(); - break; - } - case DISABLE_AUTH: { - setDisableAuth(other.getDisableAuth()); - break; - } - case AUTHENTICATION_NOT_SET: { - break; - } + case JWT_AUDIENCE: + { + authenticationCase_ = 7; + authentication_ = other.authentication_; + onChanged(); + break; + } + case DISABLE_AUTH: + { + setDisableAuth(other.getDisableAuth()); + break; + } + case AUTHENTICATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1354,67 +1436,84 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - selector_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - address_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 25: { - deadline_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - case 33: { - minDeadline_ = input.readDouble(); - bitField0_ |= 0x00000008; - break; - } // case 33 - case 41: { - operationDeadline_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - case 48: { - pathTranslation_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - authenticationCase_ = 7; - authentication_ = s; - break; - } // case 58 - case 64: { - authentication_ = input.readBool(); - authenticationCase_ = 8; - break; - } // case 64 - case 74: { - protocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - com.google.protobuf.MapEntry - overridesByRequestProtocol__ = input.readMessage( - OverridesByRequestProtocolDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableOverridesByRequestProtocol().getMutableMap().put( - overridesByRequestProtocol__.getKey(), overridesByRequestProtocol__.getValue()); - bitField0_ |= 0x00000200; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + selector_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + address_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 25: + { + deadline_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + case 33: + { + minDeadline_ = input.readDouble(); + bitField0_ |= 0x00000008; + break; + } // case 33 + case 41: + { + operationDeadline_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + case 48: + { + pathTranslation_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + authenticationCase_ = 7; + authentication_ = s; + break; + } // case 58 + case 64: + { + authentication_ = input.readBool(); + authenticationCase_ = 8; + break; + } // case 64 + case 74: + { + protocol_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + com.google.protobuf.MapEntry + overridesByRequestProtocol__ = + input.readMessage( + OverridesByRequestProtocolDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableOverridesByRequestProtocol() + .getMutableMap() + .put( + overridesByRequestProtocol__.getKey(), + overridesByRequestProtocol__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1424,12 +1523,12 @@ public Builder mergeFrom( } // finally return this; } + private int authenticationCase_ = 0; private java.lang.Object authentication_; - public AuthenticationCase - getAuthenticationCase() { - return AuthenticationCase.forNumber( - authenticationCase_); + + public AuthenticationCase getAuthenticationCase() { + return AuthenticationCase.forNumber(authenticationCase_); } public Builder clearAuthentication() { @@ -1443,6 +1542,8 @@ public Builder clearAuthentication() { private java.lang.Object selector_ = ""; /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -1451,13 +1552,13 @@ public Builder clearAuthentication() {
      * 
* * string selector = 1; + * * @return The selector. */ public java.lang.String getSelector() { java.lang.Object ref = selector_; 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(); selector_ = s; return s; @@ -1466,6 +1567,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -1474,15 +1577,14 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @return The bytes for selector. */ - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -1490,6 +1592,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -1498,18 +1602,22 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @param value The selector to set. * @return This builder for chaining. */ - public Builder setSelector( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelector(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } selector_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -1518,6 +1626,7 @@ public Builder setSelector(
      * 
* * string selector = 1; + * * @return This builder for chaining. */ public Builder clearSelector() { @@ -1527,6 +1636,8 @@ public Builder clearSelector() { return this; } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -1535,12 +1646,14 @@ public Builder clearSelector() {
      * 
* * string selector = 1; + * * @param value The bytes for selector to set. * @return This builder for chaining. */ - public Builder setSelectorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); selector_ = value; bitField0_ |= 0x00000001; @@ -1550,6 +1663,8 @@ public Builder setSelectorBytes( private java.lang.Object address_ = ""; /** + * + * *
      * The address of the API backend.
      *
@@ -1574,13 +1689,13 @@ public Builder setSelectorBytes(
      * 
* * string address = 2; + * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; 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(); address_ = s; return s; @@ -1589,6 +1704,8 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address of the API backend.
      *
@@ -1613,15 +1730,14 @@ public java.lang.String getAddress() {
      * 
* * string address = 2; + * * @return The bytes for address. */ - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; 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); address_ = b; return b; } else { @@ -1629,6 +1745,8 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address of the API backend.
      *
@@ -1653,18 +1771,22 @@ public java.lang.String getAddress() {
      * 
* * string address = 2; + * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } address_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The address of the API backend.
      *
@@ -1689,6 +1811,7 @@ public Builder setAddress(
      * 
* * string address = 2; + * * @return This builder for chaining. */ public Builder clearAddress() { @@ -1698,6 +1821,8 @@ public Builder clearAddress() { return this; } /** + * + * *
      * The address of the API backend.
      *
@@ -1722,12 +1847,14 @@ public Builder clearAddress() {
      * 
* * string address = 2; + * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); address_ = value; bitField0_ |= 0x00000002; @@ -1735,14 +1862,17 @@ public Builder setAddressBytes( return this; } - private double deadline_ ; + private double deadline_; /** + * + * *
      * The number of seconds to wait for a response from a request. The default
      * varies based on the request protocol and deployment environment.
      * 
* * double deadline = 3; + * * @return The deadline. */ @java.lang.Override @@ -1750,12 +1880,15 @@ public double getDeadline() { return deadline_; } /** + * + * *
      * The number of seconds to wait for a response from a request. The default
      * varies based on the request protocol and deployment environment.
      * 
* * double deadline = 3; + * * @param value The deadline to set. * @return This builder for chaining. */ @@ -1767,12 +1900,15 @@ public Builder setDeadline(double value) { return this; } /** + * + * *
      * The number of seconds to wait for a response from a request. The default
      * varies based on the request protocol and deployment environment.
      * 
* * double deadline = 3; + * * @return This builder for chaining. */ public Builder clearDeadline() { @@ -1782,33 +1918,41 @@ public Builder clearDeadline() { return this; } - private double minDeadline_ ; + private double minDeadline_; /** + * + * *
      * Deprecated, do not use.
      * 
* * double min_deadline = 4 [deprecated = true]; - * @deprecated google.api.BackendRule.min_deadline is deprecated. - * See google/api/backend.proto;l=124 + * + * @deprecated google.api.BackendRule.min_deadline is deprecated. See + * google/api/backend.proto;l=124 * @return The minDeadline. */ @java.lang.Override - @java.lang.Deprecated public double getMinDeadline() { + @java.lang.Deprecated + public double getMinDeadline() { return minDeadline_; } /** + * + * *
      * Deprecated, do not use.
      * 
* * double min_deadline = 4 [deprecated = true]; - * @deprecated google.api.BackendRule.min_deadline is deprecated. - * See google/api/backend.proto;l=124 + * + * @deprecated google.api.BackendRule.min_deadline is deprecated. See + * google/api/backend.proto;l=124 * @param value The minDeadline to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMinDeadline(double value) { + @java.lang.Deprecated + public Builder setMinDeadline(double value) { minDeadline_ = value; bitField0_ |= 0x00000008; @@ -1816,30 +1960,37 @@ public Builder clearDeadline() { return this; } /** + * + * *
      * Deprecated, do not use.
      * 
* * double min_deadline = 4 [deprecated = true]; - * @deprecated google.api.BackendRule.min_deadline is deprecated. - * See google/api/backend.proto;l=124 + * + * @deprecated google.api.BackendRule.min_deadline is deprecated. See + * google/api/backend.proto;l=124 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearMinDeadline() { + @java.lang.Deprecated + public Builder clearMinDeadline() { bitField0_ = (bitField0_ & ~0x00000008); minDeadline_ = 0D; onChanged(); return this; } - private double operationDeadline_ ; + private double operationDeadline_; /** + * + * *
      * The number of seconds to wait for the completion of a long running
      * operation. The default is no deadline.
      * 
* * double operation_deadline = 5; + * * @return The operationDeadline. */ @java.lang.Override @@ -1847,12 +1998,15 @@ public double getOperationDeadline() { return operationDeadline_; } /** + * + * *
      * The number of seconds to wait for the completion of a long running
      * operation. The default is no deadline.
      * 
* * double operation_deadline = 5; + * * @param value The operationDeadline to set. * @return This builder for chaining. */ @@ -1864,12 +2018,15 @@ public Builder setOperationDeadline(double value) { return this; } /** + * + * *
      * The number of seconds to wait for the completion of a long running
      * operation. The default is no deadline.
      * 
* * double operation_deadline = 5; + * * @return This builder for chaining. */ public Builder clearOperationDeadline() { @@ -1882,13 +2039,16 @@ public Builder clearOperationDeadline() { private int pathTranslation_ = 0; /** * .google.api.BackendRule.PathTranslation path_translation = 6; + * * @return The enum numeric value on the wire for pathTranslation. */ - @java.lang.Override public int getPathTranslationValue() { + @java.lang.Override + public int getPathTranslationValue() { return pathTranslation_; } /** * .google.api.BackendRule.PathTranslation path_translation = 6; + * * @param value The enum numeric value on the wire for pathTranslation to set. * @return This builder for chaining. */ @@ -1900,15 +2060,18 @@ public Builder setPathTranslationValue(int value) { } /** * .google.api.BackendRule.PathTranslation path_translation = 6; + * * @return The pathTranslation. */ @java.lang.Override public com.google.api.BackendRule.PathTranslation getPathTranslation() { - com.google.api.BackendRule.PathTranslation result = com.google.api.BackendRule.PathTranslation.forNumber(pathTranslation_); + com.google.api.BackendRule.PathTranslation result = + com.google.api.BackendRule.PathTranslation.forNumber(pathTranslation_); return result == null ? com.google.api.BackendRule.PathTranslation.UNRECOGNIZED : result; } /** * .google.api.BackendRule.PathTranslation path_translation = 6; + * * @param value The pathTranslation to set. * @return This builder for chaining. */ @@ -1923,6 +2086,7 @@ public Builder setPathTranslation(com.google.api.BackendRule.PathTranslation val } /** * .google.api.BackendRule.PathTranslation path_translation = 6; + * * @return This builder for chaining. */ public Builder clearPathTranslation() { @@ -1933,6 +2097,8 @@ public Builder clearPathTranslation() { } /** + * + * *
      * The JWT audience is used when generating a JWT ID token for the backend.
      * This ID token will be added in the HTTP "authorization" header, and sent
@@ -1940,6 +2106,7 @@ public Builder clearPathTranslation() {
      * 
* * string jwt_audience = 7; + * * @return Whether the jwtAudience field is set. */ @java.lang.Override @@ -1947,6 +2114,8 @@ public boolean hasJwtAudience() { return authenticationCase_ == 7; } /** + * + * *
      * The JWT audience is used when generating a JWT ID token for the backend.
      * This ID token will be added in the HTTP "authorization" header, and sent
@@ -1954,6 +2123,7 @@ public boolean hasJwtAudience() {
      * 
* * string jwt_audience = 7; + * * @return The jwtAudience. */ @java.lang.Override @@ -1963,8 +2133,7 @@ public java.lang.String getJwtAudience() { ref = authentication_; } 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(); if (authenticationCase_ == 7) { authentication_ = s; @@ -1975,6 +2144,8 @@ public java.lang.String getJwtAudience() { } } /** + * + * *
      * The JWT audience is used when generating a JWT ID token for the backend.
      * This ID token will be added in the HTTP "authorization" header, and sent
@@ -1982,19 +2153,18 @@ public java.lang.String getJwtAudience() {
      * 
* * string jwt_audience = 7; + * * @return The bytes for jwtAudience. */ @java.lang.Override - public com.google.protobuf.ByteString - getJwtAudienceBytes() { + public com.google.protobuf.ByteString getJwtAudienceBytes() { java.lang.Object ref = ""; if (authenticationCase_ == 7) { ref = authentication_; } 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); if (authenticationCase_ == 7) { authentication_ = b; } @@ -2004,6 +2174,8 @@ public java.lang.String getJwtAudience() { } } /** + * + * *
      * The JWT audience is used when generating a JWT ID token for the backend.
      * This ID token will be added in the HTTP "authorization" header, and sent
@@ -2011,18 +2183,22 @@ public java.lang.String getJwtAudience() {
      * 
* * string jwt_audience = 7; + * * @param value The jwtAudience to set. * @return This builder for chaining. */ - public Builder setJwtAudience( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJwtAudience(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } authenticationCase_ = 7; authentication_ = value; onChanged(); return this; } /** + * + * *
      * The JWT audience is used when generating a JWT ID token for the backend.
      * This ID token will be added in the HTTP "authorization" header, and sent
@@ -2030,6 +2206,7 @@ public Builder setJwtAudience(
      * 
* * string jwt_audience = 7; + * * @return This builder for chaining. */ public Builder clearJwtAudience() { @@ -2041,6 +2218,8 @@ public Builder clearJwtAudience() { return this; } /** + * + * *
      * The JWT audience is used when generating a JWT ID token for the backend.
      * This ID token will be added in the HTTP "authorization" header, and sent
@@ -2048,12 +2227,14 @@ public Builder clearJwtAudience() {
      * 
* * string jwt_audience = 7; + * * @param value The bytes for jwtAudience to set. * @return This builder for chaining. */ - public Builder setJwtAudienceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJwtAudienceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); authenticationCase_ = 7; authentication_ = value; @@ -2062,6 +2243,8 @@ public Builder setJwtAudienceBytes( } /** + * + * *
      * When disable_auth is true, a JWT ID token won't be generated and the
      * original "Authorization" HTTP header will be preserved. If the header is
@@ -2070,12 +2253,15 @@ public Builder setJwtAudienceBytes(
      * 
* * bool disable_auth = 8; + * * @return Whether the disableAuth field is set. */ public boolean hasDisableAuth() { return authenticationCase_ == 8; } /** + * + * *
      * When disable_auth is true, a JWT ID token won't be generated and the
      * original "Authorization" HTTP header will be preserved. If the header is
@@ -2084,6 +2270,7 @@ public boolean hasDisableAuth() {
      * 
* * bool disable_auth = 8; + * * @return The disableAuth. */ public boolean getDisableAuth() { @@ -2093,6 +2280,8 @@ public boolean getDisableAuth() { return false; } /** + * + * *
      * When disable_auth is true, a JWT ID token won't be generated and the
      * original "Authorization" HTTP header will be preserved. If the header is
@@ -2101,6 +2290,7 @@ public boolean getDisableAuth() {
      * 
* * bool disable_auth = 8; + * * @param value The disableAuth to set. * @return This builder for chaining. */ @@ -2112,6 +2302,8 @@ public Builder setDisableAuth(boolean value) { return this; } /** + * + * *
      * When disable_auth is true, a JWT ID token won't be generated and the
      * original "Authorization" HTTP header will be preserved. If the header is
@@ -2120,6 +2312,7 @@ public Builder setDisableAuth(boolean value) {
      * 
* * bool disable_auth = 8; + * * @return This builder for chaining. */ public Builder clearDisableAuth() { @@ -2133,6 +2326,8 @@ public Builder clearDisableAuth() { private java.lang.Object protocol_ = ""; /** + * + * *
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
@@ -2158,13 +2353,13 @@ public Builder clearDisableAuth() {
      * 
* * string protocol = 9; + * * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; 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(); protocol_ = s; return s; @@ -2173,6 +2368,8 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
@@ -2198,15 +2395,14 @@ public java.lang.String getProtocol() {
      * 
* * string protocol = 9; + * * @return The bytes for protocol. */ - public com.google.protobuf.ByteString - getProtocolBytes() { + public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; 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); protocol_ = b; return b; } else { @@ -2214,6 +2410,8 @@ public java.lang.String getProtocol() { } } /** + * + * *
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
@@ -2239,18 +2437,22 @@ public java.lang.String getProtocol() {
      * 
* * string protocol = 9; + * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocol(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } protocol_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
@@ -2276,6 +2478,7 @@ public Builder setProtocol(
      * 
* * string protocol = 9; + * * @return This builder for chaining. */ public Builder clearProtocol() { @@ -2285,6 +2488,8 @@ public Builder clearProtocol() { return this; } /** + * + * *
      * The protocol used for sending a request to the backend.
      * The supported values are "http/1.1" and "h2".
@@ -2310,12 +2515,14 @@ public Builder clearProtocol() {
      * 
* * string protocol = 9; + * * @param value The bytes for protocol to set. * @return This builder for chaining. */ - public Builder setProtocolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtocolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); protocol_ = value; bitField0_ |= 0x00000100; @@ -2323,8 +2530,9 @@ public Builder setProtocolBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, com.google.api.BackendRule> overridesByRequestProtocol_; + private com.google.protobuf.MapField + overridesByRequestProtocol_; + private com.google.protobuf.MapField internalGetOverridesByRequestProtocol() { if (overridesByRequestProtocol_ == null) { @@ -2333,11 +2541,13 @@ public Builder setProtocolBytes( } return overridesByRequestProtocol_; } + private com.google.protobuf.MapField internalGetMutableOverridesByRequestProtocol() { if (overridesByRequestProtocol_ == null) { - overridesByRequestProtocol_ = com.google.protobuf.MapField.newMapField( - OverridesByRequestProtocolDefaultEntryHolder.defaultEntry); + overridesByRequestProtocol_ = + com.google.protobuf.MapField.newMapField( + OverridesByRequestProtocolDefaultEntryHolder.defaultEntry); } if (!overridesByRequestProtocol_.isMutable()) { overridesByRequestProtocol_ = overridesByRequestProtocol_.copy(); @@ -2346,10 +2556,13 @@ public Builder setProtocolBytes( onChanged(); return overridesByRequestProtocol_; } + public int getOverridesByRequestProtocolCount() { return internalGetOverridesByRequestProtocol().getMap().size(); } /** + * + * *
      * The map between request protocol and the backend address.
      * 
@@ -2357,20 +2570,22 @@ public int getOverridesByRequestProtocolCount() { * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ @java.lang.Override - public boolean containsOverridesByRequestProtocol( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsOverridesByRequestProtocol(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetOverridesByRequestProtocol().getMap().containsKey(key); } - /** - * Use {@link #getOverridesByRequestProtocolMap()} instead. - */ + /** Use {@link #getOverridesByRequestProtocolMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getOverridesByRequestProtocol() { + public java.util.Map + getOverridesByRequestProtocol() { return getOverridesByRequestProtocolMap(); } /** + * + * *
      * The map between request protocol and the backend address.
      * 
@@ -2378,10 +2593,13 @@ public java.util.Map getOverridesB * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ @java.lang.Override - public java.util.Map getOverridesByRequestProtocolMap() { + public java.util.Map + getOverridesByRequestProtocolMap() { return internalGetOverridesByRequestProtocol().getMap(); } /** + * + * *
      * The map between request protocol and the backend address.
      * 
@@ -2389,17 +2607,20 @@ public java.util.Map getOverridesB * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ @java.lang.Override - public /* nullable */ -com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( + public /* nullable */ com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( java.lang.String key, /* nullable */ -com.google.api.BackendRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.api.BackendRule defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetOverridesByRequestProtocol().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * The map between request protocol and the backend address.
      * 
@@ -2407,9 +2628,10 @@ com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ @java.lang.Override - public com.google.api.BackendRule getOverridesByRequestProtocolOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.api.BackendRule getOverridesByRequestProtocolOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetOverridesByRequestProtocol().getMap(); if (!map.containsKey(key)) { @@ -2417,29 +2639,29 @@ public com.google.api.BackendRule getOverridesByRequestProtocolOrThrow( } return map.get(key); } + public Builder clearOverridesByRequestProtocol() { bitField0_ = (bitField0_ & ~0x00000200); - internalGetMutableOverridesByRequestProtocol().getMutableMap() - .clear(); + internalGetMutableOverridesByRequestProtocol().getMutableMap().clear(); return this; } /** + * + * *
      * The map between request protocol and the backend address.
      * 
* * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ - public Builder removeOverridesByRequestProtocol( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableOverridesByRequestProtocol().getMutableMap() - .remove(key); + public Builder removeOverridesByRequestProtocol(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableOverridesByRequestProtocol().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableOverridesByRequestProtocol() { @@ -2447,6 +2669,8 @@ public Builder removeOverridesByRequestProtocol( return internalGetMutableOverridesByRequestProtocol().getMutableMap(); } /** + * + * *
      * The map between request protocol and the backend address.
      * 
@@ -2454,16 +2678,20 @@ public Builder removeOverridesByRequestProtocol( * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ public Builder putOverridesByRequestProtocol( - java.lang.String key, - com.google.api.BackendRule value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableOverridesByRequestProtocol().getMutableMap() - .put(key, value); + java.lang.String key, com.google.api.BackendRule value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableOverridesByRequestProtocol().getMutableMap().put(key, value); bitField0_ |= 0x00000200; return this; } /** + * + * *
      * The map between request protocol and the backend address.
      * 
@@ -2472,14 +2700,13 @@ public Builder putOverridesByRequestProtocol( */ public Builder putAllOverridesByRequestProtocol( java.util.Map values) { - internalGetMutableOverridesByRequestProtocol().getMutableMap() - .putAll(values); + internalGetMutableOverridesByRequestProtocol().getMutableMap().putAll(values); bitField0_ |= 0x00000200; 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); } @@ -2489,12 +2716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.BackendRule) } // @@protoc_insertion_point(class_scope:google.api.BackendRule) private static final com.google.api.BackendRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.BackendRule(); } @@ -2503,27 +2730,27 @@ public static com.google.api.BackendRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackendRule 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 BackendRule 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; @@ -2538,6 +2765,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.BackendRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java similarity index 83% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java index 1dd565bf21..e1cc5b2630 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface BackendRuleOrBuilder extends +public interface BackendRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.BackendRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -16,10 +34,13 @@ public interface BackendRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The selector. */ java.lang.String getSelector(); /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -28,12 +49,14 @@ public interface BackendRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The bytes for selector. */ - com.google.protobuf.ByteString - getSelectorBytes(); + com.google.protobuf.ByteString getSelectorBytes(); /** + * + * *
    * The address of the API backend.
    *
@@ -58,10 +81,13 @@ public interface BackendRuleOrBuilder extends
    * 
* * string address = 2; + * * @return The address. */ java.lang.String getAddress(); /** + * + * *
    * The address of the API backend.
    *
@@ -86,57 +112,71 @@ public interface BackendRuleOrBuilder extends
    * 
* * string address = 2; + * * @return The bytes for address. */ - com.google.protobuf.ByteString - getAddressBytes(); + com.google.protobuf.ByteString getAddressBytes(); /** + * + * *
    * The number of seconds to wait for a response from a request. The default
    * varies based on the request protocol and deployment environment.
    * 
* * double deadline = 3; + * * @return The deadline. */ double getDeadline(); /** + * + * *
    * Deprecated, do not use.
    * 
* * double min_deadline = 4 [deprecated = true]; - * @deprecated google.api.BackendRule.min_deadline is deprecated. - * See google/api/backend.proto;l=124 + * + * @deprecated google.api.BackendRule.min_deadline is deprecated. See + * google/api/backend.proto;l=124 * @return The minDeadline. */ - @java.lang.Deprecated double getMinDeadline(); + @java.lang.Deprecated + double getMinDeadline(); /** + * + * *
    * The number of seconds to wait for the completion of a long running
    * operation. The default is no deadline.
    * 
* * double operation_deadline = 5; + * * @return The operationDeadline. */ double getOperationDeadline(); /** * .google.api.BackendRule.PathTranslation path_translation = 6; + * * @return The enum numeric value on the wire for pathTranslation. */ int getPathTranslationValue(); /** * .google.api.BackendRule.PathTranslation path_translation = 6; + * * @return The pathTranslation. */ com.google.api.BackendRule.PathTranslation getPathTranslation(); /** + * + * *
    * The JWT audience is used when generating a JWT ID token for the backend.
    * This ID token will be added in the HTTP "authorization" header, and sent
@@ -144,10 +184,13 @@ public interface BackendRuleOrBuilder extends
    * 
* * string jwt_audience = 7; + * * @return Whether the jwtAudience field is set. */ boolean hasJwtAudience(); /** + * + * *
    * The JWT audience is used when generating a JWT ID token for the backend.
    * This ID token will be added in the HTTP "authorization" header, and sent
@@ -155,10 +198,13 @@ public interface BackendRuleOrBuilder extends
    * 
* * string jwt_audience = 7; + * * @return The jwtAudience. */ java.lang.String getJwtAudience(); /** + * + * *
    * The JWT audience is used when generating a JWT ID token for the backend.
    * This ID token will be added in the HTTP "authorization" header, and sent
@@ -166,12 +212,14 @@ public interface BackendRuleOrBuilder extends
    * 
* * string jwt_audience = 7; + * * @return The bytes for jwtAudience. */ - com.google.protobuf.ByteString - getJwtAudienceBytes(); + com.google.protobuf.ByteString getJwtAudienceBytes(); /** + * + * *
    * When disable_auth is true, a JWT ID token won't be generated and the
    * original "Authorization" HTTP header will be preserved. If the header is
@@ -180,10 +228,13 @@ public interface BackendRuleOrBuilder extends
    * 
* * bool disable_auth = 8; + * * @return Whether the disableAuth field is set. */ boolean hasDisableAuth(); /** + * + * *
    * When disable_auth is true, a JWT ID token won't be generated and the
    * original "Authorization" HTTP header will be preserved. If the header is
@@ -192,11 +243,14 @@ public interface BackendRuleOrBuilder extends
    * 
* * bool disable_auth = 8; + * * @return The disableAuth. */ boolean getDisableAuth(); /** + * + * *
    * The protocol used for sending a request to the backend.
    * The supported values are "http/1.1" and "h2".
@@ -222,10 +276,13 @@ public interface BackendRuleOrBuilder extends
    * 
* * string protocol = 9; + * * @return The protocol. */ java.lang.String getProtocol(); /** + * + * *
    * The protocol used for sending a request to the backend.
    * The supported values are "http/1.1" and "h2".
@@ -251,12 +308,14 @@ public interface BackendRuleOrBuilder extends
    * 
* * string protocol = 9; + * * @return The bytes for protocol. */ - com.google.protobuf.ByteString - getProtocolBytes(); + com.google.protobuf.ByteString getProtocolBytes(); /** + * + * *
    * The map between request protocol and the backend address.
    * 
@@ -265,30 +324,31 @@ public interface BackendRuleOrBuilder extends */ int getOverridesByRequestProtocolCount(); /** + * + * *
    * The map between request protocol and the backend address.
    * 
* * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ - boolean containsOverridesByRequestProtocol( - java.lang.String key); - /** - * Use {@link #getOverridesByRequestProtocolMap()} instead. - */ + boolean containsOverridesByRequestProtocol(java.lang.String key); + /** Use {@link #getOverridesByRequestProtocolMap()} instead. */ @java.lang.Deprecated - java.util.Map - getOverridesByRequestProtocol(); + java.util.Map getOverridesByRequestProtocol(); /** + * + * *
    * The map between request protocol and the backend address.
    * 
* * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ - java.util.Map - getOverridesByRequestProtocolMap(); + java.util.Map getOverridesByRequestProtocolMap(); /** + * + * *
    * The map between request protocol and the backend address.
    * 
@@ -296,19 +356,20 @@ boolean containsOverridesByRequestProtocol( * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ /* nullable */ -com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( + com.google.api.BackendRule getOverridesByRequestProtocolOrDefault( java.lang.String key, /* nullable */ -com.google.api.BackendRule defaultValue); + com.google.api.BackendRule defaultValue); /** + * + * *
    * The map between request protocol and the backend address.
    * 
* * map<string, .google.api.BackendRule> overrides_by_request_protocol = 10; */ - com.google.api.BackendRule getOverridesByRequestProtocolOrThrow( - java.lang.String key); + com.google.api.BackendRule getOverridesByRequestProtocolOrThrow(java.lang.String key); com.google.api.BackendRule.AuthenticationCase getAuthenticationCase(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Billing.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java similarity index 78% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Billing.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java index 73c008876c..b349f9bde7 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Billing.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Billing related configuration of the service.
  *
@@ -41,28 +58,27 @@
  *
  * Protobuf type {@code google.api.Billing}
  */
-public final class Billing extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Billing extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Billing)
     BillingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Billing.newBuilder() to construct.
   private Billing(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Billing() {
     consumerDestinations_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Billing();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.BillingProto.internal_static_google_api_Billing_descriptor;
   }
 
@@ -74,11 +90,14 @@ protected java.lang.Object newInstance(
             com.google.api.Billing.class, com.google.api.Billing.Builder.class);
   }
 
-  public interface BillingDestinationOrBuilder extends
+  public interface BillingDestinationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.api.Billing.BillingDestination)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The monitored resource type. The type must be defined in
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -86,10 +105,13 @@ public interface BillingDestinationOrBuilder extends
      * 
* * string monitored_resource = 1; + * * @return The monitoredResource. */ java.lang.String getMonitoredResource(); /** + * + * *
      * The monitored resource type. The type must be defined in
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -97,12 +119,14 @@ public interface BillingDestinationOrBuilder extends
      * 
* * string monitored_resource = 1; + * * @return The bytes for monitoredResource. */ - com.google.protobuf.ByteString - getMonitoredResourceBytes(); + com.google.protobuf.ByteString getMonitoredResourceBytes(); /** + * + * *
      * Names of the metrics to report to this billing destination.
      * Each name must be defined in
@@ -110,11 +134,13 @@ public interface BillingDestinationOrBuilder extends
      * 
* * repeated string metrics = 2; + * * @return A list containing the metrics. */ - java.util.List - getMetricsList(); + java.util.List getMetricsList(); /** + * + * *
      * Names of the metrics to report to this billing destination.
      * Each name must be defined in
@@ -122,10 +148,13 @@ public interface BillingDestinationOrBuilder extends
      * 
* * repeated string metrics = 2; + * * @return The count of metrics. */ int getMetricsCount(); /** + * + * *
      * Names of the metrics to report to this billing destination.
      * Each name must be defined in
@@ -133,11 +162,14 @@ public interface BillingDestinationOrBuilder extends
      * 
* * repeated string metrics = 2; + * * @param index The index of the element to return. * @return The metrics at the given index. */ java.lang.String getMetrics(int index); /** + * + * *
      * Names of the metrics to report to this billing destination.
      * Each name must be defined in
@@ -145,13 +177,15 @@ public interface BillingDestinationOrBuilder extends
      * 
* * repeated string metrics = 2; + * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - com.google.protobuf.ByteString - getMetricsBytes(int index); + com.google.protobuf.ByteString getMetricsBytes(int index); } /** + * + * *
    * Configuration of a specific billing destination (Currently only support
    * bill against consumer project).
@@ -159,45 +193,49 @@ public interface BillingDestinationOrBuilder extends
    *
    * Protobuf type {@code google.api.Billing.BillingDestination}
    */
-  public static final class BillingDestination extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class BillingDestination extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.api.Billing.BillingDestination)
       BillingDestinationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use BillingDestination.newBuilder() to construct.
     private BillingDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private BillingDestination() {
       monitoredResource_ = "";
-      metrics_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new BillingDestination();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.api.BillingProto.internal_static_google_api_Billing_BillingDestination_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.api.BillingProto
+          .internal_static_google_api_Billing_BillingDestination_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.BillingProto.internal_static_google_api_Billing_BillingDestination_fieldAccessorTable
+      return com.google.api.BillingProto
+          .internal_static_google_api_Billing_BillingDestination_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.Billing.BillingDestination.class, com.google.api.Billing.BillingDestination.Builder.class);
+              com.google.api.Billing.BillingDestination.class,
+              com.google.api.Billing.BillingDestination.Builder.class);
     }
 
     public static final int MONITORED_RESOURCE_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object monitoredResource_ = "";
     /**
+     *
+     *
      * 
      * The monitored resource type. The type must be defined in
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -205,6 +243,7 @@ protected java.lang.Object newInstance(
      * 
* * string monitored_resource = 1; + * * @return The monitoredResource. */ @java.lang.Override @@ -213,14 +252,15 @@ public java.lang.String getMonitoredResource() { 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(); monitoredResource_ = s; return s; } } /** + * + * *
      * The monitored resource type. The type must be defined in
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -228,16 +268,15 @@ public java.lang.String getMonitoredResource() {
      * 
* * string monitored_resource = 1; + * * @return The bytes for monitoredResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getMonitoredResourceBytes() { + public com.google.protobuf.ByteString getMonitoredResourceBytes() { java.lang.Object ref = monitoredResource_; 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); monitoredResource_ = b; return b; } else { @@ -246,10 +285,13 @@ public java.lang.String getMonitoredResource() { } public static final int METRICS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Names of the metrics to report to this billing destination.
      * Each name must be defined in
@@ -257,13 +299,15 @@ public java.lang.String getMonitoredResource() {
      * 
* * repeated string metrics = 2; + * * @return A list containing the metrics. */ - public com.google.protobuf.ProtocolStringList - getMetricsList() { + public com.google.protobuf.ProtocolStringList getMetricsList() { return metrics_; } /** + * + * *
      * Names of the metrics to report to this billing destination.
      * Each name must be defined in
@@ -271,12 +315,15 @@ public java.lang.String getMonitoredResource() {
      * 
* * repeated string metrics = 2; + * * @return The count of metrics. */ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
      * Names of the metrics to report to this billing destination.
      * Each name must be defined in
@@ -284,6 +331,7 @@ public int getMetricsCount() {
      * 
* * repeated string metrics = 2; + * * @param index The index of the element to return. * @return The metrics at the given index. */ @@ -291,6 +339,8 @@ public java.lang.String getMetrics(int index) { return metrics_.get(index); } /** + * + * *
      * Names of the metrics to report to this billing destination.
      * Each name must be defined in
@@ -298,15 +348,16 @@ public java.lang.String getMetrics(int index) {
      * 
* * repeated string metrics = 2; + * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - public com.google.protobuf.ByteString - getMetricsBytes(int index) { + public com.google.protobuf.ByteString getMetricsBytes(int index) { return metrics_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,8 +369,7 @@ 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(monitoredResource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, monitoredResource_); } @@ -354,17 +404,16 @@ 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.Billing.BillingDestination)) { return super.equals(obj); } - com.google.api.Billing.BillingDestination other = (com.google.api.Billing.BillingDestination) obj; + com.google.api.Billing.BillingDestination other = + (com.google.api.Billing.BillingDestination) obj; - if (!getMonitoredResource() - .equals(other.getMonitoredResource())) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; + if (!getMonitoredResource().equals(other.getMonitoredResource())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -387,90 +436,94 @@ public int hashCode() { return hash; } - public static com.google.api.Billing.BillingDestination parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Billing.BillingDestination parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Billing.BillingDestination 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.Billing.BillingDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Billing.BillingDestination 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.Billing.BillingDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Billing.BillingDestination 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.Billing.BillingDestination 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.Billing.BillingDestination 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.Billing.BillingDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.api.Billing.BillingDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Billing.BillingDestination 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.Billing.BillingDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Billing.BillingDestination 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.Billing.BillingDestination 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 @@ -480,6 +533,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration of a specific billing destination (Currently only support
      * bill against consumer project).
@@ -487,47 +542,46 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.api.Billing.BillingDestination}
      */
-    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.Billing.BillingDestination)
         com.google.api.Billing.BillingDestinationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.api.BillingProto.internal_static_google_api_Billing_BillingDestination_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.api.BillingProto
+            .internal_static_google_api_Billing_BillingDestination_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.BillingProto.internal_static_google_api_Billing_BillingDestination_fieldAccessorTable
+        return com.google.api.BillingProto
+            .internal_static_google_api_Billing_BillingDestination_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.Billing.BillingDestination.class, com.google.api.Billing.BillingDestination.Builder.class);
+                com.google.api.Billing.BillingDestination.class,
+                com.google.api.Billing.BillingDestination.Builder.class);
       }
 
       // Construct using com.google.api.Billing.BillingDestination.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
         monitoredResource_ = "";
-        metrics_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.api.BillingProto.internal_static_google_api_Billing_BillingDestination_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.api.BillingProto
+            .internal_static_google_api_Billing_BillingDestination_descriptor;
       }
 
       @java.lang.Override
@@ -546,8 +600,11 @@ public com.google.api.Billing.BillingDestination build() {
 
       @java.lang.Override
       public com.google.api.Billing.BillingDestination buildPartial() {
-        com.google.api.Billing.BillingDestination result = new com.google.api.Billing.BillingDestination(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.api.Billing.BillingDestination result =
+            new com.google.api.Billing.BillingDestination(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -567,38 +624,41 @@ private void buildPartial0(com.google.api.Billing.BillingDestination 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) {
+          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.Billing.BillingDestination) {
-          return mergeFrom((com.google.api.Billing.BillingDestination)other);
+          return mergeFrom((com.google.api.Billing.BillingDestination) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -648,23 +708,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                monitoredResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureMetricsIsMutable();
-                metrics_.add(s);
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  monitoredResource_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureMetricsIsMutable();
+                  metrics_.add(s);
+                  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) {
@@ -674,10 +737,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object monitoredResource_ = "";
       /**
+       *
+       *
        * 
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -685,13 +751,13 @@ public Builder mergeFrom(
        * 
* * string monitored_resource = 1; + * * @return The monitoredResource. */ public java.lang.String getMonitoredResource() { java.lang.Object ref = monitoredResource_; 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(); monitoredResource_ = s; return s; @@ -700,6 +766,8 @@ public java.lang.String getMonitoredResource() { } } /** + * + * *
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -707,15 +775,14 @@ public java.lang.String getMonitoredResource() {
        * 
* * string monitored_resource = 1; + * * @return The bytes for monitoredResource. */ - public com.google.protobuf.ByteString - getMonitoredResourceBytes() { + public com.google.protobuf.ByteString getMonitoredResourceBytes() { java.lang.Object ref = monitoredResource_; 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); monitoredResource_ = b; return b; } else { @@ -723,6 +790,8 @@ public java.lang.String getMonitoredResource() { } } /** + * + * *
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -730,18 +799,22 @@ public java.lang.String getMonitoredResource() {
        * 
* * string monitored_resource = 1; + * * @param value The monitoredResource to set. * @return This builder for chaining. */ - public Builder setMonitoredResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMonitoredResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } monitoredResource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -749,6 +822,7 @@ public Builder setMonitoredResource(
        * 
* * string monitored_resource = 1; + * * @return This builder for chaining. */ public Builder clearMonitoredResource() { @@ -758,6 +832,8 @@ public Builder clearMonitoredResource() { return this; } /** + * + * *
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -765,12 +841,14 @@ public Builder clearMonitoredResource() {
        * 
* * string monitored_resource = 1; + * * @param value The bytes for monitoredResource to set. * @return This builder for chaining. */ - public Builder setMonitoredResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMonitoredResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); monitoredResource_ = value; bitField0_ |= 0x00000001; @@ -780,6 +858,7 @@ public Builder setMonitoredResourceBytes( private com.google.protobuf.LazyStringArrayList metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMetricsIsMutable() { if (!metrics_.isModifiable()) { metrics_ = new com.google.protobuf.LazyStringArrayList(metrics_); @@ -787,6 +866,8 @@ private void ensureMetricsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
        * Names of the metrics to report to this billing destination.
        * Each name must be defined in
@@ -794,14 +875,16 @@ private void ensureMetricsIsMutable() {
        * 
* * repeated string metrics = 2; + * * @return A list containing the metrics. */ - public com.google.protobuf.ProtocolStringList - getMetricsList() { + public com.google.protobuf.ProtocolStringList getMetricsList() { metrics_.makeImmutable(); return metrics_; } /** + * + * *
        * Names of the metrics to report to this billing destination.
        * Each name must be defined in
@@ -809,12 +892,15 @@ private void ensureMetricsIsMutable() {
        * 
* * repeated string metrics = 2; + * * @return The count of metrics. */ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
        * Names of the metrics to report to this billing destination.
        * Each name must be defined in
@@ -822,6 +908,7 @@ public int getMetricsCount() {
        * 
* * repeated string metrics = 2; + * * @param index The index of the element to return. * @return The metrics at the given index. */ @@ -829,6 +916,8 @@ public java.lang.String getMetrics(int index) { return metrics_.get(index); } /** + * + * *
        * Names of the metrics to report to this billing destination.
        * Each name must be defined in
@@ -836,14 +925,16 @@ public java.lang.String getMetrics(int index) {
        * 
* * repeated string metrics = 2; + * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - public com.google.protobuf.ByteString - getMetricsBytes(int index) { + public com.google.protobuf.ByteString getMetricsBytes(int index) { return metrics_.getByteString(index); } /** + * + * *
        * Names of the metrics to report to this billing destination.
        * Each name must be defined in
@@ -851,13 +942,15 @@ public java.lang.String getMetrics(int index) {
        * 
* * repeated string metrics = 2; + * * @param index The index to set the value at. * @param value The metrics to set. * @return This builder for chaining. */ - public Builder setMetrics( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetrics(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMetricsIsMutable(); metrics_.set(index, value); bitField0_ |= 0x00000002; @@ -865,6 +958,8 @@ public Builder setMetrics( return this; } /** + * + * *
        * Names of the metrics to report to this billing destination.
        * Each name must be defined in
@@ -872,12 +967,14 @@ public Builder setMetrics(
        * 
* * repeated string metrics = 2; + * * @param value The metrics to add. * @return This builder for chaining. */ - public Builder addMetrics( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMetrics(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMetricsIsMutable(); metrics_.add(value); bitField0_ |= 0x00000002; @@ -885,6 +982,8 @@ public Builder addMetrics( return this; } /** + * + * *
        * Names of the metrics to report to this billing destination.
        * Each name must be defined in
@@ -892,19 +991,20 @@ public Builder addMetrics(
        * 
* * repeated string metrics = 2; + * * @param values The metrics to add. * @return This builder for chaining. */ - public Builder addAllMetrics( - java.lang.Iterable values) { + public Builder addAllMetrics(java.lang.Iterable values) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Names of the metrics to report to this billing destination.
        * Each name must be defined in
@@ -912,16 +1012,19 @@ public Builder addAllMetrics(
        * 
* * repeated string metrics = 2; + * * @return This builder for chaining. */ public Builder clearMetrics() { - metrics_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * Names of the metrics to report to this billing destination.
        * Each name must be defined in
@@ -929,12 +1032,14 @@ public Builder clearMetrics() {
        * 
* * repeated string metrics = 2; + * * @param value The bytes of the metrics to add. * @return This builder for chaining. */ - public Builder addMetricsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMetricsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureMetricsIsMutable(); metrics_.add(value); @@ -942,6 +1047,7 @@ public Builder addMetricsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -954,12 +1060,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Billing.BillingDestination) } // @@protoc_insertion_point(class_scope:google.api.Billing.BillingDestination) private static final com.google.api.Billing.BillingDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Billing.BillingDestination(); } @@ -968,27 +1074,28 @@ public static com.google.api.Billing.BillingDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BillingDestination 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 BillingDestination 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; @@ -1003,13 +1110,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Billing.BillingDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CONSUMER_DESTINATIONS_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private java.util.List consumerDestinations_; /** + * + * *
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -1024,6 +1133,8 @@ public java.util.List getConsumerDest
     return consumerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -1034,11 +1145,13 @@ public java.util.List getConsumerDest
    * repeated .google.api.Billing.BillingDestination consumer_destinations = 8;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getConsumerDestinationsOrBuilderList() {
     return consumerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -1053,6 +1166,8 @@ public int getConsumerDestinationsCount() {
     return consumerDestinations_.size();
   }
   /**
+   *
+   *
    * 
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -1067,6 +1182,8 @@ public com.google.api.Billing.BillingDestination getConsumerDestinations(int ind
     return consumerDestinations_.get(index);
   }
   /**
+   *
+   *
    * 
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -1083,6 +1200,7 @@ public com.google.api.Billing.BillingDestinationOrBuilder getConsumerDestination
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1094,8 +1212,7 @@ 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 < consumerDestinations_.size(); i++) {
       output.writeMessage(8, consumerDestinations_.get(i));
     }
@@ -1109,8 +1226,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < consumerDestinations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, consumerDestinations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(8, consumerDestinations_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1120,15 +1237,14 @@ 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.Billing)) {
       return super.equals(obj);
     }
     com.google.api.Billing other = (com.google.api.Billing) obj;
 
-    if (!getConsumerDestinationsList()
-        .equals(other.getConsumerDestinationsList())) return false;
+    if (!getConsumerDestinationsList().equals(other.getConsumerDestinationsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1149,99 +1265,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.Billing parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.Billing parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Billing 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.Billing parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.Billing parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Billing 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.Billing parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Billing 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.Billing 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.Billing 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.Billing 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.Billing 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.Billing parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.Billing 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.Billing 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.Billing 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;
   }
   /**
+   *
+   *
    * 
    * Billing related configuration of the service.
    *
@@ -1279,12 +1399,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Billing}
    */
-  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.Billing)
       com.google.api.BillingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.BillingProto.internal_static_google_api_Billing_descriptor;
     }
 
@@ -1297,15 +1416,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Billing.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1321,8 +1437,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.BillingProto.internal_static_google_api_Billing_descriptor;
     }
 
@@ -1344,7 +1459,9 @@ public com.google.api.Billing build() {
     public com.google.api.Billing buildPartial() {
       com.google.api.Billing result = new com.google.api.Billing(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1369,38 +1486,39 @@ private void buildPartial0(com.google.api.Billing 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.Billing) {
-        return mergeFrom((com.google.api.Billing)other);
+        return mergeFrom((com.google.api.Billing) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1427,9 +1545,10 @@ public Builder mergeFrom(com.google.api.Billing other) {
             consumerDestinationsBuilder_ = null;
             consumerDestinations_ = other.consumerDestinations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            consumerDestinationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getConsumerDestinationsFieldBuilder() : null;
+            consumerDestinationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getConsumerDestinationsFieldBuilder()
+                    : null;
           } else {
             consumerDestinationsBuilder_.addAllMessages(other.consumerDestinations_);
           }
@@ -1461,25 +1580,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 66: {
-              com.google.api.Billing.BillingDestination m =
-                  input.readMessage(
-                      com.google.api.Billing.BillingDestination.parser(),
-                      extensionRegistry);
-              if (consumerDestinationsBuilder_ == null) {
-                ensureConsumerDestinationsIsMutable();
-                consumerDestinations_.add(m);
-              } else {
-                consumerDestinationsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 66:
+              {
+                com.google.api.Billing.BillingDestination m =
+                    input.readMessage(
+                        com.google.api.Billing.BillingDestination.parser(), extensionRegistry);
+                if (consumerDestinationsBuilder_ == null) {
+                  ensureConsumerDestinationsIsMutable();
+                  consumerDestinations_.add(m);
+                } else {
+                  consumerDestinationsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 66
+            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) {
@@ -1489,21 +1609,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List consumerDestinations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureConsumerDestinationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        consumerDestinations_ = new java.util.ArrayList(consumerDestinations_);
+        consumerDestinations_ =
+            new java.util.ArrayList(
+                consumerDestinations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Billing.BillingDestination, com.google.api.Billing.BillingDestination.Builder, com.google.api.Billing.BillingDestinationOrBuilder> consumerDestinationsBuilder_;
+            com.google.api.Billing.BillingDestination,
+            com.google.api.Billing.BillingDestination.Builder,
+            com.google.api.Billing.BillingDestinationOrBuilder>
+        consumerDestinationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1521,6 +1650,8 @@ public java.util.List getConsumerDest
       }
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1538,6 +1669,8 @@ public int getConsumerDestinationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1555,6 +1688,8 @@ public com.google.api.Billing.BillingDestination getConsumerDestinations(int ind
       }
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1579,6 +1714,8 @@ public Builder setConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1600,6 +1737,8 @@ public Builder setConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1623,6 +1762,8 @@ public Builder addConsumerDestinations(com.google.api.Billing.BillingDestination
       return this;
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1647,6 +1788,8 @@ public Builder addConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1668,6 +1811,8 @@ public Builder addConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1689,6 +1834,8 @@ public Builder addConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1702,8 +1849,7 @@ public Builder addAllConsumerDestinations(
         java.lang.Iterable values) {
       if (consumerDestinationsBuilder_ == null) {
         ensureConsumerDestinationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, consumerDestinations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, consumerDestinations_);
         onChanged();
       } else {
         consumerDestinationsBuilder_.addAllMessages(values);
@@ -1711,6 +1857,8 @@ public Builder addAllConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1731,6 +1879,8 @@ public Builder clearConsumerDestinations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1751,6 +1901,8 @@ public Builder removeConsumerDestinations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1765,6 +1917,8 @@ public com.google.api.Billing.BillingDestination.Builder getConsumerDestinations
       return getConsumerDestinationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1777,11 +1931,14 @@ public com.google.api.Billing.BillingDestination.Builder getConsumerDestinations
     public com.google.api.Billing.BillingDestinationOrBuilder getConsumerDestinationsOrBuilder(
         int index) {
       if (consumerDestinationsBuilder_ == null) {
-        return consumerDestinations_.get(index);  } else {
+        return consumerDestinations_.get(index);
+      } else {
         return consumerDestinationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1791,8 +1948,8 @@ public com.google.api.Billing.BillingDestinationOrBuilder getConsumerDestination
      *
      * repeated .google.api.Billing.BillingDestination consumer_destinations = 8;
      */
-    public java.util.List 
-         getConsumerDestinationsOrBuilderList() {
+    public java.util.List
+        getConsumerDestinationsOrBuilderList() {
       if (consumerDestinationsBuilder_ != null) {
         return consumerDestinationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1800,6 +1957,8 @@ public com.google.api.Billing.BillingDestinationOrBuilder getConsumerDestination
       }
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1810,10 +1969,12 @@ public com.google.api.Billing.BillingDestinationOrBuilder getConsumerDestination
      * repeated .google.api.Billing.BillingDestination consumer_destinations = 8;
      */
     public com.google.api.Billing.BillingDestination.Builder addConsumerDestinationsBuilder() {
-      return getConsumerDestinationsFieldBuilder().addBuilder(
-          com.google.api.Billing.BillingDestination.getDefaultInstance());
+      return getConsumerDestinationsFieldBuilder()
+          .addBuilder(com.google.api.Billing.BillingDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1825,10 +1986,12 @@ public com.google.api.Billing.BillingDestination.Builder addConsumerDestinations
      */
     public com.google.api.Billing.BillingDestination.Builder addConsumerDestinationsBuilder(
         int index) {
-      return getConsumerDestinationsFieldBuilder().addBuilder(
-          index, com.google.api.Billing.BillingDestination.getDefaultInstance());
+      return getConsumerDestinationsFieldBuilder()
+          .addBuilder(index, com.google.api.Billing.BillingDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Billing configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations per service, each one must have
@@ -1838,16 +2001,22 @@ public com.google.api.Billing.BillingDestination.Builder addConsumerDestinations
      *
      * repeated .google.api.Billing.BillingDestination consumer_destinations = 8;
      */
-    public java.util.List 
-         getConsumerDestinationsBuilderList() {
+    public java.util.List
+        getConsumerDestinationsBuilderList() {
       return getConsumerDestinationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Billing.BillingDestination, com.google.api.Billing.BillingDestination.Builder, com.google.api.Billing.BillingDestinationOrBuilder> 
+            com.google.api.Billing.BillingDestination,
+            com.google.api.Billing.BillingDestination.Builder,
+            com.google.api.Billing.BillingDestinationOrBuilder>
         getConsumerDestinationsFieldBuilder() {
       if (consumerDestinationsBuilder_ == null) {
-        consumerDestinationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.Billing.BillingDestination, com.google.api.Billing.BillingDestination.Builder, com.google.api.Billing.BillingDestinationOrBuilder>(
+        consumerDestinationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.Billing.BillingDestination,
+                com.google.api.Billing.BillingDestination.Builder,
+                com.google.api.Billing.BillingDestinationOrBuilder>(
                 consumerDestinations_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1856,9 +2025,9 @@ public com.google.api.Billing.BillingDestination.Builder addConsumerDestinations
       }
       return consumerDestinationsBuilder_;
     }
+
     @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);
     }
 
@@ -1868,12 +2037,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.Billing)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.Billing)
   private static final com.google.api.Billing DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.Billing();
   }
@@ -1882,27 +2051,27 @@ public static com.google.api.Billing getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Billing 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 Billing 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;
@@ -1917,6 +2086,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.Billing getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java
index f7ce21c309..2828912e18 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface BillingOrBuilder extends
+public interface BillingOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.Billing)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -17,9 +35,10 @@ public interface BillingOrBuilder extends
    *
    * repeated .google.api.Billing.BillingDestination consumer_destinations = 8;
    */
-  java.util.List 
-      getConsumerDestinationsList();
+  java.util.List getConsumerDestinationsList();
   /**
+   *
+   *
    * 
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -31,6 +50,8 @@ public interface BillingOrBuilder extends
    */
   com.google.api.Billing.BillingDestination getConsumerDestinations(int index);
   /**
+   *
+   *
    * 
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -42,6 +63,8 @@ public interface BillingOrBuilder extends
    */
   int getConsumerDestinationsCount();
   /**
+   *
+   *
    * 
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -51,9 +74,11 @@ public interface BillingOrBuilder extends
    *
    * repeated .google.api.Billing.BillingDestination consumer_destinations = 8;
    */
-  java.util.List 
+  java.util.List
       getConsumerDestinationsOrBuilderList();
   /**
+   *
+   *
    * 
    * Billing configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations per service, each one must have
@@ -63,6 +88,5 @@ public interface BillingOrBuilder extends
    *
    * repeated .google.api.Billing.BillingDestination consumer_destinations = 8;
    */
-  com.google.api.Billing.BillingDestinationOrBuilder getConsumerDestinationsOrBuilder(
-      int index);
+  com.google.api.Billing.BillingDestinationOrBuilder getConsumerDestinationsOrBuilder(int index);
 }
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
new file mode 100644
index 0000000000..b03896654d
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java
@@ -0,0 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java
similarity index 70%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java
index 4bf4f52d64..e8342671d3 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * Classifies set of possible modifications to an object in the service
  * configuration.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.api.ChangeType}
  */
-public enum ChangeType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * No value was provided.
    * 
@@ -22,6 +40,8 @@ public enum ChangeType */ CHANGE_TYPE_UNSPECIFIED(0), /** + * + * *
    * The changed object exists in the 'new' service configuration, but not
    * in the 'old' service configuration.
@@ -31,6 +51,8 @@ public enum ChangeType
    */
   ADDED(1),
   /**
+   *
+   *
    * 
    * The changed object exists in the 'old' service configuration, but not
    * in the 'new' service configuration.
@@ -40,6 +62,8 @@ public enum ChangeType
    */
   REMOVED(2),
   /**
+   *
+   *
    * 
    * The changed object exists in both service configurations, but its value
    * is different.
@@ -52,6 +76,8 @@ public enum ChangeType
   ;
 
   /**
+   *
+   *
    * 
    * No value was provided.
    * 
@@ -60,6 +86,8 @@ public enum ChangeType */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The changed object exists in the 'new' service configuration, but not
    * in the 'old' service configuration.
@@ -69,6 +97,8 @@ public enum ChangeType
    */
   public static final int ADDED_VALUE = 1;
   /**
+   *
+   *
    * 
    * The changed object exists in the 'old' service configuration, but not
    * in the 'new' service configuration.
@@ -78,6 +108,8 @@ public enum ChangeType
    */
   public static final int REMOVED_VALUE = 2;
   /**
+   *
+   *
    * 
    * The changed object exists in both service configurations, but its value
    * is different.
@@ -87,7 +119,6 @@ public enum ChangeType
    */
   public static final int MODIFIED_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -112,50 +143,51 @@ public static ChangeType valueOf(int value) {
    */
   public static ChangeType forNumber(int value) {
     switch (value) {
-      case 0: return CHANGE_TYPE_UNSPECIFIED;
-      case 1: return ADDED;
-      case 2: return REMOVED;
-      case 3: return MODIFIED;
-      default: return null;
+      case 0:
+        return CHANGE_TYPE_UNSPECIFIED;
+      case 1:
+        return ADDED;
+      case 2:
+        return REMOVED;
+      case 3:
+        return MODIFIED;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      ChangeType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ChangeType findValueByNumber(int number) {
-            return ChangeType.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public ChangeType findValueByNumber(int number) {
+          return ChangeType.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.api.ConfigChangeProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final ChangeType[] VALUES = values();
 
-  public static ChangeType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -171,4 +203,3 @@ private ChangeType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.api.ChangeType)
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java
similarity index 70%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java
index e5cb8e7f4a..77b7122ab1 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java
@@ -1,18 +1,36 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * To where should client libraries be published?
  * 
* * Protobuf enum {@code google.api.ClientLibraryDestination} */ -public enum ClientLibraryDestination - implements com.google.protobuf.ProtocolMessageEnum { +public enum ClientLibraryDestination implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Client libraries will neither be generated nor published to package
    * managers.
@@ -22,6 +40,8 @@ public enum ClientLibraryDestination
    */
   CLIENT_LIBRARY_DESTINATION_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Generate the client library in a repo under github.com/googleapis,
    * but don't publish it to package managers.
@@ -31,6 +51,8 @@ public enum ClientLibraryDestination
    */
   GITHUB(10),
   /**
+   *
+   *
    * 
    * Publish the library to package managers like nuget.org and npmjs.com.
    * 
@@ -42,6 +64,8 @@ public enum ClientLibraryDestination ; /** + * + * *
    * Client libraries will neither be generated nor published to package
    * managers.
@@ -51,6 +75,8 @@ public enum ClientLibraryDestination
    */
   public static final int CLIENT_LIBRARY_DESTINATION_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Generate the client library in a repo under github.com/googleapis,
    * but don't publish it to package managers.
@@ -60,6 +86,8 @@ public enum ClientLibraryDestination
    */
   public static final int GITHUB_VALUE = 10;
   /**
+   *
+   *
    * 
    * Publish the library to package managers like nuget.org and npmjs.com.
    * 
@@ -68,7 +96,6 @@ public enum ClientLibraryDestination */ public static final int PACKAGE_MANAGER_VALUE = 20; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -93,10 +120,14 @@ public static ClientLibraryDestination valueOf(int value) { */ public static ClientLibraryDestination forNumber(int value) { switch (value) { - case 0: return CLIENT_LIBRARY_DESTINATION_UNSPECIFIED; - case 10: return GITHUB; - case 20: return PACKAGE_MANAGER; - default: return null; + case 0: + return CLIENT_LIBRARY_DESTINATION_UNSPECIFIED; + case 10: + return GITHUB; + case 20: + return PACKAGE_MANAGER; + default: + return null; } } @@ -104,28 +135,28 @@ public static ClientLibraryDestination forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ClientLibraryDestination> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ClientLibraryDestination findValueByNumber(int number) { - return ClientLibraryDestination.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ClientLibraryDestination findValueByNumber(int number) { + return ClientLibraryDestination.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.api.ClientProto.getDescriptor().getEnumTypes().get(1); } @@ -134,8 +165,7 @@ public ClientLibraryDestination findValueByNumber(int number) { public static ClientLibraryDestination valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -151,4 +181,3 @@ private ClientLibraryDestination(int value) { // @@protoc_insertion_point(enum_scope:google.api.ClientLibraryDestination) } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java similarity index 71% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java index f96d63e2b3..0294768338 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * The organization for which the client libraries are being published.
  * Affects the url where generated docs are published, etc.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.api.ClientLibraryOrganization}
  */
-public enum ClientLibraryOrganization
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ClientLibraryOrganization implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Not useful.
    * 
@@ -22,6 +40,8 @@ public enum ClientLibraryOrganization */ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED(0), /** + * + * *
    * Google Cloud Platform Org.
    * 
@@ -30,6 +50,8 @@ public enum ClientLibraryOrganization */ CLOUD(1), /** + * + * *
    * Ads (Advertising) Org.
    * 
@@ -38,6 +60,8 @@ public enum ClientLibraryOrganization */ ADS(2), /** + * + * *
    * Photos Org.
    * 
@@ -46,6 +70,8 @@ public enum ClientLibraryOrganization */ PHOTOS(3), /** + * + * *
    * Street View Org.
    * 
@@ -54,6 +80,8 @@ public enum ClientLibraryOrganization */ STREET_VIEW(4), /** + * + * *
    * Shopping Org.
    * 
@@ -62,6 +90,8 @@ public enum ClientLibraryOrganization */ SHOPPING(5), /** + * + * *
    * Geo Org.
    * 
@@ -70,6 +100,8 @@ public enum ClientLibraryOrganization */ GEO(6), /** + * + * *
    * Generative AI - https://developers.generativeai.google
    * 
@@ -81,6 +113,8 @@ public enum ClientLibraryOrganization ; /** + * + * *
    * Not useful.
    * 
@@ -89,6 +123,8 @@ public enum ClientLibraryOrganization */ public static final int CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Google Cloud Platform Org.
    * 
@@ -97,6 +133,8 @@ public enum ClientLibraryOrganization */ public static final int CLOUD_VALUE = 1; /** + * + * *
    * Ads (Advertising) Org.
    * 
@@ -105,6 +143,8 @@ public enum ClientLibraryOrganization */ public static final int ADS_VALUE = 2; /** + * + * *
    * Photos Org.
    * 
@@ -113,6 +153,8 @@ public enum ClientLibraryOrganization */ public static final int PHOTOS_VALUE = 3; /** + * + * *
    * Street View Org.
    * 
@@ -121,6 +163,8 @@ public enum ClientLibraryOrganization */ public static final int STREET_VIEW_VALUE = 4; /** + * + * *
    * Shopping Org.
    * 
@@ -129,6 +173,8 @@ public enum ClientLibraryOrganization */ public static final int SHOPPING_VALUE = 5; /** + * + * *
    * Geo Org.
    * 
@@ -137,6 +183,8 @@ public enum ClientLibraryOrganization */ public static final int GEO_VALUE = 6; /** + * + * *
    * Generative AI - https://developers.generativeai.google
    * 
@@ -145,7 +193,6 @@ public enum ClientLibraryOrganization */ public static final int GENERATIVE_AI_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,15 +217,24 @@ public static ClientLibraryOrganization valueOf(int value) { */ public static ClientLibraryOrganization forNumber(int value) { switch (value) { - case 0: return CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED; - case 1: return CLOUD; - case 2: return ADS; - case 3: return PHOTOS; - case 4: return STREET_VIEW; - case 5: return SHOPPING; - case 6: return GEO; - case 7: return GENERATIVE_AI; - default: return null; + case 0: + return CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED; + case 1: + return CLOUD; + case 2: + return ADS; + case 3: + return PHOTOS; + case 4: + return STREET_VIEW; + case 5: + return SHOPPING; + case 6: + return GEO; + case 7: + return GENERATIVE_AI; + default: + return null; } } @@ -186,28 +242,28 @@ public static ClientLibraryOrganization forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ClientLibraryOrganization> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ClientLibraryOrganization findValueByNumber(int number) { - return ClientLibraryOrganization.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ClientLibraryOrganization findValueByNumber(int number) { + return ClientLibraryOrganization.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.api.ClientProto.getDescriptor().getEnumTypes().get(0); } @@ -216,8 +272,7 @@ public ClientLibraryOrganization findValueByNumber(int number) { public static ClientLibraryOrganization valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -233,4 +288,3 @@ private ClientLibraryOrganization(int value) { // @@protoc_insertion_point(enum_scope:google.api.ClientLibraryOrganization) } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java similarity index 74% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java index d3618ac3d5..d2a4d3105a 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java @@ -1,24 +1,42 @@ +/* + * 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; /** + * + * *
  * Details about how and where to publish client libraries.
  * 
* * Protobuf type {@code google.api.ClientLibrarySettings} */ -public final class ClientLibrarySettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ClientLibrarySettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.ClientLibrarySettings) ClientLibrarySettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClientLibrarySettings.newBuilder() to construct. private ClientLibrarySettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ClientLibrarySettings() { version_ = ""; launchStage_ = 0; @@ -26,28 +44,31 @@ private ClientLibrarySettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClientLibrarySettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_ClientLibrarySettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.ClientProto.internal_static_google_api_ClientLibrarySettings_fieldAccessorTable + return com.google.api.ClientProto + .internal_static_google_api_ClientLibrarySettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.ClientLibrarySettings.class, com.google.api.ClientLibrarySettings.Builder.class); + com.google.api.ClientLibrarySettings.class, + com.google.api.ClientLibrarySettings.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Version of the API to apply these settings to. This is the full protobuf
    * package for the API, ending in the version element.
@@ -55,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -63,14 +85,15 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Version of the API to apply these settings to. This is the full protobuf
    * package for the API, ending in the version element.
@@ -78,16 +101,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -98,25 +120,33 @@ public java.lang.String getVersion() { public static final int LAUNCH_STAGE_FIELD_NUMBER = 2; private int launchStage_ = 0; /** + * + * *
    * Launch stage of this version of the API.
    * 
* * .google.api.LaunchStage launch_stage = 2; + * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override public int getLaunchStageValue() { + @java.lang.Override + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
    * Launch stage of this version of the API.
    * 
* * .google.api.LaunchStage launch_stage = 2; + * * @return The launchStage. */ - @java.lang.Override public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override + public com.google.api.LaunchStage getLaunchStage() { com.google.api.LaunchStage result = com.google.api.LaunchStage.forNumber(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } @@ -124,12 +154,15 @@ public java.lang.String getVersion() { public static final int REST_NUMERIC_ENUMS_FIELD_NUMBER = 3; private boolean restNumericEnums_ = false; /** + * + * *
    * When using transport=rest, the client request will encode enums as
    * numbers rather than strings.
    * 
* * bool rest_numeric_enums = 3; + * * @return The restNumericEnums. */ @java.lang.Override @@ -140,11 +173,14 @@ public boolean getRestNumericEnums() { public static final int JAVA_SETTINGS_FIELD_NUMBER = 21; private com.google.api.JavaSettings javaSettings_; /** + * + * *
    * Settings for legacy Java features, supported in the Service YAML.
    * 
* * .google.api.JavaSettings java_settings = 21; + * * @return Whether the javaSettings field is set. */ @java.lang.Override @@ -152,11 +188,14 @@ public boolean hasJavaSettings() { return javaSettings_ != null; } /** + * + * *
    * Settings for legacy Java features, supported in the Service YAML.
    * 
* * .google.api.JavaSettings java_settings = 21; + * * @return The javaSettings. */ @java.lang.Override @@ -164,6 +203,8 @@ public com.google.api.JavaSettings getJavaSettings() { return javaSettings_ == null ? com.google.api.JavaSettings.getDefaultInstance() : javaSettings_; } /** + * + * *
    * Settings for legacy Java features, supported in the Service YAML.
    * 
@@ -178,11 +219,14 @@ public com.google.api.JavaSettingsOrBuilder getJavaSettingsOrBuilder() { public static final int CPP_SETTINGS_FIELD_NUMBER = 22; private com.google.api.CppSettings cppSettings_; /** + * + * *
    * Settings for C++ client libraries.
    * 
* * .google.api.CppSettings cpp_settings = 22; + * * @return Whether the cppSettings field is set. */ @java.lang.Override @@ -190,11 +234,14 @@ public boolean hasCppSettings() { return cppSettings_ != null; } /** + * + * *
    * Settings for C++ client libraries.
    * 
* * .google.api.CppSettings cpp_settings = 22; + * * @return The cppSettings. */ @java.lang.Override @@ -202,6 +249,8 @@ public com.google.api.CppSettings getCppSettings() { return cppSettings_ == null ? com.google.api.CppSettings.getDefaultInstance() : cppSettings_; } /** + * + * *
    * Settings for C++ client libraries.
    * 
@@ -216,11 +265,14 @@ public com.google.api.CppSettingsOrBuilder getCppSettingsOrBuilder() { public static final int PHP_SETTINGS_FIELD_NUMBER = 23; private com.google.api.PhpSettings phpSettings_; /** + * + * *
    * Settings for PHP client libraries.
    * 
* * .google.api.PhpSettings php_settings = 23; + * * @return Whether the phpSettings field is set. */ @java.lang.Override @@ -228,11 +280,14 @@ public boolean hasPhpSettings() { return phpSettings_ != null; } /** + * + * *
    * Settings for PHP client libraries.
    * 
* * .google.api.PhpSettings php_settings = 23; + * * @return The phpSettings. */ @java.lang.Override @@ -240,6 +295,8 @@ public com.google.api.PhpSettings getPhpSettings() { return phpSettings_ == null ? com.google.api.PhpSettings.getDefaultInstance() : phpSettings_; } /** + * + * *
    * Settings for PHP client libraries.
    * 
@@ -254,11 +311,14 @@ public com.google.api.PhpSettingsOrBuilder getPhpSettingsOrBuilder() { public static final int PYTHON_SETTINGS_FIELD_NUMBER = 24; private com.google.api.PythonSettings pythonSettings_; /** + * + * *
    * Settings for Python client libraries.
    * 
* * .google.api.PythonSettings python_settings = 24; + * * @return Whether the pythonSettings field is set. */ @java.lang.Override @@ -266,18 +326,25 @@ public boolean hasPythonSettings() { return pythonSettings_ != null; } /** + * + * *
    * Settings for Python client libraries.
    * 
* * .google.api.PythonSettings python_settings = 24; + * * @return The pythonSettings. */ @java.lang.Override public com.google.api.PythonSettings getPythonSettings() { - return pythonSettings_ == null ? com.google.api.PythonSettings.getDefaultInstance() : pythonSettings_; + return pythonSettings_ == null + ? com.google.api.PythonSettings.getDefaultInstance() + : pythonSettings_; } /** + * + * *
    * Settings for Python client libraries.
    * 
@@ -286,17 +353,22 @@ public com.google.api.PythonSettings getPythonSettings() { */ @java.lang.Override public com.google.api.PythonSettingsOrBuilder getPythonSettingsOrBuilder() { - return pythonSettings_ == null ? com.google.api.PythonSettings.getDefaultInstance() : pythonSettings_; + return pythonSettings_ == null + ? com.google.api.PythonSettings.getDefaultInstance() + : pythonSettings_; } public static final int NODE_SETTINGS_FIELD_NUMBER = 25; private com.google.api.NodeSettings nodeSettings_; /** + * + * *
    * Settings for Node client libraries.
    * 
* * .google.api.NodeSettings node_settings = 25; + * * @return Whether the nodeSettings field is set. */ @java.lang.Override @@ -304,11 +376,14 @@ public boolean hasNodeSettings() { return nodeSettings_ != null; } /** + * + * *
    * Settings for Node client libraries.
    * 
* * .google.api.NodeSettings node_settings = 25; + * * @return The nodeSettings. */ @java.lang.Override @@ -316,6 +391,8 @@ public com.google.api.NodeSettings getNodeSettings() { return nodeSettings_ == null ? com.google.api.NodeSettings.getDefaultInstance() : nodeSettings_; } /** + * + * *
    * Settings for Node client libraries.
    * 
@@ -330,11 +407,14 @@ public com.google.api.NodeSettingsOrBuilder getNodeSettingsOrBuilder() { public static final int DOTNET_SETTINGS_FIELD_NUMBER = 26; private com.google.api.DotnetSettings dotnetSettings_; /** + * + * *
    * Settings for .NET client libraries.
    * 
* * .google.api.DotnetSettings dotnet_settings = 26; + * * @return Whether the dotnetSettings field is set. */ @java.lang.Override @@ -342,18 +422,25 @@ public boolean hasDotnetSettings() { return dotnetSettings_ != null; } /** + * + * *
    * Settings for .NET client libraries.
    * 
* * .google.api.DotnetSettings dotnet_settings = 26; + * * @return The dotnetSettings. */ @java.lang.Override public com.google.api.DotnetSettings getDotnetSettings() { - return dotnetSettings_ == null ? com.google.api.DotnetSettings.getDefaultInstance() : dotnetSettings_; + return dotnetSettings_ == null + ? com.google.api.DotnetSettings.getDefaultInstance() + : dotnetSettings_; } /** + * + * *
    * Settings for .NET client libraries.
    * 
@@ -362,17 +449,22 @@ public com.google.api.DotnetSettings getDotnetSettings() { */ @java.lang.Override public com.google.api.DotnetSettingsOrBuilder getDotnetSettingsOrBuilder() { - return dotnetSettings_ == null ? com.google.api.DotnetSettings.getDefaultInstance() : dotnetSettings_; + return dotnetSettings_ == null + ? com.google.api.DotnetSettings.getDefaultInstance() + : dotnetSettings_; } public static final int RUBY_SETTINGS_FIELD_NUMBER = 27; private com.google.api.RubySettings rubySettings_; /** + * + * *
    * Settings for Ruby client libraries.
    * 
* * .google.api.RubySettings ruby_settings = 27; + * * @return Whether the rubySettings field is set. */ @java.lang.Override @@ -380,11 +472,14 @@ public boolean hasRubySettings() { return rubySettings_ != null; } /** + * + * *
    * Settings for Ruby client libraries.
    * 
* * .google.api.RubySettings ruby_settings = 27; + * * @return The rubySettings. */ @java.lang.Override @@ -392,6 +487,8 @@ public com.google.api.RubySettings getRubySettings() { return rubySettings_ == null ? com.google.api.RubySettings.getDefaultInstance() : rubySettings_; } /** + * + * *
    * Settings for Ruby client libraries.
    * 
@@ -406,11 +503,14 @@ public com.google.api.RubySettingsOrBuilder getRubySettingsOrBuilder() { public static final int GO_SETTINGS_FIELD_NUMBER = 28; private com.google.api.GoSettings goSettings_; /** + * + * *
    * Settings for Go client libraries.
    * 
* * .google.api.GoSettings go_settings = 28; + * * @return Whether the goSettings field is set. */ @java.lang.Override @@ -418,11 +518,14 @@ public boolean hasGoSettings() { return goSettings_ != null; } /** + * + * *
    * Settings for Go client libraries.
    * 
* * .google.api.GoSettings go_settings = 28; + * * @return The goSettings. */ @java.lang.Override @@ -430,6 +533,8 @@ public com.google.api.GoSettings getGoSettings() { return goSettings_ == null ? com.google.api.GoSettings.getDefaultInstance() : goSettings_; } /** + * + * *
    * Settings for Go client libraries.
    * 
@@ -442,6 +547,7 @@ public com.google.api.GoSettingsOrBuilder getGoSettingsOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -453,8 +559,7 @@ 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(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -501,44 +606,34 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, launchStage_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, launchStage_); } if (restNumericEnums_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, restNumericEnums_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, restNumericEnums_); } if (javaSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getJavaSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getJavaSettings()); } if (cppSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getCppSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getCppSettings()); } if (phpSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getPhpSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getPhpSettings()); } if (pythonSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getPythonSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPythonSettings()); } if (nodeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getNodeSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getNodeSettings()); } if (dotnetSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getDotnetSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getDotnetSettings()); } if (rubySettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getRubySettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getRubySettings()); } if (goSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getGoSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, getGoSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -548,57 +643,47 @@ 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.ClientLibrarySettings)) { return super.equals(obj); } com.google.api.ClientLibrarySettings other = (com.google.api.ClientLibrarySettings) obj; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (launchStage_ != other.launchStage_) return false; - if (getRestNumericEnums() - != other.getRestNumericEnums()) return false; + if (getRestNumericEnums() != other.getRestNumericEnums()) return false; if (hasJavaSettings() != other.hasJavaSettings()) return false; if (hasJavaSettings()) { - if (!getJavaSettings() - .equals(other.getJavaSettings())) return false; + if (!getJavaSettings().equals(other.getJavaSettings())) return false; } if (hasCppSettings() != other.hasCppSettings()) return false; if (hasCppSettings()) { - if (!getCppSettings() - .equals(other.getCppSettings())) return false; + if (!getCppSettings().equals(other.getCppSettings())) return false; } if (hasPhpSettings() != other.hasPhpSettings()) return false; if (hasPhpSettings()) { - if (!getPhpSettings() - .equals(other.getPhpSettings())) return false; + if (!getPhpSettings().equals(other.getPhpSettings())) return false; } if (hasPythonSettings() != other.hasPythonSettings()) return false; if (hasPythonSettings()) { - if (!getPythonSettings() - .equals(other.getPythonSettings())) return false; + if (!getPythonSettings().equals(other.getPythonSettings())) return false; } if (hasNodeSettings() != other.hasNodeSettings()) return false; if (hasNodeSettings()) { - if (!getNodeSettings() - .equals(other.getNodeSettings())) return false; + if (!getNodeSettings().equals(other.getNodeSettings())) return false; } if (hasDotnetSettings() != other.hasDotnetSettings()) return false; if (hasDotnetSettings()) { - if (!getDotnetSettings() - .equals(other.getDotnetSettings())) return false; + if (!getDotnetSettings().equals(other.getDotnetSettings())) return false; } if (hasRubySettings() != other.hasRubySettings()) return false; if (hasRubySettings()) { - if (!getRubySettings() - .equals(other.getRubySettings())) return false; + if (!getRubySettings().equals(other.getRubySettings())) return false; } if (hasGoSettings() != other.hasGoSettings()) return false; if (hasGoSettings()) { - if (!getGoSettings() - .equals(other.getGoSettings())) return false; + if (!getGoSettings().equals(other.getGoSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -616,8 +701,7 @@ public int hashCode() { hash = (37 * hash) + LAUNCH_STAGE_FIELD_NUMBER; hash = (53 * hash) + launchStage_; hash = (37 * hash) + REST_NUMERIC_ENUMS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRestNumericEnums()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRestNumericEnums()); if (hasJavaSettings()) { hash = (37 * hash) + JAVA_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getJavaSettings().hashCode(); @@ -655,132 +739,134 @@ public int hashCode() { return hash; } - public static com.google.api.ClientLibrarySettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.ClientLibrarySettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.ClientLibrarySettings 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.ClientLibrarySettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.ClientLibrarySettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.ClientLibrarySettings 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.ClientLibrarySettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.ClientLibrarySettings 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.ClientLibrarySettings 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.ClientLibrarySettings 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.ClientLibrarySettings 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.ClientLibrarySettings 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.ClientLibrarySettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.ClientLibrarySettings 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.ClientLibrarySettings 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; } /** + * + * *
    * Details about how and where to publish client libraries.
    * 
* * Protobuf type {@code google.api.ClientLibrarySettings} */ - 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.ClientLibrarySettings) com.google.api.ClientLibrarySettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_ClientLibrarySettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.ClientProto.internal_static_google_api_ClientLibrarySettings_fieldAccessorTable + return com.google.api.ClientProto + .internal_static_google_api_ClientLibrarySettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.ClientLibrarySettings.class, com.google.api.ClientLibrarySettings.Builder.class); + com.google.api.ClientLibrarySettings.class, + com.google.api.ClientLibrarySettings.Builder.class); } // Construct using com.google.api.ClientLibrarySettings.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -832,8 +918,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.ClientProto.internal_static_google_api_ClientLibrarySettings_descriptor; } @@ -854,7 +939,9 @@ public com.google.api.ClientLibrarySettings build() { @java.lang.Override public com.google.api.ClientLibrarySettings buildPartial() { com.google.api.ClientLibrarySettings result = new com.google.api.ClientLibrarySettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -871,44 +958,35 @@ private void buildPartial0(com.google.api.ClientLibrarySettings result) { result.restNumericEnums_ = restNumericEnums_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.javaSettings_ = javaSettingsBuilder_ == null - ? javaSettings_ - : javaSettingsBuilder_.build(); + result.javaSettings_ = + javaSettingsBuilder_ == null ? javaSettings_ : javaSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.cppSettings_ = cppSettingsBuilder_ == null - ? cppSettings_ - : cppSettingsBuilder_.build(); + result.cppSettings_ = + cppSettingsBuilder_ == null ? cppSettings_ : cppSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.phpSettings_ = phpSettingsBuilder_ == null - ? phpSettings_ - : phpSettingsBuilder_.build(); + result.phpSettings_ = + phpSettingsBuilder_ == null ? phpSettings_ : phpSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.pythonSettings_ = pythonSettingsBuilder_ == null - ? pythonSettings_ - : pythonSettingsBuilder_.build(); + result.pythonSettings_ = + pythonSettingsBuilder_ == null ? pythonSettings_ : pythonSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.nodeSettings_ = nodeSettingsBuilder_ == null - ? nodeSettings_ - : nodeSettingsBuilder_.build(); + result.nodeSettings_ = + nodeSettingsBuilder_ == null ? nodeSettings_ : nodeSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.dotnetSettings_ = dotnetSettingsBuilder_ == null - ? dotnetSettings_ - : dotnetSettingsBuilder_.build(); + result.dotnetSettings_ = + dotnetSettingsBuilder_ == null ? dotnetSettings_ : dotnetSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.rubySettings_ = rubySettingsBuilder_ == null - ? rubySettings_ - : rubySettingsBuilder_.build(); + result.rubySettings_ = + rubySettingsBuilder_ == null ? rubySettings_ : rubySettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.goSettings_ = goSettingsBuilder_ == null - ? goSettings_ - : goSettingsBuilder_.build(); + result.goSettings_ = goSettingsBuilder_ == null ? goSettings_ : goSettingsBuilder_.build(); } } @@ -916,38 +994,39 @@ private void buildPartial0(com.google.api.ClientLibrarySettings 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.ClientLibrarySettings) { - return mergeFrom((com.google.api.ClientLibrarySettings)other); + return mergeFrom((com.google.api.ClientLibrarySettings) other); } else { super.mergeFrom(other); return this; @@ -1017,83 +1096,79 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - launchStage_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - restNumericEnums_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 170: { - input.readMessage( - getJavaSettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 170 - case 178: { - input.readMessage( - getCppSettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 178 - case 186: { - input.readMessage( - getPhpSettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 186 - case 194: { - input.readMessage( - getPythonSettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 194 - case 202: { - input.readMessage( - getNodeSettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 202 - case 210: { - input.readMessage( - getDotnetSettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 210 - case 218: { - input.readMessage( - getRubySettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 218 - case 226: { - input.readMessage( - getGoSettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 226 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + launchStage_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + restNumericEnums_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 170: + { + input.readMessage(getJavaSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 170 + case 178: + { + input.readMessage(getCppSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 178 + case 186: + { + input.readMessage(getPhpSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 186 + case 194: + { + input.readMessage(getPythonSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 194 + case 202: + { + input.readMessage(getNodeSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 202 + case 210: + { + input.readMessage(getDotnetSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 210 + case 218: + { + input.readMessage(getRubySettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 218 + case 226: + { + input.readMessage(getGoSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 226 + 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) { @@ -1103,10 +1178,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object version_ = ""; /** + * + * *
      * Version of the API to apply these settings to. This is the full protobuf
      * package for the API, ending in the version element.
@@ -1114,13 +1192,13 @@ public Builder mergeFrom(
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -1129,6 +1207,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Version of the API to apply these settings to. This is the full protobuf
      * package for the API, ending in the version element.
@@ -1136,15 +1216,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1152,6 +1231,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Version of the API to apply these settings to. This is the full protobuf
      * package for the API, ending in the version element.
@@ -1159,18 +1240,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Version of the API to apply these settings to. This is the full protobuf
      * package for the API, ending in the version element.
@@ -1178,6 +1263,7 @@ public Builder setVersion(
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1187,6 +1273,8 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Version of the API to apply these settings to. This is the full protobuf
      * package for the API, ending in the version element.
@@ -1194,12 +1282,14 @@ public Builder clearVersion() {
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -1209,22 +1299,29 @@ public Builder setVersionBytes( private int launchStage_ = 0; /** + * + * *
      * Launch stage of this version of the API.
      * 
* * .google.api.LaunchStage launch_stage = 2; + * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override public int getLaunchStageValue() { + @java.lang.Override + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
      * Launch stage of this version of the API.
      * 
* * .google.api.LaunchStage launch_stage = 2; + * * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ @@ -1235,11 +1332,14 @@ public Builder setLaunchStageValue(int value) { return this; } /** + * + * *
      * Launch stage of this version of the API.
      * 
* * .google.api.LaunchStage launch_stage = 2; + * * @return The launchStage. */ @java.lang.Override @@ -1248,11 +1348,14 @@ public com.google.api.LaunchStage getLaunchStage() { return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** + * + * *
      * Launch stage of this version of the API.
      * 
* * .google.api.LaunchStage launch_stage = 2; + * * @param value The launchStage to set. * @return This builder for chaining. */ @@ -1266,11 +1369,14 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { return this; } /** + * + * *
      * Launch stage of this version of the API.
      * 
* * .google.api.LaunchStage launch_stage = 2; + * * @return This builder for chaining. */ public Builder clearLaunchStage() { @@ -1280,14 +1386,17 @@ public Builder clearLaunchStage() { return this; } - private boolean restNumericEnums_ ; + private boolean restNumericEnums_; /** + * + * *
      * When using transport=rest, the client request will encode enums as
      * numbers rather than strings.
      * 
* * bool rest_numeric_enums = 3; + * * @return The restNumericEnums. */ @java.lang.Override @@ -1295,12 +1404,15 @@ public boolean getRestNumericEnums() { return restNumericEnums_; } /** + * + * *
      * When using transport=rest, the client request will encode enums as
      * numbers rather than strings.
      * 
* * bool rest_numeric_enums = 3; + * * @param value The restNumericEnums to set. * @return This builder for chaining. */ @@ -1312,12 +1424,15 @@ public Builder setRestNumericEnums(boolean value) { return this; } /** + * + * *
      * When using transport=rest, the client request will encode enums as
      * numbers rather than strings.
      * 
* * bool rest_numeric_enums = 3; + * * @return This builder for chaining. */ public Builder clearRestNumericEnums() { @@ -1329,34 +1444,47 @@ public Builder clearRestNumericEnums() { private com.google.api.JavaSettings javaSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.JavaSettings, com.google.api.JavaSettings.Builder, com.google.api.JavaSettingsOrBuilder> javaSettingsBuilder_; + com.google.api.JavaSettings, + com.google.api.JavaSettings.Builder, + com.google.api.JavaSettingsOrBuilder> + javaSettingsBuilder_; /** + * + * *
      * Settings for legacy Java features, supported in the Service YAML.
      * 
* * .google.api.JavaSettings java_settings = 21; + * * @return Whether the javaSettings field is set. */ public boolean hasJavaSettings() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Settings for legacy Java features, supported in the Service YAML.
      * 
* * .google.api.JavaSettings java_settings = 21; + * * @return The javaSettings. */ public com.google.api.JavaSettings getJavaSettings() { if (javaSettingsBuilder_ == null) { - return javaSettings_ == null ? com.google.api.JavaSettings.getDefaultInstance() : javaSettings_; + return javaSettings_ == null + ? com.google.api.JavaSettings.getDefaultInstance() + : javaSettings_; } else { return javaSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for legacy Java features, supported in the Service YAML.
      * 
@@ -1377,14 +1505,15 @@ public Builder setJavaSettings(com.google.api.JavaSettings value) { return this; } /** + * + * *
      * Settings for legacy Java features, supported in the Service YAML.
      * 
* * .google.api.JavaSettings java_settings = 21; */ - public Builder setJavaSettings( - com.google.api.JavaSettings.Builder builderForValue) { + public Builder setJavaSettings(com.google.api.JavaSettings.Builder builderForValue) { if (javaSettingsBuilder_ == null) { javaSettings_ = builderForValue.build(); } else { @@ -1395,6 +1524,8 @@ public Builder setJavaSettings( return this; } /** + * + * *
      * Settings for legacy Java features, supported in the Service YAML.
      * 
@@ -1403,9 +1534,9 @@ public Builder setJavaSettings( */ public Builder mergeJavaSettings(com.google.api.JavaSettings value) { if (javaSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - javaSettings_ != null && - javaSettings_ != com.google.api.JavaSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && javaSettings_ != null + && javaSettings_ != com.google.api.JavaSettings.getDefaultInstance()) { getJavaSettingsBuilder().mergeFrom(value); } else { javaSettings_ = value; @@ -1418,6 +1549,8 @@ public Builder mergeJavaSettings(com.google.api.JavaSettings value) { return this; } /** + * + * *
      * Settings for legacy Java features, supported in the Service YAML.
      * 
@@ -1435,6 +1568,8 @@ public Builder clearJavaSettings() { return this; } /** + * + * *
      * Settings for legacy Java features, supported in the Service YAML.
      * 
@@ -1447,6 +1582,8 @@ public com.google.api.JavaSettings.Builder getJavaSettingsBuilder() { return getJavaSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Settings for legacy Java features, supported in the Service YAML.
      * 
@@ -1457,11 +1594,14 @@ public com.google.api.JavaSettingsOrBuilder getJavaSettingsOrBuilder() { if (javaSettingsBuilder_ != null) { return javaSettingsBuilder_.getMessageOrBuilder(); } else { - return javaSettings_ == null ? - com.google.api.JavaSettings.getDefaultInstance() : javaSettings_; + return javaSettings_ == null + ? com.google.api.JavaSettings.getDefaultInstance() + : javaSettings_; } } /** + * + * *
      * Settings for legacy Java features, supported in the Service YAML.
      * 
@@ -1469,14 +1609,17 @@ public com.google.api.JavaSettingsOrBuilder getJavaSettingsOrBuilder() { * .google.api.JavaSettings java_settings = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.JavaSettings, com.google.api.JavaSettings.Builder, com.google.api.JavaSettingsOrBuilder> + com.google.api.JavaSettings, + com.google.api.JavaSettings.Builder, + com.google.api.JavaSettingsOrBuilder> getJavaSettingsFieldBuilder() { if (javaSettingsBuilder_ == null) { - javaSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.JavaSettings, com.google.api.JavaSettings.Builder, com.google.api.JavaSettingsOrBuilder>( - getJavaSettings(), - getParentForChildren(), - isClean()); + javaSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.JavaSettings, + com.google.api.JavaSettings.Builder, + com.google.api.JavaSettingsOrBuilder>( + getJavaSettings(), getParentForChildren(), isClean()); javaSettings_ = null; } return javaSettingsBuilder_; @@ -1484,34 +1627,47 @@ public com.google.api.JavaSettingsOrBuilder getJavaSettingsOrBuilder() { private com.google.api.CppSettings cppSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CppSettings, com.google.api.CppSettings.Builder, com.google.api.CppSettingsOrBuilder> cppSettingsBuilder_; + com.google.api.CppSettings, + com.google.api.CppSettings.Builder, + com.google.api.CppSettingsOrBuilder> + cppSettingsBuilder_; /** + * + * *
      * Settings for C++ client libraries.
      * 
* * .google.api.CppSettings cpp_settings = 22; + * * @return Whether the cppSettings field is set. */ public boolean hasCppSettings() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Settings for C++ client libraries.
      * 
* * .google.api.CppSettings cpp_settings = 22; + * * @return The cppSettings. */ public com.google.api.CppSettings getCppSettings() { if (cppSettingsBuilder_ == null) { - return cppSettings_ == null ? com.google.api.CppSettings.getDefaultInstance() : cppSettings_; + return cppSettings_ == null + ? com.google.api.CppSettings.getDefaultInstance() + : cppSettings_; } else { return cppSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for C++ client libraries.
      * 
@@ -1532,14 +1688,15 @@ public Builder setCppSettings(com.google.api.CppSettings value) { return this; } /** + * + * *
      * Settings for C++ client libraries.
      * 
* * .google.api.CppSettings cpp_settings = 22; */ - public Builder setCppSettings( - com.google.api.CppSettings.Builder builderForValue) { + public Builder setCppSettings(com.google.api.CppSettings.Builder builderForValue) { if (cppSettingsBuilder_ == null) { cppSettings_ = builderForValue.build(); } else { @@ -1550,6 +1707,8 @@ public Builder setCppSettings( return this; } /** + * + * *
      * Settings for C++ client libraries.
      * 
@@ -1558,9 +1717,9 @@ public Builder setCppSettings( */ public Builder mergeCppSettings(com.google.api.CppSettings value) { if (cppSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - cppSettings_ != null && - cppSettings_ != com.google.api.CppSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && cppSettings_ != null + && cppSettings_ != com.google.api.CppSettings.getDefaultInstance()) { getCppSettingsBuilder().mergeFrom(value); } else { cppSettings_ = value; @@ -1573,6 +1732,8 @@ public Builder mergeCppSettings(com.google.api.CppSettings value) { return this; } /** + * + * *
      * Settings for C++ client libraries.
      * 
@@ -1590,6 +1751,8 @@ public Builder clearCppSettings() { return this; } /** + * + * *
      * Settings for C++ client libraries.
      * 
@@ -1602,6 +1765,8 @@ public com.google.api.CppSettings.Builder getCppSettingsBuilder() { return getCppSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Settings for C++ client libraries.
      * 
@@ -1612,11 +1777,14 @@ public com.google.api.CppSettingsOrBuilder getCppSettingsOrBuilder() { if (cppSettingsBuilder_ != null) { return cppSettingsBuilder_.getMessageOrBuilder(); } else { - return cppSettings_ == null ? - com.google.api.CppSettings.getDefaultInstance() : cppSettings_; + return cppSettings_ == null + ? com.google.api.CppSettings.getDefaultInstance() + : cppSettings_; } } /** + * + * *
      * Settings for C++ client libraries.
      * 
@@ -1624,14 +1792,17 @@ public com.google.api.CppSettingsOrBuilder getCppSettingsOrBuilder() { * .google.api.CppSettings cpp_settings = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CppSettings, com.google.api.CppSettings.Builder, com.google.api.CppSettingsOrBuilder> + com.google.api.CppSettings, + com.google.api.CppSettings.Builder, + com.google.api.CppSettingsOrBuilder> getCppSettingsFieldBuilder() { if (cppSettingsBuilder_ == null) { - cppSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CppSettings, com.google.api.CppSettings.Builder, com.google.api.CppSettingsOrBuilder>( - getCppSettings(), - getParentForChildren(), - isClean()); + cppSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.CppSettings, + com.google.api.CppSettings.Builder, + com.google.api.CppSettingsOrBuilder>( + getCppSettings(), getParentForChildren(), isClean()); cppSettings_ = null; } return cppSettingsBuilder_; @@ -1639,34 +1810,47 @@ public com.google.api.CppSettingsOrBuilder getCppSettingsOrBuilder() { private com.google.api.PhpSettings phpSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.PhpSettings, com.google.api.PhpSettings.Builder, com.google.api.PhpSettingsOrBuilder> phpSettingsBuilder_; + com.google.api.PhpSettings, + com.google.api.PhpSettings.Builder, + com.google.api.PhpSettingsOrBuilder> + phpSettingsBuilder_; /** + * + * *
      * Settings for PHP client libraries.
      * 
* * .google.api.PhpSettings php_settings = 23; + * * @return Whether the phpSettings field is set. */ public boolean hasPhpSettings() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Settings for PHP client libraries.
      * 
* * .google.api.PhpSettings php_settings = 23; + * * @return The phpSettings. */ public com.google.api.PhpSettings getPhpSettings() { if (phpSettingsBuilder_ == null) { - return phpSettings_ == null ? com.google.api.PhpSettings.getDefaultInstance() : phpSettings_; + return phpSettings_ == null + ? com.google.api.PhpSettings.getDefaultInstance() + : phpSettings_; } else { return phpSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for PHP client libraries.
      * 
@@ -1687,14 +1871,15 @@ public Builder setPhpSettings(com.google.api.PhpSettings value) { return this; } /** + * + * *
      * Settings for PHP client libraries.
      * 
* * .google.api.PhpSettings php_settings = 23; */ - public Builder setPhpSettings( - com.google.api.PhpSettings.Builder builderForValue) { + public Builder setPhpSettings(com.google.api.PhpSettings.Builder builderForValue) { if (phpSettingsBuilder_ == null) { phpSettings_ = builderForValue.build(); } else { @@ -1705,6 +1890,8 @@ public Builder setPhpSettings( return this; } /** + * + * *
      * Settings for PHP client libraries.
      * 
@@ -1713,9 +1900,9 @@ public Builder setPhpSettings( */ public Builder mergePhpSettings(com.google.api.PhpSettings value) { if (phpSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - phpSettings_ != null && - phpSettings_ != com.google.api.PhpSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && phpSettings_ != null + && phpSettings_ != com.google.api.PhpSettings.getDefaultInstance()) { getPhpSettingsBuilder().mergeFrom(value); } else { phpSettings_ = value; @@ -1728,6 +1915,8 @@ public Builder mergePhpSettings(com.google.api.PhpSettings value) { return this; } /** + * + * *
      * Settings for PHP client libraries.
      * 
@@ -1745,6 +1934,8 @@ public Builder clearPhpSettings() { return this; } /** + * + * *
      * Settings for PHP client libraries.
      * 
@@ -1757,6 +1948,8 @@ public com.google.api.PhpSettings.Builder getPhpSettingsBuilder() { return getPhpSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Settings for PHP client libraries.
      * 
@@ -1767,11 +1960,14 @@ public com.google.api.PhpSettingsOrBuilder getPhpSettingsOrBuilder() { if (phpSettingsBuilder_ != null) { return phpSettingsBuilder_.getMessageOrBuilder(); } else { - return phpSettings_ == null ? - com.google.api.PhpSettings.getDefaultInstance() : phpSettings_; + return phpSettings_ == null + ? com.google.api.PhpSettings.getDefaultInstance() + : phpSettings_; } } /** + * + * *
      * Settings for PHP client libraries.
      * 
@@ -1779,14 +1975,17 @@ public com.google.api.PhpSettingsOrBuilder getPhpSettingsOrBuilder() { * .google.api.PhpSettings php_settings = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.PhpSettings, com.google.api.PhpSettings.Builder, com.google.api.PhpSettingsOrBuilder> + com.google.api.PhpSettings, + com.google.api.PhpSettings.Builder, + com.google.api.PhpSettingsOrBuilder> getPhpSettingsFieldBuilder() { if (phpSettingsBuilder_ == null) { - phpSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.PhpSettings, com.google.api.PhpSettings.Builder, com.google.api.PhpSettingsOrBuilder>( - getPhpSettings(), - getParentForChildren(), - isClean()); + phpSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.PhpSettings, + com.google.api.PhpSettings.Builder, + com.google.api.PhpSettingsOrBuilder>( + getPhpSettings(), getParentForChildren(), isClean()); phpSettings_ = null; } return phpSettingsBuilder_; @@ -1794,34 +1993,47 @@ public com.google.api.PhpSettingsOrBuilder getPhpSettingsOrBuilder() { private com.google.api.PythonSettings pythonSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.PythonSettings, com.google.api.PythonSettings.Builder, com.google.api.PythonSettingsOrBuilder> pythonSettingsBuilder_; + com.google.api.PythonSettings, + com.google.api.PythonSettings.Builder, + com.google.api.PythonSettingsOrBuilder> + pythonSettingsBuilder_; /** + * + * *
      * Settings for Python client libraries.
      * 
* * .google.api.PythonSettings python_settings = 24; + * * @return Whether the pythonSettings field is set. */ public boolean hasPythonSettings() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Settings for Python client libraries.
      * 
* * .google.api.PythonSettings python_settings = 24; + * * @return The pythonSettings. */ public com.google.api.PythonSettings getPythonSettings() { if (pythonSettingsBuilder_ == null) { - return pythonSettings_ == null ? com.google.api.PythonSettings.getDefaultInstance() : pythonSettings_; + return pythonSettings_ == null + ? com.google.api.PythonSettings.getDefaultInstance() + : pythonSettings_; } else { return pythonSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for Python client libraries.
      * 
@@ -1842,14 +2054,15 @@ public Builder setPythonSettings(com.google.api.PythonSettings value) { return this; } /** + * + * *
      * Settings for Python client libraries.
      * 
* * .google.api.PythonSettings python_settings = 24; */ - public Builder setPythonSettings( - com.google.api.PythonSettings.Builder builderForValue) { + public Builder setPythonSettings(com.google.api.PythonSettings.Builder builderForValue) { if (pythonSettingsBuilder_ == null) { pythonSettings_ = builderForValue.build(); } else { @@ -1860,6 +2073,8 @@ public Builder setPythonSettings( return this; } /** + * + * *
      * Settings for Python client libraries.
      * 
@@ -1868,9 +2083,9 @@ public Builder setPythonSettings( */ public Builder mergePythonSettings(com.google.api.PythonSettings value) { if (pythonSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - pythonSettings_ != null && - pythonSettings_ != com.google.api.PythonSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && pythonSettings_ != null + && pythonSettings_ != com.google.api.PythonSettings.getDefaultInstance()) { getPythonSettingsBuilder().mergeFrom(value); } else { pythonSettings_ = value; @@ -1883,6 +2098,8 @@ public Builder mergePythonSettings(com.google.api.PythonSettings value) { return this; } /** + * + * *
      * Settings for Python client libraries.
      * 
@@ -1900,6 +2117,8 @@ public Builder clearPythonSettings() { return this; } /** + * + * *
      * Settings for Python client libraries.
      * 
@@ -1912,6 +2131,8 @@ public com.google.api.PythonSettings.Builder getPythonSettingsBuilder() { return getPythonSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Settings for Python client libraries.
      * 
@@ -1922,11 +2143,14 @@ public com.google.api.PythonSettingsOrBuilder getPythonSettingsOrBuilder() { if (pythonSettingsBuilder_ != null) { return pythonSettingsBuilder_.getMessageOrBuilder(); } else { - return pythonSettings_ == null ? - com.google.api.PythonSettings.getDefaultInstance() : pythonSettings_; + return pythonSettings_ == null + ? com.google.api.PythonSettings.getDefaultInstance() + : pythonSettings_; } } /** + * + * *
      * Settings for Python client libraries.
      * 
@@ -1934,14 +2158,17 @@ public com.google.api.PythonSettingsOrBuilder getPythonSettingsOrBuilder() { * .google.api.PythonSettings python_settings = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.PythonSettings, com.google.api.PythonSettings.Builder, com.google.api.PythonSettingsOrBuilder> + com.google.api.PythonSettings, + com.google.api.PythonSettings.Builder, + com.google.api.PythonSettingsOrBuilder> getPythonSettingsFieldBuilder() { if (pythonSettingsBuilder_ == null) { - pythonSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.PythonSettings, com.google.api.PythonSettings.Builder, com.google.api.PythonSettingsOrBuilder>( - getPythonSettings(), - getParentForChildren(), - isClean()); + pythonSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.PythonSettings, + com.google.api.PythonSettings.Builder, + com.google.api.PythonSettingsOrBuilder>( + getPythonSettings(), getParentForChildren(), isClean()); pythonSettings_ = null; } return pythonSettingsBuilder_; @@ -1949,34 +2176,47 @@ public com.google.api.PythonSettingsOrBuilder getPythonSettingsOrBuilder() { private com.google.api.NodeSettings nodeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.NodeSettings, com.google.api.NodeSettings.Builder, com.google.api.NodeSettingsOrBuilder> nodeSettingsBuilder_; + com.google.api.NodeSettings, + com.google.api.NodeSettings.Builder, + com.google.api.NodeSettingsOrBuilder> + nodeSettingsBuilder_; /** + * + * *
      * Settings for Node client libraries.
      * 
* * .google.api.NodeSettings node_settings = 25; + * * @return Whether the nodeSettings field is set. */ public boolean hasNodeSettings() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Settings for Node client libraries.
      * 
* * .google.api.NodeSettings node_settings = 25; + * * @return The nodeSettings. */ public com.google.api.NodeSettings getNodeSettings() { if (nodeSettingsBuilder_ == null) { - return nodeSettings_ == null ? com.google.api.NodeSettings.getDefaultInstance() : nodeSettings_; + return nodeSettings_ == null + ? com.google.api.NodeSettings.getDefaultInstance() + : nodeSettings_; } else { return nodeSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for Node client libraries.
      * 
@@ -1997,14 +2237,15 @@ public Builder setNodeSettings(com.google.api.NodeSettings value) { return this; } /** + * + * *
      * Settings for Node client libraries.
      * 
* * .google.api.NodeSettings node_settings = 25; */ - public Builder setNodeSettings( - com.google.api.NodeSettings.Builder builderForValue) { + public Builder setNodeSettings(com.google.api.NodeSettings.Builder builderForValue) { if (nodeSettingsBuilder_ == null) { nodeSettings_ = builderForValue.build(); } else { @@ -2015,6 +2256,8 @@ public Builder setNodeSettings( return this; } /** + * + * *
      * Settings for Node client libraries.
      * 
@@ -2023,9 +2266,9 @@ public Builder setNodeSettings( */ public Builder mergeNodeSettings(com.google.api.NodeSettings value) { if (nodeSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - nodeSettings_ != null && - nodeSettings_ != com.google.api.NodeSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && nodeSettings_ != null + && nodeSettings_ != com.google.api.NodeSettings.getDefaultInstance()) { getNodeSettingsBuilder().mergeFrom(value); } else { nodeSettings_ = value; @@ -2038,6 +2281,8 @@ public Builder mergeNodeSettings(com.google.api.NodeSettings value) { return this; } /** + * + * *
      * Settings for Node client libraries.
      * 
@@ -2055,6 +2300,8 @@ public Builder clearNodeSettings() { return this; } /** + * + * *
      * Settings for Node client libraries.
      * 
@@ -2067,6 +2314,8 @@ public com.google.api.NodeSettings.Builder getNodeSettingsBuilder() { return getNodeSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Settings for Node client libraries.
      * 
@@ -2077,11 +2326,14 @@ public com.google.api.NodeSettingsOrBuilder getNodeSettingsOrBuilder() { if (nodeSettingsBuilder_ != null) { return nodeSettingsBuilder_.getMessageOrBuilder(); } else { - return nodeSettings_ == null ? - com.google.api.NodeSettings.getDefaultInstance() : nodeSettings_; + return nodeSettings_ == null + ? com.google.api.NodeSettings.getDefaultInstance() + : nodeSettings_; } } /** + * + * *
      * Settings for Node client libraries.
      * 
@@ -2089,14 +2341,17 @@ public com.google.api.NodeSettingsOrBuilder getNodeSettingsOrBuilder() { * .google.api.NodeSettings node_settings = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.NodeSettings, com.google.api.NodeSettings.Builder, com.google.api.NodeSettingsOrBuilder> + com.google.api.NodeSettings, + com.google.api.NodeSettings.Builder, + com.google.api.NodeSettingsOrBuilder> getNodeSettingsFieldBuilder() { if (nodeSettingsBuilder_ == null) { - nodeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.NodeSettings, com.google.api.NodeSettings.Builder, com.google.api.NodeSettingsOrBuilder>( - getNodeSettings(), - getParentForChildren(), - isClean()); + nodeSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.NodeSettings, + com.google.api.NodeSettings.Builder, + com.google.api.NodeSettingsOrBuilder>( + getNodeSettings(), getParentForChildren(), isClean()); nodeSettings_ = null; } return nodeSettingsBuilder_; @@ -2104,34 +2359,47 @@ public com.google.api.NodeSettingsOrBuilder getNodeSettingsOrBuilder() { private com.google.api.DotnetSettings dotnetSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.DotnetSettings, com.google.api.DotnetSettings.Builder, com.google.api.DotnetSettingsOrBuilder> dotnetSettingsBuilder_; + com.google.api.DotnetSettings, + com.google.api.DotnetSettings.Builder, + com.google.api.DotnetSettingsOrBuilder> + dotnetSettingsBuilder_; /** + * + * *
      * Settings for .NET client libraries.
      * 
* * .google.api.DotnetSettings dotnet_settings = 26; + * * @return Whether the dotnetSettings field is set. */ public boolean hasDotnetSettings() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Settings for .NET client libraries.
      * 
* * .google.api.DotnetSettings dotnet_settings = 26; + * * @return The dotnetSettings. */ public com.google.api.DotnetSettings getDotnetSettings() { if (dotnetSettingsBuilder_ == null) { - return dotnetSettings_ == null ? com.google.api.DotnetSettings.getDefaultInstance() : dotnetSettings_; + return dotnetSettings_ == null + ? com.google.api.DotnetSettings.getDefaultInstance() + : dotnetSettings_; } else { return dotnetSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for .NET client libraries.
      * 
@@ -2152,14 +2420,15 @@ public Builder setDotnetSettings(com.google.api.DotnetSettings value) { return this; } /** + * + * *
      * Settings for .NET client libraries.
      * 
* * .google.api.DotnetSettings dotnet_settings = 26; */ - public Builder setDotnetSettings( - com.google.api.DotnetSettings.Builder builderForValue) { + public Builder setDotnetSettings(com.google.api.DotnetSettings.Builder builderForValue) { if (dotnetSettingsBuilder_ == null) { dotnetSettings_ = builderForValue.build(); } else { @@ -2170,6 +2439,8 @@ public Builder setDotnetSettings( return this; } /** + * + * *
      * Settings for .NET client libraries.
      * 
@@ -2178,9 +2449,9 @@ public Builder setDotnetSettings( */ public Builder mergeDotnetSettings(com.google.api.DotnetSettings value) { if (dotnetSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - dotnetSettings_ != null && - dotnetSettings_ != com.google.api.DotnetSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && dotnetSettings_ != null + && dotnetSettings_ != com.google.api.DotnetSettings.getDefaultInstance()) { getDotnetSettingsBuilder().mergeFrom(value); } else { dotnetSettings_ = value; @@ -2193,6 +2464,8 @@ public Builder mergeDotnetSettings(com.google.api.DotnetSettings value) { return this; } /** + * + * *
      * Settings for .NET client libraries.
      * 
@@ -2210,6 +2483,8 @@ public Builder clearDotnetSettings() { return this; } /** + * + * *
      * Settings for .NET client libraries.
      * 
@@ -2222,6 +2497,8 @@ public com.google.api.DotnetSettings.Builder getDotnetSettingsBuilder() { return getDotnetSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Settings for .NET client libraries.
      * 
@@ -2232,11 +2509,14 @@ public com.google.api.DotnetSettingsOrBuilder getDotnetSettingsOrBuilder() { if (dotnetSettingsBuilder_ != null) { return dotnetSettingsBuilder_.getMessageOrBuilder(); } else { - return dotnetSettings_ == null ? - com.google.api.DotnetSettings.getDefaultInstance() : dotnetSettings_; + return dotnetSettings_ == null + ? com.google.api.DotnetSettings.getDefaultInstance() + : dotnetSettings_; } } /** + * + * *
      * Settings for .NET client libraries.
      * 
@@ -2244,14 +2524,17 @@ public com.google.api.DotnetSettingsOrBuilder getDotnetSettingsOrBuilder() { * .google.api.DotnetSettings dotnet_settings = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.DotnetSettings, com.google.api.DotnetSettings.Builder, com.google.api.DotnetSettingsOrBuilder> + com.google.api.DotnetSettings, + com.google.api.DotnetSettings.Builder, + com.google.api.DotnetSettingsOrBuilder> getDotnetSettingsFieldBuilder() { if (dotnetSettingsBuilder_ == null) { - dotnetSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.DotnetSettings, com.google.api.DotnetSettings.Builder, com.google.api.DotnetSettingsOrBuilder>( - getDotnetSettings(), - getParentForChildren(), - isClean()); + dotnetSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.DotnetSettings, + com.google.api.DotnetSettings.Builder, + com.google.api.DotnetSettingsOrBuilder>( + getDotnetSettings(), getParentForChildren(), isClean()); dotnetSettings_ = null; } return dotnetSettingsBuilder_; @@ -2259,34 +2542,47 @@ public com.google.api.DotnetSettingsOrBuilder getDotnetSettingsOrBuilder() { private com.google.api.RubySettings rubySettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.RubySettings, com.google.api.RubySettings.Builder, com.google.api.RubySettingsOrBuilder> rubySettingsBuilder_; + com.google.api.RubySettings, + com.google.api.RubySettings.Builder, + com.google.api.RubySettingsOrBuilder> + rubySettingsBuilder_; /** + * + * *
      * Settings for Ruby client libraries.
      * 
* * .google.api.RubySettings ruby_settings = 27; + * * @return Whether the rubySettings field is set. */ public boolean hasRubySettings() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Settings for Ruby client libraries.
      * 
* * .google.api.RubySettings ruby_settings = 27; + * * @return The rubySettings. */ public com.google.api.RubySettings getRubySettings() { if (rubySettingsBuilder_ == null) { - return rubySettings_ == null ? com.google.api.RubySettings.getDefaultInstance() : rubySettings_; + return rubySettings_ == null + ? com.google.api.RubySettings.getDefaultInstance() + : rubySettings_; } else { return rubySettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for Ruby client libraries.
      * 
@@ -2307,14 +2603,15 @@ public Builder setRubySettings(com.google.api.RubySettings value) { return this; } /** + * + * *
      * Settings for Ruby client libraries.
      * 
* * .google.api.RubySettings ruby_settings = 27; */ - public Builder setRubySettings( - com.google.api.RubySettings.Builder builderForValue) { + public Builder setRubySettings(com.google.api.RubySettings.Builder builderForValue) { if (rubySettingsBuilder_ == null) { rubySettings_ = builderForValue.build(); } else { @@ -2325,6 +2622,8 @@ public Builder setRubySettings( return this; } /** + * + * *
      * Settings for Ruby client libraries.
      * 
@@ -2333,9 +2632,9 @@ public Builder setRubySettings( */ public Builder mergeRubySettings(com.google.api.RubySettings value) { if (rubySettingsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - rubySettings_ != null && - rubySettings_ != com.google.api.RubySettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && rubySettings_ != null + && rubySettings_ != com.google.api.RubySettings.getDefaultInstance()) { getRubySettingsBuilder().mergeFrom(value); } else { rubySettings_ = value; @@ -2348,6 +2647,8 @@ public Builder mergeRubySettings(com.google.api.RubySettings value) { return this; } /** + * + * *
      * Settings for Ruby client libraries.
      * 
@@ -2365,6 +2666,8 @@ public Builder clearRubySettings() { return this; } /** + * + * *
      * Settings for Ruby client libraries.
      * 
@@ -2377,6 +2680,8 @@ public com.google.api.RubySettings.Builder getRubySettingsBuilder() { return getRubySettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Settings for Ruby client libraries.
      * 
@@ -2387,11 +2692,14 @@ public com.google.api.RubySettingsOrBuilder getRubySettingsOrBuilder() { if (rubySettingsBuilder_ != null) { return rubySettingsBuilder_.getMessageOrBuilder(); } else { - return rubySettings_ == null ? - com.google.api.RubySettings.getDefaultInstance() : rubySettings_; + return rubySettings_ == null + ? com.google.api.RubySettings.getDefaultInstance() + : rubySettings_; } } /** + * + * *
      * Settings for Ruby client libraries.
      * 
@@ -2399,14 +2707,17 @@ public com.google.api.RubySettingsOrBuilder getRubySettingsOrBuilder() { * .google.api.RubySettings ruby_settings = 27; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.RubySettings, com.google.api.RubySettings.Builder, com.google.api.RubySettingsOrBuilder> + com.google.api.RubySettings, + com.google.api.RubySettings.Builder, + com.google.api.RubySettingsOrBuilder> getRubySettingsFieldBuilder() { if (rubySettingsBuilder_ == null) { - rubySettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.RubySettings, com.google.api.RubySettings.Builder, com.google.api.RubySettingsOrBuilder>( - getRubySettings(), - getParentForChildren(), - isClean()); + rubySettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.RubySettings, + com.google.api.RubySettings.Builder, + com.google.api.RubySettingsOrBuilder>( + getRubySettings(), getParentForChildren(), isClean()); rubySettings_ = null; } return rubySettingsBuilder_; @@ -2414,24 +2725,33 @@ public com.google.api.RubySettingsOrBuilder getRubySettingsOrBuilder() { private com.google.api.GoSettings goSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.GoSettings, com.google.api.GoSettings.Builder, com.google.api.GoSettingsOrBuilder> goSettingsBuilder_; + com.google.api.GoSettings, + com.google.api.GoSettings.Builder, + com.google.api.GoSettingsOrBuilder> + goSettingsBuilder_; /** + * + * *
      * Settings for Go client libraries.
      * 
* * .google.api.GoSettings go_settings = 28; + * * @return Whether the goSettings field is set. */ public boolean hasGoSettings() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Settings for Go client libraries.
      * 
* * .google.api.GoSettings go_settings = 28; + * * @return The goSettings. */ public com.google.api.GoSettings getGoSettings() { @@ -2442,6 +2762,8 @@ public com.google.api.GoSettings getGoSettings() { } } /** + * + * *
      * Settings for Go client libraries.
      * 
@@ -2462,14 +2784,15 @@ public Builder setGoSettings(com.google.api.GoSettings value) { return this; } /** + * + * *
      * Settings for Go client libraries.
      * 
* * .google.api.GoSettings go_settings = 28; */ - public Builder setGoSettings( - com.google.api.GoSettings.Builder builderForValue) { + public Builder setGoSettings(com.google.api.GoSettings.Builder builderForValue) { if (goSettingsBuilder_ == null) { goSettings_ = builderForValue.build(); } else { @@ -2480,6 +2803,8 @@ public Builder setGoSettings( return this; } /** + * + * *
      * Settings for Go client libraries.
      * 
@@ -2488,9 +2813,9 @@ public Builder setGoSettings( */ public Builder mergeGoSettings(com.google.api.GoSettings value) { if (goSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - goSettings_ != null && - goSettings_ != com.google.api.GoSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && goSettings_ != null + && goSettings_ != com.google.api.GoSettings.getDefaultInstance()) { getGoSettingsBuilder().mergeFrom(value); } else { goSettings_ = value; @@ -2503,6 +2828,8 @@ public Builder mergeGoSettings(com.google.api.GoSettings value) { return this; } /** + * + * *
      * Settings for Go client libraries.
      * 
@@ -2520,6 +2847,8 @@ public Builder clearGoSettings() { return this; } /** + * + * *
      * Settings for Go client libraries.
      * 
@@ -2532,6 +2861,8 @@ public com.google.api.GoSettings.Builder getGoSettingsBuilder() { return getGoSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Settings for Go client libraries.
      * 
@@ -2542,11 +2873,12 @@ public com.google.api.GoSettingsOrBuilder getGoSettingsOrBuilder() { if (goSettingsBuilder_ != null) { return goSettingsBuilder_.getMessageOrBuilder(); } else { - return goSettings_ == null ? - com.google.api.GoSettings.getDefaultInstance() : goSettings_; + return goSettings_ == null ? com.google.api.GoSettings.getDefaultInstance() : goSettings_; } } /** + * + * *
      * Settings for Go client libraries.
      * 
@@ -2554,21 +2886,24 @@ public com.google.api.GoSettingsOrBuilder getGoSettingsOrBuilder() { * .google.api.GoSettings go_settings = 28; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.GoSettings, com.google.api.GoSettings.Builder, com.google.api.GoSettingsOrBuilder> + com.google.api.GoSettings, + com.google.api.GoSettings.Builder, + com.google.api.GoSettingsOrBuilder> getGoSettingsFieldBuilder() { if (goSettingsBuilder_ == null) { - goSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.GoSettings, com.google.api.GoSettings.Builder, com.google.api.GoSettingsOrBuilder>( - getGoSettings(), - getParentForChildren(), - isClean()); + goSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.GoSettings, + com.google.api.GoSettings.Builder, + com.google.api.GoSettingsOrBuilder>( + getGoSettings(), getParentForChildren(), isClean()); goSettings_ = null; } return goSettingsBuilder_; } + @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); } @@ -2578,12 +2913,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.ClientLibrarySettings) } // @@protoc_insertion_point(class_scope:google.api.ClientLibrarySettings) private static final com.google.api.ClientLibrarySettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.ClientLibrarySettings(); } @@ -2592,27 +2927,27 @@ public static com.google.api.ClientLibrarySettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientLibrarySettings 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 ClientLibrarySettings 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; @@ -2627,6 +2962,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.ClientLibrarySettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java similarity index 86% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java index 76425ce1d9..e44a81fa71 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface ClientLibrarySettingsOrBuilder extends +public interface ClientLibrarySettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.ClientLibrarySettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Version of the API to apply these settings to. This is the full protobuf
    * package for the API, ending in the version element.
@@ -15,10 +33,13 @@ public interface ClientLibrarySettingsOrBuilder extends
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Version of the API to apply these settings to. This is the full protobuf
    * package for the API, ending in the version element.
@@ -26,60 +47,77 @@ public interface ClientLibrarySettingsOrBuilder extends
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Launch stage of this version of the API.
    * 
* * .google.api.LaunchStage launch_stage = 2; + * * @return The enum numeric value on the wire for launchStage. */ int getLaunchStageValue(); /** + * + * *
    * Launch stage of this version of the API.
    * 
* * .google.api.LaunchStage launch_stage = 2; + * * @return The launchStage. */ com.google.api.LaunchStage getLaunchStage(); /** + * + * *
    * When using transport=rest, the client request will encode enums as
    * numbers rather than strings.
    * 
* * bool rest_numeric_enums = 3; + * * @return The restNumericEnums. */ boolean getRestNumericEnums(); /** + * + * *
    * Settings for legacy Java features, supported in the Service YAML.
    * 
* * .google.api.JavaSettings java_settings = 21; + * * @return Whether the javaSettings field is set. */ boolean hasJavaSettings(); /** + * + * *
    * Settings for legacy Java features, supported in the Service YAML.
    * 
* * .google.api.JavaSettings java_settings = 21; + * * @return The javaSettings. */ com.google.api.JavaSettings getJavaSettings(); /** + * + * *
    * Settings for legacy Java features, supported in the Service YAML.
    * 
@@ -89,24 +127,32 @@ public interface ClientLibrarySettingsOrBuilder extends com.google.api.JavaSettingsOrBuilder getJavaSettingsOrBuilder(); /** + * + * *
    * Settings for C++ client libraries.
    * 
* * .google.api.CppSettings cpp_settings = 22; + * * @return Whether the cppSettings field is set. */ boolean hasCppSettings(); /** + * + * *
    * Settings for C++ client libraries.
    * 
* * .google.api.CppSettings cpp_settings = 22; + * * @return The cppSettings. */ com.google.api.CppSettings getCppSettings(); /** + * + * *
    * Settings for C++ client libraries.
    * 
@@ -116,24 +162,32 @@ public interface ClientLibrarySettingsOrBuilder extends com.google.api.CppSettingsOrBuilder getCppSettingsOrBuilder(); /** + * + * *
    * Settings for PHP client libraries.
    * 
* * .google.api.PhpSettings php_settings = 23; + * * @return Whether the phpSettings field is set. */ boolean hasPhpSettings(); /** + * + * *
    * Settings for PHP client libraries.
    * 
* * .google.api.PhpSettings php_settings = 23; + * * @return The phpSettings. */ com.google.api.PhpSettings getPhpSettings(); /** + * + * *
    * Settings for PHP client libraries.
    * 
@@ -143,24 +197,32 @@ public interface ClientLibrarySettingsOrBuilder extends com.google.api.PhpSettingsOrBuilder getPhpSettingsOrBuilder(); /** + * + * *
    * Settings for Python client libraries.
    * 
* * .google.api.PythonSettings python_settings = 24; + * * @return Whether the pythonSettings field is set. */ boolean hasPythonSettings(); /** + * + * *
    * Settings for Python client libraries.
    * 
* * .google.api.PythonSettings python_settings = 24; + * * @return The pythonSettings. */ com.google.api.PythonSettings getPythonSettings(); /** + * + * *
    * Settings for Python client libraries.
    * 
@@ -170,24 +232,32 @@ public interface ClientLibrarySettingsOrBuilder extends com.google.api.PythonSettingsOrBuilder getPythonSettingsOrBuilder(); /** + * + * *
    * Settings for Node client libraries.
    * 
* * .google.api.NodeSettings node_settings = 25; + * * @return Whether the nodeSettings field is set. */ boolean hasNodeSettings(); /** + * + * *
    * Settings for Node client libraries.
    * 
* * .google.api.NodeSettings node_settings = 25; + * * @return The nodeSettings. */ com.google.api.NodeSettings getNodeSettings(); /** + * + * *
    * Settings for Node client libraries.
    * 
@@ -197,24 +267,32 @@ public interface ClientLibrarySettingsOrBuilder extends com.google.api.NodeSettingsOrBuilder getNodeSettingsOrBuilder(); /** + * + * *
    * Settings for .NET client libraries.
    * 
* * .google.api.DotnetSettings dotnet_settings = 26; + * * @return Whether the dotnetSettings field is set. */ boolean hasDotnetSettings(); /** + * + * *
    * Settings for .NET client libraries.
    * 
* * .google.api.DotnetSettings dotnet_settings = 26; + * * @return The dotnetSettings. */ com.google.api.DotnetSettings getDotnetSettings(); /** + * + * *
    * Settings for .NET client libraries.
    * 
@@ -224,24 +302,32 @@ public interface ClientLibrarySettingsOrBuilder extends com.google.api.DotnetSettingsOrBuilder getDotnetSettingsOrBuilder(); /** + * + * *
    * Settings for Ruby client libraries.
    * 
* * .google.api.RubySettings ruby_settings = 27; + * * @return Whether the rubySettings field is set. */ boolean hasRubySettings(); /** + * + * *
    * Settings for Ruby client libraries.
    * 
* * .google.api.RubySettings ruby_settings = 27; + * * @return The rubySettings. */ com.google.api.RubySettings getRubySettings(); /** + * + * *
    * Settings for Ruby client libraries.
    * 
@@ -251,24 +337,32 @@ public interface ClientLibrarySettingsOrBuilder extends com.google.api.RubySettingsOrBuilder getRubySettingsOrBuilder(); /** + * + * *
    * Settings for Go client libraries.
    * 
* * .google.api.GoSettings go_settings = 28; + * * @return Whether the goSettings field is set. */ boolean hasGoSettings(); /** + * + * *
    * Settings for Go client libraries.
    * 
* * .google.api.GoSettings go_settings = 28; + * * @return The goSettings. */ com.google.api.GoSettings getGoSettings(); /** + * + * *
    * Settings for Go client libraries.
    * 
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 new file mode 100644 index 0000000000..8c8f14f0e7 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java @@ -0,0 +1,455 @@ +/* + * 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> + methodSignature = + com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension( + java.lang.String.class, null); + + public static final int DEFAULT_HOST_FIELD_NUMBER = 1049; + /** + * + * + *
+   * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java similarity index 72% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java index 37e718ad44..03c8121546 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java @@ -1,24 +1,42 @@ +/* + * 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; /** + * + * *
  * Required information for every language.
  * 
* * Protobuf type {@code google.api.CommonLanguageSettings} */ -public final class CommonLanguageSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommonLanguageSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.CommonLanguageSettings) CommonLanguageSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommonLanguageSettings.newBuilder() to construct. private CommonLanguageSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommonLanguageSettings() { referenceDocsUri_ = ""; destinations_ = java.util.Collections.emptyList(); @@ -26,70 +44,76 @@ private CommonLanguageSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommonLanguageSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_CommonLanguageSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.ClientProto.internal_static_google_api_CommonLanguageSettings_fieldAccessorTable + return com.google.api.ClientProto + .internal_static_google_api_CommonLanguageSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.CommonLanguageSettings.class, com.google.api.CommonLanguageSettings.Builder.class); + com.google.api.CommonLanguageSettings.class, + com.google.api.CommonLanguageSettings.Builder.class); } public static final int REFERENCE_DOCS_URI_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object referenceDocsUri_ = ""; /** + * + * *
    * Link to automatically generated reference documentation.  Example:
    * https://cloud.google.com/nodejs/docs/reference/asset/latest
    * 
* * string reference_docs_uri = 1 [deprecated = true]; - * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. - * See google/api/client.proto;l=106 + * + * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See + * google/api/client.proto;l=106 * @return The referenceDocsUri. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getReferenceDocsUri() { + @java.lang.Deprecated + public java.lang.String getReferenceDocsUri() { java.lang.Object ref = referenceDocsUri_; 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(); referenceDocsUri_ = s; return s; } } /** + * + * *
    * Link to automatically generated reference documentation.  Example:
    * https://cloud.google.com/nodejs/docs/reference/asset/latest
    * 
* * string reference_docs_uri = 1 [deprecated = true]; - * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. - * See google/api/client.proto;l=106 + * + * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See + * google/api/client.proto;l=106 * @return The bytes for referenceDocsUri. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getReferenceDocsUriBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getReferenceDocsUriBytes() { java.lang.Object ref = referenceDocsUri_; 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); referenceDocsUri_ = b; return b; } else { @@ -98,36 +122,47 @@ protected java.lang.Object newInstance( } public static final int DESTINATIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List destinations_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.api.ClientLibraryDestination> destinations_converter_ = + java.lang.Integer, com.google.api.ClientLibraryDestination> + destinations_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.api.ClientLibraryDestination>() { public com.google.api.ClientLibraryDestination convert(java.lang.Integer from) { - com.google.api.ClientLibraryDestination result = com.google.api.ClientLibraryDestination.forNumber(from); + com.google.api.ClientLibraryDestination result = + com.google.api.ClientLibraryDestination.forNumber(from); return result == null ? com.google.api.ClientLibraryDestination.UNRECOGNIZED : result; } }; /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return A list containing the destinations. */ @java.lang.Override public java.util.List getDestinationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.api.ClientLibraryDestination>(destinations_, destinations_converter_); + java.lang.Integer, com.google.api.ClientLibraryDestination>( + destinations_, destinations_converter_); } /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return The count of destinations. */ @java.lang.Override @@ -135,11 +170,14 @@ public int getDestinationsCount() { return destinations_.size(); } /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param index The index of the element to return. * @return The destinations at the given index. */ @@ -148,24 +186,29 @@ public com.google.api.ClientLibraryDestination getDestinations(int index) { return destinations_converter_.convert(destinations_.get(index)); } /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return A list containing the enum numeric values on the wire for destinations. */ @java.lang.Override - public java.util.List - getDestinationsValueList() { + public java.util.List getDestinationsValueList() { return destinations_; } /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of destinations at the given index. */ @@ -173,9 +216,11 @@ public com.google.api.ClientLibraryDestination getDestinations(int index) { public int getDestinationsValue(int index) { return destinations_.get(index); } + private int destinationsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,8 +232,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceDocsUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, referenceDocsUri_); @@ -215,14 +259,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < destinations_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(destinations_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(destinations_.get(i)); } size += dataSize; - if (!getDestinationsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }destinationsMemoizedSerializedSize = dataSize; + if (!getDestinationsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + destinationsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -232,15 +277,14 @@ 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.CommonLanguageSettings)) { return super.equals(obj); } com.google.api.CommonLanguageSettings other = (com.google.api.CommonLanguageSettings) obj; - if (!getReferenceDocsUri() - .equals(other.getReferenceDocsUri())) return false; + if (!getReferenceDocsUri().equals(other.getReferenceDocsUri())) return false; if (!destinations_.equals(other.destinations_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -264,132 +308,135 @@ public int hashCode() { return hash; } - public static com.google.api.CommonLanguageSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.CommonLanguageSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.CommonLanguageSettings 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.CommonLanguageSettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.CommonLanguageSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.CommonLanguageSettings 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.CommonLanguageSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.CommonLanguageSettings 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.CommonLanguageSettings 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.CommonLanguageSettings 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.CommonLanguageSettings 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.CommonLanguageSettings 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.CommonLanguageSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.CommonLanguageSettings 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.CommonLanguageSettings 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; } /** + * + * *
    * Required information for every language.
    * 
* * Protobuf type {@code google.api.CommonLanguageSettings} */ - 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.CommonLanguageSettings) com.google.api.CommonLanguageSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.api.ClientProto.internal_static_google_api_CommonLanguageSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.api.ClientProto + .internal_static_google_api_CommonLanguageSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.ClientProto.internal_static_google_api_CommonLanguageSettings_fieldAccessorTable + return com.google.api.ClientProto + .internal_static_google_api_CommonLanguageSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.CommonLanguageSettings.class, com.google.api.CommonLanguageSettings.Builder.class); + com.google.api.CommonLanguageSettings.class, + com.google.api.CommonLanguageSettings.Builder.class); } // Construct using com.google.api.CommonLanguageSettings.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.api.ClientProto.internal_static_google_api_CommonLanguageSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.api.ClientProto + .internal_static_google_api_CommonLanguageSettings_descriptor; } @java.lang.Override @@ -422,9 +469,12 @@ public com.google.api.CommonLanguageSettings build() { @java.lang.Override public com.google.api.CommonLanguageSettings buildPartial() { - com.google.api.CommonLanguageSettings result = new com.google.api.CommonLanguageSettings(this); + com.google.api.CommonLanguageSettings result = + new com.google.api.CommonLanguageSettings(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -448,38 +498,39 @@ private void buildPartial0(com.google.api.CommonLanguageSettings 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.CommonLanguageSettings) { - return mergeFrom((com.google.api.CommonLanguageSettings)other); + return mergeFrom((com.google.api.CommonLanguageSettings) other); } else { super.mergeFrom(other); return this; @@ -529,34 +580,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - referenceDocsUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - int tmpRaw = input.readEnum(); - ensureDestinationsIsMutable(); - destinations_.add(tmpRaw); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + referenceDocsUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { int tmpRaw = input.readEnum(); ensureDestinationsIsMutable(); destinations_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureDestinationsIsMutable(); + destinations_.add(tmpRaw); + } + input.popLimit(oldLimit); + 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) { @@ -566,25 +621,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object referenceDocsUri_ = ""; /** + * + * *
      * Link to automatically generated reference documentation.  Example:
      * https://cloud.google.com/nodejs/docs/reference/asset/latest
      * 
* * string reference_docs_uri = 1 [deprecated = true]; - * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. - * See google/api/client.proto;l=106 + * + * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See + * google/api/client.proto;l=106 * @return The referenceDocsUri. */ - @java.lang.Deprecated public java.lang.String getReferenceDocsUri() { + @java.lang.Deprecated + public java.lang.String getReferenceDocsUri() { java.lang.Object ref = referenceDocsUri_; 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(); referenceDocsUri_ = s; return s; @@ -593,23 +652,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Link to automatically generated reference documentation.  Example:
      * https://cloud.google.com/nodejs/docs/reference/asset/latest
      * 
* * string reference_docs_uri = 1 [deprecated = true]; - * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. - * See google/api/client.proto;l=106 + * + * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See + * google/api/client.proto;l=106 * @return The bytes for referenceDocsUri. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getReferenceDocsUriBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getReferenceDocsUriBytes() { java.lang.Object ref = referenceDocsUri_; 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); referenceDocsUri_ = b; return b; } else { @@ -617,57 +678,71 @@ public Builder mergeFrom( } } /** + * + * *
      * Link to automatically generated reference documentation.  Example:
      * https://cloud.google.com/nodejs/docs/reference/asset/latest
      * 
* * string reference_docs_uri = 1 [deprecated = true]; - * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. - * See google/api/client.proto;l=106 + * + * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See + * google/api/client.proto;l=106 * @param value The referenceDocsUri to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setReferenceDocsUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setReferenceDocsUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } referenceDocsUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Link to automatically generated reference documentation.  Example:
      * https://cloud.google.com/nodejs/docs/reference/asset/latest
      * 
* * string reference_docs_uri = 1 [deprecated = true]; - * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. - * See google/api/client.proto;l=106 + * + * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See + * google/api/client.proto;l=106 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearReferenceDocsUri() { + @java.lang.Deprecated + public Builder clearReferenceDocsUri() { referenceDocsUri_ = getDefaultInstance().getReferenceDocsUri(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** + * + * *
      * Link to automatically generated reference documentation.  Example:
      * https://cloud.google.com/nodejs/docs/reference/asset/latest
      * 
* * string reference_docs_uri = 1 [deprecated = true]; - * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. - * See google/api/client.proto;l=106 + * + * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See + * google/api/client.proto;l=106 * @param value The bytes for referenceDocsUri to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setReferenceDocsUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setReferenceDocsUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); referenceDocsUri_ = value; bitField0_ |= 0x00000001; @@ -675,8 +750,8 @@ public Builder mergeFrom( return this; } - private java.util.List destinations_ = - java.util.Collections.emptyList(); + private java.util.List destinations_ = java.util.Collections.emptyList(); + private void ensureDestinationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { destinations_ = new java.util.ArrayList(destinations_); @@ -684,34 +759,44 @@ private void ensureDestinationsIsMutable() { } } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return A list containing the destinations. */ public java.util.List getDestinationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.api.ClientLibraryDestination>(destinations_, destinations_converter_); + java.lang.Integer, com.google.api.ClientLibraryDestination>( + destinations_, destinations_converter_); } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return The count of destinations. */ public int getDestinationsCount() { return destinations_.size(); } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param index The index of the element to return. * @return The destinations at the given index. */ @@ -719,17 +804,19 @@ public com.google.api.ClientLibraryDestination getDestinations(int index) { return destinations_converter_.convert(destinations_.get(index)); } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param index The index to set the value at. * @param value The destinations to set. * @return This builder for chaining. */ - public Builder setDestinations( - int index, com.google.api.ClientLibraryDestination value) { + public Builder setDestinations(int index, com.google.api.ClientLibraryDestination value) { if (value == null) { throw new NullPointerException(); } @@ -739,11 +826,14 @@ public Builder setDestinations( return this; } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param value The destinations to add. * @return This builder for chaining. */ @@ -757,11 +847,14 @@ public Builder addDestinations(com.google.api.ClientLibraryDestination value) { return this; } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param values The destinations to add. * @return This builder for chaining. */ @@ -775,11 +868,14 @@ public Builder addAllDestinations( return this; } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return This builder for chaining. */ public Builder clearDestinations() { @@ -789,23 +885,28 @@ public Builder clearDestinations() { return this; } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return A list containing the enum numeric values on the wire for destinations. */ - public java.util.List - getDestinationsValueList() { + public java.util.List getDestinationsValueList() { return java.util.Collections.unmodifiableList(destinations_); } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of destinations at the given index. */ @@ -813,28 +914,33 @@ public int getDestinationsValue(int index) { return destinations_.get(index); } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for destinations to set. * @return This builder for chaining. */ - public Builder setDestinationsValue( - int index, int value) { + public Builder setDestinationsValue(int index, int value) { ensureDestinationsIsMutable(); destinations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param value The enum numeric value on the wire for destinations to add. * @return This builder for chaining. */ @@ -845,16 +951,18 @@ public Builder addDestinationsValue(int value) { return this; } /** + * + * *
      * The destination where API teams want this client library to be published.
      * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param values The enum numeric values on the wire for destinations to add. * @return This builder for chaining. */ - public Builder addAllDestinationsValue( - java.lang.Iterable values) { + public Builder addAllDestinationsValue(java.lang.Iterable values) { ensureDestinationsIsMutable(); for (int value : values) { destinations_.add(value); @@ -862,9 +970,9 @@ public Builder addAllDestinationsValue( 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); } @@ -874,12 +982,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.CommonLanguageSettings) } // @@protoc_insertion_point(class_scope:google.api.CommonLanguageSettings) private static final com.google.api.CommonLanguageSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.CommonLanguageSettings(); } @@ -888,27 +996,27 @@ public static com.google.api.CommonLanguageSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommonLanguageSettings 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 CommonLanguageSettings 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; @@ -923,6 +1031,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.CommonLanguageSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java similarity index 70% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java index dff65ea6c6..1dbffe6651 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java @@ -1,82 +1,119 @@ +/* + * 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 interface CommonLanguageSettingsOrBuilder extends +public interface CommonLanguageSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.CommonLanguageSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Link to automatically generated reference documentation.  Example:
    * https://cloud.google.com/nodejs/docs/reference/asset/latest
    * 
* * string reference_docs_uri = 1 [deprecated = true]; - * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. - * See google/api/client.proto;l=106 + * + * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See + * google/api/client.proto;l=106 * @return The referenceDocsUri. */ - @java.lang.Deprecated java.lang.String getReferenceDocsUri(); + @java.lang.Deprecated + java.lang.String getReferenceDocsUri(); /** + * + * *
    * Link to automatically generated reference documentation.  Example:
    * https://cloud.google.com/nodejs/docs/reference/asset/latest
    * 
* * string reference_docs_uri = 1 [deprecated = true]; - * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. - * See google/api/client.proto;l=106 + * + * @deprecated google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See + * google/api/client.proto;l=106 * @return The bytes for referenceDocsUri. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getReferenceDocsUriBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getReferenceDocsUriBytes(); /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return A list containing the destinations. */ java.util.List getDestinationsList(); /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return The count of destinations. */ int getDestinationsCount(); /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param index The index of the element to return. * @return The destinations at the given index. */ com.google.api.ClientLibraryDestination getDestinations(int index); /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @return A list containing the enum numeric values on the wire for destinations. */ - java.util.List - getDestinationsValueList(); + java.util.List getDestinationsValueList(); /** + * + * *
    * The destination where API teams want this client library to be published.
    * 
* * repeated .google.api.ClientLibraryDestination destinations = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of destinations at the given index. */ diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java similarity index 77% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java index 2f2ce12862..df71d42187 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Output generated from semantically comparing two versions of a service
  * configuration.
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.api.ConfigChange}
  */
-public final class ConfigChange extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ConfigChange extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.ConfigChange)
     ConfigChangeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ConfigChange.newBuilder() to construct.
   private ConfigChange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ConfigChange() {
     element_ = "";
     oldValue_ = "";
@@ -34,28 +52,30 @@ private ConfigChange() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ConfigChange();
   }
 
-  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_ConfigChange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.ConfigChangeProto.internal_static_google_api_ConfigChange_fieldAccessorTable
+    return com.google.api.ConfigChangeProto
+        .internal_static_google_api_ConfigChange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.api.ConfigChange.class, com.google.api.ConfigChange.Builder.class);
   }
 
   public static final int ELEMENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object element_ = "";
   /**
+   *
+   *
    * 
    * Object hierarchy path to the change, with levels separated by a '.'
    * character. For repeated fields, an applicable unique identifier field is
@@ -69,6 +89,7 @@ protected java.lang.Object newInstance(
    * 
* * string element = 1; + * * @return The element. */ @java.lang.Override @@ -77,14 +98,15 @@ public java.lang.String getElement() { 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(); element_ = s; return s; } } /** + * + * *
    * Object hierarchy path to the change, with levels separated by a '.'
    * character. For repeated fields, an applicable unique identifier field is
@@ -98,16 +120,15 @@ public java.lang.String getElement() {
    * 
* * string element = 1; + * * @return The bytes for element. */ @java.lang.Override - public com.google.protobuf.ByteString - getElementBytes() { + public com.google.protobuf.ByteString getElementBytes() { java.lang.Object ref = element_; 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); element_ = b; return b; } else { @@ -116,15 +137,19 @@ public java.lang.String getElement() { } public static final int OLD_VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object oldValue_ = ""; /** + * + * *
    * Value of the changed object in the old Service configuration,
    * in JSON format. This field will not be populated if ChangeType == ADDED.
    * 
* * string old_value = 2; + * * @return The oldValue. */ @java.lang.Override @@ -133,30 +158,30 @@ public java.lang.String getOldValue() { 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(); oldValue_ = s; return s; } } /** + * + * *
    * Value of the changed object in the old Service configuration,
    * in JSON format. This field will not be populated if ChangeType == ADDED.
    * 
* * string old_value = 2; + * * @return The bytes for oldValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getOldValueBytes() { + public com.google.protobuf.ByteString getOldValueBytes() { java.lang.Object ref = oldValue_; 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); oldValue_ = b; return b; } else { @@ -165,15 +190,19 @@ public java.lang.String getOldValue() { } public static final int NEW_VALUE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object newValue_ = ""; /** + * + * *
    * Value of the changed object in the new Service configuration,
    * in JSON format. This field will not be populated if ChangeType == REMOVED.
    * 
* * string new_value = 3; + * * @return The newValue. */ @java.lang.Override @@ -182,30 +211,30 @@ public java.lang.String getNewValue() { 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(); newValue_ = s; return s; } } /** + * + * *
    * Value of the changed object in the new Service configuration,
    * in JSON format. This field will not be populated if ChangeType == REMOVED.
    * 
* * string new_value = 3; + * * @return The bytes for newValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewValueBytes() { + public com.google.protobuf.ByteString getNewValueBytes() { java.lang.Object ref = newValue_; 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); newValue_ = b; return b; } else { @@ -216,33 +245,44 @@ public java.lang.String getNewValue() { public static final int CHANGE_TYPE_FIELD_NUMBER = 4; private int changeType_ = 0; /** + * + * *
    * The type for this change, either ADDED, REMOVED, or MODIFIED.
    * 
* * .google.api.ChangeType change_type = 4; + * * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override public int getChangeTypeValue() { + @java.lang.Override + public int getChangeTypeValue() { return changeType_; } /** + * + * *
    * The type for this change, either ADDED, REMOVED, or MODIFIED.
    * 
* * .google.api.ChangeType change_type = 4; + * * @return The changeType. */ - @java.lang.Override public com.google.api.ChangeType getChangeType() { + @java.lang.Override + public com.google.api.ChangeType getChangeType() { com.google.api.ChangeType result = com.google.api.ChangeType.forNumber(changeType_); return result == null ? com.google.api.ChangeType.UNRECOGNIZED : result; } public static final int ADVICES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List advices_; /** + * + * *
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -255,6 +295,8 @@ public java.util.List getAdvicesList() {
     return advices_;
   }
   /**
+   *
+   *
    * 
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -263,11 +305,12 @@ public java.util.List getAdvicesList() {
    * repeated .google.api.Advice advices = 5;
    */
   @java.lang.Override
-  public java.util.List 
-      getAdvicesOrBuilderList() {
+  public java.util.List getAdvicesOrBuilderList() {
     return advices_;
   }
   /**
+   *
+   *
    * 
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -280,6 +323,8 @@ public int getAdvicesCount() {
     return advices_.size();
   }
   /**
+   *
+   *
    * 
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -292,6 +337,8 @@ public com.google.api.Advice getAdvices(int index) {
     return advices_.get(index);
   }
   /**
+   *
+   *
    * 
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -300,12 +347,12 @@ public com.google.api.Advice getAdvices(int index) {
    * repeated .google.api.Advice advices = 5;
    */
   @java.lang.Override
-  public com.google.api.AdviceOrBuilder getAdvicesOrBuilder(
-      int index) {
+  public com.google.api.AdviceOrBuilder getAdvicesOrBuilder(int index) {
     return advices_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +364,7 @@ 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(element_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, element_);
     }
@@ -353,12 +399,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newValue_);
     }
     if (changeType_ != com.google.api.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(4, changeType_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, changeType_);
     }
     for (int i = 0; i < advices_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, advices_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, advices_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -368,22 +412,18 @@ 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.ConfigChange)) {
       return super.equals(obj);
     }
     com.google.api.ConfigChange other = (com.google.api.ConfigChange) obj;
 
-    if (!getElement()
-        .equals(other.getElement())) return false;
-    if (!getOldValue()
-        .equals(other.getOldValue())) return false;
-    if (!getNewValue()
-        .equals(other.getNewValue())) return false;
+    if (!getElement().equals(other.getElement())) return false;
+    if (!getOldValue().equals(other.getOldValue())) return false;
+    if (!getNewValue().equals(other.getNewValue())) return false;
     if (changeType_ != other.changeType_) return false;
-    if (!getAdvicesList()
-        .equals(other.getAdvicesList())) return false;
+    if (!getAdvicesList().equals(other.getAdvicesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -412,99 +452,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.ConfigChange parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.ConfigChange parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.ConfigChange 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.ConfigChange parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.ConfigChange parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.ConfigChange 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.ConfigChange parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.ConfigChange 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.ConfigChange 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.ConfigChange 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.ConfigChange 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.ConfigChange 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.ConfigChange parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.ConfigChange 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.ConfigChange 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.ConfigChange 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;
   }
   /**
+   *
+   *
    * 
    * Output generated from semantically comparing two versions of a service
    * configuration.
@@ -516,33 +560,30 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.ConfigChange}
    */
-  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.ConfigChange)
       com.google.api.ConfigChangeOrBuilder {
-    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_ConfigChange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.ConfigChangeProto.internal_static_google_api_ConfigChange_fieldAccessorTable
+      return com.google.api.ConfigChangeProto
+          .internal_static_google_api_ConfigChange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.api.ConfigChange.class, com.google.api.ConfigChange.Builder.class);
     }
 
     // Construct using com.google.api.ConfigChange.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -562,8 +603,7 @@ 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_ConfigChange_descriptor;
     }
 
@@ -585,7 +625,9 @@ public com.google.api.ConfigChange build() {
     public com.google.api.ConfigChange buildPartial() {
       com.google.api.ConfigChange result = new com.google.api.ConfigChange(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -622,38 +664,39 @@ private void buildPartial0(com.google.api.ConfigChange 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.ConfigChange) {
-        return mergeFrom((com.google.api.ConfigChange)other);
+        return mergeFrom((com.google.api.ConfigChange) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -698,9 +741,10 @@ public Builder mergeFrom(com.google.api.ConfigChange other) {
             advicesBuilder_ = null;
             advices_ = other.advices_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            advicesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAdvicesFieldBuilder() : null;
+            advicesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAdvicesFieldBuilder()
+                    : null;
           } else {
             advicesBuilder_.addAllMessages(other.advices_);
           }
@@ -732,45 +776,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              element_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              oldValue_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              newValue_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              changeType_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              com.google.api.Advice m =
-                  input.readMessage(
-                      com.google.api.Advice.parser(),
-                      extensionRegistry);
-              if (advicesBuilder_ == null) {
-                ensureAdvicesIsMutable();
-                advices_.add(m);
-              } else {
-                advicesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                element_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                oldValue_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                newValue_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                changeType_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                com.google.api.Advice m =
+                    input.readMessage(com.google.api.Advice.parser(), extensionRegistry);
+                if (advicesBuilder_ == null) {
+                  ensureAdvicesIsMutable();
+                  advices_.add(m);
+                } else {
+                  advicesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -780,10 +828,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object element_ = "";
     /**
+     *
+     *
      * 
      * Object hierarchy path to the change, with levels separated by a '.'
      * character. For repeated fields, an applicable unique identifier field is
@@ -797,13 +848,13 @@ public Builder mergeFrom(
      * 
* * string element = 1; + * * @return The element. */ public java.lang.String getElement() { java.lang.Object ref = element_; 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(); element_ = s; return s; @@ -812,6 +863,8 @@ public java.lang.String getElement() { } } /** + * + * *
      * Object hierarchy path to the change, with levels separated by a '.'
      * character. For repeated fields, an applicable unique identifier field is
@@ -825,15 +878,14 @@ public java.lang.String getElement() {
      * 
* * string element = 1; + * * @return The bytes for element. */ - public com.google.protobuf.ByteString - getElementBytes() { + public com.google.protobuf.ByteString getElementBytes() { java.lang.Object ref = element_; 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); element_ = b; return b; } else { @@ -841,6 +893,8 @@ public java.lang.String getElement() { } } /** + * + * *
      * Object hierarchy path to the change, with levels separated by a '.'
      * character. For repeated fields, an applicable unique identifier field is
@@ -854,18 +908,22 @@ public java.lang.String getElement() {
      * 
* * string element = 1; + * * @param value The element to set. * @return This builder for chaining. */ - public Builder setElement( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setElement(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } element_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Object hierarchy path to the change, with levels separated by a '.'
      * character. For repeated fields, an applicable unique identifier field is
@@ -879,6 +937,7 @@ public Builder setElement(
      * 
* * string element = 1; + * * @return This builder for chaining. */ public Builder clearElement() { @@ -888,6 +947,8 @@ public Builder clearElement() { return this; } /** + * + * *
      * Object hierarchy path to the change, with levels separated by a '.'
      * character. For repeated fields, an applicable unique identifier field is
@@ -901,12 +962,14 @@ public Builder clearElement() {
      * 
* * string element = 1; + * * @param value The bytes for element to set. * @return This builder for chaining. */ - public Builder setElementBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setElementBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); element_ = value; bitField0_ |= 0x00000001; @@ -916,19 +979,21 @@ public Builder setElementBytes( private java.lang.Object oldValue_ = ""; /** + * + * *
      * Value of the changed object in the old Service configuration,
      * in JSON format. This field will not be populated if ChangeType == ADDED.
      * 
* * string old_value = 2; + * * @return The oldValue. */ public java.lang.String getOldValue() { java.lang.Object ref = oldValue_; 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(); oldValue_ = s; return s; @@ -937,21 +1002,22 @@ public java.lang.String getOldValue() { } } /** + * + * *
      * Value of the changed object in the old Service configuration,
      * in JSON format. This field will not be populated if ChangeType == ADDED.
      * 
* * string old_value = 2; + * * @return The bytes for oldValue. */ - public com.google.protobuf.ByteString - getOldValueBytes() { + public com.google.protobuf.ByteString getOldValueBytes() { java.lang.Object ref = oldValue_; 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); oldValue_ = b; return b; } else { @@ -959,30 +1025,37 @@ public java.lang.String getOldValue() { } } /** + * + * *
      * Value of the changed object in the old Service configuration,
      * in JSON format. This field will not be populated if ChangeType == ADDED.
      * 
* * string old_value = 2; + * * @param value The oldValue to set. * @return This builder for chaining. */ - public Builder setOldValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOldValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } oldValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Value of the changed object in the old Service configuration,
      * in JSON format. This field will not be populated if ChangeType == ADDED.
      * 
* * string old_value = 2; + * * @return This builder for chaining. */ public Builder clearOldValue() { @@ -992,18 +1065,22 @@ public Builder clearOldValue() { return this; } /** + * + * *
      * Value of the changed object in the old Service configuration,
      * in JSON format. This field will not be populated if ChangeType == ADDED.
      * 
* * string old_value = 2; + * * @param value The bytes for oldValue to set. * @return This builder for chaining. */ - public Builder setOldValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOldValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); oldValue_ = value; bitField0_ |= 0x00000002; @@ -1013,19 +1090,21 @@ public Builder setOldValueBytes( private java.lang.Object newValue_ = ""; /** + * + * *
      * Value of the changed object in the new Service configuration,
      * in JSON format. This field will not be populated if ChangeType == REMOVED.
      * 
* * string new_value = 3; + * * @return The newValue. */ public java.lang.String getNewValue() { java.lang.Object ref = newValue_; 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(); newValue_ = s; return s; @@ -1034,21 +1113,22 @@ public java.lang.String getNewValue() { } } /** + * + * *
      * Value of the changed object in the new Service configuration,
      * in JSON format. This field will not be populated if ChangeType == REMOVED.
      * 
* * string new_value = 3; + * * @return The bytes for newValue. */ - public com.google.protobuf.ByteString - getNewValueBytes() { + public com.google.protobuf.ByteString getNewValueBytes() { java.lang.Object ref = newValue_; 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); newValue_ = b; return b; } else { @@ -1056,30 +1136,37 @@ public java.lang.String getNewValue() { } } /** + * + * *
      * Value of the changed object in the new Service configuration,
      * in JSON format. This field will not be populated if ChangeType == REMOVED.
      * 
* * string new_value = 3; + * * @param value The newValue to set. * @return This builder for chaining. */ - public Builder setNewValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } newValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Value of the changed object in the new Service configuration,
      * in JSON format. This field will not be populated if ChangeType == REMOVED.
      * 
* * string new_value = 3; + * * @return This builder for chaining. */ public Builder clearNewValue() { @@ -1089,18 +1176,22 @@ public Builder clearNewValue() { return this; } /** + * + * *
      * Value of the changed object in the new Service configuration,
      * in JSON format. This field will not be populated if ChangeType == REMOVED.
      * 
* * string new_value = 3; + * * @param value The bytes for newValue to set. * @return This builder for chaining. */ - public Builder setNewValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); newValue_ = value; bitField0_ |= 0x00000004; @@ -1110,22 +1201,29 @@ public Builder setNewValueBytes( private int changeType_ = 0; /** + * + * *
      * The type for this change, either ADDED, REMOVED, or MODIFIED.
      * 
* * .google.api.ChangeType change_type = 4; + * * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override public int getChangeTypeValue() { + @java.lang.Override + public int getChangeTypeValue() { return changeType_; } /** + * + * *
      * The type for this change, either ADDED, REMOVED, or MODIFIED.
      * 
* * .google.api.ChangeType change_type = 4; + * * @param value The enum numeric value on the wire for changeType to set. * @return This builder for chaining. */ @@ -1136,11 +1234,14 @@ public Builder setChangeTypeValue(int value) { return this; } /** + * + * *
      * The type for this change, either ADDED, REMOVED, or MODIFIED.
      * 
* * .google.api.ChangeType change_type = 4; + * * @return The changeType. */ @java.lang.Override @@ -1149,11 +1250,14 @@ public com.google.api.ChangeType getChangeType() { return result == null ? com.google.api.ChangeType.UNRECOGNIZED : result; } /** + * + * *
      * The type for this change, either ADDED, REMOVED, or MODIFIED.
      * 
* * .google.api.ChangeType change_type = 4; + * * @param value The changeType to set. * @return This builder for chaining. */ @@ -1167,11 +1271,14 @@ public Builder setChangeType(com.google.api.ChangeType value) { return this; } /** + * + * *
      * The type for this change, either ADDED, REMOVED, or MODIFIED.
      * 
* * .google.api.ChangeType change_type = 4; + * * @return This builder for chaining. */ public Builder clearChangeType() { @@ -1181,19 +1288,22 @@ public Builder clearChangeType() { return this; } - private java.util.List advices_ = - java.util.Collections.emptyList(); + private java.util.List advices_ = java.util.Collections.emptyList(); + private void ensureAdvicesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { advices_ = new java.util.ArrayList(advices_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Advice, com.google.api.Advice.Builder, com.google.api.AdviceOrBuilder> advicesBuilder_; + com.google.api.Advice, com.google.api.Advice.Builder, com.google.api.AdviceOrBuilder> + advicesBuilder_; /** + * + * *
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1209,6 +1319,8 @@ public java.util.List getAdvicesList() {
       }
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1224,6 +1336,8 @@ public int getAdvicesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1239,6 +1353,8 @@ public com.google.api.Advice getAdvices(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1246,8 +1362,7 @@ public com.google.api.Advice getAdvices(int index) {
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public Builder setAdvices(
-        int index, com.google.api.Advice value) {
+    public Builder setAdvices(int index, com.google.api.Advice value) {
       if (advicesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1261,6 +1376,8 @@ public Builder setAdvices(
       return this;
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1268,8 +1385,7 @@ public Builder setAdvices(
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public Builder setAdvices(
-        int index, com.google.api.Advice.Builder builderForValue) {
+    public Builder setAdvices(int index, com.google.api.Advice.Builder builderForValue) {
       if (advicesBuilder_ == null) {
         ensureAdvicesIsMutable();
         advices_.set(index, builderForValue.build());
@@ -1280,6 +1396,8 @@ public Builder setAdvices(
       return this;
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1301,6 +1419,8 @@ public Builder addAdvices(com.google.api.Advice value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1308,8 +1428,7 @@ public Builder addAdvices(com.google.api.Advice value) {
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public Builder addAdvices(
-        int index, com.google.api.Advice value) {
+    public Builder addAdvices(int index, com.google.api.Advice value) {
       if (advicesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1323,6 +1442,8 @@ public Builder addAdvices(
       return this;
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1330,8 +1451,7 @@ public Builder addAdvices(
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public Builder addAdvices(
-        com.google.api.Advice.Builder builderForValue) {
+    public Builder addAdvices(com.google.api.Advice.Builder builderForValue) {
       if (advicesBuilder_ == null) {
         ensureAdvicesIsMutable();
         advices_.add(builderForValue.build());
@@ -1342,6 +1462,8 @@ public Builder addAdvices(
       return this;
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1349,8 +1471,7 @@ public Builder addAdvices(
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public Builder addAdvices(
-        int index, com.google.api.Advice.Builder builderForValue) {
+    public Builder addAdvices(int index, com.google.api.Advice.Builder builderForValue) {
       if (advicesBuilder_ == null) {
         ensureAdvicesIsMutable();
         advices_.add(index, builderForValue.build());
@@ -1361,6 +1482,8 @@ public Builder addAdvices(
       return this;
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1368,12 +1491,10 @@ public Builder addAdvices(
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public Builder addAllAdvices(
-        java.lang.Iterable values) {
+    public Builder addAllAdvices(java.lang.Iterable values) {
       if (advicesBuilder_ == null) {
         ensureAdvicesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, advices_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, advices_);
         onChanged();
       } else {
         advicesBuilder_.addAllMessages(values);
@@ -1381,6 +1502,8 @@ public Builder addAllAdvices(
       return this;
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1399,6 +1522,8 @@ public Builder clearAdvices() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1417,6 +1542,8 @@ public Builder removeAdvices(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1424,11 +1551,12 @@ public Builder removeAdvices(int index) {
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public com.google.api.Advice.Builder getAdvicesBuilder(
-        int index) {
+    public com.google.api.Advice.Builder getAdvicesBuilder(int index) {
       return getAdvicesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1436,14 +1564,16 @@ public com.google.api.Advice.Builder getAdvicesBuilder(
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public com.google.api.AdviceOrBuilder getAdvicesOrBuilder(
-        int index) {
+    public com.google.api.AdviceOrBuilder getAdvicesOrBuilder(int index) {
       if (advicesBuilder_ == null) {
-        return advices_.get(index);  } else {
+        return advices_.get(index);
+      } else {
         return advicesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1451,8 +1581,7 @@ public com.google.api.AdviceOrBuilder getAdvicesOrBuilder(
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public java.util.List 
-         getAdvicesOrBuilderList() {
+    public java.util.List getAdvicesOrBuilderList() {
       if (advicesBuilder_ != null) {
         return advicesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1460,6 +1589,8 @@ public com.google.api.AdviceOrBuilder getAdvicesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1468,10 +1599,11 @@ public com.google.api.AdviceOrBuilder getAdvicesOrBuilder(
      * repeated .google.api.Advice advices = 5;
      */
     public com.google.api.Advice.Builder addAdvicesBuilder() {
-      return getAdvicesFieldBuilder().addBuilder(
-          com.google.api.Advice.getDefaultInstance());
+      return getAdvicesFieldBuilder().addBuilder(com.google.api.Advice.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1479,12 +1611,12 @@ public com.google.api.Advice.Builder addAdvicesBuilder() {
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public com.google.api.Advice.Builder addAdvicesBuilder(
-        int index) {
-      return getAdvicesFieldBuilder().addBuilder(
-          index, com.google.api.Advice.getDefaultInstance());
+    public com.google.api.Advice.Builder addAdvicesBuilder(int index) {
+      return getAdvicesFieldBuilder().addBuilder(index, com.google.api.Advice.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Collection of advice provided for this change, useful for determining the
      * possible impact of this change.
@@ -1492,27 +1624,27 @@ public com.google.api.Advice.Builder addAdvicesBuilder(
      *
      * repeated .google.api.Advice advices = 5;
      */
-    public java.util.List 
-         getAdvicesBuilderList() {
+    public java.util.List getAdvicesBuilderList() {
       return getAdvicesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Advice, com.google.api.Advice.Builder, com.google.api.AdviceOrBuilder> 
+            com.google.api.Advice, com.google.api.Advice.Builder, com.google.api.AdviceOrBuilder>
         getAdvicesFieldBuilder() {
       if (advicesBuilder_ == null) {
-        advicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.Advice, com.google.api.Advice.Builder, com.google.api.AdviceOrBuilder>(
-                advices_,
-                ((bitField0_ & 0x00000010) != 0),
-                getParentForChildren(),
-                isClean());
+        advicesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.Advice,
+                com.google.api.Advice.Builder,
+                com.google.api.AdviceOrBuilder>(
+                advices_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
         advices_ = null;
       }
       return advicesBuilder_;
     }
+
     @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);
     }
 
@@ -1522,12 +1654,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.ConfigChange)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.ConfigChange)
   private static final com.google.api.ConfigChange DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.ConfigChange();
   }
@@ -1536,27 +1668,27 @@ public static com.google.api.ConfigChange getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ConfigChange 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 ConfigChange 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;
@@ -1571,6 +1703,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.ConfigChange getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java
similarity index 78%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java
index b56e3347ca..3d2f557da0 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface ConfigChangeOrBuilder extends
+public interface ConfigChangeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.ConfigChange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Object hierarchy path to the change, with levels separated by a '.'
    * character. For repeated fields, an applicable unique identifier field is
@@ -21,10 +39,13 @@ public interface ConfigChangeOrBuilder extends
    * 
* * string element = 1; + * * @return The element. */ java.lang.String getElement(); /** + * + * *
    * Object hierarchy path to the change, with levels separated by a '.'
    * character. For repeated fields, an applicable unique identifier field is
@@ -38,75 +59,93 @@ public interface ConfigChangeOrBuilder extends
    * 
* * string element = 1; + * * @return The bytes for element. */ - com.google.protobuf.ByteString - getElementBytes(); + com.google.protobuf.ByteString getElementBytes(); /** + * + * *
    * Value of the changed object in the old Service configuration,
    * in JSON format. This field will not be populated if ChangeType == ADDED.
    * 
* * string old_value = 2; + * * @return The oldValue. */ java.lang.String getOldValue(); /** + * + * *
    * Value of the changed object in the old Service configuration,
    * in JSON format. This field will not be populated if ChangeType == ADDED.
    * 
* * string old_value = 2; + * * @return The bytes for oldValue. */ - com.google.protobuf.ByteString - getOldValueBytes(); + com.google.protobuf.ByteString getOldValueBytes(); /** + * + * *
    * Value of the changed object in the new Service configuration,
    * in JSON format. This field will not be populated if ChangeType == REMOVED.
    * 
* * string new_value = 3; + * * @return The newValue. */ java.lang.String getNewValue(); /** + * + * *
    * Value of the changed object in the new Service configuration,
    * in JSON format. This field will not be populated if ChangeType == REMOVED.
    * 
* * string new_value = 3; + * * @return The bytes for newValue. */ - com.google.protobuf.ByteString - getNewValueBytes(); + com.google.protobuf.ByteString getNewValueBytes(); /** + * + * *
    * The type for this change, either ADDED, REMOVED, or MODIFIED.
    * 
* * .google.api.ChangeType change_type = 4; + * * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** + * + * *
    * The type for this change, either ADDED, REMOVED, or MODIFIED.
    * 
* * .google.api.ChangeType change_type = 4; + * * @return The changeType. */ com.google.api.ChangeType getChangeType(); /** + * + * *
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -114,9 +153,10 @@ public interface ConfigChangeOrBuilder extends
    *
    * repeated .google.api.Advice advices = 5;
    */
-  java.util.List 
-      getAdvicesList();
+  java.util.List getAdvicesList();
   /**
+   *
+   *
    * 
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -126,6 +166,8 @@ public interface ConfigChangeOrBuilder extends
    */
   com.google.api.Advice getAdvices(int index);
   /**
+   *
+   *
    * 
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -135,6 +177,8 @@ public interface ConfigChangeOrBuilder extends
    */
   int getAdvicesCount();
   /**
+   *
+   *
    * 
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -142,9 +186,10 @@ public interface ConfigChangeOrBuilder extends
    *
    * repeated .google.api.Advice advices = 5;
    */
-  java.util.List 
-      getAdvicesOrBuilderList();
+  java.util.List getAdvicesOrBuilderList();
   /**
+   *
+   *
    * 
    * Collection of advice provided for this change, useful for determining the
    * possible impact of this change.
@@ -152,6 +197,5 @@ public interface ConfigChangeOrBuilder extends
    *
    * repeated .google.api.Advice advices = 5;
    */
-  com.google.api.AdviceOrBuilder getAdvicesOrBuilder(
-      int index);
+  com.google.api.AdviceOrBuilder getAdvicesOrBuilder(int index);
 }
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
new file mode 100644
index 0000000000..d9573bcdfd
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java
@@ -0,0 +1,79 @@
+/*
+ * 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
new file mode 100644
index 0000000000..474e18306c
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java
@@ -0,0 +1,79 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Context.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java
similarity index 75%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Context.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java
index 3bec9583d1..3350e8f149 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Context.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * `Context` defines which contexts an API requests.
  *
@@ -45,28 +62,27 @@
  *
  * Protobuf type {@code google.api.Context}
  */
-public final class Context extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Context extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Context)
     ContextOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Context.newBuilder() to construct.
   private Context(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Context() {
     rules_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Context();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ContextProto.internal_static_google_api_Context_descriptor;
   }
 
@@ -79,9 +95,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int RULES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List rules_;
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -95,6 +114,8 @@ public java.util.List getRulesList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -104,11 +125,12 @@ public java.util.List getRulesList() {
    * repeated .google.api.ContextRule rules = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getRulesOrBuilderList() {
+  public java.util.List getRulesOrBuilderList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -122,6 +144,8 @@ public int getRulesCount() {
     return rules_.size();
   }
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -135,6 +159,8 @@ public com.google.api.ContextRule getRules(int index) {
     return rules_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -144,12 +170,12 @@ public com.google.api.ContextRule getRules(int index) {
    * repeated .google.api.ContextRule rules = 1;
    */
   @java.lang.Override
-  public com.google.api.ContextRuleOrBuilder getRulesOrBuilder(
-      int index) {
+  public com.google.api.ContextRuleOrBuilder getRulesOrBuilder(int index) {
     return rules_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -161,8 +187,7 @@ 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(1, rules_.get(i));
     }
@@ -176,8 +201,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < rules_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, rules_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -187,15 +211,14 @@ 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.Context)) {
       return super.equals(obj);
     }
     com.google.api.Context other = (com.google.api.Context) obj;
 
-    if (!getRulesList()
-        .equals(other.getRulesList())) return false;
+    if (!getRulesList().equals(other.getRulesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -216,99 +239,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.Context parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.Context parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Context 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.Context parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.Context parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Context 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.Context parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Context 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.Context 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.Context 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.Context 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.Context 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.Context parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.Context 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.Context 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.Context 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;
   }
   /**
+   *
+   *
    * 
    * `Context` defines which contexts an API requests.
    *
@@ -350,12 +377,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Context}
    */
-  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.Context)
       com.google.api.ContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.ContextProto.internal_static_google_api_Context_descriptor;
     }
 
@@ -368,15 +394,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Context.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -392,8 +415,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.ContextProto.internal_static_google_api_Context_descriptor;
     }
 
@@ -415,7 +437,9 @@ public com.google.api.Context build() {
     public com.google.api.Context buildPartial() {
       com.google.api.Context result = new com.google.api.Context(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -440,38 +464,39 @@ private void buildPartial0(com.google.api.Context 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.Context) {
-        return mergeFrom((com.google.api.Context)other);
+        return mergeFrom((com.google.api.Context) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -498,9 +523,10 @@ public Builder mergeFrom(com.google.api.Context 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_);
           }
@@ -532,25 +558,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.api.ContextRule m =
-                  input.readMessage(
-                      com.google.api.ContextRule.parser(),
-                      extensionRegistry);
-              if (rulesBuilder_ == null) {
-                ensureRulesIsMutable();
-                rules_.add(m);
-              } else {
-                rulesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.api.ContextRule m =
+                    input.readMessage(com.google.api.ContextRule.parser(), extensionRegistry);
+                if (rulesBuilder_ == null) {
+                  ensureRulesIsMutable();
+                  rules_.add(m);
+                } else {
+                  rulesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            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) {
@@ -560,21 +586,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List rules_ =
-      java.util.Collections.emptyList();
+    private java.util.List rules_ = 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.ContextRule, com.google.api.ContextRule.Builder, com.google.api.ContextRuleOrBuilder> rulesBuilder_;
+            com.google.api.ContextRule,
+            com.google.api.ContextRule.Builder,
+            com.google.api.ContextRuleOrBuilder>
+        rulesBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -591,6 +623,8 @@ public java.util.List getRulesList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -607,6 +641,8 @@ public int getRulesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -623,6 +659,8 @@ public com.google.api.ContextRule getRules(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -631,8 +669,7 @@ public com.google.api.ContextRule getRules(int index) {
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public Builder setRules(
-        int index, com.google.api.ContextRule value) {
+    public Builder setRules(int index, com.google.api.ContextRule value) {
       if (rulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -646,6 +683,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -654,8 +693,7 @@ public Builder setRules(
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public Builder setRules(
-        int index, com.google.api.ContextRule.Builder builderForValue) {
+    public Builder setRules(int index, com.google.api.ContextRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.set(index, builderForValue.build());
@@ -666,6 +704,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -688,6 +728,8 @@ public Builder addRules(com.google.api.ContextRule value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -696,8 +738,7 @@ public Builder addRules(com.google.api.ContextRule value) {
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public Builder addRules(
-        int index, com.google.api.ContextRule value) {
+    public Builder addRules(int index, com.google.api.ContextRule value) {
       if (rulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -711,6 +752,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -719,8 +762,7 @@ public Builder addRules(
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public Builder addRules(
-        com.google.api.ContextRule.Builder builderForValue) {
+    public Builder addRules(com.google.api.ContextRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.add(builderForValue.build());
@@ -731,6 +773,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -739,8 +783,7 @@ public Builder addRules(
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public Builder addRules(
-        int index, com.google.api.ContextRule.Builder builderForValue) {
+    public Builder addRules(int index, com.google.api.ContextRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.add(index, builderForValue.build());
@@ -751,6 +794,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -759,12 +804,10 @@ public Builder addRules(
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public Builder addAllRules(
-        java.lang.Iterable values) {
+    public Builder addAllRules(java.lang.Iterable 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);
@@ -772,6 +815,8 @@ public Builder addAllRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -791,6 +836,8 @@ public Builder clearRules() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -810,6 +857,8 @@ public Builder removeRules(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -818,11 +867,12 @@ public Builder removeRules(int index) {
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public com.google.api.ContextRule.Builder getRulesBuilder(
-        int index) {
+    public com.google.api.ContextRule.Builder getRulesBuilder(int index) {
       return getRulesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -831,14 +881,16 @@ public com.google.api.ContextRule.Builder getRulesBuilder(
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public com.google.api.ContextRuleOrBuilder getRulesOrBuilder(
-        int index) {
+    public com.google.api.ContextRuleOrBuilder getRulesOrBuilder(int index) {
       if (rulesBuilder_ == null) {
-        return rules_.get(index);  } else {
+        return rules_.get(index);
+      } else {
         return rulesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -847,8 +899,7 @@ public com.google.api.ContextRuleOrBuilder getRulesOrBuilder(
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public java.util.List 
-         getRulesOrBuilderList() {
+    public java.util.List getRulesOrBuilderList() {
       if (rulesBuilder_ != null) {
         return rulesBuilder_.getMessageOrBuilderList();
       } else {
@@ -856,6 +907,8 @@ public com.google.api.ContextRuleOrBuilder getRulesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -865,10 +918,11 @@ public com.google.api.ContextRuleOrBuilder getRulesOrBuilder(
      * repeated .google.api.ContextRule rules = 1;
      */
     public com.google.api.ContextRule.Builder addRulesBuilder() {
-      return getRulesFieldBuilder().addBuilder(
-          com.google.api.ContextRule.getDefaultInstance());
+      return getRulesFieldBuilder().addBuilder(com.google.api.ContextRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -877,12 +931,13 @@ public com.google.api.ContextRule.Builder addRulesBuilder() {
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public com.google.api.ContextRule.Builder addRulesBuilder(
-        int index) {
-      return getRulesFieldBuilder().addBuilder(
-          index, com.google.api.ContextRule.getDefaultInstance());
+    public com.google.api.ContextRule.Builder addRulesBuilder(int index) {
+      return getRulesFieldBuilder()
+          .addBuilder(index, com.google.api.ContextRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of RPC context rules that apply to individual API methods.
      *
@@ -891,27 +946,29 @@ public com.google.api.ContextRule.Builder addRulesBuilder(
      *
      * repeated .google.api.ContextRule rules = 1;
      */
-    public java.util.List 
-         getRulesBuilderList() {
+    public java.util.List getRulesBuilderList() {
       return getRulesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.ContextRule, com.google.api.ContextRule.Builder, com.google.api.ContextRuleOrBuilder> 
+            com.google.api.ContextRule,
+            com.google.api.ContextRule.Builder,
+            com.google.api.ContextRuleOrBuilder>
         getRulesFieldBuilder() {
       if (rulesBuilder_ == null) {
-        rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.ContextRule, com.google.api.ContextRule.Builder, com.google.api.ContextRuleOrBuilder>(
-                rules_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        rulesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.ContextRule,
+                com.google.api.ContextRule.Builder,
+                com.google.api.ContextRuleOrBuilder>(
+                rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         rules_ = null;
       }
       return rulesBuilder_;
     }
+
     @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);
     }
 
@@ -921,12 +978,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.Context)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.Context)
   private static final com.google.api.Context DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.Context();
   }
@@ -935,27 +992,27 @@ public static com.google.api.Context getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Context 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 Context 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;
@@ -970,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.Context getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java
similarity index 66%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java
index cd34047891..8a776db816 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface ContextOrBuilder extends
+public interface ContextOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.Context)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -16,9 +34,10 @@ public interface ContextOrBuilder extends
    *
    * repeated .google.api.ContextRule rules = 1;
    */
-  java.util.List 
-      getRulesList();
+  java.util.List getRulesList();
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -29,6 +48,8 @@ public interface ContextOrBuilder extends
    */
   com.google.api.ContextRule getRules(int index);
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -39,6 +60,8 @@ public interface ContextOrBuilder extends
    */
   int getRulesCount();
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -47,9 +70,10 @@ public interface ContextOrBuilder extends
    *
    * repeated .google.api.ContextRule rules = 1;
    */
-  java.util.List 
-      getRulesOrBuilderList();
+  java.util.List getRulesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of RPC context rules that apply to individual API methods.
    *
@@ -58,6 +82,5 @@ public interface ContextOrBuilder extends
    *
    * repeated .google.api.ContextRule rules = 1;
    */
-  com.google.api.ContextRuleOrBuilder getRulesOrBuilder(
-      int index);
+  com.google.api.ContextRuleOrBuilder getRulesOrBuilder(int index);
 }
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
new file mode 100644
index 0000000000..c06990e8c2
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java
@@ -0,0 +1,81 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java
similarity index 74%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java
index 5d007d951f..d9386c71e0 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * A context rule provides information about the context for an individual API
  * element.
@@ -11,36 +28,31 @@
  *
  * Protobuf type {@code google.api.ContextRule}
  */
-public final class ContextRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContextRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.ContextRule)
     ContextRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContextRule.newBuilder() to construct.
   private ContextRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ContextRule() {
     selector_ = "";
-    requested_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    provided_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    allowedRequestExtensions_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    allowedResponseExtensions_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    requested_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    provided_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    allowedRequestExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ContextRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ContextProto.internal_static_google_api_ContextRule_descriptor;
   }
 
@@ -53,9 +65,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int SELECTOR_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object selector_ = "";
   /**
+   *
+   *
    * 
    * Selects the methods to which this rule applies.
    *
@@ -64,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string selector = 1; + * * @return The selector. */ @java.lang.Override @@ -72,14 +88,15 @@ public java.lang.String getSelector() { 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(); selector_ = s; return s; } } /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -88,16 +105,15 @@ public java.lang.String getSelector() {
    * 
* * string selector = 1; + * * @return The bytes for selector. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -106,38 +122,47 @@ public java.lang.String getSelector() { } public static final int REQUESTED_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList requested_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * A list of full type names of requested contexts.
    * 
* * repeated string requested = 2; + * * @return A list containing the requested. */ - public com.google.protobuf.ProtocolStringList - getRequestedList() { + public com.google.protobuf.ProtocolStringList getRequestedList() { return requested_; } /** + * + * *
    * A list of full type names of requested contexts.
    * 
* * repeated string requested = 2; + * * @return The count of requested. */ public int getRequestedCount() { return requested_.size(); } /** + * + * *
    * A list of full type names of requested contexts.
    * 
* * repeated string requested = 2; + * * @param index The index of the element to return. * @return The requested at the given index. */ @@ -145,52 +170,63 @@ public java.lang.String getRequested(int index) { return requested_.get(index); } /** + * + * *
    * A list of full type names of requested contexts.
    * 
* * repeated string requested = 2; + * * @param index The index of the value to return. * @return The bytes of the requested at the given index. */ - public com.google.protobuf.ByteString - getRequestedBytes(int index) { + public com.google.protobuf.ByteString getRequestedBytes(int index) { return requested_.getByteString(index); } public static final int PROVIDED_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList provided_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * A list of full type names of provided contexts.
    * 
* * repeated string provided = 3; + * * @return A list containing the provided. */ - public com.google.protobuf.ProtocolStringList - getProvidedList() { + public com.google.protobuf.ProtocolStringList getProvidedList() { return provided_; } /** + * + * *
    * A list of full type names of provided contexts.
    * 
* * repeated string provided = 3; + * * @return The count of provided. */ public int getProvidedCount() { return provided_.size(); } /** + * + * *
    * A list of full type names of provided contexts.
    * 
* * repeated string provided = 3; + * * @param index The index of the element to return. * @return The provided at the given index. */ @@ -198,55 +234,66 @@ public java.lang.String getProvided(int index) { return provided_.get(index); } /** + * + * *
    * A list of full type names of provided contexts.
    * 
* * repeated string provided = 3; + * * @param index The index of the value to return. * @return The bytes of the provided at the given index. */ - public com.google.protobuf.ByteString - getProvidedBytes(int index) { + public com.google.protobuf.ByteString getProvidedBytes(int index) { return provided_.getByteString(index); } public static final int ALLOWED_REQUEST_EXTENSIONS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedRequestExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from client to backend.
    * 
* * repeated string allowed_request_extensions = 4; + * * @return A list containing the allowedRequestExtensions. */ - public com.google.protobuf.ProtocolStringList - getAllowedRequestExtensionsList() { + public com.google.protobuf.ProtocolStringList getAllowedRequestExtensionsList() { return allowedRequestExtensions_; } /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from client to backend.
    * 
* * repeated string allowed_request_extensions = 4; + * * @return The count of allowedRequestExtensions. */ public int getAllowedRequestExtensionsCount() { return allowedRequestExtensions_.size(); } /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from client to backend.
    * 
* * repeated string allowed_request_extensions = 4; + * * @param index The index of the element to return. * @return The allowedRequestExtensions at the given index. */ @@ -254,56 +301,67 @@ public java.lang.String getAllowedRequestExtensions(int index) { return allowedRequestExtensions_.get(index); } /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from client to backend.
    * 
* * repeated string allowed_request_extensions = 4; + * * @param index The index of the value to return. * @return The bytes of the allowedRequestExtensions at the given index. */ - public com.google.protobuf.ByteString - getAllowedRequestExtensionsBytes(int index) { + public com.google.protobuf.ByteString getAllowedRequestExtensionsBytes(int index) { return allowedRequestExtensions_.getByteString(index); } public static final int ALLOWED_RESPONSE_EXTENSIONS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from backend to client.
    * 
* * repeated string allowed_response_extensions = 5; + * * @return A list containing the allowedResponseExtensions. */ - public com.google.protobuf.ProtocolStringList - getAllowedResponseExtensionsList() { + public com.google.protobuf.ProtocolStringList getAllowedResponseExtensionsList() { return allowedResponseExtensions_; } /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from backend to client.
    * 
* * repeated string allowed_response_extensions = 5; + * * @return The count of allowedResponseExtensions. */ public int getAllowedResponseExtensionsCount() { return allowedResponseExtensions_.size(); } /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from backend to client.
    * 
* * repeated string allowed_response_extensions = 5; + * * @param index The index of the element to return. * @return The allowedResponseExtensions at the given index. */ @@ -311,21 +369,24 @@ public java.lang.String getAllowedResponseExtensions(int index) { return allowedResponseExtensions_.get(index); } /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from backend to client.
    * 
* * repeated string allowed_response_extensions = 5; + * * @param index The index of the value to return. * @return The bytes of the allowedResponseExtensions at the given index. */ - public com.google.protobuf.ByteString - getAllowedResponseExtensionsBytes(int index) { + public com.google.protobuf.ByteString getAllowedResponseExtensionsBytes(int index) { return allowedResponseExtensions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,8 +398,7 @@ 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(selector_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); } @@ -349,10 +409,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 3, provided_.getRaw(i)); } for (int i = 0; i < allowedRequestExtensions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, allowedRequestExtensions_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, allowedRequestExtensions_.getRaw(i)); } for (int i = 0; i < allowedResponseExtensions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, allowedResponseExtensions_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, allowedResponseExtensions_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -406,23 +468,20 @@ 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.ContextRule)) { return super.equals(obj); } com.google.api.ContextRule other = (com.google.api.ContextRule) obj; - if (!getSelector() - .equals(other.getSelector())) return false; - if (!getRequestedList() - .equals(other.getRequestedList())) return false; - if (!getProvidedList() - .equals(other.getProvidedList())) return false; - if (!getAllowedRequestExtensionsList() - .equals(other.getAllowedRequestExtensionsList())) return false; - if (!getAllowedResponseExtensionsList() - .equals(other.getAllowedResponseExtensionsList())) return false; + if (!getSelector().equals(other.getSelector())) return false; + if (!getRequestedList().equals(other.getRequestedList())) return false; + if (!getProvidedList().equals(other.getProvidedList())) return false; + if (!getAllowedRequestExtensionsList().equals(other.getAllowedRequestExtensionsList())) + return false; + if (!getAllowedResponseExtensionsList().equals(other.getAllowedResponseExtensionsList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -457,99 +516,103 @@ public int hashCode() { return hash; } - public static com.google.api.ContextRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.ContextRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.ContextRule 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.ContextRule parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.ContextRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.ContextRule 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.ContextRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.ContextRule 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.ContextRule 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.ContextRule 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.ContextRule 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.ContextRule 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.ContextRule parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.ContextRule 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.ContextRule 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.ContextRule 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; } /** + * + * *
    * A context rule provides information about the context for an individual API
    * element.
@@ -557,12 +620,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.ContextRule}
    */
-  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.ContextRule)
       com.google.api.ContextRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.ContextProto.internal_static_google_api_ContextRule_descriptor;
     }
 
@@ -575,34 +637,26 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.ContextRule.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       selector_ = "";
-      requested_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      provided_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      allowedRequestExtensions_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      allowedResponseExtensions_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      requested_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      provided_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      allowedRequestExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.ContextProto.internal_static_google_api_ContextRule_descriptor;
     }
 
@@ -623,7 +677,9 @@ public com.google.api.ContextRule build() {
     @java.lang.Override
     public com.google.api.ContextRule buildPartial() {
       com.google.api.ContextRule result = new com.google.api.ContextRule(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -655,38 +711,39 @@ private void buildPartial0(com.google.api.ContextRule 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.ContextRule) {
-        return mergeFrom((com.google.api.ContextRule)other);
+        return mergeFrom((com.google.api.ContextRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -766,41 +823,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              selector_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureRequestedIsMutable();
-              requested_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureProvidedIsMutable();
-              provided_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAllowedRequestExtensionsIsMutable();
-              allowedRequestExtensions_.add(s);
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAllowedResponseExtensionsIsMutable();
-              allowedResponseExtensions_.add(s);
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                selector_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureRequestedIsMutable();
+                requested_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureProvidedIsMutable();
+                provided_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAllowedRequestExtensionsIsMutable();
+                allowedRequestExtensions_.add(s);
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAllowedResponseExtensionsIsMutable();
+                allowedResponseExtensions_.add(s);
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -810,10 +873,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object selector_ = "";
     /**
+     *
+     *
      * 
      * Selects the methods to which this rule applies.
      *
@@ -822,13 +888,13 @@ public Builder mergeFrom(
      * 
* * string selector = 1; + * * @return The selector. */ public java.lang.String getSelector() { java.lang.Object ref = selector_; 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(); selector_ = s; return s; @@ -837,6 +903,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -845,15 +913,14 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @return The bytes for selector. */ - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -861,6 +928,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -869,18 +938,22 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @param value The selector to set. * @return This builder for chaining. */ - public Builder setSelector( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelector(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } selector_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -889,6 +962,7 @@ public Builder setSelector(
      * 
* * string selector = 1; + * * @return This builder for chaining. */ public Builder clearSelector() { @@ -898,6 +972,8 @@ public Builder clearSelector() { return this; } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -906,12 +982,14 @@ public Builder clearSelector() {
      * 
* * string selector = 1; + * * @param value The bytes for selector to set. * @return This builder for chaining. */ - public Builder setSelectorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); selector_ = value; bitField0_ |= 0x00000001; @@ -921,6 +999,7 @@ public Builder setSelectorBytes( private com.google.protobuf.LazyStringArrayList requested_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRequestedIsMutable() { if (!requested_.isModifiable()) { requested_ = new com.google.protobuf.LazyStringArrayList(requested_); @@ -928,35 +1007,43 @@ private void ensureRequestedIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * A list of full type names of requested contexts.
      * 
* * repeated string requested = 2; + * * @return A list containing the requested. */ - public com.google.protobuf.ProtocolStringList - getRequestedList() { + public com.google.protobuf.ProtocolStringList getRequestedList() { requested_.makeImmutable(); return requested_; } /** + * + * *
      * A list of full type names of requested contexts.
      * 
* * repeated string requested = 2; + * * @return The count of requested. */ public int getRequestedCount() { return requested_.size(); } /** + * + * *
      * A list of full type names of requested contexts.
      * 
* * repeated string requested = 2; + * * @param index The index of the element to return. * @return The requested at the given index. */ @@ -964,31 +1051,37 @@ public java.lang.String getRequested(int index) { return requested_.get(index); } /** + * + * *
      * A list of full type names of requested contexts.
      * 
* * repeated string requested = 2; + * * @param index The index of the value to return. * @return The bytes of the requested at the given index. */ - public com.google.protobuf.ByteString - getRequestedBytes(int index) { + public com.google.protobuf.ByteString getRequestedBytes(int index) { return requested_.getByteString(index); } /** + * + * *
      * A list of full type names of requested contexts.
      * 
* * repeated string requested = 2; + * * @param index The index to set the value at. * @param value The requested to set. * @return This builder for chaining. */ - public Builder setRequested( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequested(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRequestedIsMutable(); requested_.set(index, value); bitField0_ |= 0x00000002; @@ -996,17 +1089,21 @@ public Builder setRequested( return this; } /** + * + * *
      * A list of full type names of requested contexts.
      * 
* * repeated string requested = 2; + * * @param value The requested to add. * @return This builder for chaining. */ - public Builder addRequested( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRequested(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRequestedIsMutable(); requested_.add(value); bitField0_ |= 0x00000002; @@ -1014,50 +1111,58 @@ public Builder addRequested( return this; } /** + * + * *
      * A list of full type names of requested contexts.
      * 
* * repeated string requested = 2; + * * @param values The requested to add. * @return This builder for chaining. */ - public Builder addAllRequested( - java.lang.Iterable values) { + public Builder addAllRequested(java.lang.Iterable values) { ensureRequestedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requested_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requested_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A list of full type names of requested contexts.
      * 
* * repeated string requested = 2; + * * @return This builder for chaining. */ public Builder clearRequested() { - requested_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + requested_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * A list of full type names of requested contexts.
      * 
* * repeated string requested = 2; + * * @param value The bytes of the requested to add. * @return This builder for chaining. */ - public Builder addRequestedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRequestedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRequestedIsMutable(); requested_.add(value); @@ -1068,6 +1173,7 @@ public Builder addRequestedBytes( private com.google.protobuf.LazyStringArrayList provided_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureProvidedIsMutable() { if (!provided_.isModifiable()) { provided_ = new com.google.protobuf.LazyStringArrayList(provided_); @@ -1075,35 +1181,43 @@ private void ensureProvidedIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * A list of full type names of provided contexts.
      * 
* * repeated string provided = 3; + * * @return A list containing the provided. */ - public com.google.protobuf.ProtocolStringList - getProvidedList() { + public com.google.protobuf.ProtocolStringList getProvidedList() { provided_.makeImmutable(); return provided_; } /** + * + * *
      * A list of full type names of provided contexts.
      * 
* * repeated string provided = 3; + * * @return The count of provided. */ public int getProvidedCount() { return provided_.size(); } /** + * + * *
      * A list of full type names of provided contexts.
      * 
* * repeated string provided = 3; + * * @param index The index of the element to return. * @return The provided at the given index. */ @@ -1111,31 +1225,37 @@ public java.lang.String getProvided(int index) { return provided_.get(index); } /** + * + * *
      * A list of full type names of provided contexts.
      * 
* * repeated string provided = 3; + * * @param index The index of the value to return. * @return The bytes of the provided at the given index. */ - public com.google.protobuf.ByteString - getProvidedBytes(int index) { + public com.google.protobuf.ByteString getProvidedBytes(int index) { return provided_.getByteString(index); } /** + * + * *
      * A list of full type names of provided contexts.
      * 
* * repeated string provided = 3; + * * @param index The index to set the value at. * @param value The provided to set. * @return This builder for chaining. */ - public Builder setProvided( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProvided(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProvidedIsMutable(); provided_.set(index, value); bitField0_ |= 0x00000004; @@ -1143,17 +1263,21 @@ public Builder setProvided( return this; } /** + * + * *
      * A list of full type names of provided contexts.
      * 
* * repeated string provided = 3; + * * @param value The provided to add. * @return This builder for chaining. */ - public Builder addProvided( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProvided(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureProvidedIsMutable(); provided_.add(value); bitField0_ |= 0x00000004; @@ -1161,50 +1285,58 @@ public Builder addProvided( return this; } /** + * + * *
      * A list of full type names of provided contexts.
      * 
* * repeated string provided = 3; + * * @param values The provided to add. * @return This builder for chaining. */ - public Builder addAllProvided( - java.lang.Iterable values) { + public Builder addAllProvided(java.lang.Iterable values) { ensureProvidedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, provided_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, provided_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A list of full type names of provided contexts.
      * 
* * repeated string provided = 3; + * * @return This builder for chaining. */ public Builder clearProvided() { - provided_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + provided_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * A list of full type names of provided contexts.
      * 
* * repeated string provided = 3; + * * @param value The bytes of the provided to add. * @return This builder for chaining. */ - public Builder addProvidedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addProvidedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureProvidedIsMutable(); provided_.add(value); @@ -1215,45 +1347,55 @@ public Builder addProvidedBytes( private com.google.protobuf.LazyStringArrayList allowedRequestExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAllowedRequestExtensionsIsMutable() { if (!allowedRequestExtensions_.isModifiable()) { - allowedRequestExtensions_ = new com.google.protobuf.LazyStringArrayList(allowedRequestExtensions_); + allowedRequestExtensions_ = + new com.google.protobuf.LazyStringArrayList(allowedRequestExtensions_); } bitField0_ |= 0x00000008; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from client to backend.
      * 
* * repeated string allowed_request_extensions = 4; + * * @return A list containing the allowedRequestExtensions. */ - public com.google.protobuf.ProtocolStringList - getAllowedRequestExtensionsList() { + public com.google.protobuf.ProtocolStringList getAllowedRequestExtensionsList() { allowedRequestExtensions_.makeImmutable(); return allowedRequestExtensions_; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from client to backend.
      * 
* * repeated string allowed_request_extensions = 4; + * * @return The count of allowedRequestExtensions. */ public int getAllowedRequestExtensionsCount() { return allowedRequestExtensions_.size(); } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from client to backend.
      * 
* * repeated string allowed_request_extensions = 4; + * * @param index The index of the element to return. * @return The allowedRequestExtensions at the given index. */ @@ -1261,33 +1403,39 @@ public java.lang.String getAllowedRequestExtensions(int index) { return allowedRequestExtensions_.get(index); } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from client to backend.
      * 
* * repeated string allowed_request_extensions = 4; + * * @param index The index of the value to return. * @return The bytes of the allowedRequestExtensions at the given index. */ - public com.google.protobuf.ByteString - getAllowedRequestExtensionsBytes(int index) { + public com.google.protobuf.ByteString getAllowedRequestExtensionsBytes(int index) { return allowedRequestExtensions_.getByteString(index); } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from client to backend.
      * 
* * repeated string allowed_request_extensions = 4; + * * @param index The index to set the value at. * @param value The allowedRequestExtensions to set. * @return This builder for chaining. */ - public Builder setAllowedRequestExtensions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllowedRequestExtensions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedRequestExtensionsIsMutable(); allowedRequestExtensions_.set(index, value); bitField0_ |= 0x00000008; @@ -1295,18 +1443,22 @@ public Builder setAllowedRequestExtensions( return this; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from client to backend.
      * 
* * repeated string allowed_request_extensions = 4; + * * @param value The allowedRequestExtensions to add. * @return This builder for chaining. */ - public Builder addAllowedRequestExtensions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedRequestExtensions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedRequestExtensionsIsMutable(); allowedRequestExtensions_.add(value); bitField0_ |= 0x00000008; @@ -1314,53 +1466,61 @@ public Builder addAllowedRequestExtensions( return this; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from client to backend.
      * 
* * repeated string allowed_request_extensions = 4; + * * @param values The allowedRequestExtensions to add. * @return This builder for chaining. */ - public Builder addAllAllowedRequestExtensions( - java.lang.Iterable values) { + public Builder addAllAllowedRequestExtensions(java.lang.Iterable values) { ensureAllowedRequestExtensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedRequestExtensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedRequestExtensions_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from client to backend.
      * 
* * repeated string allowed_request_extensions = 4; + * * @return This builder for chaining. */ public Builder clearAllowedRequestExtensions() { - allowedRequestExtensions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + allowedRequestExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from client to backend.
      * 
* * repeated string allowed_request_extensions = 4; + * * @param value The bytes of the allowedRequestExtensions to add. * @return This builder for chaining. */ - public Builder addAllowedRequestExtensionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedRequestExtensionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAllowedRequestExtensionsIsMutable(); allowedRequestExtensions_.add(value); @@ -1371,45 +1531,55 @@ public Builder addAllowedRequestExtensionsBytes( private com.google.protobuf.LazyStringArrayList allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAllowedResponseExtensionsIsMutable() { if (!allowedResponseExtensions_.isModifiable()) { - allowedResponseExtensions_ = new com.google.protobuf.LazyStringArrayList(allowedResponseExtensions_); + allowedResponseExtensions_ = + new com.google.protobuf.LazyStringArrayList(allowedResponseExtensions_); } bitField0_ |= 0x00000010; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from backend to client.
      * 
* * repeated string allowed_response_extensions = 5; + * * @return A list containing the allowedResponseExtensions. */ - public com.google.protobuf.ProtocolStringList - getAllowedResponseExtensionsList() { + public com.google.protobuf.ProtocolStringList getAllowedResponseExtensionsList() { allowedResponseExtensions_.makeImmutable(); return allowedResponseExtensions_; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from backend to client.
      * 
* * repeated string allowed_response_extensions = 5; + * * @return The count of allowedResponseExtensions. */ public int getAllowedResponseExtensionsCount() { return allowedResponseExtensions_.size(); } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from backend to client.
      * 
* * repeated string allowed_response_extensions = 5; + * * @param index The index of the element to return. * @return The allowedResponseExtensions at the given index. */ @@ -1417,33 +1587,39 @@ public java.lang.String getAllowedResponseExtensions(int index) { return allowedResponseExtensions_.get(index); } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from backend to client.
      * 
* * repeated string allowed_response_extensions = 5; + * * @param index The index of the value to return. * @return The bytes of the allowedResponseExtensions at the given index. */ - public com.google.protobuf.ByteString - getAllowedResponseExtensionsBytes(int index) { + public com.google.protobuf.ByteString getAllowedResponseExtensionsBytes(int index) { return allowedResponseExtensions_.getByteString(index); } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from backend to client.
      * 
* * repeated string allowed_response_extensions = 5; + * * @param index The index to set the value at. * @param value The allowedResponseExtensions to set. * @return This builder for chaining. */ - public Builder setAllowedResponseExtensions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllowedResponseExtensions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedResponseExtensionsIsMutable(); allowedResponseExtensions_.set(index, value); bitField0_ |= 0x00000010; @@ -1451,18 +1627,22 @@ public Builder setAllowedResponseExtensions( return this; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from backend to client.
      * 
* * repeated string allowed_response_extensions = 5; + * * @param value The allowedResponseExtensions to add. * @return This builder for chaining. */ - public Builder addAllowedResponseExtensions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedResponseExtensions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedResponseExtensionsIsMutable(); allowedResponseExtensions_.add(value); bitField0_ |= 0x00000010; @@ -1470,53 +1650,61 @@ public Builder addAllowedResponseExtensions( return this; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from backend to client.
      * 
* * repeated string allowed_response_extensions = 5; + * * @param values The allowedResponseExtensions to add. * @return This builder for chaining. */ - public Builder addAllAllowedResponseExtensions( - java.lang.Iterable values) { + public Builder addAllAllowedResponseExtensions(java.lang.Iterable values) { ensureAllowedResponseExtensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedResponseExtensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedResponseExtensions_); bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from backend to client.
      * 
* * repeated string allowed_response_extensions = 5; + * * @return This builder for chaining. */ public Builder clearAllowedResponseExtensions() { - allowedResponseExtensions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
      * A list of full type names or extension IDs of extensions allowed in grpc
      * side channel from backend to client.
      * 
* * repeated string allowed_response_extensions = 5; + * * @param value The bytes of the allowedResponseExtensions to add. * @return This builder for chaining. */ - public Builder addAllowedResponseExtensionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedResponseExtensionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAllowedResponseExtensionsIsMutable(); allowedResponseExtensions_.add(value); @@ -1524,9 +1712,9 @@ public Builder addAllowedResponseExtensionsBytes( 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); } @@ -1536,12 +1724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.ContextRule) } // @@protoc_insertion_point(class_scope:google.api.ContextRule) private static final com.google.api.ContextRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.ContextRule(); } @@ -1550,27 +1738,27 @@ public static com.google.api.ContextRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContextRule 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 ContextRule 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; @@ -1585,6 +1773,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.ContextRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java similarity index 78% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java index 0e3b370678..e45c5edf07 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface ContextRuleOrBuilder extends +public interface ContextRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.ContextRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -16,10 +34,13 @@ public interface ContextRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The selector. */ java.lang.String getSelector(); /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -28,180 +49,220 @@ public interface ContextRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The bytes for selector. */ - com.google.protobuf.ByteString - getSelectorBytes(); + com.google.protobuf.ByteString getSelectorBytes(); /** + * + * *
    * A list of full type names of requested contexts.
    * 
* * repeated string requested = 2; + * * @return A list containing the requested. */ - java.util.List - getRequestedList(); + java.util.List getRequestedList(); /** + * + * *
    * A list of full type names of requested contexts.
    * 
* * repeated string requested = 2; + * * @return The count of requested. */ int getRequestedCount(); /** + * + * *
    * A list of full type names of requested contexts.
    * 
* * repeated string requested = 2; + * * @param index The index of the element to return. * @return The requested at the given index. */ java.lang.String getRequested(int index); /** + * + * *
    * A list of full type names of requested contexts.
    * 
* * repeated string requested = 2; + * * @param index The index of the value to return. * @return The bytes of the requested at the given index. */ - com.google.protobuf.ByteString - getRequestedBytes(int index); + com.google.protobuf.ByteString getRequestedBytes(int index); /** + * + * *
    * A list of full type names of provided contexts.
    * 
* * repeated string provided = 3; + * * @return A list containing the provided. */ - java.util.List - getProvidedList(); + java.util.List getProvidedList(); /** + * + * *
    * A list of full type names of provided contexts.
    * 
* * repeated string provided = 3; + * * @return The count of provided. */ int getProvidedCount(); /** + * + * *
    * A list of full type names of provided contexts.
    * 
* * repeated string provided = 3; + * * @param index The index of the element to return. * @return The provided at the given index. */ java.lang.String getProvided(int index); /** + * + * *
    * A list of full type names of provided contexts.
    * 
* * repeated string provided = 3; + * * @param index The index of the value to return. * @return The bytes of the provided at the given index. */ - com.google.protobuf.ByteString - getProvidedBytes(int index); + com.google.protobuf.ByteString getProvidedBytes(int index); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from client to backend.
    * 
* * repeated string allowed_request_extensions = 4; + * * @return A list containing the allowedRequestExtensions. */ - java.util.List - getAllowedRequestExtensionsList(); + java.util.List getAllowedRequestExtensionsList(); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from client to backend.
    * 
* * repeated string allowed_request_extensions = 4; + * * @return The count of allowedRequestExtensions. */ int getAllowedRequestExtensionsCount(); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from client to backend.
    * 
* * repeated string allowed_request_extensions = 4; + * * @param index The index of the element to return. * @return The allowedRequestExtensions at the given index. */ java.lang.String getAllowedRequestExtensions(int index); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from client to backend.
    * 
* * repeated string allowed_request_extensions = 4; + * * @param index The index of the value to return. * @return The bytes of the allowedRequestExtensions at the given index. */ - com.google.protobuf.ByteString - getAllowedRequestExtensionsBytes(int index); + com.google.protobuf.ByteString getAllowedRequestExtensionsBytes(int index); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from backend to client.
    * 
* * repeated string allowed_response_extensions = 5; + * * @return A list containing the allowedResponseExtensions. */ - java.util.List - getAllowedResponseExtensionsList(); + java.util.List getAllowedResponseExtensionsList(); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from backend to client.
    * 
* * repeated string allowed_response_extensions = 5; + * * @return The count of allowedResponseExtensions. */ int getAllowedResponseExtensionsCount(); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from backend to client.
    * 
* * repeated string allowed_response_extensions = 5; + * * @param index The index of the element to return. * @return The allowedResponseExtensions at the given index. */ java.lang.String getAllowedResponseExtensions(int index); /** + * + * *
    * A list of full type names or extension IDs of extensions allowed in grpc
    * side channel from backend to client.
    * 
* * repeated string allowed_response_extensions = 5; + * * @param index The index of the value to return. * @return The bytes of the allowedResponseExtensions at the given index. */ - com.google.protobuf.ByteString - getAllowedResponseExtensionsBytes(int index); + com.google.protobuf.ByteString getAllowedResponseExtensionsBytes(int index); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Control.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java similarity index 75% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Control.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java index 6c332a1257..f5522a01b7 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Control.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Selects and configures the service controller used by the service.
  *
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.api.Control}
  */
-public final class Control extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Control extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Control)
     ControlOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Control.newBuilder() to construct.
   private Control(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Control() {
     environment_ = "";
     methodPolicies_ = java.util.Collections.emptyList();
@@ -31,13 +49,11 @@ private Control() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Control();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ControlProto.internal_static_google_api_Control_descriptor;
   }
 
@@ -50,9 +66,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int ENVIRONMENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object environment_ = "";
   /**
+   *
+   *
    * 
    * The service controller environment to use. If empty, no control plane
    * feature (like quota and billing) will be enabled. The recommended value for
@@ -60,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string environment = 1; + * * @return The environment. */ @java.lang.Override @@ -68,14 +88,15 @@ public java.lang.String getEnvironment() { 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(); environment_ = s; return s; } } /** + * + * *
    * The service controller environment to use. If empty, no control plane
    * feature (like quota and billing) will be enabled. The recommended value for
@@ -83,16 +104,15 @@ public java.lang.String getEnvironment() {
    * 
* * string environment = 1; + * * @return The bytes for environment. */ @java.lang.Override - public com.google.protobuf.ByteString - getEnvironmentBytes() { + public com.google.protobuf.ByteString getEnvironmentBytes() { java.lang.Object ref = environment_; 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); environment_ = b; return b; } else { @@ -101,9 +121,12 @@ public java.lang.String getEnvironment() { } public static final int METHOD_POLICIES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List methodPolicies_; /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
@@ -115,6 +138,8 @@ public java.util.List getMethodPoliciesList() { return methodPolicies_; } /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
@@ -122,11 +147,13 @@ public java.util.List getMethodPoliciesList() { * repeated .google.api.MethodPolicy method_policies = 4; */ @java.lang.Override - public java.util.List + public java.util.List getMethodPoliciesOrBuilderList() { return methodPolicies_; } /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
@@ -138,6 +165,8 @@ public int getMethodPoliciesCount() { return methodPolicies_.size(); } /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
@@ -149,6 +178,8 @@ public com.google.api.MethodPolicy getMethodPolicies(int index) { return methodPolicies_.get(index); } /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
@@ -156,12 +187,12 @@ public com.google.api.MethodPolicy getMethodPolicies(int index) { * repeated .google.api.MethodPolicy method_policies = 4; */ @java.lang.Override - public com.google.api.MethodPolicyOrBuilder getMethodPoliciesOrBuilder( - int index) { + public com.google.api.MethodPolicyOrBuilder getMethodPoliciesOrBuilder(int index) { return methodPolicies_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +204,7 @@ 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(environment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_); } @@ -194,8 +224,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, environment_); } for (int i = 0; i < methodPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, methodPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, methodPolicies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -205,17 +234,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.Control)) { return super.equals(obj); } com.google.api.Control other = (com.google.api.Control) obj; - if (!getEnvironment() - .equals(other.getEnvironment())) return false; - if (!getMethodPoliciesList() - .equals(other.getMethodPoliciesList())) return false; + if (!getEnvironment().equals(other.getEnvironment())) return false; + if (!getMethodPoliciesList().equals(other.getMethodPoliciesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -238,99 +265,103 @@ public int hashCode() { return hash; } - public static com.google.api.Control parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Control parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Control 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.Control parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.Control parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Control 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.Control parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Control 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.Control 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.Control 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.Control 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.Control 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.Control parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.Control 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.Control 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.Control 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; } /** + * + * *
    * Selects and configures the service controller used by the service.
    *
@@ -342,12 +373,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Control}
    */
-  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.Control)
       com.google.api.ControlOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.ControlProto.internal_static_google_api_Control_descriptor;
     }
 
@@ -360,15 +390,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Control.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -385,8 +412,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.ControlProto.internal_static_google_api_Control_descriptor;
     }
 
@@ -408,7 +434,9 @@ public com.google.api.Control build() {
     public com.google.api.Control buildPartial() {
       com.google.api.Control result = new com.google.api.Control(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -436,38 +464,39 @@ private void buildPartial0(com.google.api.Control 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.Control) {
-        return mergeFrom((com.google.api.Control)other);
+        return mergeFrom((com.google.api.Control) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -499,9 +528,10 @@ public Builder mergeFrom(com.google.api.Control other) {
             methodPoliciesBuilder_ = null;
             methodPolicies_ = other.methodPolicies_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            methodPoliciesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getMethodPoliciesFieldBuilder() : null;
+            methodPoliciesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getMethodPoliciesFieldBuilder()
+                    : null;
           } else {
             methodPoliciesBuilder_.addAllMessages(other.methodPolicies_);
           }
@@ -533,30 +563,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              environment_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 34: {
-              com.google.api.MethodPolicy m =
-                  input.readMessage(
-                      com.google.api.MethodPolicy.parser(),
-                      extensionRegistry);
-              if (methodPoliciesBuilder_ == null) {
-                ensureMethodPoliciesIsMutable();
-                methodPolicies_.add(m);
-              } else {
-                methodPoliciesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                environment_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 34:
+              {
+                com.google.api.MethodPolicy m =
+                    input.readMessage(com.google.api.MethodPolicy.parser(), extensionRegistry);
+                if (methodPoliciesBuilder_ == null) {
+                  ensureMethodPoliciesIsMutable();
+                  methodPolicies_.add(m);
+                } else {
+                  methodPoliciesBuilder_.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) {
@@ -566,10 +597,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object environment_ = "";
     /**
+     *
+     *
      * 
      * The service controller environment to use. If empty, no control plane
      * feature (like quota and billing) will be enabled. The recommended value for
@@ -577,13 +611,13 @@ public Builder mergeFrom(
      * 
* * string environment = 1; + * * @return The environment. */ public java.lang.String getEnvironment() { java.lang.Object ref = environment_; 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(); environment_ = s; return s; @@ -592,6 +626,8 @@ public java.lang.String getEnvironment() { } } /** + * + * *
      * The service controller environment to use. If empty, no control plane
      * feature (like quota and billing) will be enabled. The recommended value for
@@ -599,15 +635,14 @@ public java.lang.String getEnvironment() {
      * 
* * string environment = 1; + * * @return The bytes for environment. */ - public com.google.protobuf.ByteString - getEnvironmentBytes() { + public com.google.protobuf.ByteString getEnvironmentBytes() { java.lang.Object ref = environment_; 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); environment_ = b; return b; } else { @@ -615,6 +650,8 @@ public java.lang.String getEnvironment() { } } /** + * + * *
      * The service controller environment to use. If empty, no control plane
      * feature (like quota and billing) will be enabled. The recommended value for
@@ -622,18 +659,22 @@ public java.lang.String getEnvironment() {
      * 
* * string environment = 1; + * * @param value The environment to set. * @return This builder for chaining. */ - public Builder setEnvironment( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEnvironment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } environment_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The service controller environment to use. If empty, no control plane
      * feature (like quota and billing) will be enabled. The recommended value for
@@ -641,6 +682,7 @@ public Builder setEnvironment(
      * 
* * string environment = 1; + * * @return This builder for chaining. */ public Builder clearEnvironment() { @@ -650,6 +692,8 @@ public Builder clearEnvironment() { return this; } /** + * + * *
      * The service controller environment to use. If empty, no control plane
      * feature (like quota and billing) will be enabled. The recommended value for
@@ -657,12 +701,14 @@ public Builder clearEnvironment() {
      * 
* * string environment = 1; + * * @param value The bytes for environment to set. * @return This builder for chaining. */ - public Builder setEnvironmentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEnvironmentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); environment_ = value; bitField0_ |= 0x00000001; @@ -671,18 +717,24 @@ public Builder setEnvironmentBytes( } private java.util.List methodPolicies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMethodPoliciesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { methodPolicies_ = new java.util.ArrayList(methodPolicies_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MethodPolicy, com.google.api.MethodPolicy.Builder, com.google.api.MethodPolicyOrBuilder> methodPoliciesBuilder_; + com.google.api.MethodPolicy, + com.google.api.MethodPolicy.Builder, + com.google.api.MethodPolicyOrBuilder> + methodPoliciesBuilder_; /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -697,6 +749,8 @@ public java.util.List getMethodPoliciesList() { } } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -711,6 +765,8 @@ public int getMethodPoliciesCount() { } } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -725,14 +781,15 @@ public com.google.api.MethodPolicy getMethodPolicies(int index) { } } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - public Builder setMethodPolicies( - int index, com.google.api.MethodPolicy value) { + public Builder setMethodPolicies(int index, com.google.api.MethodPolicy value) { if (methodPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -746,6 +803,8 @@ public Builder setMethodPolicies( return this; } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -764,6 +823,8 @@ public Builder setMethodPolicies( return this; } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -784,14 +845,15 @@ public Builder addMethodPolicies(com.google.api.MethodPolicy value) { return this; } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - public Builder addMethodPolicies( - int index, com.google.api.MethodPolicy value) { + public Builder addMethodPolicies(int index, com.google.api.MethodPolicy value) { if (methodPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -805,14 +867,15 @@ public Builder addMethodPolicies( return this; } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - public Builder addMethodPolicies( - com.google.api.MethodPolicy.Builder builderForValue) { + public Builder addMethodPolicies(com.google.api.MethodPolicy.Builder builderForValue) { if (methodPoliciesBuilder_ == null) { ensureMethodPoliciesIsMutable(); methodPolicies_.add(builderForValue.build()); @@ -823,6 +886,8 @@ public Builder addMethodPolicies( return this; } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -841,6 +906,8 @@ public Builder addMethodPolicies( return this; } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -851,8 +918,7 @@ public Builder addAllMethodPolicies( java.lang.Iterable values) { if (methodPoliciesBuilder_ == null) { ensureMethodPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, methodPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, methodPolicies_); onChanged(); } else { methodPoliciesBuilder_.addAllMessages(values); @@ -860,6 +926,8 @@ public Builder addAllMethodPolicies( return this; } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -877,6 +945,8 @@ public Builder clearMethodPolicies() { return this; } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -894,39 +964,44 @@ public Builder removeMethodPolicies(int index) { return this; } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - public com.google.api.MethodPolicy.Builder getMethodPoliciesBuilder( - int index) { + public com.google.api.MethodPolicy.Builder getMethodPoliciesBuilder(int index) { return getMethodPoliciesFieldBuilder().getBuilder(index); } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - public com.google.api.MethodPolicyOrBuilder getMethodPoliciesOrBuilder( - int index) { + public com.google.api.MethodPolicyOrBuilder getMethodPoliciesOrBuilder(int index) { if (methodPoliciesBuilder_ == null) { - return methodPolicies_.get(index); } else { + return methodPolicies_.get(index); + } else { return methodPoliciesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - public java.util.List - getMethodPoliciesOrBuilderList() { + public java.util.List + getMethodPoliciesOrBuilderList() { if (methodPoliciesBuilder_ != null) { return methodPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -934,6 +1009,8 @@ public com.google.api.MethodPolicyOrBuilder getMethodPoliciesOrBuilder( } } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
@@ -941,38 +1018,46 @@ public com.google.api.MethodPolicyOrBuilder getMethodPoliciesOrBuilder( * repeated .google.api.MethodPolicy method_policies = 4; */ public com.google.api.MethodPolicy.Builder addMethodPoliciesBuilder() { - return getMethodPoliciesFieldBuilder().addBuilder( - com.google.api.MethodPolicy.getDefaultInstance()); + return getMethodPoliciesFieldBuilder() + .addBuilder(com.google.api.MethodPolicy.getDefaultInstance()); } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - public com.google.api.MethodPolicy.Builder addMethodPoliciesBuilder( - int index) { - return getMethodPoliciesFieldBuilder().addBuilder( - index, com.google.api.MethodPolicy.getDefaultInstance()); + public com.google.api.MethodPolicy.Builder addMethodPoliciesBuilder(int index) { + return getMethodPoliciesFieldBuilder() + .addBuilder(index, com.google.api.MethodPolicy.getDefaultInstance()); } /** + * + * *
      * Defines policies applying to the API methods of the service.
      * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - public java.util.List - getMethodPoliciesBuilderList() { + public java.util.List getMethodPoliciesBuilderList() { return getMethodPoliciesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MethodPolicy, com.google.api.MethodPolicy.Builder, com.google.api.MethodPolicyOrBuilder> + com.google.api.MethodPolicy, + com.google.api.MethodPolicy.Builder, + com.google.api.MethodPolicyOrBuilder> getMethodPoliciesFieldBuilder() { if (methodPoliciesBuilder_ == null) { - methodPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MethodPolicy, com.google.api.MethodPolicy.Builder, com.google.api.MethodPolicyOrBuilder>( + methodPoliciesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.MethodPolicy, + com.google.api.MethodPolicy.Builder, + com.google.api.MethodPolicyOrBuilder>( methodPolicies_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -981,9 +1066,9 @@ public com.google.api.MethodPolicy.Builder addMethodPoliciesBuilder( } return methodPoliciesBuilder_; } + @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); } @@ -993,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Control) } // @@protoc_insertion_point(class_scope:google.api.Control) private static final com.google.api.Control DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Control(); } @@ -1007,27 +1092,27 @@ public static com.google.api.Control getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Control 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 Control 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; @@ -1042,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Control getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java similarity index 69% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java index 9f5c8a8cb3..0cf9413df8 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface ControlOrBuilder extends +public interface ControlOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Control) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The service controller environment to use. If empty, no control plane
    * feature (like quota and billing) will be enabled. The recommended value for
@@ -15,10 +33,13 @@ public interface ControlOrBuilder extends
    * 
* * string environment = 1; + * * @return The environment. */ java.lang.String getEnvironment(); /** + * + * *
    * The service controller environment to use. If empty, no control plane
    * feature (like quota and billing) will be enabled. The recommended value for
@@ -26,21 +47,24 @@ public interface ControlOrBuilder extends
    * 
* * string environment = 1; + * * @return The bytes for environment. */ - com.google.protobuf.ByteString - getEnvironmentBytes(); + com.google.protobuf.ByteString getEnvironmentBytes(); /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - java.util.List - getMethodPoliciesList(); + java.util.List getMethodPoliciesList(); /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
@@ -49,6 +73,8 @@ public interface ControlOrBuilder extends */ com.google.api.MethodPolicy getMethodPolicies(int index); /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
@@ -57,21 +83,23 @@ public interface ControlOrBuilder extends */ int getMethodPoliciesCount(); /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - java.util.List - getMethodPoliciesOrBuilderList(); + java.util.List getMethodPoliciesOrBuilderList(); /** + * + * *
    * Defines policies applying to the API methods of the service.
    * 
* * repeated .google.api.MethodPolicy method_policies = 4; */ - com.google.api.MethodPolicyOrBuilder getMethodPoliciesOrBuilder( - int index); + com.google.api.MethodPolicyOrBuilder getMethodPoliciesOrBuilder(int index); } 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 new file mode 100644 index 0000000000..47802a784d --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java @@ -0,0 +1,68 @@ +/* + * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java similarity index 68% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java index 17f8e242f7..2c7c14d208 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java @@ -1,36 +1,51 @@ +/* + * 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; /** + * + * *
  * Settings for C++ client libraries.
  * 
* * Protobuf type {@code google.api.CppSettings} */ -public final class CppSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CppSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.CppSettings) CppSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CppSettings.newBuilder() to construct. private CppSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CppSettings() { - } + + private CppSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CppSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_CppSettings_descriptor; } @@ -45,11 +60,14 @@ protected java.lang.Object newInstance( public static final int COMMON_FIELD_NUMBER = 1; private com.google.api.CommonLanguageSettings common_; /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -57,11 +75,14 @@ public boolean hasCommon() { return common_ != null; } /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ @java.lang.Override @@ -69,6 +90,8 @@ public com.google.api.CommonLanguageSettings getCommon() { return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; } /** + * + * *
    * Some settings.
    * 
@@ -81,6 +104,7 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +116,7 @@ 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 (common_ != null) { output.writeMessage(1, getCommon()); } @@ -107,8 +130,7 @@ public int getSerializedSize() { size = 0; if (common_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,7 +140,7 @@ 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.CppSettings)) { return super.equals(obj); @@ -127,8 +149,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -150,111 +171,114 @@ public int hashCode() { return hash; } - public static com.google.api.CppSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.CppSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.CppSettings 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.CppSettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.CppSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.CppSettings 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.CppSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.CppSettings 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.CppSettings 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.CppSettings 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.CppSettings 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.CppSettings 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.CppSettings parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.CppSettings 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.CppSettings 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.CppSettings 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; } /** + * + * *
    * Settings for C++ client libraries.
    * 
* * Protobuf type {@code google.api.CppSettings} */ - 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.CppSettings) com.google.api.CppSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_CppSettings_descriptor; } @@ -267,15 +291,12 @@ public static final class Builder extends } // Construct using com.google.api.CppSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,8 +310,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.ClientProto.internal_static_google_api_CppSettings_descriptor; } @@ -311,7 +331,9 @@ public com.google.api.CppSettings build() { @java.lang.Override public com.google.api.CppSettings buildPartial() { com.google.api.CppSettings result = new com.google.api.CppSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +341,7 @@ public com.google.api.CppSettings buildPartial() { private void buildPartial0(com.google.api.CppSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); } } @@ -329,38 +349,39 @@ private void buildPartial0(com.google.api.CppSettings 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.CppSettings) { - return mergeFrom((com.google.api.CppSettings)other); + return mergeFrom((com.google.api.CppSettings) other); } else { super.mergeFrom(other); return this; @@ -398,19 +419,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + 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) { @@ -420,38 +441,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.api.CommonLanguageSettings common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> commonBuilder_; + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> + commonBuilder_; /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ public com.google.api.CommonLanguageSettings getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Some settings.
      * 
@@ -472,14 +507,15 @@ public Builder setCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; */ - public Builder setCommon( - com.google.api.CommonLanguageSettings.Builder builderForValue) { + public Builder setCommon(com.google.api.CommonLanguageSettings.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -490,6 +526,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Some settings.
      * 
@@ -498,9 +536,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - common_ != null && - common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && common_ != null + && common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -513,6 +551,8 @@ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
@@ -530,6 +570,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Some settings.
      * 
@@ -542,6 +584,8 @@ public com.google.api.CommonLanguageSettings.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Some settings.
      * 
@@ -552,11 +596,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } } /** + * + * *
      * Some settings.
      * 
@@ -564,21 +611,24 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * .google.api.CommonLanguageSettings common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; } + @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); } @@ -588,12 +638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.CppSettings) } // @@protoc_insertion_point(class_scope:google.api.CppSettings) private static final com.google.api.CppSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.CppSettings(); } @@ -602,27 +652,27 @@ public static com.google.api.CppSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CppSettings 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 CppSettings 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; @@ -637,6 +687,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.CppSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java similarity index 54% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java index 751721f56b..f10fd5458c 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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 interface CppSettingsOrBuilder extends +public interface CppSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.CppSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ com.google.api.CommonLanguageSettings getCommon(); /** + * + * *
    * Some settings.
    * 
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java similarity index 69% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java index 4823625886..8b1b07a164 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java @@ -1,24 +1,42 @@ +/* + * 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; /** + * + * *
  * A custom pattern is used for defining custom HTTP verb.
  * 
* * Protobuf type {@code google.api.CustomHttpPattern} */ -public final class CustomHttpPattern extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomHttpPattern extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.CustomHttpPattern) CustomHttpPatternOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomHttpPattern.newBuilder() to construct. private CustomHttpPattern(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomHttpPattern() { kind_ = ""; path_ = ""; @@ -26,13 +44,11 @@ private CustomHttpPattern() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomHttpPattern(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.HttpProto.internal_static_google_api_CustomHttpPattern_descriptor; } @@ -45,14 +61,18 @@ protected java.lang.Object newInstance( } public static final int KIND_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object kind_ = ""; /** + * + * *
    * The name of this custom HTTP verb.
    * 
* * string kind = 1; + * * @return The kind. */ @java.lang.Override @@ -61,29 +81,29 @@ public java.lang.String getKind() { 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(); kind_ = s; return s; } } /** + * + * *
    * The name of this custom HTTP verb.
    * 
* * string kind = 1; + * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; 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); kind_ = b; return b; } else { @@ -92,14 +112,18 @@ public java.lang.String getKind() { } public static final int PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** + * + * *
    * The path matched by this custom verb.
    * 
* * string path = 2; + * * @return The path. */ @java.lang.Override @@ -108,29 +132,29 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** + * + * *
    * The path matched by this custom verb.
    * 
* * string path = 2; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -139,6 +163,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +175,7 @@ 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(kind_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); } @@ -181,17 +205,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.CustomHttpPattern)) { return super.equals(obj); } com.google.api.CustomHttpPattern other = (com.google.api.CustomHttpPattern) obj; - if (!getKind() - .equals(other.getKind())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getKind().equals(other.getKind())) return false; + if (!getPath().equals(other.getPath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -212,132 +234,134 @@ public int hashCode() { return hash; } - public static com.google.api.CustomHttpPattern parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.CustomHttpPattern parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.CustomHttpPattern 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.CustomHttpPattern parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.CustomHttpPattern parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.CustomHttpPattern 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.CustomHttpPattern parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.CustomHttpPattern 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.CustomHttpPattern 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.CustomHttpPattern 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.CustomHttpPattern 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.CustomHttpPattern 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.CustomHttpPattern parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.CustomHttpPattern 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.CustomHttpPattern 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; } /** + * + * *
    * A custom pattern is used for defining custom HTTP verb.
    * 
* * Protobuf type {@code google.api.CustomHttpPattern} */ - 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.CustomHttpPattern) com.google.api.CustomHttpPatternOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.HttpProto.internal_static_google_api_CustomHttpPattern_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.HttpProto.internal_static_google_api_CustomHttpPattern_fieldAccessorTable + return com.google.api.HttpProto + .internal_static_google_api_CustomHttpPattern_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.CustomHttpPattern.class, com.google.api.CustomHttpPattern.Builder.class); + com.google.api.CustomHttpPattern.class, + com.google.api.CustomHttpPattern.Builder.class); } // Construct using com.google.api.CustomHttpPattern.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -348,8 +372,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.HttpProto.internal_static_google_api_CustomHttpPattern_descriptor; } @@ -370,7 +393,9 @@ public com.google.api.CustomHttpPattern build() { @java.lang.Override public com.google.api.CustomHttpPattern buildPartial() { com.google.api.CustomHttpPattern result = new com.google.api.CustomHttpPattern(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -389,38 +414,39 @@ private void buildPartial0(com.google.api.CustomHttpPattern 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.CustomHttpPattern) { - return mergeFrom((com.google.api.CustomHttpPattern)other); + return mergeFrom((com.google.api.CustomHttpPattern) other); } else { super.mergeFrom(other); return this; @@ -465,22 +491,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + path_ = 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) { @@ -490,22 +519,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object kind_ = ""; /** + * + * *
      * The name of this custom HTTP verb.
      * 
* * string kind = 1; + * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; 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(); kind_ = s; return s; @@ -514,20 +546,21 @@ public java.lang.String getKind() { } } /** + * + * *
      * The name of this custom HTTP verb.
      * 
* * string kind = 1; + * * @return The bytes for kind. */ - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; 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); kind_ = b; return b; } else { @@ -535,28 +568,35 @@ public java.lang.String getKind() { } } /** + * + * *
      * The name of this custom HTTP verb.
      * 
* * string kind = 1; + * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kind_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of this custom HTTP verb.
      * 
* * string kind = 1; + * * @return This builder for chaining. */ public Builder clearKind() { @@ -566,17 +606,21 @@ public Builder clearKind() { return this; } /** + * + * *
      * The name of this custom HTTP verb.
      * 
* * string kind = 1; + * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kind_ = value; bitField0_ |= 0x00000001; @@ -586,18 +630,20 @@ public Builder setKindBytes( private java.lang.Object path_ = ""; /** + * + * *
      * The path matched by this custom verb.
      * 
* * string path = 2; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -606,20 +652,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * The path matched by this custom verb.
      * 
* * string path = 2; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -627,28 +674,35 @@ public java.lang.String getPath() { } } /** + * + * *
      * The path matched by this custom verb.
      * 
* * string path = 2; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } path_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The path matched by this custom verb.
      * 
* * string path = 2; + * * @return This builder for chaining. */ public Builder clearPath() { @@ -658,26 +712,30 @@ public Builder clearPath() { return this; } /** + * + * *
      * The path matched by this custom verb.
      * 
* * string path = 2; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); path_ = 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); } @@ -687,12 +745,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.CustomHttpPattern) } // @@protoc_insertion_point(class_scope:google.api.CustomHttpPattern) private static final com.google.api.CustomHttpPattern DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.CustomHttpPattern(); } @@ -701,27 +759,27 @@ public static com.google.api.CustomHttpPattern getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomHttpPattern 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 CustomHttpPattern 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; @@ -736,6 +794,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.CustomHttpPattern getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java similarity index 52% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java index 542756d511..e33130b009 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java @@ -1,49 +1,75 @@ +/* + * 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 interface CustomHttpPatternOrBuilder extends +public interface CustomHttpPatternOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.CustomHttpPattern) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this custom HTTP verb.
    * 
* * string kind = 1; + * * @return The kind. */ java.lang.String getKind(); /** + * + * *
    * The name of this custom HTTP verb.
    * 
* * string kind = 1; + * * @return The bytes for kind. */ - com.google.protobuf.ByteString - getKindBytes(); + com.google.protobuf.ByteString getKindBytes(); /** + * + * *
    * The path matched by this custom verb.
    * 
* * string path = 2; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * The path matched by this custom verb.
    * 
* * string path = 2; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Distribution.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java similarity index 77% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Distribution.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java index eb44d940e9..15b4718339 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Distribution.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * `Distribution` contains summary statistics for a population of values. It
  * optionally contains a histogram representing the distribution of those values
@@ -23,15 +40,16 @@
  *
  * Protobuf type {@code google.api.Distribution}
  */
-public final class Distribution extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Distribution extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Distribution)
     DistributionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Distribution.newBuilder() to construct.
   private Distribution(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Distribution() {
     bucketCounts_ = emptyLongList();
     exemplars_ = java.util.Collections.emptyList();
@@ -39,95 +57,107 @@ private Distribution() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Distribution();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.DistributionProto.internal_static_google_api_Distribution_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.DistributionProto.internal_static_google_api_Distribution_fieldAccessorTable
+    return com.google.api.DistributionProto
+        .internal_static_google_api_Distribution_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.api.Distribution.class, com.google.api.Distribution.Builder.class);
   }
 
-  public interface RangeOrBuilder extends
+  public interface RangeOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.api.Distribution.Range)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The minimum of the population values.
      * 
* * double min = 1; + * * @return The min. */ double getMin(); /** + * + * *
      * The maximum of the population values.
      * 
* * double max = 2; + * * @return The max. */ double getMax(); } /** + * + * *
    * The range of the population values.
    * 
* * Protobuf type {@code google.api.Distribution.Range} */ - public static final class Range extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Range extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.Distribution.Range) RangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Range.newBuilder() to construct. private Range(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Range() { - } + + private Range() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Range(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.api.DistributionProto + .internal_static_google_api_Distribution_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_fieldAccessorTable + return com.google.api.DistributionProto + .internal_static_google_api_Distribution_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.Distribution.Range.class, com.google.api.Distribution.Range.Builder.class); + com.google.api.Distribution.Range.class, + com.google.api.Distribution.Range.Builder.class); } public static final int MIN_FIELD_NUMBER = 1; private double min_ = 0D; /** + * + * *
      * The minimum of the population values.
      * 
* * double min = 1; + * * @return The min. */ @java.lang.Override @@ -138,11 +168,14 @@ public double getMin() { public static final int MAX_FIELD_NUMBER = 2; private double max_ = 0D; /** + * + * *
      * The maximum of the population values.
      * 
* * double max = 2; + * * @return The max. */ @java.lang.Override @@ -151,6 +184,7 @@ public double getMax() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -162,8 +196,7 @@ 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 (java.lang.Double.doubleToRawLongBits(min_) != 0) { output.writeDouble(1, min_); } @@ -180,12 +213,10 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(min_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, min_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, min_); } if (java.lang.Double.doubleToRawLongBits(max_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, max_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, max_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -195,7 +226,7 @@ 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.Distribution.Range)) { return super.equals(obj); @@ -203,11 +234,9 @@ public boolean equals(final java.lang.Object obj) { com.google.api.Distribution.Range other = (com.google.api.Distribution.Range) obj; if (java.lang.Double.doubleToLongBits(getMin()) - != java.lang.Double.doubleToLongBits( - other.getMin())) return false; + != java.lang.Double.doubleToLongBits(other.getMin())) return false; if (java.lang.Double.doubleToLongBits(getMax()) - != java.lang.Double.doubleToLongBits( - other.getMax())) return false; + != java.lang.Double.doubleToLongBits(other.getMax())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,100 +249,105 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMin())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getMin())); hash = (37 * hash) + MAX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMax())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getMax())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.api.Distribution.Range parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Distribution.Range parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.Range 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.Distribution.Range parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.Distribution.Range parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.Range 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.Distribution.Range parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.Range 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.Distribution.Range 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.Distribution.Range 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.Distribution.Range 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.Distribution.Range 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.Distribution.Range parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Distribution.Range 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.Distribution.Range 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 @@ -323,39 +357,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The range of the population values.
      * 
* * Protobuf type {@code google.api.Distribution.Range} */ - 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.Distribution.Range) com.google.api.Distribution.RangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.api.DistributionProto + .internal_static_google_api_Distribution_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_fieldAccessorTable + return com.google.api.DistributionProto + .internal_static_google_api_Distribution_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.Distribution.Range.class, com.google.api.Distribution.Range.Builder.class); + com.google.api.Distribution.Range.class, + com.google.api.Distribution.Range.Builder.class); } // Construct using com.google.api.Distribution.Range.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -366,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.api.DistributionProto + .internal_static_google_api_Distribution_Range_descriptor; } @java.lang.Override @@ -388,7 +424,9 @@ public com.google.api.Distribution.Range build() { @java.lang.Override public com.google.api.Distribution.Range buildPartial() { com.google.api.Distribution.Range result = new com.google.api.Distribution.Range(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -407,38 +445,41 @@ private void buildPartial0(com.google.api.Distribution.Range 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) { + 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.Distribution.Range) { - return mergeFrom((com.google.api.Distribution.Range)other); + return mergeFrom((com.google.api.Distribution.Range) other); } else { super.mergeFrom(other); return this; @@ -479,22 +520,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: { - min_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 17: { - max_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: + { + min_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 17: + { + max_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + 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) { @@ -504,15 +548,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private double min_ ; + private double min_; /** + * + * *
        * The minimum of the population values.
        * 
* * double min = 1; + * * @return The min. */ @java.lang.Override @@ -520,11 +568,14 @@ public double getMin() { return min_; } /** + * + * *
        * The minimum of the population values.
        * 
* * double min = 1; + * * @param value The min to set. * @return This builder for chaining. */ @@ -536,11 +587,14 @@ public Builder setMin(double value) { return this; } /** + * + * *
        * The minimum of the population values.
        * 
* * double min = 1; + * * @return This builder for chaining. */ public Builder clearMin() { @@ -550,13 +604,16 @@ public Builder clearMin() { return this; } - private double max_ ; + private double max_; /** + * + * *
        * The maximum of the population values.
        * 
* * double max = 2; + * * @return The max. */ @java.lang.Override @@ -564,11 +621,14 @@ public double getMax() { return max_; } /** + * + * *
        * The maximum of the population values.
        * 
* * double max = 2; + * * @param value The max to set. * @return This builder for chaining. */ @@ -580,11 +640,14 @@ public Builder setMax(double value) { return this; } /** + * + * *
        * The maximum of the population values.
        * 
* * double max = 2; + * * @return This builder for chaining. */ public Builder clearMax() { @@ -593,6 +656,7 @@ public Builder clearMax() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -605,12 +669,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.Range) } // @@protoc_insertion_point(class_scope:google.api.Distribution.Range) private static final com.google.api.Distribution.Range DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Distribution.Range(); } @@ -619,27 +683,28 @@ public static com.google.api.Distribution.Range getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Range 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 Range 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; @@ -654,32 +719,40 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Distribution.Range getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BucketOptionsOrBuilder extends + public interface BucketOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Distribution.BucketOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The linear bucket.
      * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; + * * @return Whether the linearBuckets field is set. */ boolean hasLinearBuckets(); /** + * + * *
      * The linear bucket.
      * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; + * * @return The linearBuckets. */ com.google.api.Distribution.BucketOptions.Linear getLinearBuckets(); /** + * + * *
      * The linear bucket.
      * 
@@ -689,24 +762,32 @@ public interface BucketOptionsOrBuilder extends com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucketsOrBuilder(); /** + * + * *
      * The exponential buckets.
      * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; + * * @return Whether the exponentialBuckets field is set. */ boolean hasExponentialBuckets(); /** + * + * *
      * The exponential buckets.
      * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; + * * @return The exponentialBuckets. */ com.google.api.Distribution.BucketOptions.Exponential getExponentialBuckets(); /** + * + * *
      * The exponential buckets.
      * 
@@ -716,24 +797,32 @@ public interface BucketOptionsOrBuilder extends com.google.api.Distribution.BucketOptions.ExponentialOrBuilder getExponentialBucketsOrBuilder(); /** + * + * *
      * The explicit buckets.
      * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; + * * @return Whether the explicitBuckets field is set. */ boolean hasExplicitBuckets(); /** + * + * *
      * The explicit buckets.
      * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; + * * @return The explicitBuckets. */ com.google.api.Distribution.BucketOptions.Explicit getExplicitBuckets(); /** + * + * *
      * The explicit buckets.
      * 
@@ -745,6 +834,8 @@ public interface BucketOptionsOrBuilder extends com.google.api.Distribution.BucketOptions.OptionsCase getOptionsCase(); } /** + * + * *
    * `BucketOptions` describes the bucket boundaries used to create a histogram
    * for the distribution. The buckets can be in a linear sequence, an
@@ -765,73 +856,86 @@ public interface BucketOptionsOrBuilder extends
    *
    * Protobuf type {@code google.api.Distribution.BucketOptions}
    */
-  public static final class BucketOptions extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class BucketOptions extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions)
       BucketOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use BucketOptions.newBuilder() to construct.
     private BucketOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private BucketOptions() {
-    }
+
+    private BucketOptions() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new BucketOptions();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.api.DistributionProto
+          .internal_static_google_api_Distribution_BucketOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable
+      return com.google.api.DistributionProto
+          .internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.Distribution.BucketOptions.class, com.google.api.Distribution.BucketOptions.Builder.class);
+              com.google.api.Distribution.BucketOptions.class,
+              com.google.api.Distribution.BucketOptions.Builder.class);
     }
 
-    public interface LinearOrBuilder extends
+    public interface LinearOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.api.Distribution.BucketOptions.Linear)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Must be greater than 0.
        * 
* * int32 num_finite_buckets = 1; + * * @return The numFiniteBuckets. */ int getNumFiniteBuckets(); /** + * + * *
        * Must be greater than 0.
        * 
* * double width = 2; + * * @return The width. */ double getWidth(); /** + * + * *
        * Lower bound of the first bucket.
        * 
* * double offset = 3; + * * @return The offset. */ double getOffset(); } /** + * + * *
      * Specifies a linear sequence of buckets that all have the same width
      * (except overflow and underflow). Each bucket represents a constant
@@ -847,46 +951,50 @@ public interface LinearOrBuilder extends
      *
      * Protobuf type {@code google.api.Distribution.BucketOptions.Linear}
      */
-    public static final class Linear extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Linear extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions.Linear)
         LinearOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Linear.newBuilder() to construct.
       private Linear(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private Linear() {
-      }
+
+      private Linear() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Linear();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_BucketOptions_Linear_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.Distribution.BucketOptions.Linear.class, com.google.api.Distribution.BucketOptions.Linear.Builder.class);
+                com.google.api.Distribution.BucketOptions.Linear.class,
+                com.google.api.Distribution.BucketOptions.Linear.Builder.class);
       }
 
       public static final int NUM_FINITE_BUCKETS_FIELD_NUMBER = 1;
       private int numFiniteBuckets_ = 0;
       /**
+       *
+       *
        * 
        * Must be greater than 0.
        * 
* * int32 num_finite_buckets = 1; + * * @return The numFiniteBuckets. */ @java.lang.Override @@ -897,11 +1005,14 @@ public int getNumFiniteBuckets() { public static final int WIDTH_FIELD_NUMBER = 2; private double width_ = 0D; /** + * + * *
        * Must be greater than 0.
        * 
* * double width = 2; + * * @return The width. */ @java.lang.Override @@ -912,11 +1023,14 @@ public double getWidth() { public static final int OFFSET_FIELD_NUMBER = 3; private double offset_ = 0D; /** + * + * *
        * Lower bound of the first bucket.
        * 
* * double offset = 3; + * * @return The offset. */ @java.lang.Override @@ -925,6 +1039,7 @@ public double getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -936,8 +1051,7 @@ 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 (numFiniteBuckets_ != 0) { output.writeInt32(1, numFiniteBuckets_); } @@ -957,16 +1071,13 @@ public int getSerializedSize() { size = 0; if (numFiniteBuckets_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, numFiniteBuckets_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, numFiniteBuckets_); } if (java.lang.Double.doubleToRawLongBits(width_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, width_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, width_); } if (java.lang.Double.doubleToRawLongBits(offset_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, offset_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, offset_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -976,21 +1087,19 @@ 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.Distribution.BucketOptions.Linear)) { return super.equals(obj); } - com.google.api.Distribution.BucketOptions.Linear other = (com.google.api.Distribution.BucketOptions.Linear) obj; + com.google.api.Distribution.BucketOptions.Linear other = + (com.google.api.Distribution.BucketOptions.Linear) obj; - if (getNumFiniteBuckets() - != other.getNumFiniteBuckets()) return false; + if (getNumFiniteBuckets() != other.getNumFiniteBuckets()) return false; if (java.lang.Double.doubleToLongBits(getWidth()) - != java.lang.Double.doubleToLongBits( - other.getWidth())) return false; + != java.lang.Double.doubleToLongBits(other.getWidth())) return false; if (java.lang.Double.doubleToLongBits(getOffset()) - != java.lang.Double.doubleToLongBits( - other.getOffset())) return false; + != java.lang.Double.doubleToLongBits(other.getOffset())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1005,100 +1114,108 @@ public int hashCode() { hash = (37 * hash) + NUM_FINITE_BUCKETS_FIELD_NUMBER; hash = (53 * hash) + getNumFiniteBuckets(); hash = (37 * hash) + WIDTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getWidth())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getWidth())); hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getOffset())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getOffset())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.api.Distribution.BucketOptions.Linear parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions.Linear 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.Distribution.BucketOptions.Linear parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions.Linear 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.Distribution.BucketOptions.Linear parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions.Linear 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.Distribution.BucketOptions.Linear parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.api.Distribution.BucketOptions.Linear parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Distribution.BucketOptions.Linear 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.Distribution.BucketOptions.Linear parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.api.Distribution.BucketOptions.Linear parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Linear 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.Distribution.BucketOptions.Linear parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Distribution.BucketOptions.Linear 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.Distribution.BucketOptions.Linear 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 @@ -1108,6 +1225,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Specifies a linear sequence of buckets that all have the same width
        * (except overflow and underflow). Each bucket represents a constant
@@ -1123,33 +1242,33 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.api.Distribution.BucketOptions.Linear}
        */
-      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.Distribution.BucketOptions.Linear)
           com.google.api.Distribution.BucketOptions.LinearOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.api.DistributionProto
+              .internal_static_google_api_Distribution_BucketOptions_Linear_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable
+          return com.google.api.DistributionProto
+              .internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.api.Distribution.BucketOptions.Linear.class, com.google.api.Distribution.BucketOptions.Linear.Builder.class);
+                  com.google.api.Distribution.BucketOptions.Linear.class,
+                  com.google.api.Distribution.BucketOptions.Linear.Builder.class);
         }
 
         // Construct using com.google.api.Distribution.BucketOptions.Linear.newBuilder()
-        private Builder() {
-
-        }
+        private Builder() {}
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
-
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -1161,9 +1280,9 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.api.DistributionProto
+              .internal_static_google_api_Distribution_BucketOptions_Linear_descriptor;
         }
 
         @java.lang.Override
@@ -1182,8 +1301,11 @@ public com.google.api.Distribution.BucketOptions.Linear build() {
 
         @java.lang.Override
         public com.google.api.Distribution.BucketOptions.Linear buildPartial() {
-          com.google.api.Distribution.BucketOptions.Linear result = new com.google.api.Distribution.BucketOptions.Linear(this);
-          if (bitField0_ != 0) { buildPartial0(result); }
+          com.google.api.Distribution.BucketOptions.Linear result =
+              new com.google.api.Distribution.BucketOptions.Linear(this);
+          if (bitField0_ != 0) {
+            buildPartial0(result);
+          }
           onBuilt();
           return result;
         }
@@ -1205,38 +1327,41 @@ private void buildPartial0(com.google.api.Distribution.BucketOptions.Linear resu
         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) {
+            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.Distribution.BucketOptions.Linear) {
-            return mergeFrom((com.google.api.Distribution.BucketOptions.Linear)other);
+            return mergeFrom((com.google.api.Distribution.BucketOptions.Linear) other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -1244,7 +1369,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.api.Distribution.BucketOptions.Linear other) {
-          if (other == com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance()) return this;
+          if (other == com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance())
+            return this;
           if (other.getNumFiniteBuckets() != 0) {
             setNumFiniteBuckets(other.getNumFiniteBuckets());
           }
@@ -1280,27 +1406,31 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 8: {
-                  numFiniteBuckets_ = input.readInt32();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-                case 17: {
-                  width_ = input.readDouble();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 17
-                case 25: {
-                  offset_ = input.readDouble();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 25
-                default: {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                case 8:
+                  {
+                    numFiniteBuckets_ = input.readInt32();
+                    bitField0_ |= 0x00000001;
+                    break;
+                  } // case 8
+                case 17:
+                  {
+                    width_ = input.readDouble();
+                    bitField0_ |= 0x00000002;
+                    break;
+                  } // case 17
+                case 25:
+                  {
+                    offset_ = input.readDouble();
+                    bitField0_ |= 0x00000004;
+                    break;
+                  } // case 25
+                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) {
@@ -1310,15 +1440,19 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
+
         private int bitField0_;
 
-        private int numFiniteBuckets_ ;
+        private int numFiniteBuckets_;
         /**
+         *
+         *
          * 
          * Must be greater than 0.
          * 
* * int32 num_finite_buckets = 1; + * * @return The numFiniteBuckets. */ @java.lang.Override @@ -1326,11 +1460,14 @@ public int getNumFiniteBuckets() { return numFiniteBuckets_; } /** + * + * *
          * Must be greater than 0.
          * 
* * int32 num_finite_buckets = 1; + * * @param value The numFiniteBuckets to set. * @return This builder for chaining. */ @@ -1342,11 +1479,14 @@ public Builder setNumFiniteBuckets(int value) { return this; } /** + * + * *
          * Must be greater than 0.
          * 
* * int32 num_finite_buckets = 1; + * * @return This builder for chaining. */ public Builder clearNumFiniteBuckets() { @@ -1356,13 +1496,16 @@ public Builder clearNumFiniteBuckets() { return this; } - private double width_ ; + private double width_; /** + * + * *
          * Must be greater than 0.
          * 
* * double width = 2; + * * @return The width. */ @java.lang.Override @@ -1370,11 +1513,14 @@ public double getWidth() { return width_; } /** + * + * *
          * Must be greater than 0.
          * 
* * double width = 2; + * * @param value The width to set. * @return This builder for chaining. */ @@ -1386,11 +1532,14 @@ public Builder setWidth(double value) { return this; } /** + * + * *
          * Must be greater than 0.
          * 
* * double width = 2; + * * @return This builder for chaining. */ public Builder clearWidth() { @@ -1400,13 +1549,16 @@ public Builder clearWidth() { return this; } - private double offset_ ; + private double offset_; /** + * + * *
          * Lower bound of the first bucket.
          * 
* * double offset = 3; + * * @return The offset. */ @java.lang.Override @@ -1414,11 +1566,14 @@ public double getOffset() { return offset_; } /** + * + * *
          * Lower bound of the first bucket.
          * 
* * double offset = 3; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -1430,11 +1585,14 @@ public Builder setOffset(double value) { return this; } /** + * + * *
          * Lower bound of the first bucket.
          * 
* * double offset = 3; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -1443,6 +1601,7 @@ public Builder clearOffset() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1455,12 +1614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions.Linear) } // @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions.Linear) private static final com.google.api.Distribution.BucketOptions.Linear DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Distribution.BucketOptions.Linear(); } @@ -1469,27 +1628,28 @@ public static com.google.api.Distribution.BucketOptions.Linear getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Linear 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 Linear 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; @@ -1504,44 +1664,55 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Distribution.BucketOptions.Linear getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExponentialOrBuilder extends + public interface ExponentialOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Distribution.BucketOptions.Exponential) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Must be greater than 0.
        * 
* * int32 num_finite_buckets = 1; + * * @return The numFiniteBuckets. */ int getNumFiniteBuckets(); /** + * + * *
        * Must be greater than 1.
        * 
* * double growth_factor = 2; + * * @return The growthFactor. */ double getGrowthFactor(); /** + * + * *
        * Must be greater than 0.
        * 
* * double scale = 3; + * * @return The scale. */ double getScale(); } /** + * + * *
      * Specifies an exponential sequence of buckets that have a width that is
      * proportional to the value of the lower bound. Each bucket represents a
@@ -1557,46 +1728,50 @@ public interface ExponentialOrBuilder extends
      *
      * Protobuf type {@code google.api.Distribution.BucketOptions.Exponential}
      */
-    public static final class Exponential extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Exponential extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions.Exponential)
         ExponentialOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Exponential.newBuilder() to construct.
       private Exponential(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private Exponential() {
-      }
+
+      private Exponential() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Exponential();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.Distribution.BucketOptions.Exponential.class, com.google.api.Distribution.BucketOptions.Exponential.Builder.class);
+                com.google.api.Distribution.BucketOptions.Exponential.class,
+                com.google.api.Distribution.BucketOptions.Exponential.Builder.class);
       }
 
       public static final int NUM_FINITE_BUCKETS_FIELD_NUMBER = 1;
       private int numFiniteBuckets_ = 0;
       /**
+       *
+       *
        * 
        * Must be greater than 0.
        * 
* * int32 num_finite_buckets = 1; + * * @return The numFiniteBuckets. */ @java.lang.Override @@ -1607,11 +1782,14 @@ public int getNumFiniteBuckets() { public static final int GROWTH_FACTOR_FIELD_NUMBER = 2; private double growthFactor_ = 0D; /** + * + * *
        * Must be greater than 1.
        * 
* * double growth_factor = 2; + * * @return The growthFactor. */ @java.lang.Override @@ -1622,11 +1800,14 @@ public double getGrowthFactor() { public static final int SCALE_FIELD_NUMBER = 3; private double scale_ = 0D; /** + * + * *
        * Must be greater than 0.
        * 
* * double scale = 3; + * * @return The scale. */ @java.lang.Override @@ -1635,6 +1816,7 @@ public double getScale() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1646,8 +1828,7 @@ 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 (numFiniteBuckets_ != 0) { output.writeInt32(1, numFiniteBuckets_); } @@ -1667,16 +1848,13 @@ public int getSerializedSize() { size = 0; if (numFiniteBuckets_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, numFiniteBuckets_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, numFiniteBuckets_); } if (java.lang.Double.doubleToRawLongBits(growthFactor_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, growthFactor_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, growthFactor_); } if (java.lang.Double.doubleToRawLongBits(scale_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, scale_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, scale_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1686,21 +1864,19 @@ 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.Distribution.BucketOptions.Exponential)) { return super.equals(obj); } - com.google.api.Distribution.BucketOptions.Exponential other = (com.google.api.Distribution.BucketOptions.Exponential) obj; + com.google.api.Distribution.BucketOptions.Exponential other = + (com.google.api.Distribution.BucketOptions.Exponential) obj; - if (getNumFiniteBuckets() - != other.getNumFiniteBuckets()) return false; + if (getNumFiniteBuckets() != other.getNumFiniteBuckets()) return false; if (java.lang.Double.doubleToLongBits(getGrowthFactor()) - != java.lang.Double.doubleToLongBits( - other.getGrowthFactor())) return false; + != java.lang.Double.doubleToLongBits(other.getGrowthFactor())) return false; if (java.lang.Double.doubleToLongBits(getScale()) - != java.lang.Double.doubleToLongBits( - other.getScale())) return false; + != java.lang.Double.doubleToLongBits(other.getScale())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1715,100 +1891,109 @@ public int hashCode() { hash = (37 * hash) + NUM_FINITE_BUCKETS_FIELD_NUMBER; hash = (53 * hash) + getNumFiniteBuckets(); hash = (37 * hash) + GROWTH_FACTOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getGrowthFactor())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getGrowthFactor())); hash = (37 * hash) + SCALE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getScale())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getScale())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.api.Distribution.BucketOptions.Exponential parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions.Exponential 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.Distribution.BucketOptions.Exponential parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions.Exponential 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.Distribution.BucketOptions.Exponential parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions.Exponential 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.Distribution.BucketOptions.Exponential parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.api.Distribution.BucketOptions.Exponential parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Distribution.BucketOptions.Exponential 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.Distribution.BucketOptions.Exponential parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.api.Distribution.BucketOptions.Exponential parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Exponential 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.Distribution.BucketOptions.Exponential parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Distribution.BucketOptions.Exponential 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.Distribution.BucketOptions.Exponential prototype) { + + public static Builder newBuilder( + com.google.api.Distribution.BucketOptions.Exponential 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 @@ -1818,6 +2003,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Specifies an exponential sequence of buckets that have a width that is
        * proportional to the value of the lower bound. Each bucket represents a
@@ -1833,33 +2020,33 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.api.Distribution.BucketOptions.Exponential}
        */
-      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.Distribution.BucketOptions.Exponential)
           com.google.api.Distribution.BucketOptions.ExponentialOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.api.DistributionProto
+              .internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable
+          return com.google.api.DistributionProto
+              .internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.api.Distribution.BucketOptions.Exponential.class, com.google.api.Distribution.BucketOptions.Exponential.Builder.class);
+                  com.google.api.Distribution.BucketOptions.Exponential.class,
+                  com.google.api.Distribution.BucketOptions.Exponential.Builder.class);
         }
 
         // Construct using com.google.api.Distribution.BucketOptions.Exponential.newBuilder()
-        private Builder() {
-
-        }
+        private Builder() {}
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
-
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -1871,9 +2058,9 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.api.DistributionProto
+              .internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor;
         }
 
         @java.lang.Override
@@ -1892,8 +2079,11 @@ public com.google.api.Distribution.BucketOptions.Exponential build() {
 
         @java.lang.Override
         public com.google.api.Distribution.BucketOptions.Exponential buildPartial() {
-          com.google.api.Distribution.BucketOptions.Exponential result = new com.google.api.Distribution.BucketOptions.Exponential(this);
-          if (bitField0_ != 0) { buildPartial0(result); }
+          com.google.api.Distribution.BucketOptions.Exponential result =
+              new com.google.api.Distribution.BucketOptions.Exponential(this);
+          if (bitField0_ != 0) {
+            buildPartial0(result);
+          }
           onBuilt();
           return result;
         }
@@ -1915,38 +2105,41 @@ private void buildPartial0(com.google.api.Distribution.BucketOptions.Exponential
         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) {
+            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.Distribution.BucketOptions.Exponential) {
-            return mergeFrom((com.google.api.Distribution.BucketOptions.Exponential)other);
+            return mergeFrom((com.google.api.Distribution.BucketOptions.Exponential) other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -1954,7 +2147,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.api.Distribution.BucketOptions.Exponential other) {
-          if (other == com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance()) return this;
+          if (other == com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance())
+            return this;
           if (other.getNumFiniteBuckets() != 0) {
             setNumFiniteBuckets(other.getNumFiniteBuckets());
           }
@@ -1990,27 +2184,31 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 8: {
-                  numFiniteBuckets_ = input.readInt32();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-                case 17: {
-                  growthFactor_ = input.readDouble();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 17
-                case 25: {
-                  scale_ = input.readDouble();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 25
-                default: {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                case 8:
+                  {
+                    numFiniteBuckets_ = input.readInt32();
+                    bitField0_ |= 0x00000001;
+                    break;
+                  } // case 8
+                case 17:
+                  {
+                    growthFactor_ = input.readDouble();
+                    bitField0_ |= 0x00000002;
+                    break;
+                  } // case 17
+                case 25:
+                  {
+                    scale_ = input.readDouble();
+                    bitField0_ |= 0x00000004;
+                    break;
+                  } // case 25
+                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) {
@@ -2020,15 +2218,19 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
+
         private int bitField0_;
 
-        private int numFiniteBuckets_ ;
+        private int numFiniteBuckets_;
         /**
+         *
+         *
          * 
          * Must be greater than 0.
          * 
* * int32 num_finite_buckets = 1; + * * @return The numFiniteBuckets. */ @java.lang.Override @@ -2036,11 +2238,14 @@ public int getNumFiniteBuckets() { return numFiniteBuckets_; } /** + * + * *
          * Must be greater than 0.
          * 
* * int32 num_finite_buckets = 1; + * * @param value The numFiniteBuckets to set. * @return This builder for chaining. */ @@ -2052,11 +2257,14 @@ public Builder setNumFiniteBuckets(int value) { return this; } /** + * + * *
          * Must be greater than 0.
          * 
* * int32 num_finite_buckets = 1; + * * @return This builder for chaining. */ public Builder clearNumFiniteBuckets() { @@ -2066,13 +2274,16 @@ public Builder clearNumFiniteBuckets() { return this; } - private double growthFactor_ ; + private double growthFactor_; /** + * + * *
          * Must be greater than 1.
          * 
* * double growth_factor = 2; + * * @return The growthFactor. */ @java.lang.Override @@ -2080,11 +2291,14 @@ public double getGrowthFactor() { return growthFactor_; } /** + * + * *
          * Must be greater than 1.
          * 
* * double growth_factor = 2; + * * @param value The growthFactor to set. * @return This builder for chaining. */ @@ -2096,11 +2310,14 @@ public Builder setGrowthFactor(double value) { return this; } /** + * + * *
          * Must be greater than 1.
          * 
* * double growth_factor = 2; + * * @return This builder for chaining. */ public Builder clearGrowthFactor() { @@ -2110,13 +2327,16 @@ public Builder clearGrowthFactor() { return this; } - private double scale_ ; + private double scale_; /** + * + * *
          * Must be greater than 0.
          * 
* * double scale = 3; + * * @return The scale. */ @java.lang.Override @@ -2124,11 +2344,14 @@ public double getScale() { return scale_; } /** + * + * *
          * Must be greater than 0.
          * 
* * double scale = 3; + * * @param value The scale to set. * @return This builder for chaining. */ @@ -2140,11 +2363,14 @@ public Builder setScale(double value) { return this; } /** + * + * *
          * Must be greater than 0.
          * 
* * double scale = 3; + * * @return This builder for chaining. */ public Builder clearScale() { @@ -2153,6 +2379,7 @@ public Builder clearScale() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2165,12 +2392,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions.Exponential) } // @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions.Exponential) private static final com.google.api.Distribution.BucketOptions.Exponential DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Distribution.BucketOptions.Exponential(); } @@ -2179,27 +2406,28 @@ public static com.google.api.Distribution.BucketOptions.Exponential getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Exponential 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 Exponential 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; @@ -2214,43 +2442,54 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Distribution.BucketOptions.Exponential getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExplicitOrBuilder extends + public interface ExplicitOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Distribution.BucketOptions.Explicit) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The values must be monotonically increasing.
        * 
* * repeated double bounds = 1; + * * @return A list containing the bounds. */ java.util.List getBoundsList(); /** + * + * *
        * The values must be monotonically increasing.
        * 
* * repeated double bounds = 1; + * * @return The count of bounds. */ int getBoundsCount(); /** + * + * *
        * The values must be monotonically increasing.
        * 
* * repeated double bounds = 1; + * * @param index The index of the element to return. * @return The bounds at the given index. */ double getBounds(int index); } /** + * + * *
      * Specifies a set of buckets with arbitrary widths.
      *
@@ -2267,81 +2506,94 @@ public interface ExplicitOrBuilder extends
      *
      * Protobuf type {@code google.api.Distribution.BucketOptions.Explicit}
      */
-    public static final class Explicit extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Explicit extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions.Explicit)
         ExplicitOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Explicit.newBuilder() to construct.
       private Explicit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private Explicit() {
         bounds_ = emptyDoubleList();
       }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Explicit();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.Distribution.BucketOptions.Explicit.class, com.google.api.Distribution.BucketOptions.Explicit.Builder.class);
+                com.google.api.Distribution.BucketOptions.Explicit.class,
+                com.google.api.Distribution.BucketOptions.Explicit.Builder.class);
       }
 
       public static final int BOUNDS_FIELD_NUMBER = 1;
+
       @SuppressWarnings("serial")
       private com.google.protobuf.Internal.DoubleList bounds_;
       /**
+       *
+       *
        * 
        * The values must be monotonically increasing.
        * 
* * repeated double bounds = 1; + * * @return A list containing the bounds. */ @java.lang.Override - public java.util.List - getBoundsList() { + public java.util.List getBoundsList() { return bounds_; } /** + * + * *
        * The values must be monotonically increasing.
        * 
* * repeated double bounds = 1; + * * @return The count of bounds. */ public int getBoundsCount() { return bounds_.size(); } /** + * + * *
        * The values must be monotonically increasing.
        * 
* * repeated double bounds = 1; + * * @param index The index of the element to return. * @return The bounds at the given index. */ public double getBounds(int index) { return bounds_.getDouble(index); } + private int boundsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2353,8 +2605,7 @@ 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 { getSerializedSize(); if (getBoundsList().size() > 0) { output.writeUInt32NoTag(10); @@ -2378,8 +2629,7 @@ public int getSerializedSize() { size += dataSize; if (!getBoundsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } boundsMemoizedSerializedSize = dataSize; } @@ -2391,15 +2641,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.Distribution.BucketOptions.Explicit)) { return super.equals(obj); } - com.google.api.Distribution.BucketOptions.Explicit other = (com.google.api.Distribution.BucketOptions.Explicit) obj; + com.google.api.Distribution.BucketOptions.Explicit other = + (com.google.api.Distribution.BucketOptions.Explicit) obj; - if (!getBoundsList() - .equals(other.getBoundsList())) return false; + if (!getBoundsList().equals(other.getBoundsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2421,89 +2671,94 @@ public int hashCode() { } public static com.google.api.Distribution.BucketOptions.Explicit parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions.Explicit 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.Distribution.BucketOptions.Explicit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions.Explicit 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.Distribution.BucketOptions.Explicit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions.Explicit 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.Distribution.BucketOptions.Explicit parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.api.Distribution.BucketOptions.Explicit parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Distribution.BucketOptions.Explicit 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.Distribution.BucketOptions.Explicit parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.api.Distribution.BucketOptions.Explicit parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Explicit 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.Distribution.BucketOptions.Explicit parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Distribution.BucketOptions.Explicit 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.Distribution.BucketOptions.Explicit prototype) { + + public static Builder newBuilder( + com.google.api.Distribution.BucketOptions.Explicit 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 @@ -2513,6 +2768,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Specifies a set of buckets with arbitrary widths.
        *
@@ -2529,33 +2786,33 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.api.Distribution.BucketOptions.Explicit}
        */
-      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.Distribution.BucketOptions.Explicit)
           com.google.api.Distribution.BucketOptions.ExplicitOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.api.DistributionProto
+              .internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable
+          return com.google.api.DistributionProto
+              .internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.api.Distribution.BucketOptions.Explicit.class, com.google.api.Distribution.BucketOptions.Explicit.Builder.class);
+                  com.google.api.Distribution.BucketOptions.Explicit.class,
+                  com.google.api.Distribution.BucketOptions.Explicit.Builder.class);
         }
 
         // Construct using com.google.api.Distribution.BucketOptions.Explicit.newBuilder()
-        private Builder() {
-
-        }
+        private Builder() {}
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
-
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2565,9 +2822,9 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.api.DistributionProto
+              .internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor;
         }
 
         @java.lang.Override
@@ -2586,14 +2843,18 @@ public com.google.api.Distribution.BucketOptions.Explicit build() {
 
         @java.lang.Override
         public com.google.api.Distribution.BucketOptions.Explicit buildPartial() {
-          com.google.api.Distribution.BucketOptions.Explicit result = new com.google.api.Distribution.BucketOptions.Explicit(this);
+          com.google.api.Distribution.BucketOptions.Explicit result =
+              new com.google.api.Distribution.BucketOptions.Explicit(this);
           buildPartialRepeatedFields(result);
-          if (bitField0_ != 0) { buildPartial0(result); }
+          if (bitField0_ != 0) {
+            buildPartial0(result);
+          }
           onBuilt();
           return result;
         }
 
-        private void buildPartialRepeatedFields(com.google.api.Distribution.BucketOptions.Explicit result) {
+        private void buildPartialRepeatedFields(
+            com.google.api.Distribution.BucketOptions.Explicit result) {
           if (((bitField0_ & 0x00000001) != 0)) {
             bounds_.makeImmutable();
             bitField0_ = (bitField0_ & ~0x00000001);
@@ -2609,38 +2870,41 @@ private void buildPartial0(com.google.api.Distribution.BucketOptions.Explicit re
         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) {
+            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.Distribution.BucketOptions.Explicit) {
-            return mergeFrom((com.google.api.Distribution.BucketOptions.Explicit)other);
+            return mergeFrom((com.google.api.Distribution.BucketOptions.Explicit) other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -2648,7 +2912,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.api.Distribution.BucketOptions.Explicit other) {
-          if (other == com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance()) return this;
+          if (other == com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance())
+            return this;
           if (!other.bounds_.isEmpty()) {
             if (bounds_.isEmpty()) {
               bounds_ = other.bounds_;
@@ -2685,28 +2950,31 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 9: {
-                  double v = input.readDouble();
-                  ensureBoundsIsMutable();
-                  bounds_.addDouble(v);
-                  break;
-                } // case 9
-                case 10: {
-                  int length = input.readRawVarint32();
-                  int limit = input.pushLimit(length);
-                  ensureBoundsIsMutable();
-                  while (input.getBytesUntilLimit() > 0) {
-                    bounds_.addDouble(input.readDouble());
-                  }
-                  input.popLimit(limit);
-                  break;
-                } // case 10
-                default: {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                case 9:
+                  {
+                    double v = input.readDouble();
+                    ensureBoundsIsMutable();
+                    bounds_.addDouble(v);
+                    break;
+                  } // case 9
+                case 10:
+                  {
+                    int length = input.readRawVarint32();
+                    int limit = input.pushLimit(length);
+                    ensureBoundsIsMutable();
+                    while (input.getBytesUntilLimit() > 0) {
+                      bounds_.addDouble(input.readDouble());
+                    }
+                    input.popLimit(limit);
+                    break;
+                  } // case 10
+                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) {
@@ -2716,9 +2984,11 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
+
         private int bitField0_;
 
         private com.google.protobuf.Internal.DoubleList bounds_ = emptyDoubleList();
+
         private void ensureBoundsIsMutable() {
           if (!((bitField0_ & 0x00000001) != 0)) {
             bounds_ = mutableCopy(bounds_);
@@ -2726,35 +2996,44 @@ private void ensureBoundsIsMutable() {
           }
         }
         /**
+         *
+         *
          * 
          * The values must be monotonically increasing.
          * 
* * repeated double bounds = 1; + * * @return A list containing the bounds. */ - public java.util.List - getBoundsList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(bounds_) : bounds_; + public java.util.List getBoundsList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(bounds_) + : bounds_; } /** + * + * *
          * The values must be monotonically increasing.
          * 
* * repeated double bounds = 1; + * * @return The count of bounds. */ public int getBoundsCount() { return bounds_.size(); } /** + * + * *
          * The values must be monotonically increasing.
          * 
* * repeated double bounds = 1; + * * @param index The index of the element to return. * @return The bounds at the given index. */ @@ -2762,17 +3041,19 @@ public double getBounds(int index) { return bounds_.getDouble(index); } /** + * + * *
          * The values must be monotonically increasing.
          * 
* * repeated double bounds = 1; + * * @param index The index to set the value at. * @param value The bounds to set. * @return This builder for chaining. */ - public Builder setBounds( - int index, double value) { + public Builder setBounds(int index, double value) { ensureBoundsIsMutable(); bounds_.setDouble(index, value); @@ -2780,11 +3061,14 @@ public Builder setBounds( return this; } /** + * + * *
          * The values must be monotonically increasing.
          * 
* * repeated double bounds = 1; + * * @param value The bounds to add. * @return This builder for chaining. */ @@ -2796,28 +3080,32 @@ public Builder addBounds(double value) { return this; } /** + * + * *
          * The values must be monotonically increasing.
          * 
* * repeated double bounds = 1; + * * @param values The bounds to add. * @return This builder for chaining. */ - public Builder addAllBounds( - java.lang.Iterable values) { + public Builder addAllBounds(java.lang.Iterable values) { ensureBoundsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bounds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bounds_); onChanged(); return this; } /** + * + * *
          * The values must be monotonically increasing.
          * 
* * repeated double bounds = 1; + * * @return This builder for chaining. */ public Builder clearBounds() { @@ -2826,6 +3114,7 @@ public Builder clearBounds() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2838,12 +3127,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions.Explicit) } // @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions.Explicit) private static final com.google.api.Distribution.BucketOptions.Explicit DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Distribution.BucketOptions.Explicit(); } @@ -2852,27 +3141,28 @@ public static com.google.api.Distribution.BucketOptions.Explicit getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Explicit 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 Explicit 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; @@ -2887,20 +3177,23 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Distribution.BucketOptions.Explicit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int optionsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object options_; + public enum OptionsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LINEAR_BUCKETS(1), EXPONENTIAL_BUCKETS(2), EXPLICIT_BUCKETS(3), OPTIONS_NOT_SET(0); private final int value; + private OptionsCase(int value) { this.value = value; } @@ -2916,31 +3209,38 @@ public static OptionsCase valueOf(int value) { public static OptionsCase forNumber(int value) { switch (value) { - case 1: return LINEAR_BUCKETS; - case 2: return EXPONENTIAL_BUCKETS; - case 3: return EXPLICIT_BUCKETS; - case 0: return OPTIONS_NOT_SET; - default: return null; + case 1: + return LINEAR_BUCKETS; + case 2: + return EXPONENTIAL_BUCKETS; + case 3: + return EXPLICIT_BUCKETS; + case 0: + return OPTIONS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OptionsCase - getOptionsCase() { - return OptionsCase.forNumber( - optionsCase_); + public OptionsCase getOptionsCase() { + return OptionsCase.forNumber(optionsCase_); } public static final int LINEAR_BUCKETS_FIELD_NUMBER = 1; /** + * + * *
      * The linear bucket.
      * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; + * * @return Whether the linearBuckets field is set. */ @java.lang.Override @@ -2948,21 +3248,26 @@ public boolean hasLinearBuckets() { return optionsCase_ == 1; } /** + * + * *
      * The linear bucket.
      * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; + * * @return The linearBuckets. */ @java.lang.Override public com.google.api.Distribution.BucketOptions.Linear getLinearBuckets() { if (optionsCase_ == 1) { - return (com.google.api.Distribution.BucketOptions.Linear) options_; + return (com.google.api.Distribution.BucketOptions.Linear) options_; } return com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } /** + * + * *
      * The linear bucket.
      * 
@@ -2972,18 +3277,21 @@ public com.google.api.Distribution.BucketOptions.Linear getLinearBuckets() { @java.lang.Override public com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucketsOrBuilder() { if (optionsCase_ == 1) { - return (com.google.api.Distribution.BucketOptions.Linear) options_; + return (com.google.api.Distribution.BucketOptions.Linear) options_; } return com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } public static final int EXPONENTIAL_BUCKETS_FIELD_NUMBER = 2; /** + * + * *
      * The exponential buckets.
      * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; + * * @return Whether the exponentialBuckets field is set. */ @java.lang.Override @@ -2991,21 +3299,26 @@ public boolean hasExponentialBuckets() { return optionsCase_ == 2; } /** + * + * *
      * The exponential buckets.
      * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; + * * @return The exponentialBuckets. */ @java.lang.Override public com.google.api.Distribution.BucketOptions.Exponential getExponentialBuckets() { if (optionsCase_ == 2) { - return (com.google.api.Distribution.BucketOptions.Exponential) options_; + return (com.google.api.Distribution.BucketOptions.Exponential) options_; } return com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } /** + * + * *
      * The exponential buckets.
      * 
@@ -3013,20 +3326,24 @@ public com.google.api.Distribution.BucketOptions.Exponential getExponentialBucke * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ @java.lang.Override - public com.google.api.Distribution.BucketOptions.ExponentialOrBuilder getExponentialBucketsOrBuilder() { + public com.google.api.Distribution.BucketOptions.ExponentialOrBuilder + getExponentialBucketsOrBuilder() { if (optionsCase_ == 2) { - return (com.google.api.Distribution.BucketOptions.Exponential) options_; + return (com.google.api.Distribution.BucketOptions.Exponential) options_; } return com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } public static final int EXPLICIT_BUCKETS_FIELD_NUMBER = 3; /** + * + * *
      * The explicit buckets.
      * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; + * * @return Whether the explicitBuckets field is set. */ @java.lang.Override @@ -3034,21 +3351,26 @@ public boolean hasExplicitBuckets() { return optionsCase_ == 3; } /** + * + * *
      * The explicit buckets.
      * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; + * * @return The explicitBuckets. */ @java.lang.Override public com.google.api.Distribution.BucketOptions.Explicit getExplicitBuckets() { if (optionsCase_ == 3) { - return (com.google.api.Distribution.BucketOptions.Explicit) options_; + return (com.google.api.Distribution.BucketOptions.Explicit) options_; } return com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } /** + * + * *
      * The explicit buckets.
      * 
@@ -3056,14 +3378,16 @@ public com.google.api.Distribution.BucketOptions.Explicit getExplicitBuckets() { * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ @java.lang.Override - public com.google.api.Distribution.BucketOptions.ExplicitOrBuilder getExplicitBucketsOrBuilder() { + public com.google.api.Distribution.BucketOptions.ExplicitOrBuilder + getExplicitBucketsOrBuilder() { if (optionsCase_ == 3) { - return (com.google.api.Distribution.BucketOptions.Explicit) options_; + return (com.google.api.Distribution.BucketOptions.Explicit) options_; } return com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3075,8 +3399,7 @@ 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 (optionsCase_ == 1) { output.writeMessage(1, (com.google.api.Distribution.BucketOptions.Linear) options_); } @@ -3096,16 +3419,19 @@ public int getSerializedSize() { size = 0; if (optionsCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.api.Distribution.BucketOptions.Linear) options_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.api.Distribution.BucketOptions.Linear) options_); } if (optionsCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.api.Distribution.BucketOptions.Exponential) options_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.api.Distribution.BucketOptions.Exponential) options_); } if (optionsCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.api.Distribution.BucketOptions.Explicit) options_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.api.Distribution.BucketOptions.Explicit) options_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3115,26 +3441,24 @@ 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.Distribution.BucketOptions)) { return super.equals(obj); } - com.google.api.Distribution.BucketOptions other = (com.google.api.Distribution.BucketOptions) obj; + com.google.api.Distribution.BucketOptions other = + (com.google.api.Distribution.BucketOptions) obj; if (!getOptionsCase().equals(other.getOptionsCase())) return false; switch (optionsCase_) { case 1: - if (!getLinearBuckets() - .equals(other.getLinearBuckets())) return false; + if (!getLinearBuckets().equals(other.getLinearBuckets())) return false; break; case 2: - if (!getExponentialBuckets() - .equals(other.getExponentialBuckets())) return false; + if (!getExponentialBuckets().equals(other.getExponentialBuckets())) return false; break; case 3: - if (!getExplicitBuckets() - .equals(other.getExplicitBuckets())) return false; + if (!getExplicitBuckets().equals(other.getExplicitBuckets())) return false; break; case 0: default: @@ -3171,90 +3495,94 @@ public int hashCode() { return hash; } - public static com.google.api.Distribution.BucketOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Distribution.BucketOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions 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.Distribution.BucketOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions 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.Distribution.BucketOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution.BucketOptions 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.Distribution.BucketOptions 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.Distribution.BucketOptions 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.Distribution.BucketOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.api.Distribution.BucketOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions 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.Distribution.BucketOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Distribution.BucketOptions 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.Distribution.BucketOptions 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 @@ -3264,6 +3592,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * `BucketOptions` describes the bucket boundaries used to create a histogram
      * for the distribution. The buckets can be in a linear sequence, an
@@ -3284,33 +3614,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.api.Distribution.BucketOptions}
      */
-    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.Distribution.BucketOptions)
         com.google.api.Distribution.BucketOptionsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_BucketOptions_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.Distribution.BucketOptions.class, com.google.api.Distribution.BucketOptions.Builder.class);
+                com.google.api.Distribution.BucketOptions.class,
+                com.google.api.Distribution.BucketOptions.Builder.class);
       }
 
       // Construct using com.google.api.Distribution.BucketOptions.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3330,9 +3660,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_BucketOptions_descriptor;
       }
 
       @java.lang.Override
@@ -3351,8 +3681,11 @@ public com.google.api.Distribution.BucketOptions build() {
 
       @java.lang.Override
       public com.google.api.Distribution.BucketOptions buildPartial() {
-        com.google.api.Distribution.BucketOptions result = new com.google.api.Distribution.BucketOptions(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.api.Distribution.BucketOptions result =
+            new com.google.api.Distribution.BucketOptions(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         buildPartialOneofs(result);
         onBuilt();
         return result;
@@ -3365,16 +3698,13 @@ private void buildPartial0(com.google.api.Distribution.BucketOptions result) {
       private void buildPartialOneofs(com.google.api.Distribution.BucketOptions result) {
         result.optionsCase_ = optionsCase_;
         result.options_ = this.options_;
-        if (optionsCase_ == 1 &&
-            linearBucketsBuilder_ != null) {
+        if (optionsCase_ == 1 && linearBucketsBuilder_ != null) {
           result.options_ = linearBucketsBuilder_.build();
         }
-        if (optionsCase_ == 2 &&
-            exponentialBucketsBuilder_ != null) {
+        if (optionsCase_ == 2 && exponentialBucketsBuilder_ != null) {
           result.options_ = exponentialBucketsBuilder_.build();
         }
-        if (optionsCase_ == 3 &&
-            explicitBucketsBuilder_ != null) {
+        if (optionsCase_ == 3 && explicitBucketsBuilder_ != null) {
           result.options_ = explicitBucketsBuilder_.build();
         }
       }
@@ -3383,38 +3713,41 @@ private void buildPartialOneofs(com.google.api.Distribution.BucketOptions 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) {
+          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.Distribution.BucketOptions) {
-          return mergeFrom((com.google.api.Distribution.BucketOptions)other);
+          return mergeFrom((com.google.api.Distribution.BucketOptions) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3424,21 +3757,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       public Builder mergeFrom(com.google.api.Distribution.BucketOptions other) {
         if (other == com.google.api.Distribution.BucketOptions.getDefaultInstance()) return this;
         switch (other.getOptionsCase()) {
-          case LINEAR_BUCKETS: {
-            mergeLinearBuckets(other.getLinearBuckets());
-            break;
-          }
-          case EXPONENTIAL_BUCKETS: {
-            mergeExponentialBuckets(other.getExponentialBuckets());
-            break;
-          }
-          case EXPLICIT_BUCKETS: {
-            mergeExplicitBuckets(other.getExplicitBuckets());
-            break;
-          }
-          case OPTIONS_NOT_SET: {
-            break;
-          }
+          case LINEAR_BUCKETS:
+            {
+              mergeLinearBuckets(other.getLinearBuckets());
+              break;
+            }
+          case EXPONENTIAL_BUCKETS:
+            {
+              mergeExponentialBuckets(other.getExponentialBuckets());
+              break;
+            }
+          case EXPLICIT_BUCKETS:
+            {
+              mergeExplicitBuckets(other.getExplicitBuckets());
+              break;
+            }
+          case OPTIONS_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -3466,33 +3803,33 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getLinearBucketsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                optionsCase_ = 1;
-                break;
-              } // case 10
-              case 18: {
-                input.readMessage(
-                    getExponentialBucketsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                optionsCase_ = 2;
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getExplicitBucketsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                optionsCase_ = 3;
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(getLinearBucketsFieldBuilder().getBuilder(), extensionRegistry);
+                  optionsCase_ = 1;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  input.readMessage(
+                      getExponentialBucketsFieldBuilder().getBuilder(), extensionRegistry);
+                  optionsCase_ = 2;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(
+                      getExplicitBucketsFieldBuilder().getBuilder(), extensionRegistry);
+                  optionsCase_ = 3;
+                  break;
+                } // case 26
+              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) {
@@ -3502,12 +3839,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int optionsCase_ = 0;
       private java.lang.Object options_;
-      public OptionsCase
-          getOptionsCase() {
-        return OptionsCase.forNumber(
-            optionsCase_);
+
+      public OptionsCase getOptionsCase() {
+        return OptionsCase.forNumber(optionsCase_);
       }
 
       public Builder clearOptions() {
@@ -3520,13 +3857,19 @@ public Builder clearOptions() {
       private int bitField0_;
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.api.Distribution.BucketOptions.Linear, com.google.api.Distribution.BucketOptions.Linear.Builder, com.google.api.Distribution.BucketOptions.LinearOrBuilder> linearBucketsBuilder_;
+              com.google.api.Distribution.BucketOptions.Linear,
+              com.google.api.Distribution.BucketOptions.Linear.Builder,
+              com.google.api.Distribution.BucketOptions.LinearOrBuilder>
+          linearBucketsBuilder_;
       /**
+       *
+       *
        * 
        * The linear bucket.
        * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; + * * @return Whether the linearBuckets field is set. */ @java.lang.Override @@ -3534,11 +3877,14 @@ public boolean hasLinearBuckets() { return optionsCase_ == 1; } /** + * + * *
        * The linear bucket.
        * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; + * * @return The linearBuckets. */ @java.lang.Override @@ -3556,6 +3902,8 @@ public com.google.api.Distribution.BucketOptions.Linear getLinearBuckets() { } } /** + * + * *
        * The linear bucket.
        * 
@@ -3576,6 +3924,8 @@ public Builder setLinearBuckets(com.google.api.Distribution.BucketOptions.Linear return this; } /** + * + * *
        * The linear bucket.
        * 
@@ -3594,6 +3944,8 @@ public Builder setLinearBuckets( return this; } /** + * + * *
        * The linear bucket.
        * 
@@ -3602,10 +3954,14 @@ public Builder setLinearBuckets( */ public Builder mergeLinearBuckets(com.google.api.Distribution.BucketOptions.Linear value) { if (linearBucketsBuilder_ == null) { - if (optionsCase_ == 1 && - options_ != com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance()) { - options_ = com.google.api.Distribution.BucketOptions.Linear.newBuilder((com.google.api.Distribution.BucketOptions.Linear) options_) - .mergeFrom(value).buildPartial(); + if (optionsCase_ == 1 + && options_ + != com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance()) { + options_ = + com.google.api.Distribution.BucketOptions.Linear.newBuilder( + (com.google.api.Distribution.BucketOptions.Linear) options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -3621,6 +3977,8 @@ public Builder mergeLinearBuckets(com.google.api.Distribution.BucketOptions.Line return this; } /** + * + * *
        * The linear bucket.
        * 
@@ -3644,6 +4002,8 @@ public Builder clearLinearBuckets() { return this; } /** + * + * *
        * The linear bucket.
        * 
@@ -3654,6 +4014,8 @@ public com.google.api.Distribution.BucketOptions.Linear.Builder getLinearBuckets return getLinearBucketsFieldBuilder().getBuilder(); } /** + * + * *
        * The linear bucket.
        * 
@@ -3672,6 +4034,8 @@ public com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucket } } /** + * + * *
        * The linear bucket.
        * 
@@ -3679,14 +4043,19 @@ public com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucket * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution.BucketOptions.Linear, com.google.api.Distribution.BucketOptions.Linear.Builder, com.google.api.Distribution.BucketOptions.LinearOrBuilder> + com.google.api.Distribution.BucketOptions.Linear, + com.google.api.Distribution.BucketOptions.Linear.Builder, + com.google.api.Distribution.BucketOptions.LinearOrBuilder> getLinearBucketsFieldBuilder() { if (linearBucketsBuilder_ == null) { if (!(optionsCase_ == 1)) { options_ = com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } - linearBucketsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution.BucketOptions.Linear, com.google.api.Distribution.BucketOptions.Linear.Builder, com.google.api.Distribution.BucketOptions.LinearOrBuilder>( + linearBucketsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Distribution.BucketOptions.Linear, + com.google.api.Distribution.BucketOptions.Linear.Builder, + com.google.api.Distribution.BucketOptions.LinearOrBuilder>( (com.google.api.Distribution.BucketOptions.Linear) options_, getParentForChildren(), isClean()); @@ -3698,13 +4067,19 @@ public com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucket } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution.BucketOptions.Exponential, com.google.api.Distribution.BucketOptions.Exponential.Builder, com.google.api.Distribution.BucketOptions.ExponentialOrBuilder> exponentialBucketsBuilder_; + com.google.api.Distribution.BucketOptions.Exponential, + com.google.api.Distribution.BucketOptions.Exponential.Builder, + com.google.api.Distribution.BucketOptions.ExponentialOrBuilder> + exponentialBucketsBuilder_; /** + * + * *
        * The exponential buckets.
        * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; + * * @return Whether the exponentialBuckets field is set. */ @java.lang.Override @@ -3712,11 +4087,14 @@ public boolean hasExponentialBuckets() { return optionsCase_ == 2; } /** + * + * *
        * The exponential buckets.
        * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; + * * @return The exponentialBuckets. */ @java.lang.Override @@ -3734,13 +4112,16 @@ public com.google.api.Distribution.BucketOptions.Exponential getExponentialBucke } } /** + * + * *
        * The exponential buckets.
        * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ - public Builder setExponentialBuckets(com.google.api.Distribution.BucketOptions.Exponential value) { + public Builder setExponentialBuckets( + com.google.api.Distribution.BucketOptions.Exponential value) { if (exponentialBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3754,6 +4135,8 @@ public Builder setExponentialBuckets(com.google.api.Distribution.BucketOptions.E return this; } /** + * + * *
        * The exponential buckets.
        * 
@@ -3772,18 +4155,25 @@ public Builder setExponentialBuckets( return this; } /** + * + * *
        * The exponential buckets.
        * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ - public Builder mergeExponentialBuckets(com.google.api.Distribution.BucketOptions.Exponential value) { + public Builder mergeExponentialBuckets( + com.google.api.Distribution.BucketOptions.Exponential value) { if (exponentialBucketsBuilder_ == null) { - if (optionsCase_ == 2 && - options_ != com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance()) { - options_ = com.google.api.Distribution.BucketOptions.Exponential.newBuilder((com.google.api.Distribution.BucketOptions.Exponential) options_) - .mergeFrom(value).buildPartial(); + if (optionsCase_ == 2 + && options_ + != com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance()) { + options_ = + com.google.api.Distribution.BucketOptions.Exponential.newBuilder( + (com.google.api.Distribution.BucketOptions.Exponential) options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -3799,6 +4189,8 @@ public Builder mergeExponentialBuckets(com.google.api.Distribution.BucketOptions return this; } /** + * + * *
        * The exponential buckets.
        * 
@@ -3822,16 +4214,21 @@ public Builder clearExponentialBuckets() { return this; } /** + * + * *
        * The exponential buckets.
        * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ - public com.google.api.Distribution.BucketOptions.Exponential.Builder getExponentialBucketsBuilder() { + public com.google.api.Distribution.BucketOptions.Exponential.Builder + getExponentialBucketsBuilder() { return getExponentialBucketsFieldBuilder().getBuilder(); } /** + * + * *
        * The exponential buckets.
        * 
@@ -3839,7 +4236,8 @@ public com.google.api.Distribution.BucketOptions.Exponential.Builder getExponent * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ @java.lang.Override - public com.google.api.Distribution.BucketOptions.ExponentialOrBuilder getExponentialBucketsOrBuilder() { + public com.google.api.Distribution.BucketOptions.ExponentialOrBuilder + getExponentialBucketsOrBuilder() { if ((optionsCase_ == 2) && (exponentialBucketsBuilder_ != null)) { return exponentialBucketsBuilder_.getMessageOrBuilder(); } else { @@ -3850,6 +4248,8 @@ public com.google.api.Distribution.BucketOptions.ExponentialOrBuilder getExponen } } /** + * + * *
        * The exponential buckets.
        * 
@@ -3857,14 +4257,19 @@ public com.google.api.Distribution.BucketOptions.ExponentialOrBuilder getExponen * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution.BucketOptions.Exponential, com.google.api.Distribution.BucketOptions.Exponential.Builder, com.google.api.Distribution.BucketOptions.ExponentialOrBuilder> + com.google.api.Distribution.BucketOptions.Exponential, + com.google.api.Distribution.BucketOptions.Exponential.Builder, + com.google.api.Distribution.BucketOptions.ExponentialOrBuilder> getExponentialBucketsFieldBuilder() { if (exponentialBucketsBuilder_ == null) { if (!(optionsCase_ == 2)) { options_ = com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } - exponentialBucketsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution.BucketOptions.Exponential, com.google.api.Distribution.BucketOptions.Exponential.Builder, com.google.api.Distribution.BucketOptions.ExponentialOrBuilder>( + exponentialBucketsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Distribution.BucketOptions.Exponential, + com.google.api.Distribution.BucketOptions.Exponential.Builder, + com.google.api.Distribution.BucketOptions.ExponentialOrBuilder>( (com.google.api.Distribution.BucketOptions.Exponential) options_, getParentForChildren(), isClean()); @@ -3876,13 +4281,19 @@ public com.google.api.Distribution.BucketOptions.ExponentialOrBuilder getExponen } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution.BucketOptions.Explicit, com.google.api.Distribution.BucketOptions.Explicit.Builder, com.google.api.Distribution.BucketOptions.ExplicitOrBuilder> explicitBucketsBuilder_; + com.google.api.Distribution.BucketOptions.Explicit, + com.google.api.Distribution.BucketOptions.Explicit.Builder, + com.google.api.Distribution.BucketOptions.ExplicitOrBuilder> + explicitBucketsBuilder_; /** + * + * *
        * The explicit buckets.
        * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; + * * @return Whether the explicitBuckets field is set. */ @java.lang.Override @@ -3890,11 +4301,14 @@ public boolean hasExplicitBuckets() { return optionsCase_ == 3; } /** + * + * *
        * The explicit buckets.
        * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; + * * @return The explicitBuckets. */ @java.lang.Override @@ -3912,6 +4326,8 @@ public com.google.api.Distribution.BucketOptions.Explicit getExplicitBuckets() { } } /** + * + * *
        * The explicit buckets.
        * 
@@ -3932,6 +4348,8 @@ public Builder setExplicitBuckets(com.google.api.Distribution.BucketOptions.Expl return this; } /** + * + * *
        * The explicit buckets.
        * 
@@ -3950,18 +4368,25 @@ public Builder setExplicitBuckets( return this; } /** + * + * *
        * The explicit buckets.
        * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ - public Builder mergeExplicitBuckets(com.google.api.Distribution.BucketOptions.Explicit value) { + public Builder mergeExplicitBuckets( + com.google.api.Distribution.BucketOptions.Explicit value) { if (explicitBucketsBuilder_ == null) { - if (optionsCase_ == 3 && - options_ != com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance()) { - options_ = com.google.api.Distribution.BucketOptions.Explicit.newBuilder((com.google.api.Distribution.BucketOptions.Explicit) options_) - .mergeFrom(value).buildPartial(); + if (optionsCase_ == 3 + && options_ + != com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance()) { + options_ = + com.google.api.Distribution.BucketOptions.Explicit.newBuilder( + (com.google.api.Distribution.BucketOptions.Explicit) options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -3977,6 +4402,8 @@ public Builder mergeExplicitBuckets(com.google.api.Distribution.BucketOptions.Ex return this; } /** + * + * *
        * The explicit buckets.
        * 
@@ -4000,16 +4427,21 @@ public Builder clearExplicitBuckets() { return this; } /** + * + * *
        * The explicit buckets.
        * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ - public com.google.api.Distribution.BucketOptions.Explicit.Builder getExplicitBucketsBuilder() { + public com.google.api.Distribution.BucketOptions.Explicit.Builder + getExplicitBucketsBuilder() { return getExplicitBucketsFieldBuilder().getBuilder(); } /** + * + * *
        * The explicit buckets.
        * 
@@ -4017,7 +4449,8 @@ public com.google.api.Distribution.BucketOptions.Explicit.Builder getExplicitBuc * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ @java.lang.Override - public com.google.api.Distribution.BucketOptions.ExplicitOrBuilder getExplicitBucketsOrBuilder() { + public com.google.api.Distribution.BucketOptions.ExplicitOrBuilder + getExplicitBucketsOrBuilder() { if ((optionsCase_ == 3) && (explicitBucketsBuilder_ != null)) { return explicitBucketsBuilder_.getMessageOrBuilder(); } else { @@ -4028,6 +4461,8 @@ public com.google.api.Distribution.BucketOptions.ExplicitOrBuilder getExplicitBu } } /** + * + * *
        * The explicit buckets.
        * 
@@ -4035,14 +4470,19 @@ public com.google.api.Distribution.BucketOptions.ExplicitOrBuilder getExplicitBu * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution.BucketOptions.Explicit, com.google.api.Distribution.BucketOptions.Explicit.Builder, com.google.api.Distribution.BucketOptions.ExplicitOrBuilder> + com.google.api.Distribution.BucketOptions.Explicit, + com.google.api.Distribution.BucketOptions.Explicit.Builder, + com.google.api.Distribution.BucketOptions.ExplicitOrBuilder> getExplicitBucketsFieldBuilder() { if (explicitBucketsBuilder_ == null) { if (!(optionsCase_ == 3)) { options_ = com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } - explicitBucketsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution.BucketOptions.Explicit, com.google.api.Distribution.BucketOptions.Explicit.Builder, com.google.api.Distribution.BucketOptions.ExplicitOrBuilder>( + explicitBucketsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Distribution.BucketOptions.Explicit, + com.google.api.Distribution.BucketOptions.Explicit.Builder, + com.google.api.Distribution.BucketOptions.ExplicitOrBuilder>( (com.google.api.Distribution.BucketOptions.Explicit) options_, getParentForChildren(), isClean()); @@ -4052,6 +4492,7 @@ public com.google.api.Distribution.BucketOptions.ExplicitOrBuilder getExplicitBu onChanged(); return explicitBucketsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4064,12 +4505,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions) } // @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions) private static final com.google.api.Distribution.BucketOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Distribution.BucketOptions(); } @@ -4078,27 +4519,28 @@ public static com.google.api.Distribution.BucketOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BucketOptions 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 BucketOptions 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; @@ -4113,43 +4555,54 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Distribution.BucketOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExemplarOrBuilder extends + public interface ExemplarOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Distribution.Exemplar) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Value of the exemplar point. This value determines to which bucket the
      * exemplar belongs.
      * 
* * double value = 1; + * * @return The value. */ double getValue(); /** + * + * *
      * The observation (sampling) time of the above value.
      * 
* * .google.protobuf.Timestamp timestamp = 2; + * * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** + * + * *
      * The observation (sampling) time of the above value.
      * 
* * .google.protobuf.Timestamp timestamp = 2; + * * @return The timestamp. */ com.google.protobuf.Timestamp getTimestamp(); /** + * + * *
      * The observation (sampling) time of the above value.
      * 
@@ -4159,6 +4612,8 @@ public interface ExemplarOrBuilder extends com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder(); /** + * + * *
      * Contextual information about the example value. Examples are:
      *
@@ -4175,9 +4630,10 @@ public interface ExemplarOrBuilder extends
      *
      * repeated .google.protobuf.Any attachments = 3;
      */
-    java.util.List 
-        getAttachmentsList();
+    java.util.List getAttachmentsList();
     /**
+     *
+     *
      * 
      * Contextual information about the example value. Examples are:
      *
@@ -4196,6 +4652,8 @@ public interface ExemplarOrBuilder extends
      */
     com.google.protobuf.Any getAttachments(int index);
     /**
+     *
+     *
      * 
      * Contextual information about the example value. Examples are:
      *
@@ -4214,6 +4672,8 @@ public interface ExemplarOrBuilder extends
      */
     int getAttachmentsCount();
     /**
+     *
+     *
      * 
      * Contextual information about the example value. Examples are:
      *
@@ -4230,9 +4690,10 @@ public interface ExemplarOrBuilder extends
      *
      * repeated .google.protobuf.Any attachments = 3;
      */
-    java.util.List 
-        getAttachmentsOrBuilderList();
+    java.util.List getAttachmentsOrBuilderList();
     /**
+     *
+     *
      * 
      * Contextual information about the example value. Examples are:
      *
@@ -4249,10 +4710,11 @@ public interface ExemplarOrBuilder extends
      *
      * repeated .google.protobuf.Any attachments = 3;
      */
-    com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(
-        int index);
+    com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * Exemplars are example points that may be used to annotate aggregated
    * distribution values. They are metadata that gives information about a
@@ -4263,48 +4725,53 @@ com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(
    *
    * Protobuf type {@code google.api.Distribution.Exemplar}
    */
-  public static final class Exemplar extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Exemplar extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.api.Distribution.Exemplar)
       ExemplarOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Exemplar.newBuilder() to construct.
     private Exemplar(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Exemplar() {
       attachments_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Exemplar();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.api.DistributionProto.internal_static_google_api_Distribution_Exemplar_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.api.DistributionProto
+          .internal_static_google_api_Distribution_Exemplar_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.DistributionProto.internal_static_google_api_Distribution_Exemplar_fieldAccessorTable
+      return com.google.api.DistributionProto
+          .internal_static_google_api_Distribution_Exemplar_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.Distribution.Exemplar.class, com.google.api.Distribution.Exemplar.Builder.class);
+              com.google.api.Distribution.Exemplar.class,
+              com.google.api.Distribution.Exemplar.Builder.class);
     }
 
     public static final int VALUE_FIELD_NUMBER = 1;
     private double value_ = 0D;
     /**
+     *
+     *
      * 
      * Value of the exemplar point. This value determines to which bucket the
      * exemplar belongs.
      * 
* * double value = 1; + * * @return The value. */ @java.lang.Override @@ -4315,11 +4782,14 @@ public double getValue() { public static final int TIMESTAMP_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp timestamp_; /** + * + * *
      * The observation (sampling) time of the above value.
      * 
* * .google.protobuf.Timestamp timestamp = 2; + * * @return Whether the timestamp field is set. */ @java.lang.Override @@ -4327,11 +4797,14 @@ public boolean hasTimestamp() { return timestamp_ != null; } /** + * + * *
      * The observation (sampling) time of the above value.
      * 
* * .google.protobuf.Timestamp timestamp = 2; + * * @return The timestamp. */ @java.lang.Override @@ -4339,6 +4812,8 @@ public com.google.protobuf.Timestamp getTimestamp() { return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; } /** + * + * *
      * The observation (sampling) time of the above value.
      * 
@@ -4351,9 +4826,12 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { } public static final int ATTACHMENTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List attachments_; /** + * + * *
      * Contextual information about the example value. Examples are:
      *
@@ -4375,6 +4853,8 @@ public java.util.List getAttachmentsList() {
       return attachments_;
     }
     /**
+     *
+     *
      * 
      * Contextual information about the example value. Examples are:
      *
@@ -4392,11 +4872,13 @@ public java.util.List getAttachmentsList() {
      * repeated .google.protobuf.Any attachments = 3;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getAttachmentsOrBuilderList() {
       return attachments_;
     }
     /**
+     *
+     *
      * 
      * Contextual information about the example value. Examples are:
      *
@@ -4418,6 +4900,8 @@ public int getAttachmentsCount() {
       return attachments_.size();
     }
     /**
+     *
+     *
      * 
      * Contextual information about the example value. Examples are:
      *
@@ -4439,6 +4923,8 @@ public com.google.protobuf.Any getAttachments(int index) {
       return attachments_.get(index);
     }
     /**
+     *
+     *
      * 
      * Contextual information about the example value. Examples are:
      *
@@ -4456,12 +4942,12 @@ public com.google.protobuf.Any getAttachments(int index) {
      * repeated .google.protobuf.Any attachments = 3;
      */
     @java.lang.Override
-    public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(
-        int index) {
+    public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(int index) {
       return attachments_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -4473,8 +4959,7 @@ 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 (java.lang.Double.doubleToRawLongBits(value_) != 0) {
         output.writeDouble(1, value_);
       }
@@ -4494,16 +4979,13 @@ public int getSerializedSize() {
 
       size = 0;
       if (java.lang.Double.doubleToRawLongBits(value_) != 0) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeDoubleSize(1, value_);
+        size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, value_);
       }
       if (timestamp_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getTimestamp());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimestamp());
       }
       for (int i = 0; i < attachments_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, attachments_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, attachments_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -4513,7 +4995,7 @@ 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.Distribution.Exemplar)) {
         return super.equals(obj);
@@ -4521,15 +5003,12 @@ public boolean equals(final java.lang.Object obj) {
       com.google.api.Distribution.Exemplar other = (com.google.api.Distribution.Exemplar) obj;
 
       if (java.lang.Double.doubleToLongBits(getValue())
-          != java.lang.Double.doubleToLongBits(
-              other.getValue())) return false;
+          != java.lang.Double.doubleToLongBits(other.getValue())) return false;
       if (hasTimestamp() != other.hasTimestamp()) return false;
       if (hasTimestamp()) {
-        if (!getTimestamp()
-            .equals(other.getTimestamp())) return false;
+        if (!getTimestamp().equals(other.getTimestamp())) return false;
       }
-      if (!getAttachmentsList()
-          .equals(other.getAttachmentsList())) return false;
+      if (!getAttachmentsList().equals(other.getAttachmentsList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -4542,8 +5021,10 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + VALUE_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-          java.lang.Double.doubleToLongBits(getValue()));
+      hash =
+          (53 * hash)
+              + com.google.protobuf.Internal.hashLong(
+                  java.lang.Double.doubleToLongBits(getValue()));
       if (hasTimestamp()) {
         hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
         hash = (53 * hash) + getTimestamp().hashCode();
@@ -4557,90 +5038,94 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.api.Distribution.Exemplar parseFrom(
-        java.nio.ByteBuffer data)
+    public static com.google.api.Distribution.Exemplar parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.api.Distribution.Exemplar 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.Distribution.Exemplar parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.api.Distribution.Exemplar 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.Distribution.Exemplar parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.api.Distribution.Exemplar 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.Distribution.Exemplar 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.Distribution.Exemplar 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.Distribution.Exemplar 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.Distribution.Exemplar 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.Distribution.Exemplar parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.api.Distribution.Exemplar 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.Distribution.Exemplar 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
@@ -4650,6 +5135,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Exemplars are example points that may be used to annotate aggregated
      * distribution values. They are metadata that gives information about a
@@ -4660,33 +5147,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.api.Distribution.Exemplar}
      */
-    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.Distribution.Exemplar)
         com.google.api.Distribution.ExemplarOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_Exemplar_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_Exemplar_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_Exemplar_fieldAccessorTable
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_Exemplar_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.Distribution.Exemplar.class, com.google.api.Distribution.Exemplar.Builder.class);
+                com.google.api.Distribution.Exemplar.class,
+                com.google.api.Distribution.Exemplar.Builder.class);
       }
 
       // Construct using com.google.api.Distribution.Exemplar.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4708,9 +5195,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.api.DistributionProto.internal_static_google_api_Distribution_Exemplar_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.api.DistributionProto
+            .internal_static_google_api_Distribution_Exemplar_descriptor;
       }
 
       @java.lang.Override
@@ -4729,9 +5216,12 @@ public com.google.api.Distribution.Exemplar build() {
 
       @java.lang.Override
       public com.google.api.Distribution.Exemplar buildPartial() {
-        com.google.api.Distribution.Exemplar result = new com.google.api.Distribution.Exemplar(this);
+        com.google.api.Distribution.Exemplar result =
+            new com.google.api.Distribution.Exemplar(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -4754,9 +5244,7 @@ private void buildPartial0(com.google.api.Distribution.Exemplar result) {
           result.value_ = value_;
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.timestamp_ = timestampBuilder_ == null
-              ? timestamp_
-              : timestampBuilder_.build();
+          result.timestamp_ = timestampBuilder_ == null ? timestamp_ : timestampBuilder_.build();
         }
       }
 
@@ -4764,38 +5252,41 @@ private void buildPartial0(com.google.api.Distribution.Exemplar 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) {
+          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.Distribution.Exemplar) {
-          return mergeFrom((com.google.api.Distribution.Exemplar)other);
+          return mergeFrom((com.google.api.Distribution.Exemplar) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4828,9 +5319,10 @@ public Builder mergeFrom(com.google.api.Distribution.Exemplar other) {
               attachmentsBuilder_ = null;
               attachments_ = other.attachments_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              attachmentsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getAttachmentsFieldBuilder() : null;
+              attachmentsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getAttachmentsFieldBuilder()
+                      : null;
             } else {
               attachmentsBuilder_.addAllMessages(other.attachments_);
             }
@@ -4862,37 +5354,37 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 9: {
-                value_ = input.readDouble();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 9
-              case 18: {
-                input.readMessage(
-                    getTimestampFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                com.google.protobuf.Any m =
-                    input.readMessage(
-                        com.google.protobuf.Any.parser(),
-                        extensionRegistry);
-                if (attachmentsBuilder_ == null) {
-                  ensureAttachmentsIsMutable();
-                  attachments_.add(m);
-                } else {
-                  attachmentsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 9:
+                {
+                  value_ = input.readDouble();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 9
+              case 18:
+                {
+                  input.readMessage(getTimestampFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  com.google.protobuf.Any m =
+                      input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
+                  if (attachmentsBuilder_ == null) {
+                    ensureAttachmentsIsMutable();
+                    attachments_.add(m);
+                  } else {
+                    attachmentsBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 26
+              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) {
@@ -4902,16 +5394,20 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private double value_ ;
+      private double value_;
       /**
+       *
+       *
        * 
        * Value of the exemplar point. This value determines to which bucket the
        * exemplar belongs.
        * 
* * double value = 1; + * * @return The value. */ @java.lang.Override @@ -4919,12 +5415,15 @@ public double getValue() { return value_; } /** + * + * *
        * Value of the exemplar point. This value determines to which bucket the
        * exemplar belongs.
        * 
* * double value = 1; + * * @param value The value to set. * @return This builder for chaining. */ @@ -4936,12 +5435,15 @@ public Builder setValue(double value) { return this; } /** + * + * *
        * Value of the exemplar point. This value determines to which bucket the
        * exemplar belongs.
        * 
* * double value = 1; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -4953,34 +5455,47 @@ public Builder clearValue() { private com.google.protobuf.Timestamp timestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + timestampBuilder_; /** + * + * *
        * The observation (sampling) time of the above value.
        * 
* * .google.protobuf.Timestamp timestamp = 2; + * * @return Whether the timestamp field is set. */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The observation (sampling) time of the above value.
        * 
* * .google.protobuf.Timestamp timestamp = 2; + * * @return The timestamp. */ public com.google.protobuf.Timestamp getTimestamp() { if (timestampBuilder_ == null) { - return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; + return timestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : timestamp_; } else { return timestampBuilder_.getMessage(); } } /** + * + * *
        * The observation (sampling) time of the above value.
        * 
@@ -5001,14 +5516,15 @@ public Builder setTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The observation (sampling) time of the above value.
        * 
* * .google.protobuf.Timestamp timestamp = 2; */ - public Builder setTimestamp( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampBuilder_ == null) { timestamp_ = builderForValue.build(); } else { @@ -5019,6 +5535,8 @@ public Builder setTimestamp( return this; } /** + * + * *
        * The observation (sampling) time of the above value.
        * 
@@ -5027,9 +5545,9 @@ public Builder setTimestamp( */ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { if (timestampBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - timestamp_ != null && - timestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && timestamp_ != null + && timestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getTimestampBuilder().mergeFrom(value); } else { timestamp_ = value; @@ -5042,6 +5560,8 @@ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The observation (sampling) time of the above value.
        * 
@@ -5059,6 +5579,8 @@ public Builder clearTimestamp() { return this; } /** + * + * *
        * The observation (sampling) time of the above value.
        * 
@@ -5071,6 +5593,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampBuilder() { return getTimestampFieldBuilder().getBuilder(); } /** + * + * *
        * The observation (sampling) time of the above value.
        * 
@@ -5081,11 +5605,14 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { if (timestampBuilder_ != null) { return timestampBuilder_.getMessageOrBuilder(); } else { - return timestamp_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; + return timestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : timestamp_; } } /** + * + * *
        * The observation (sampling) time of the above value.
        * 
@@ -5093,32 +5620,41 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * .google.protobuf.Timestamp timestamp = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getTimestampFieldBuilder() { if (timestampBuilder_ == null) { - timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getTimestamp(), - getParentForChildren(), - isClean()); + timestampBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getTimestamp(), getParentForChildren(), isClean()); timestamp_ = null; } return timestampBuilder_; } private java.util.List attachments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAttachmentsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { attachments_ = new java.util.ArrayList(attachments_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> attachmentsBuilder_; + com.google.protobuf.Any, + com.google.protobuf.Any.Builder, + com.google.protobuf.AnyOrBuilder> + attachmentsBuilder_; /** + * + * *
        * Contextual information about the example value. Examples are:
        *
@@ -5143,6 +5679,8 @@ public java.util.List getAttachmentsList() {
         }
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5167,6 +5705,8 @@ public int getAttachmentsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5191,6 +5731,8 @@ public com.google.protobuf.Any getAttachments(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5207,8 +5749,7 @@ public com.google.protobuf.Any getAttachments(int index) {
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public Builder setAttachments(
-          int index, com.google.protobuf.Any value) {
+      public Builder setAttachments(int index, com.google.protobuf.Any value) {
         if (attachmentsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -5222,6 +5763,8 @@ public Builder setAttachments(
         return this;
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5238,8 +5781,7 @@ public Builder setAttachments(
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public Builder setAttachments(
-          int index, com.google.protobuf.Any.Builder builderForValue) {
+      public Builder setAttachments(int index, com.google.protobuf.Any.Builder builderForValue) {
         if (attachmentsBuilder_ == null) {
           ensureAttachmentsIsMutable();
           attachments_.set(index, builderForValue.build());
@@ -5250,6 +5792,8 @@ public Builder setAttachments(
         return this;
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5280,6 +5824,8 @@ public Builder addAttachments(com.google.protobuf.Any value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5296,8 +5842,7 @@ public Builder addAttachments(com.google.protobuf.Any value) {
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public Builder addAttachments(
-          int index, com.google.protobuf.Any value) {
+      public Builder addAttachments(int index, com.google.protobuf.Any value) {
         if (attachmentsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -5311,6 +5856,8 @@ public Builder addAttachments(
         return this;
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5327,8 +5874,7 @@ public Builder addAttachments(
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public Builder addAttachments(
-          com.google.protobuf.Any.Builder builderForValue) {
+      public Builder addAttachments(com.google.protobuf.Any.Builder builderForValue) {
         if (attachmentsBuilder_ == null) {
           ensureAttachmentsIsMutable();
           attachments_.add(builderForValue.build());
@@ -5339,6 +5885,8 @@ public Builder addAttachments(
         return this;
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5355,8 +5903,7 @@ public Builder addAttachments(
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public Builder addAttachments(
-          int index, com.google.protobuf.Any.Builder builderForValue) {
+      public Builder addAttachments(int index, com.google.protobuf.Any.Builder builderForValue) {
         if (attachmentsBuilder_ == null) {
           ensureAttachmentsIsMutable();
           attachments_.add(index, builderForValue.build());
@@ -5367,6 +5914,8 @@ public Builder addAttachments(
         return this;
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5387,8 +5936,7 @@ public Builder addAllAttachments(
           java.lang.Iterable values) {
         if (attachmentsBuilder_ == null) {
           ensureAttachmentsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, attachments_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attachments_);
           onChanged();
         } else {
           attachmentsBuilder_.addAllMessages(values);
@@ -5396,6 +5944,8 @@ public Builder addAllAttachments(
         return this;
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5423,6 +5973,8 @@ public Builder clearAttachments() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5450,6 +6002,8 @@ public Builder removeAttachments(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5466,11 +6020,12 @@ public Builder removeAttachments(int index) {
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public com.google.protobuf.Any.Builder getAttachmentsBuilder(
-          int index) {
+      public com.google.protobuf.Any.Builder getAttachmentsBuilder(int index) {
         return getAttachmentsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5487,14 +6042,16 @@ public com.google.protobuf.Any.Builder getAttachmentsBuilder(
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(
-          int index) {
+      public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(int index) {
         if (attachmentsBuilder_ == null) {
-          return attachments_.get(index);  } else {
+          return attachments_.get(index);
+        } else {
           return attachmentsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5511,8 +6068,8 @@ public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public java.util.List 
-           getAttachmentsOrBuilderList() {
+      public java.util.List
+          getAttachmentsOrBuilderList() {
         if (attachmentsBuilder_ != null) {
           return attachmentsBuilder_.getMessageOrBuilderList();
         } else {
@@ -5520,6 +6077,8 @@ public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5537,10 +6096,12 @@ public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(
        * repeated .google.protobuf.Any attachments = 3;
        */
       public com.google.protobuf.Any.Builder addAttachmentsBuilder() {
-        return getAttachmentsFieldBuilder().addBuilder(
-            com.google.protobuf.Any.getDefaultInstance());
+        return getAttachmentsFieldBuilder()
+            .addBuilder(com.google.protobuf.Any.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5557,12 +6118,13 @@ public com.google.protobuf.Any.Builder addAttachmentsBuilder() {
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public com.google.protobuf.Any.Builder addAttachmentsBuilder(
-          int index) {
-        return getAttachmentsFieldBuilder().addBuilder(
-            index, com.google.protobuf.Any.getDefaultInstance());
+      public com.google.protobuf.Any.Builder addAttachmentsBuilder(int index) {
+        return getAttachmentsFieldBuilder()
+            .addBuilder(index, com.google.protobuf.Any.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Contextual information about the example value. Examples are:
        *
@@ -5579,16 +6141,21 @@ public com.google.protobuf.Any.Builder addAttachmentsBuilder(
        *
        * repeated .google.protobuf.Any attachments = 3;
        */
-      public java.util.List 
-           getAttachmentsBuilderList() {
+      public java.util.List getAttachmentsBuilderList() {
         return getAttachmentsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> 
+              com.google.protobuf.Any,
+              com.google.protobuf.Any.Builder,
+              com.google.protobuf.AnyOrBuilder>
           getAttachmentsFieldBuilder() {
         if (attachmentsBuilder_ == null) {
-          attachmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
+          attachmentsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.protobuf.Any,
+                  com.google.protobuf.Any.Builder,
+                  com.google.protobuf.AnyOrBuilder>(
                   attachments_,
                   ((bitField0_ & 0x00000004) != 0),
                   getParentForChildren(),
@@ -5597,6 +6164,7 @@ public com.google.protobuf.Any.Builder addAttachmentsBuilder(
         }
         return attachmentsBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5609,12 +6177,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.api.Distribution.Exemplar)
     }
 
     // @@protoc_insertion_point(class_scope:google.api.Distribution.Exemplar)
     private static final com.google.api.Distribution.Exemplar DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.api.Distribution.Exemplar();
     }
@@ -5623,27 +6191,28 @@ public static com.google.api.Distribution.Exemplar getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Exemplar 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 Exemplar 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;
@@ -5658,12 +6227,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.api.Distribution.Exemplar getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int COUNT_FIELD_NUMBER = 1;
   private long count_ = 0L;
   /**
+   *
+   *
    * 
    * The number of values in the population. Must be non-negative. This value
    * must equal the sum of the values in `bucket_counts` if a histogram is
@@ -5671,6 +6241,7 @@ public com.google.api.Distribution.Exemplar getDefaultInstanceForType() {
    * 
* * int64 count = 1; + * * @return The count. */ @java.lang.Override @@ -5681,12 +6252,15 @@ public long getCount() { public static final int MEAN_FIELD_NUMBER = 2; private double mean_ = 0D; /** + * + * *
    * The arithmetic mean of the values in the population. If `count` is zero
    * then this field must be zero.
    * 
* * double mean = 2; + * * @return The mean. */ @java.lang.Override @@ -5697,6 +6271,8 @@ public double getMean() { public static final int SUM_OF_SQUARED_DEVIATION_FIELD_NUMBER = 3; private double sumOfSquaredDeviation_ = 0D; /** + * + * *
    * The sum of squared deviations from the mean of the values in the
    * population. For values x_i this is:
@@ -5710,6 +6286,7 @@ public double getMean() {
    * 
* * double sum_of_squared_deviation = 3; + * * @return The sumOfSquaredDeviation. */ @java.lang.Override @@ -5720,12 +6297,15 @@ public double getSumOfSquaredDeviation() { public static final int RANGE_FIELD_NUMBER = 4; private com.google.api.Distribution.Range range_; /** + * + * *
    * If specified, contains the range of the population values. The field
    * must not be present if the `count` is zero.
    * 
* * .google.api.Distribution.Range range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -5733,12 +6313,15 @@ public boolean hasRange() { return range_ != null; } /** + * + * *
    * If specified, contains the range of the population values. The field
    * must not be present if the `count` is zero.
    * 
* * .google.api.Distribution.Range range = 4; + * * @return The range. */ @java.lang.Override @@ -5746,6 +6329,8 @@ public com.google.api.Distribution.Range getRange() { return range_ == null ? com.google.api.Distribution.Range.getDefaultInstance() : range_; } /** + * + * *
    * If specified, contains the range of the population values. The field
    * must not be present if the `count` is zero.
@@ -5761,12 +6346,15 @@ public com.google.api.Distribution.RangeOrBuilder getRangeOrBuilder() {
   public static final int BUCKET_OPTIONS_FIELD_NUMBER = 6;
   private com.google.api.Distribution.BucketOptions bucketOptions_;
   /**
+   *
+   *
    * 
    * Defines the histogram bucket boundaries. If the distribution does not
    * contain a histogram, then omit this field.
    * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; + * * @return Whether the bucketOptions field is set. */ @java.lang.Override @@ -5774,19 +6362,26 @@ public boolean hasBucketOptions() { return bucketOptions_ != null; } /** + * + * *
    * Defines the histogram bucket boundaries. If the distribution does not
    * contain a histogram, then omit this field.
    * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; + * * @return The bucketOptions. */ @java.lang.Override public com.google.api.Distribution.BucketOptions getBucketOptions() { - return bucketOptions_ == null ? com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; + return bucketOptions_ == null + ? com.google.api.Distribution.BucketOptions.getDefaultInstance() + : bucketOptions_; } /** + * + * *
    * Defines the histogram bucket boundaries. If the distribution does not
    * contain a histogram, then omit this field.
@@ -5796,13 +6391,18 @@ public com.google.api.Distribution.BucketOptions getBucketOptions() {
    */
   @java.lang.Override
   public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuilder() {
-    return bucketOptions_ == null ? com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_;
+    return bucketOptions_ == null
+        ? com.google.api.Distribution.BucketOptions.getDefaultInstance()
+        : bucketOptions_;
   }
 
   public static final int BUCKET_COUNTS_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.Internal.LongList bucketCounts_;
   /**
+   *
+   *
    * 
    * The number of values in each bucket of the histogram, as described in
    * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -5822,14 +6422,16 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil
    * 
* * repeated int64 bucket_counts = 7; + * * @return A list containing the bucketCounts. */ @java.lang.Override - public java.util.List - getBucketCountsList() { + public java.util.List getBucketCountsList() { return bucketCounts_; } /** + * + * *
    * The number of values in each bucket of the histogram, as described in
    * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -5849,12 +6451,15 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil
    * 
* * repeated int64 bucket_counts = 7; + * * @return The count of bucketCounts. */ public int getBucketCountsCount() { return bucketCounts_.size(); } /** + * + * *
    * The number of values in each bucket of the histogram, as described in
    * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -5874,18 +6479,23 @@ public int getBucketCountsCount() {
    * 
* * repeated int64 bucket_counts = 7; + * * @param index The index of the element to return. * @return The bucketCounts at the given index. */ public long getBucketCounts(int index) { return bucketCounts_.getLong(index); } + private int bucketCountsMemoizedSerializedSize = -1; public static final int EXEMPLARS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private java.util.List exemplars_; /** + * + * *
    * Must be in increasing order of `value` field.
    * 
@@ -5897,6 +6507,8 @@ public java.util.List getExemplarsList() { return exemplars_; } /** + * + * *
    * Must be in increasing order of `value` field.
    * 
@@ -5904,11 +6516,13 @@ public java.util.List getExemplarsList() { * repeated .google.api.Distribution.Exemplar exemplars = 10; */ @java.lang.Override - public java.util.List + public java.util.List getExemplarsOrBuilderList() { return exemplars_; } /** + * + * *
    * Must be in increasing order of `value` field.
    * 
@@ -5920,6 +6534,8 @@ public int getExemplarsCount() { return exemplars_.size(); } /** + * + * *
    * Must be in increasing order of `value` field.
    * 
@@ -5931,6 +6547,8 @@ public com.google.api.Distribution.Exemplar getExemplars(int index) { return exemplars_.get(index); } /** + * + * *
    * Must be in increasing order of `value` field.
    * 
@@ -5938,12 +6556,12 @@ public com.google.api.Distribution.Exemplar getExemplars(int index) { * repeated .google.api.Distribution.Exemplar exemplars = 10; */ @java.lang.Override - public com.google.api.Distribution.ExemplarOrBuilder getExemplarsOrBuilder( - int index) { + public com.google.api.Distribution.ExemplarOrBuilder getExemplarsOrBuilder(int index) { return exemplars_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5955,8 +6573,7 @@ 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 { getSerializedSize(); if (count_ != 0L) { output.writeInt64(1, count_); @@ -5993,42 +6610,35 @@ public int getSerializedSize() { size = 0; if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, count_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, count_); } if (java.lang.Double.doubleToRawLongBits(mean_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, mean_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, mean_); } if (java.lang.Double.doubleToRawLongBits(sumOfSquaredDeviation_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, sumOfSquaredDeviation_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, sumOfSquaredDeviation_); } if (range_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRange()); } if (bucketOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getBucketOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getBucketOptions()); } { int dataSize = 0; for (int i = 0; i < bucketCounts_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt64SizeNoTag(bucketCounts_.getLong(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(bucketCounts_.getLong(i)); } size += dataSize; if (!getBucketCountsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } bucketCountsMemoizedSerializedSize = dataSize; } for (int i = 0; i < exemplars_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, exemplars_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, exemplars_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6038,35 +6648,28 @@ 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.Distribution)) { return super.equals(obj); } com.google.api.Distribution other = (com.google.api.Distribution) obj; - if (getCount() - != other.getCount()) return false; + if (getCount() != other.getCount()) return false; if (java.lang.Double.doubleToLongBits(getMean()) - != java.lang.Double.doubleToLongBits( - other.getMean())) return false; + != java.lang.Double.doubleToLongBits(other.getMean())) return false; if (java.lang.Double.doubleToLongBits(getSumOfSquaredDeviation()) - != java.lang.Double.doubleToLongBits( - other.getSumOfSquaredDeviation())) return false; + != java.lang.Double.doubleToLongBits(other.getSumOfSquaredDeviation())) return false; if (hasRange() != other.hasRange()) return false; if (hasRange()) { - if (!getRange() - .equals(other.getRange())) return false; + if (!getRange().equals(other.getRange())) return false; } if (hasBucketOptions() != other.hasBucketOptions()) return false; if (hasBucketOptions()) { - if (!getBucketOptions() - .equals(other.getBucketOptions())) return false; + if (!getBucketOptions().equals(other.getBucketOptions())) return false; } - if (!getBucketCountsList() - .equals(other.getBucketCountsList())) return false; - if (!getExemplarsList() - .equals(other.getExemplarsList())) return false; + if (!getBucketCountsList().equals(other.getBucketCountsList())) return false; + if (!getExemplarsList().equals(other.getExemplarsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6079,14 +6682,16 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount()); hash = (37 * hash) + MEAN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMean())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getMean())); hash = (37 * hash) + SUM_OF_SQUARED_DEVIATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSumOfSquaredDeviation())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSumOfSquaredDeviation())); if (hasRange()) { hash = (37 * hash) + RANGE_FIELD_NUMBER; hash = (53 * hash) + getRange().hashCode(); @@ -6108,99 +6713,103 @@ public int hashCode() { return hash; } - public static com.google.api.Distribution parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Distribution parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution 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.Distribution parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.Distribution parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution 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.Distribution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Distribution 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.Distribution 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.Distribution 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.Distribution 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.Distribution 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.Distribution parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.Distribution 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.Distribution 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.Distribution 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; } /** + * + * *
    * `Distribution` contains summary statistics for a population of values. It
    * optionally contains a histogram representing the distribution of those values
@@ -6220,33 +6829,30 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Distribution}
    */
-  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.Distribution)
       com.google.api.DistributionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.DistributionProto.internal_static_google_api_Distribution_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.DistributionProto.internal_static_google_api_Distribution_fieldAccessorTable
+      return com.google.api.DistributionProto
+          .internal_static_google_api_Distribution_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.api.Distribution.class, com.google.api.Distribution.Builder.class);
     }
 
     // Construct using com.google.api.Distribution.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6276,8 +6882,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.DistributionProto.internal_static_google_api_Distribution_descriptor;
     }
 
@@ -6299,7 +6904,9 @@ public com.google.api.Distribution build() {
     public com.google.api.Distribution buildPartial() {
       com.google.api.Distribution result = new com.google.api.Distribution(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -6333,14 +6940,11 @@ private void buildPartial0(com.google.api.Distribution result) {
         result.sumOfSquaredDeviation_ = sumOfSquaredDeviation_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.range_ = rangeBuilder_ == null
-            ? range_
-            : rangeBuilder_.build();
+        result.range_ = rangeBuilder_ == null ? range_ : rangeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.bucketOptions_ = bucketOptionsBuilder_ == null
-            ? bucketOptions_
-            : bucketOptionsBuilder_.build();
+        result.bucketOptions_ =
+            bucketOptionsBuilder_ == null ? bucketOptions_ : bucketOptionsBuilder_.build();
       }
     }
 
@@ -6348,38 +6952,39 @@ private void buildPartial0(com.google.api.Distribution 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.Distribution) {
-        return mergeFrom((com.google.api.Distribution)other);
+        return mergeFrom((com.google.api.Distribution) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6431,9 +7036,10 @@ public Builder mergeFrom(com.google.api.Distribution other) {
             exemplarsBuilder_ = null;
             exemplars_ = other.exemplars_;
             bitField0_ = (bitField0_ & ~0x00000040);
-            exemplarsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getExemplarsFieldBuilder() : null;
+            exemplarsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getExemplarsFieldBuilder()
+                    : null;
           } else {
             exemplarsBuilder_.addAllMessages(other.exemplars_);
           }
@@ -6465,70 +7071,74 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              count_ = input.readInt64();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 17: {
-              mean_ = input.readDouble();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 17
-            case 25: {
-              sumOfSquaredDeviation_ = input.readDouble();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 25
-            case 34: {
-              input.readMessage(
-                  getRangeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 50: {
-              input.readMessage(
-                  getBucketOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 50
-            case 56: {
-              long v = input.readInt64();
-              ensureBucketCountsIsMutable();
-              bucketCounts_.addLong(v);
-              break;
-            } // case 56
-            case 58: {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              ensureBucketCountsIsMutable();
-              while (input.getBytesUntilLimit() > 0) {
-                bucketCounts_.addLong(input.readInt64());
-              }
-              input.popLimit(limit);
-              break;
-            } // case 58
-            case 82: {
-              com.google.api.Distribution.Exemplar m =
-                  input.readMessage(
-                      com.google.api.Distribution.Exemplar.parser(),
-                      extensionRegistry);
-              if (exemplarsBuilder_ == null) {
-                ensureExemplarsIsMutable();
-                exemplars_.add(m);
-              } else {
-                exemplarsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                count_ = input.readInt64();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 17:
+              {
+                mean_ = input.readDouble();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 17
+            case 25:
+              {
+                sumOfSquaredDeviation_ = input.readDouble();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 25
+            case 34:
+              {
+                input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 50:
+              {
+                input.readMessage(getBucketOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 50
+            case 56:
+              {
+                long v = input.readInt64();
+                ensureBucketCountsIsMutable();
+                bucketCounts_.addLong(v);
+                break;
+              } // case 56
+            case 58:
+              {
+                int length = input.readRawVarint32();
+                int limit = input.pushLimit(length);
+                ensureBucketCountsIsMutable();
+                while (input.getBytesUntilLimit() > 0) {
+                  bucketCounts_.addLong(input.readInt64());
+                }
+                input.popLimit(limit);
+                break;
+              } // case 58
+            case 82:
+              {
+                com.google.api.Distribution.Exemplar m =
+                    input.readMessage(
+                        com.google.api.Distribution.Exemplar.parser(), extensionRegistry);
+                if (exemplarsBuilder_ == null) {
+                  ensureExemplarsIsMutable();
+                  exemplars_.add(m);
+                } else {
+                  exemplarsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 82
+            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) {
@@ -6538,10 +7148,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long count_ ;
+    private long count_;
     /**
+     *
+     *
      * 
      * The number of values in the population. Must be non-negative. This value
      * must equal the sum of the values in `bucket_counts` if a histogram is
@@ -6549,6 +7162,7 @@ public Builder mergeFrom(
      * 
* * int64 count = 1; + * * @return The count. */ @java.lang.Override @@ -6556,6 +7170,8 @@ public long getCount() { return count_; } /** + * + * *
      * The number of values in the population. Must be non-negative. This value
      * must equal the sum of the values in `bucket_counts` if a histogram is
@@ -6563,6 +7179,7 @@ public long getCount() {
      * 
* * int64 count = 1; + * * @param value The count to set. * @return This builder for chaining. */ @@ -6574,6 +7191,8 @@ public Builder setCount(long value) { return this; } /** + * + * *
      * The number of values in the population. Must be non-negative. This value
      * must equal the sum of the values in `bucket_counts` if a histogram is
@@ -6581,6 +7200,7 @@ public Builder setCount(long value) {
      * 
* * int64 count = 1; + * * @return This builder for chaining. */ public Builder clearCount() { @@ -6590,14 +7210,17 @@ public Builder clearCount() { return this; } - private double mean_ ; + private double mean_; /** + * + * *
      * The arithmetic mean of the values in the population. If `count` is zero
      * then this field must be zero.
      * 
* * double mean = 2; + * * @return The mean. */ @java.lang.Override @@ -6605,12 +7228,15 @@ public double getMean() { return mean_; } /** + * + * *
      * The arithmetic mean of the values in the population. If `count` is zero
      * then this field must be zero.
      * 
* * double mean = 2; + * * @param value The mean to set. * @return This builder for chaining. */ @@ -6622,12 +7248,15 @@ public Builder setMean(double value) { return this; } /** + * + * *
      * The arithmetic mean of the values in the population. If `count` is zero
      * then this field must be zero.
      * 
* * double mean = 2; + * * @return This builder for chaining. */ public Builder clearMean() { @@ -6637,8 +7266,10 @@ public Builder clearMean() { return this; } - private double sumOfSquaredDeviation_ ; + private double sumOfSquaredDeviation_; /** + * + * *
      * The sum of squared deviations from the mean of the values in the
      * population. For values x_i this is:
@@ -6652,6 +7283,7 @@ public Builder clearMean() {
      * 
* * double sum_of_squared_deviation = 3; + * * @return The sumOfSquaredDeviation. */ @java.lang.Override @@ -6659,6 +7291,8 @@ public double getSumOfSquaredDeviation() { return sumOfSquaredDeviation_; } /** + * + * *
      * The sum of squared deviations from the mean of the values in the
      * population. For values x_i this is:
@@ -6672,6 +7306,7 @@ public double getSumOfSquaredDeviation() {
      * 
* * double sum_of_squared_deviation = 3; + * * @param value The sumOfSquaredDeviation to set. * @return This builder for chaining. */ @@ -6683,6 +7318,8 @@ public Builder setSumOfSquaredDeviation(double value) { return this; } /** + * + * *
      * The sum of squared deviations from the mean of the values in the
      * population. For values x_i this is:
@@ -6696,6 +7333,7 @@ public Builder setSumOfSquaredDeviation(double value) {
      * 
* * double sum_of_squared_deviation = 3; + * * @return This builder for chaining. */ public Builder clearSumOfSquaredDeviation() { @@ -6707,26 +7345,35 @@ public Builder clearSumOfSquaredDeviation() { private com.google.api.Distribution.Range range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution.Range, com.google.api.Distribution.Range.Builder, com.google.api.Distribution.RangeOrBuilder> rangeBuilder_; + com.google.api.Distribution.Range, + com.google.api.Distribution.Range.Builder, + com.google.api.Distribution.RangeOrBuilder> + rangeBuilder_; /** + * + * *
      * If specified, contains the range of the population values. The field
      * must not be present if the `count` is zero.
      * 
* * .google.api.Distribution.Range range = 4; + * * @return Whether the range field is set. */ public boolean hasRange() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * If specified, contains the range of the population values. The field
      * must not be present if the `count` is zero.
      * 
* * .google.api.Distribution.Range range = 4; + * * @return The range. */ public com.google.api.Distribution.Range getRange() { @@ -6737,6 +7384,8 @@ public com.google.api.Distribution.Range getRange() { } } /** + * + * *
      * If specified, contains the range of the population values. The field
      * must not be present if the `count` is zero.
@@ -6758,6 +7407,8 @@ public Builder setRange(com.google.api.Distribution.Range value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, contains the range of the population values. The field
      * must not be present if the `count` is zero.
@@ -6765,8 +7416,7 @@ public Builder setRange(com.google.api.Distribution.Range value) {
      *
      * .google.api.Distribution.Range range = 4;
      */
-    public Builder setRange(
-        com.google.api.Distribution.Range.Builder builderForValue) {
+    public Builder setRange(com.google.api.Distribution.Range.Builder builderForValue) {
       if (rangeBuilder_ == null) {
         range_ = builderForValue.build();
       } else {
@@ -6777,6 +7427,8 @@ public Builder setRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, contains the range of the population values. The field
      * must not be present if the `count` is zero.
@@ -6786,9 +7438,9 @@ public Builder setRange(
      */
     public Builder mergeRange(com.google.api.Distribution.Range value) {
       if (rangeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          range_ != null &&
-          range_ != com.google.api.Distribution.Range.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && range_ != null
+            && range_ != com.google.api.Distribution.Range.getDefaultInstance()) {
           getRangeBuilder().mergeFrom(value);
         } else {
           range_ = value;
@@ -6801,6 +7453,8 @@ public Builder mergeRange(com.google.api.Distribution.Range value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, contains the range of the population values. The field
      * must not be present if the `count` is zero.
@@ -6819,6 +7473,8 @@ public Builder clearRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, contains the range of the population values. The field
      * must not be present if the `count` is zero.
@@ -6832,6 +7488,8 @@ public com.google.api.Distribution.Range.Builder getRangeBuilder() {
       return getRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, contains the range of the population values. The field
      * must not be present if the `count` is zero.
@@ -6843,11 +7501,12 @@ public com.google.api.Distribution.RangeOrBuilder getRangeOrBuilder() {
       if (rangeBuilder_ != null) {
         return rangeBuilder_.getMessageOrBuilder();
       } else {
-        return range_ == null ?
-            com.google.api.Distribution.Range.getDefaultInstance() : range_;
+        return range_ == null ? com.google.api.Distribution.Range.getDefaultInstance() : range_;
       }
     }
     /**
+     *
+     *
      * 
      * If specified, contains the range of the population values. The field
      * must not be present if the `count` is zero.
@@ -6856,14 +7515,17 @@ public com.google.api.Distribution.RangeOrBuilder getRangeOrBuilder() {
      * .google.api.Distribution.Range range = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.Distribution.Range, com.google.api.Distribution.Range.Builder, com.google.api.Distribution.RangeOrBuilder> 
+            com.google.api.Distribution.Range,
+            com.google.api.Distribution.Range.Builder,
+            com.google.api.Distribution.RangeOrBuilder>
         getRangeFieldBuilder() {
       if (rangeBuilder_ == null) {
-        rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.Distribution.Range, com.google.api.Distribution.Range.Builder, com.google.api.Distribution.RangeOrBuilder>(
-                getRange(),
-                getParentForChildren(),
-                isClean());
+        rangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.api.Distribution.Range,
+                com.google.api.Distribution.Range.Builder,
+                com.google.api.Distribution.RangeOrBuilder>(
+                getRange(), getParentForChildren(), isClean());
         range_ = null;
       }
       return rangeBuilder_;
@@ -6871,36 +7533,49 @@ public com.google.api.Distribution.RangeOrBuilder getRangeOrBuilder() {
 
     private com.google.api.Distribution.BucketOptions bucketOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.Distribution.BucketOptions, com.google.api.Distribution.BucketOptions.Builder, com.google.api.Distribution.BucketOptionsOrBuilder> bucketOptionsBuilder_;
+            com.google.api.Distribution.BucketOptions,
+            com.google.api.Distribution.BucketOptions.Builder,
+            com.google.api.Distribution.BucketOptionsOrBuilder>
+        bucketOptionsBuilder_;
     /**
+     *
+     *
      * 
      * Defines the histogram bucket boundaries. If the distribution does not
      * contain a histogram, then omit this field.
      * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; + * * @return Whether the bucketOptions field is set. */ public boolean hasBucketOptions() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Defines the histogram bucket boundaries. If the distribution does not
      * contain a histogram, then omit this field.
      * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; + * * @return The bucketOptions. */ public com.google.api.Distribution.BucketOptions getBucketOptions() { if (bucketOptionsBuilder_ == null) { - return bucketOptions_ == null ? com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; + return bucketOptions_ == null + ? com.google.api.Distribution.BucketOptions.getDefaultInstance() + : bucketOptions_; } else { return bucketOptionsBuilder_.getMessage(); } } /** + * + * *
      * Defines the histogram bucket boundaries. If the distribution does not
      * contain a histogram, then omit this field.
@@ -6922,6 +7597,8 @@ public Builder setBucketOptions(com.google.api.Distribution.BucketOptions value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the histogram bucket boundaries. If the distribution does not
      * contain a histogram, then omit this field.
@@ -6941,6 +7618,8 @@ public Builder setBucketOptions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the histogram bucket boundaries. If the distribution does not
      * contain a histogram, then omit this field.
@@ -6950,9 +7629,9 @@ public Builder setBucketOptions(
      */
     public Builder mergeBucketOptions(com.google.api.Distribution.BucketOptions value) {
       if (bucketOptionsBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          bucketOptions_ != null &&
-          bucketOptions_ != com.google.api.Distribution.BucketOptions.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && bucketOptions_ != null
+            && bucketOptions_ != com.google.api.Distribution.BucketOptions.getDefaultInstance()) {
           getBucketOptionsBuilder().mergeFrom(value);
         } else {
           bucketOptions_ = value;
@@ -6965,6 +7644,8 @@ public Builder mergeBucketOptions(com.google.api.Distribution.BucketOptions valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the histogram bucket boundaries. If the distribution does not
      * contain a histogram, then omit this field.
@@ -6983,6 +7664,8 @@ public Builder clearBucketOptions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the histogram bucket boundaries. If the distribution does not
      * contain a histogram, then omit this field.
@@ -6996,6 +7679,8 @@ public com.google.api.Distribution.BucketOptions.Builder getBucketOptionsBuilder
       return getBucketOptionsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Defines the histogram bucket boundaries. If the distribution does not
      * contain a histogram, then omit this field.
@@ -7007,11 +7692,14 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil
       if (bucketOptionsBuilder_ != null) {
         return bucketOptionsBuilder_.getMessageOrBuilder();
       } else {
-        return bucketOptions_ == null ?
-            com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_;
+        return bucketOptions_ == null
+            ? com.google.api.Distribution.BucketOptions.getDefaultInstance()
+            : bucketOptions_;
       }
     }
     /**
+     *
+     *
      * 
      * Defines the histogram bucket boundaries. If the distribution does not
      * contain a histogram, then omit this field.
@@ -7020,20 +7708,24 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil
      * .google.api.Distribution.BucketOptions bucket_options = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.Distribution.BucketOptions, com.google.api.Distribution.BucketOptions.Builder, com.google.api.Distribution.BucketOptionsOrBuilder> 
+            com.google.api.Distribution.BucketOptions,
+            com.google.api.Distribution.BucketOptions.Builder,
+            com.google.api.Distribution.BucketOptionsOrBuilder>
         getBucketOptionsFieldBuilder() {
       if (bucketOptionsBuilder_ == null) {
-        bucketOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.Distribution.BucketOptions, com.google.api.Distribution.BucketOptions.Builder, com.google.api.Distribution.BucketOptionsOrBuilder>(
-                getBucketOptions(),
-                getParentForChildren(),
-                isClean());
+        bucketOptionsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.api.Distribution.BucketOptions,
+                com.google.api.Distribution.BucketOptions.Builder,
+                com.google.api.Distribution.BucketOptionsOrBuilder>(
+                getBucketOptions(), getParentForChildren(), isClean());
         bucketOptions_ = null;
       }
       return bucketOptionsBuilder_;
     }
 
     private com.google.protobuf.Internal.LongList bucketCounts_ = emptyLongList();
+
     private void ensureBucketCountsIsMutable() {
       if (!((bitField0_ & 0x00000020) != 0)) {
         bucketCounts_ = mutableCopy(bucketCounts_);
@@ -7041,6 +7733,8 @@ private void ensureBucketCountsIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * The number of values in each bucket of the histogram, as described in
      * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -7060,14 +7754,17 @@ private void ensureBucketCountsIsMutable() {
      * 
* * repeated int64 bucket_counts = 7; + * * @return A list containing the bucketCounts. */ - public java.util.List - getBucketCountsList() { - return ((bitField0_ & 0x00000020) != 0) ? - java.util.Collections.unmodifiableList(bucketCounts_) : bucketCounts_; + public java.util.List getBucketCountsList() { + return ((bitField0_ & 0x00000020) != 0) + ? java.util.Collections.unmodifiableList(bucketCounts_) + : bucketCounts_; } /** + * + * *
      * The number of values in each bucket of the histogram, as described in
      * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -7087,12 +7784,15 @@ private void ensureBucketCountsIsMutable() {
      * 
* * repeated int64 bucket_counts = 7; + * * @return The count of bucketCounts. */ public int getBucketCountsCount() { return bucketCounts_.size(); } /** + * + * *
      * The number of values in each bucket of the histogram, as described in
      * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -7112,6 +7812,7 @@ public int getBucketCountsCount() {
      * 
* * repeated int64 bucket_counts = 7; + * * @param index The index of the element to return. * @return The bucketCounts at the given index. */ @@ -7119,6 +7820,8 @@ public long getBucketCounts(int index) { return bucketCounts_.getLong(index); } /** + * + * *
      * The number of values in each bucket of the histogram, as described in
      * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -7138,12 +7841,12 @@ public long getBucketCounts(int index) {
      * 
* * repeated int64 bucket_counts = 7; + * * @param index The index to set the value at. * @param value The bucketCounts to set. * @return This builder for chaining. */ - public Builder setBucketCounts( - int index, long value) { + public Builder setBucketCounts(int index, long value) { ensureBucketCountsIsMutable(); bucketCounts_.setLong(index, value); @@ -7151,6 +7854,8 @@ public Builder setBucketCounts( return this; } /** + * + * *
      * The number of values in each bucket of the histogram, as described in
      * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -7170,6 +7875,7 @@ public Builder setBucketCounts(
      * 
* * repeated int64 bucket_counts = 7; + * * @param value The bucketCounts to add. * @return This builder for chaining. */ @@ -7181,6 +7887,8 @@ public Builder addBucketCounts(long value) { return this; } /** + * + * *
      * The number of values in each bucket of the histogram, as described in
      * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -7200,18 +7908,19 @@ public Builder addBucketCounts(long value) {
      * 
* * repeated int64 bucket_counts = 7; + * * @param values The bucketCounts to add. * @return This builder for chaining. */ - public Builder addAllBucketCounts( - java.lang.Iterable values) { + public Builder addAllBucketCounts(java.lang.Iterable values) { ensureBucketCountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bucketCounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketCounts_); onChanged(); return this; } /** + * + * *
      * The number of values in each bucket of the histogram, as described in
      * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -7231,6 +7940,7 @@ public Builder addAllBucketCounts(
      * 
* * repeated int64 bucket_counts = 7; + * * @return This builder for chaining. */ public Builder clearBucketCounts() { @@ -7241,18 +7951,24 @@ public Builder clearBucketCounts() { } private java.util.List exemplars_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureExemplarsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { exemplars_ = new java.util.ArrayList(exemplars_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Distribution.Exemplar, com.google.api.Distribution.Exemplar.Builder, com.google.api.Distribution.ExemplarOrBuilder> exemplarsBuilder_; + com.google.api.Distribution.Exemplar, + com.google.api.Distribution.Exemplar.Builder, + com.google.api.Distribution.ExemplarOrBuilder> + exemplarsBuilder_; /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7267,6 +7983,8 @@ public java.util.List getExemplarsList() { } } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7281,6 +7999,8 @@ public int getExemplarsCount() { } } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7295,14 +8015,15 @@ public com.google.api.Distribution.Exemplar getExemplars(int index) { } } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - public Builder setExemplars( - int index, com.google.api.Distribution.Exemplar value) { + public Builder setExemplars(int index, com.google.api.Distribution.Exemplar value) { if (exemplarsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7316,6 +8037,8 @@ public Builder setExemplars( return this; } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7334,6 +8057,8 @@ public Builder setExemplars( return this; } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7354,14 +8079,15 @@ public Builder addExemplars(com.google.api.Distribution.Exemplar value) { return this; } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - public Builder addExemplars( - int index, com.google.api.Distribution.Exemplar value) { + public Builder addExemplars(int index, com.google.api.Distribution.Exemplar value) { if (exemplarsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7375,14 +8101,15 @@ public Builder addExemplars( return this; } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - public Builder addExemplars( - com.google.api.Distribution.Exemplar.Builder builderForValue) { + public Builder addExemplars(com.google.api.Distribution.Exemplar.Builder builderForValue) { if (exemplarsBuilder_ == null) { ensureExemplarsIsMutable(); exemplars_.add(builderForValue.build()); @@ -7393,6 +8120,8 @@ public Builder addExemplars( return this; } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7411,6 +8140,8 @@ public Builder addExemplars( return this; } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7421,8 +8152,7 @@ public Builder addAllExemplars( java.lang.Iterable values) { if (exemplarsBuilder_ == null) { ensureExemplarsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exemplars_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exemplars_); onChanged(); } else { exemplarsBuilder_.addAllMessages(values); @@ -7430,6 +8160,8 @@ public Builder addAllExemplars( return this; } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7447,6 +8179,8 @@ public Builder clearExemplars() { return this; } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7464,39 +8198,44 @@ public Builder removeExemplars(int index) { return this; } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - public com.google.api.Distribution.Exemplar.Builder getExemplarsBuilder( - int index) { + public com.google.api.Distribution.Exemplar.Builder getExemplarsBuilder(int index) { return getExemplarsFieldBuilder().getBuilder(index); } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - public com.google.api.Distribution.ExemplarOrBuilder getExemplarsOrBuilder( - int index) { + public com.google.api.Distribution.ExemplarOrBuilder getExemplarsOrBuilder(int index) { if (exemplarsBuilder_ == null) { - return exemplars_.get(index); } else { + return exemplars_.get(index); + } else { return exemplarsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - public java.util.List - getExemplarsOrBuilderList() { + public java.util.List + getExemplarsOrBuilderList() { if (exemplarsBuilder_ != null) { return exemplarsBuilder_.getMessageOrBuilderList(); } else { @@ -7504,6 +8243,8 @@ public com.google.api.Distribution.ExemplarOrBuilder getExemplarsOrBuilder( } } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
@@ -7511,49 +8252,54 @@ public com.google.api.Distribution.ExemplarOrBuilder getExemplarsOrBuilder( * repeated .google.api.Distribution.Exemplar exemplars = 10; */ public com.google.api.Distribution.Exemplar.Builder addExemplarsBuilder() { - return getExemplarsFieldBuilder().addBuilder( - com.google.api.Distribution.Exemplar.getDefaultInstance()); + return getExemplarsFieldBuilder() + .addBuilder(com.google.api.Distribution.Exemplar.getDefaultInstance()); } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - public com.google.api.Distribution.Exemplar.Builder addExemplarsBuilder( - int index) { - return getExemplarsFieldBuilder().addBuilder( - index, com.google.api.Distribution.Exemplar.getDefaultInstance()); + public com.google.api.Distribution.Exemplar.Builder addExemplarsBuilder(int index) { + return getExemplarsFieldBuilder() + .addBuilder(index, com.google.api.Distribution.Exemplar.getDefaultInstance()); } /** + * + * *
      * Must be in increasing order of `value` field.
      * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - public java.util.List - getExemplarsBuilderList() { + public java.util.List getExemplarsBuilderList() { return getExemplarsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Distribution.Exemplar, com.google.api.Distribution.Exemplar.Builder, com.google.api.Distribution.ExemplarOrBuilder> + com.google.api.Distribution.Exemplar, + com.google.api.Distribution.Exemplar.Builder, + com.google.api.Distribution.ExemplarOrBuilder> getExemplarsFieldBuilder() { if (exemplarsBuilder_ == null) { - exemplarsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Distribution.Exemplar, com.google.api.Distribution.Exemplar.Builder, com.google.api.Distribution.ExemplarOrBuilder>( - exemplars_, - ((bitField0_ & 0x00000040) != 0), - getParentForChildren(), - isClean()); + exemplarsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.Distribution.Exemplar, + com.google.api.Distribution.Exemplar.Builder, + com.google.api.Distribution.ExemplarOrBuilder>( + exemplars_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); exemplars_ = null; } return exemplarsBuilder_; } + @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); } @@ -7563,12 +8309,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Distribution) } // @@protoc_insertion_point(class_scope:google.api.Distribution) private static final com.google.api.Distribution DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Distribution(); } @@ -7577,27 +8323,27 @@ public static com.google.api.Distribution getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Distribution 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 Distribution 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; @@ -7612,6 +8358,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Distribution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java similarity index 88% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java index fefd22cbd3..1b6d60c622 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface DistributionOrBuilder extends +public interface DistributionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Distribution) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of values in the population. Must be non-negative. This value
    * must equal the sum of the values in `bucket_counts` if a histogram is
@@ -15,22 +33,28 @@ public interface DistributionOrBuilder extends
    * 
* * int64 count = 1; + * * @return The count. */ long getCount(); /** + * + * *
    * The arithmetic mean of the values in the population. If `count` is zero
    * then this field must be zero.
    * 
* * double mean = 2; + * * @return The mean. */ double getMean(); /** + * + * *
    * The sum of squared deviations from the mean of the values in the
    * population. For values x_i this is:
@@ -44,31 +68,40 @@ public interface DistributionOrBuilder extends
    * 
* * double sum_of_squared_deviation = 3; + * * @return The sumOfSquaredDeviation. */ double getSumOfSquaredDeviation(); /** + * + * *
    * If specified, contains the range of the population values. The field
    * must not be present if the `count` is zero.
    * 
* * .google.api.Distribution.Range range = 4; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
    * If specified, contains the range of the population values. The field
    * must not be present if the `count` is zero.
    * 
* * .google.api.Distribution.Range range = 4; + * * @return The range. */ com.google.api.Distribution.Range getRange(); /** + * + * *
    * If specified, contains the range of the population values. The field
    * must not be present if the `count` is zero.
@@ -79,26 +112,34 @@ public interface DistributionOrBuilder extends
   com.google.api.Distribution.RangeOrBuilder getRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Defines the histogram bucket boundaries. If the distribution does not
    * contain a histogram, then omit this field.
    * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; + * * @return Whether the bucketOptions field is set. */ boolean hasBucketOptions(); /** + * + * *
    * Defines the histogram bucket boundaries. If the distribution does not
    * contain a histogram, then omit this field.
    * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; + * * @return The bucketOptions. */ com.google.api.Distribution.BucketOptions getBucketOptions(); /** + * + * *
    * Defines the histogram bucket boundaries. If the distribution does not
    * contain a histogram, then omit this field.
@@ -109,6 +150,8 @@ public interface DistributionOrBuilder extends
   com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The number of values in each bucket of the histogram, as described in
    * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -128,10 +171,13 @@ public interface DistributionOrBuilder extends
    * 
* * repeated int64 bucket_counts = 7; + * * @return A list containing the bucketCounts. */ java.util.List getBucketCountsList(); /** + * + * *
    * The number of values in each bucket of the histogram, as described in
    * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -151,10 +197,13 @@ public interface DistributionOrBuilder extends
    * 
* * repeated int64 bucket_counts = 7; + * * @return The count of bucketCounts. */ int getBucketCountsCount(); /** + * + * *
    * The number of values in each bucket of the histogram, as described in
    * `bucket_options`. If the distribution does not have a histogram, then omit
@@ -174,21 +223,25 @@ public interface DistributionOrBuilder extends
    * 
* * repeated int64 bucket_counts = 7; + * * @param index The index of the element to return. * @return The bucketCounts at the given index. */ long getBucketCounts(int index); /** + * + * *
    * Must be in increasing order of `value` field.
    * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - java.util.List - getExemplarsList(); + java.util.List getExemplarsList(); /** + * + * *
    * Must be in increasing order of `value` field.
    * 
@@ -197,6 +250,8 @@ public interface DistributionOrBuilder extends */ com.google.api.Distribution.Exemplar getExemplars(int index); /** + * + * *
    * Must be in increasing order of `value` field.
    * 
@@ -205,21 +260,24 @@ public interface DistributionOrBuilder extends */ int getExemplarsCount(); /** + * + * *
    * Must be in increasing order of `value` field.
    * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - java.util.List + java.util.List getExemplarsOrBuilderList(); /** + * + * *
    * Must be in increasing order of `value` field.
    * 
* * repeated .google.api.Distribution.Exemplar exemplars = 10; */ - com.google.api.Distribution.ExemplarOrBuilder getExemplarsOrBuilder( - int index); + com.google.api.Distribution.ExemplarOrBuilder getExemplarsOrBuilder(int index); } 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 new file mode 100644 index 0000000000..3237218949 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java @@ -0,0 +1,169 @@ +/* + * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Documentation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java similarity index 79% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Documentation.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java index aa98bd4571..523c13c027 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Documentation.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * `Documentation` provides the information for describing a service.
  *
@@ -64,15 +81,16 @@
  *
  * Protobuf type {@code google.api.Documentation}
  */
-public final class Documentation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Documentation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Documentation)
     DocumentationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Documentation.newBuilder() to construct.
   private Documentation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Documentation() {
     summary_ = "";
     pages_ = java.util.Collections.emptyList();
@@ -84,28 +102,30 @@ private Documentation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Documentation();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.DocumentationProto.internal_static_google_api_Documentation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.DocumentationProto.internal_static_google_api_Documentation_fieldAccessorTable
+    return com.google.api.DocumentationProto
+        .internal_static_google_api_Documentation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.api.Documentation.class, com.google.api.Documentation.Builder.class);
   }
 
   public static final int SUMMARY_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object summary_ = "";
   /**
+   *
+   *
    * 
    * A short description of what the service does. The summary must be plain
    * text. It becomes the overview of the service displayed in Google Cloud
@@ -114,6 +134,7 @@ protected java.lang.Object newInstance(
    * 
* * string summary = 1; + * * @return The summary. */ @java.lang.Override @@ -122,14 +143,15 @@ public java.lang.String getSummary() { 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(); summary_ = s; return s; } } /** + * + * *
    * A short description of what the service does. The summary must be plain
    * text. It becomes the overview of the service displayed in Google Cloud
@@ -138,16 +160,15 @@ public java.lang.String getSummary() {
    * 
* * string summary = 1; + * * @return The bytes for summary. */ @java.lang.Override - public com.google.protobuf.ByteString - getSummaryBytes() { + public com.google.protobuf.ByteString getSummaryBytes() { java.lang.Object ref = summary_; 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); summary_ = b; return b; } else { @@ -156,9 +177,12 @@ public java.lang.String getSummary() { } public static final int PAGES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List pages_; /** + * + * *
    * The top level pages for the documentation set.
    * 
@@ -170,6 +194,8 @@ public java.util.List getPagesList() { return pages_; } /** + * + * *
    * The top level pages for the documentation set.
    * 
@@ -177,11 +203,12 @@ public java.util.List getPagesList() { * repeated .google.api.Page pages = 5; */ @java.lang.Override - public java.util.List - getPagesOrBuilderList() { + public java.util.List getPagesOrBuilderList() { return pages_; } /** + * + * *
    * The top level pages for the documentation set.
    * 
@@ -193,6 +220,8 @@ public int getPagesCount() { return pages_.size(); } /** + * + * *
    * The top level pages for the documentation set.
    * 
@@ -204,6 +233,8 @@ public com.google.api.Page getPages(int index) { return pages_.get(index); } /** + * + * *
    * The top level pages for the documentation set.
    * 
@@ -211,15 +242,17 @@ public com.google.api.Page getPages(int index) { * repeated .google.api.Page pages = 5; */ @java.lang.Override - public com.google.api.PageOrBuilder getPagesOrBuilder( - int index) { + public com.google.api.PageOrBuilder getPagesOrBuilder(int index) { return pages_.get(index); } public static final int RULES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List rules_; /** + * + * *
    * A list of documentation rules that apply to individual API elements.
    *
@@ -233,6 +266,8 @@ public java.util.List getRulesList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of documentation rules that apply to individual API elements.
    *
@@ -242,11 +277,13 @@ public java.util.List getRulesList() {
    * repeated .google.api.DocumentationRule rules = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRulesOrBuilderList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of documentation rules that apply to individual API elements.
    *
@@ -260,6 +297,8 @@ public int getRulesCount() {
     return rules_.size();
   }
   /**
+   *
+   *
    * 
    * A list of documentation rules that apply to individual API elements.
    *
@@ -273,6 +312,8 @@ public com.google.api.DocumentationRule getRules(int index) {
     return rules_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of documentation rules that apply to individual API elements.
    *
@@ -282,20 +323,23 @@ public com.google.api.DocumentationRule getRules(int index) {
    * repeated .google.api.DocumentationRule rules = 3;
    */
   @java.lang.Override
-  public com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
-      int index) {
+  public com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(int index) {
     return rules_.get(index);
   }
 
   public static final int DOCUMENTATION_ROOT_URL_FIELD_NUMBER = 4;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object documentationRootUrl_ = "";
   /**
+   *
+   *
    * 
    * The URL to the root of documentation.
    * 
* * string documentation_root_url = 4; + * * @return The documentationRootUrl. */ @java.lang.Override @@ -304,29 +348,29 @@ public java.lang.String getDocumentationRootUrl() { 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(); documentationRootUrl_ = s; return s; } } /** + * + * *
    * The URL to the root of documentation.
    * 
* * string documentation_root_url = 4; + * * @return The bytes for documentationRootUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getDocumentationRootUrlBytes() { + public com.google.protobuf.ByteString getDocumentationRootUrlBytes() { java.lang.Object ref = documentationRootUrl_; 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); documentationRootUrl_ = b; return b; } else { @@ -335,9 +379,12 @@ public java.lang.String getDocumentationRootUrl() { } public static final int SERVICE_ROOT_URL_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object serviceRootUrl_ = ""; /** + * + * *
    * Specifies the service root url if the default one (the service name
    * from the yaml file) is not suitable. This can be seen in any fully
@@ -346,6 +393,7 @@ public java.lang.String getDocumentationRootUrl() {
    * 
* * string service_root_url = 6; + * * @return The serviceRootUrl. */ @java.lang.Override @@ -354,14 +402,15 @@ public java.lang.String getServiceRootUrl() { 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(); serviceRootUrl_ = s; return s; } } /** + * + * *
    * Specifies the service root url if the default one (the service name
    * from the yaml file) is not suitable. This can be seen in any fully
@@ -370,16 +419,15 @@ public java.lang.String getServiceRootUrl() {
    * 
* * string service_root_url = 6; + * * @return The bytes for serviceRootUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceRootUrlBytes() { + public com.google.protobuf.ByteString getServiceRootUrlBytes() { java.lang.Object ref = serviceRootUrl_; 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); serviceRootUrl_ = b; return b; } else { @@ -388,9 +436,12 @@ public java.lang.String getServiceRootUrl() { } public static final int OVERVIEW_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object overview_ = ""; /** + * + * *
    * Declares a single overview page. For example:
    * <pre><code>documentation:
@@ -408,6 +459,7 @@ public java.lang.String getServiceRootUrl() {
    * 
* * string overview = 2; + * * @return The overview. */ @java.lang.Override @@ -416,14 +468,15 @@ public java.lang.String getOverview() { 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(); overview_ = s; return s; } } /** + * + * *
    * Declares a single overview page. For example:
    * <pre><code>documentation:
@@ -441,16 +494,15 @@ public java.lang.String getOverview() {
    * 
* * string overview = 2; + * * @return The bytes for overview. */ @java.lang.Override - public com.google.protobuf.ByteString - getOverviewBytes() { + public com.google.protobuf.ByteString getOverviewBytes() { java.lang.Object ref = overview_; 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); overview_ = b; return b; } else { @@ -459,6 +511,7 @@ public java.lang.String getOverview() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -470,8 +523,7 @@ 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(summary_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, summary_); } @@ -506,15 +558,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, overview_); } 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)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(documentationRootUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, documentationRootUrl_); } for (int i = 0; i < pages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, pages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, pages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceRootUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, serviceRootUrl_); @@ -527,25 +577,19 @@ 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.Documentation)) { return super.equals(obj); } com.google.api.Documentation other = (com.google.api.Documentation) obj; - if (!getSummary() - .equals(other.getSummary())) return false; - if (!getPagesList() - .equals(other.getPagesList())) return false; - if (!getRulesList() - .equals(other.getRulesList())) return false; - if (!getDocumentationRootUrl() - .equals(other.getDocumentationRootUrl())) return false; - if (!getServiceRootUrl() - .equals(other.getServiceRootUrl())) return false; - if (!getOverview() - .equals(other.getOverview())) return false; + if (!getSummary().equals(other.getSummary())) return false; + if (!getPagesList().equals(other.getPagesList())) return false; + if (!getRulesList().equals(other.getRulesList())) return false; + if (!getDocumentationRootUrl().equals(other.getDocumentationRootUrl())) return false; + if (!getServiceRootUrl().equals(other.getServiceRootUrl())) return false; + if (!getOverview().equals(other.getOverview())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -578,99 +622,103 @@ public int hashCode() { return hash; } - public static com.google.api.Documentation parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Documentation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Documentation 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.Documentation parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.Documentation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Documentation 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.Documentation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Documentation 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.Documentation 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.Documentation 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.Documentation 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.Documentation 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.Documentation parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.Documentation 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.Documentation 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.Documentation 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; } /** + * + * *
    * `Documentation` provides the information for describing a service.
    *
@@ -731,33 +779,30 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Documentation}
    */
-  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.Documentation)
       com.google.api.DocumentationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.DocumentationProto.internal_static_google_api_Documentation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.DocumentationProto.internal_static_google_api_Documentation_fieldAccessorTable
+      return com.google.api.DocumentationProto
+          .internal_static_google_api_Documentation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.api.Documentation.class, com.google.api.Documentation.Builder.class);
     }
 
     // Construct using com.google.api.Documentation.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -784,8 +829,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.DocumentationProto.internal_static_google_api_Documentation_descriptor;
     }
 
@@ -807,7 +851,9 @@ public com.google.api.Documentation build() {
     public com.google.api.Documentation buildPartial() {
       com.google.api.Documentation result = new com.google.api.Documentation(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -853,38 +899,39 @@ private void buildPartial0(com.google.api.Documentation 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.Documentation) {
-        return mergeFrom((com.google.api.Documentation)other);
+        return mergeFrom((com.google.api.Documentation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -916,9 +963,10 @@ public Builder mergeFrom(com.google.api.Documentation other) {
             pagesBuilder_ = null;
             pages_ = other.pages_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            pagesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPagesFieldBuilder() : null;
+            pagesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPagesFieldBuilder()
+                    : null;
           } else {
             pagesBuilder_.addAllMessages(other.pages_);
           }
@@ -942,9 +990,10 @@ public Builder mergeFrom(com.google.api.Documentation other) {
             rulesBuilder_ = null;
             rules_ = other.rules_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            rulesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRulesFieldBuilder() : null;
+            rulesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRulesFieldBuilder()
+                    : null;
           } else {
             rulesBuilder_.addAllMessages(other.rules_);
           }
@@ -991,58 +1040,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              summary_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              overview_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 18
-            case 26: {
-              com.google.api.DocumentationRule m =
-                  input.readMessage(
-                      com.google.api.DocumentationRule.parser(),
-                      extensionRegistry);
-              if (rulesBuilder_ == null) {
-                ensureRulesIsMutable();
-                rules_.add(m);
-              } else {
-                rulesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 34: {
-              documentationRootUrl_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.api.Page m =
-                  input.readMessage(
-                      com.google.api.Page.parser(),
-                      extensionRegistry);
-              if (pagesBuilder_ == null) {
-                ensurePagesIsMutable();
-                pages_.add(m);
-              } else {
-                pagesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 42
-            case 50: {
-              serviceRootUrl_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                summary_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                overview_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.api.DocumentationRule m =
+                    input.readMessage(com.google.api.DocumentationRule.parser(), extensionRegistry);
+                if (rulesBuilder_ == null) {
+                  ensureRulesIsMutable();
+                  rules_.add(m);
+                } else {
+                  rulesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 34:
+              {
+                documentationRootUrl_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.api.Page m =
+                    input.readMessage(com.google.api.Page.parser(), extensionRegistry);
+                if (pagesBuilder_ == null) {
+                  ensurePagesIsMutable();
+                  pages_.add(m);
+                } else {
+                  pagesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 42
+            case 50:
+              {
+                serviceRootUrl_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                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) {
@@ -1052,10 +1104,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object summary_ = "";
     /**
+     *
+     *
      * 
      * A short description of what the service does. The summary must be plain
      * text. It becomes the overview of the service displayed in Google Cloud
@@ -1064,13 +1119,13 @@ public Builder mergeFrom(
      * 
* * string summary = 1; + * * @return The summary. */ public java.lang.String getSummary() { java.lang.Object ref = summary_; 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(); summary_ = s; return s; @@ -1079,6 +1134,8 @@ public java.lang.String getSummary() { } } /** + * + * *
      * A short description of what the service does. The summary must be plain
      * text. It becomes the overview of the service displayed in Google Cloud
@@ -1087,15 +1144,14 @@ public java.lang.String getSummary() {
      * 
* * string summary = 1; + * * @return The bytes for summary. */ - public com.google.protobuf.ByteString - getSummaryBytes() { + public com.google.protobuf.ByteString getSummaryBytes() { java.lang.Object ref = summary_; 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); summary_ = b; return b; } else { @@ -1103,6 +1159,8 @@ public java.lang.String getSummary() { } } /** + * + * *
      * A short description of what the service does. The summary must be plain
      * text. It becomes the overview of the service displayed in Google Cloud
@@ -1111,18 +1169,22 @@ public java.lang.String getSummary() {
      * 
* * string summary = 1; + * * @param value The summary to set. * @return This builder for chaining. */ - public Builder setSummary( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSummary(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } summary_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A short description of what the service does. The summary must be plain
      * text. It becomes the overview of the service displayed in Google Cloud
@@ -1131,6 +1193,7 @@ public Builder setSummary(
      * 
* * string summary = 1; + * * @return This builder for chaining. */ public Builder clearSummary() { @@ -1140,6 +1203,8 @@ public Builder clearSummary() { return this; } /** + * + * *
      * A short description of what the service does. The summary must be plain
      * text. It becomes the overview of the service displayed in Google Cloud
@@ -1148,12 +1213,14 @@ public Builder clearSummary() {
      * 
* * string summary = 1; + * * @param value The bytes for summary to set. * @return This builder for chaining. */ - public Builder setSummaryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSummaryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); summary_ = value; bitField0_ |= 0x00000001; @@ -1161,19 +1228,22 @@ public Builder setSummaryBytes( return this; } - private java.util.List pages_ = - java.util.Collections.emptyList(); + private java.util.List pages_ = java.util.Collections.emptyList(); + private void ensurePagesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { pages_ = new java.util.ArrayList(pages_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> pagesBuilder_; + com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> + pagesBuilder_; /** + * + * *
      * The top level pages for the documentation set.
      * 
@@ -1188,6 +1258,8 @@ public java.util.List getPagesList() { } } /** + * + * *
      * The top level pages for the documentation set.
      * 
@@ -1202,6 +1274,8 @@ public int getPagesCount() { } } /** + * + * *
      * The top level pages for the documentation set.
      * 
@@ -1216,14 +1290,15 @@ public com.google.api.Page getPages(int index) { } } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public Builder setPages( - int index, com.google.api.Page value) { + public Builder setPages(int index, com.google.api.Page value) { if (pagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1237,14 +1312,15 @@ public Builder setPages( return this; } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public Builder setPages( - int index, com.google.api.Page.Builder builderForValue) { + public Builder setPages(int index, com.google.api.Page.Builder builderForValue) { if (pagesBuilder_ == null) { ensurePagesIsMutable(); pages_.set(index, builderForValue.build()); @@ -1255,6 +1331,8 @@ public Builder setPages( return this; } /** + * + * *
      * The top level pages for the documentation set.
      * 
@@ -1275,14 +1353,15 @@ public Builder addPages(com.google.api.Page value) { return this; } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public Builder addPages( - int index, com.google.api.Page value) { + public Builder addPages(int index, com.google.api.Page value) { if (pagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1296,14 +1375,15 @@ public Builder addPages( return this; } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public Builder addPages( - com.google.api.Page.Builder builderForValue) { + public Builder addPages(com.google.api.Page.Builder builderForValue) { if (pagesBuilder_ == null) { ensurePagesIsMutable(); pages_.add(builderForValue.build()); @@ -1314,14 +1394,15 @@ public Builder addPages( return this; } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public Builder addPages( - int index, com.google.api.Page.Builder builderForValue) { + public Builder addPages(int index, com.google.api.Page.Builder builderForValue) { if (pagesBuilder_ == null) { ensurePagesIsMutable(); pages_.add(index, builderForValue.build()); @@ -1332,18 +1413,18 @@ public Builder addPages( return this; } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public Builder addAllPages( - java.lang.Iterable values) { + public Builder addAllPages(java.lang.Iterable values) { if (pagesBuilder_ == null) { ensurePagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pages_); onChanged(); } else { pagesBuilder_.addAllMessages(values); @@ -1351,6 +1432,8 @@ public Builder addAllPages( return this; } /** + * + * *
      * The top level pages for the documentation set.
      * 
@@ -1368,6 +1451,8 @@ public Builder clearPages() { return this; } /** + * + * *
      * The top level pages for the documentation set.
      * 
@@ -1385,39 +1470,43 @@ public Builder removePages(int index) { return this; } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public com.google.api.Page.Builder getPagesBuilder( - int index) { + public com.google.api.Page.Builder getPagesBuilder(int index) { return getPagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public com.google.api.PageOrBuilder getPagesOrBuilder( - int index) { + public com.google.api.PageOrBuilder getPagesOrBuilder(int index) { if (pagesBuilder_ == null) { - return pages_.get(index); } else { + return pages_.get(index); + } else { return pagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public java.util.List - getPagesOrBuilderList() { + public java.util.List getPagesOrBuilderList() { if (pagesBuilder_ != null) { return pagesBuilder_.getMessageOrBuilderList(); } else { @@ -1425,6 +1514,8 @@ public com.google.api.PageOrBuilder getPagesOrBuilder( } } /** + * + * *
      * The top level pages for the documentation set.
      * 
@@ -1432,60 +1523,65 @@ public com.google.api.PageOrBuilder getPagesOrBuilder( * repeated .google.api.Page pages = 5; */ public com.google.api.Page.Builder addPagesBuilder() { - return getPagesFieldBuilder().addBuilder( - com.google.api.Page.getDefaultInstance()); + return getPagesFieldBuilder().addBuilder(com.google.api.Page.getDefaultInstance()); } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public com.google.api.Page.Builder addPagesBuilder( - int index) { - return getPagesFieldBuilder().addBuilder( - index, com.google.api.Page.getDefaultInstance()); + public com.google.api.Page.Builder addPagesBuilder(int index) { + return getPagesFieldBuilder().addBuilder(index, com.google.api.Page.getDefaultInstance()); } /** + * + * *
      * The top level pages for the documentation set.
      * 
* * repeated .google.api.Page pages = 5; */ - public java.util.List - getPagesBuilderList() { + public java.util.List getPagesBuilderList() { return getPagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> + com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> getPagesFieldBuilder() { if (pagesBuilder_ == null) { - pagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder>( - pages_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + pagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder>( + pages_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); pages_ = null; } return pagesBuilder_; } private java.util.List rules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.DocumentationRule, com.google.api.DocumentationRule.Builder, com.google.api.DocumentationRuleOrBuilder> rulesBuilder_; + com.google.api.DocumentationRule, + com.google.api.DocumentationRule.Builder, + com.google.api.DocumentationRuleOrBuilder> + rulesBuilder_; /** + * + * *
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1502,6 +1598,8 @@ public java.util.List getRulesList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1518,6 +1616,8 @@ public int getRulesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1534,6 +1634,8 @@ public com.google.api.DocumentationRule getRules(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1542,8 +1644,7 @@ public com.google.api.DocumentationRule getRules(int index) {
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public Builder setRules(
-        int index, com.google.api.DocumentationRule value) {
+    public Builder setRules(int index, com.google.api.DocumentationRule value) {
       if (rulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1557,6 +1658,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1565,8 +1668,7 @@ public Builder setRules(
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public Builder setRules(
-        int index, com.google.api.DocumentationRule.Builder builderForValue) {
+    public Builder setRules(int index, com.google.api.DocumentationRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.set(index, builderForValue.build());
@@ -1577,6 +1679,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1599,6 +1703,8 @@ public Builder addRules(com.google.api.DocumentationRule value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1607,8 +1713,7 @@ public Builder addRules(com.google.api.DocumentationRule value) {
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public Builder addRules(
-        int index, com.google.api.DocumentationRule value) {
+    public Builder addRules(int index, com.google.api.DocumentationRule value) {
       if (rulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1622,6 +1727,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1630,8 +1737,7 @@ public Builder addRules(
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public Builder addRules(
-        com.google.api.DocumentationRule.Builder builderForValue) {
+    public Builder addRules(com.google.api.DocumentationRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.add(builderForValue.build());
@@ -1642,6 +1748,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1650,8 +1758,7 @@ public Builder addRules(
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public Builder addRules(
-        int index, com.google.api.DocumentationRule.Builder builderForValue) {
+    public Builder addRules(int index, com.google.api.DocumentationRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.add(index, builderForValue.build());
@@ -1662,6 +1769,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1674,8 +1783,7 @@ public Builder addAllRules(
         java.lang.Iterable 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);
@@ -1683,6 +1791,8 @@ public Builder addAllRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1702,6 +1812,8 @@ public Builder clearRules() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1721,6 +1833,8 @@ public Builder removeRules(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1729,11 +1843,12 @@ public Builder removeRules(int index) {
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public com.google.api.DocumentationRule.Builder getRulesBuilder(
-        int index) {
+    public com.google.api.DocumentationRule.Builder getRulesBuilder(int index) {
       return getRulesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1742,14 +1857,16 @@ public com.google.api.DocumentationRule.Builder getRulesBuilder(
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
-        int index) {
+    public com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(int index) {
       if (rulesBuilder_ == null) {
-        return rules_.get(index);  } else {
+        return rules_.get(index);
+      } else {
         return rulesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1758,8 +1875,8 @@ public com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public java.util.List 
-         getRulesOrBuilderList() {
+    public java.util.List
+        getRulesOrBuilderList() {
       if (rulesBuilder_ != null) {
         return rulesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1767,6 +1884,8 @@ public com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1776,10 +1895,12 @@ public com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
      * repeated .google.api.DocumentationRule rules = 3;
      */
     public com.google.api.DocumentationRule.Builder addRulesBuilder() {
-      return getRulesFieldBuilder().addBuilder(
-          com.google.api.DocumentationRule.getDefaultInstance());
+      return getRulesFieldBuilder()
+          .addBuilder(com.google.api.DocumentationRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1788,12 +1909,13 @@ public com.google.api.DocumentationRule.Builder addRulesBuilder() {
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public com.google.api.DocumentationRule.Builder addRulesBuilder(
-        int index) {
-      return getRulesFieldBuilder().addBuilder(
-          index, com.google.api.DocumentationRule.getDefaultInstance());
+    public com.google.api.DocumentationRule.Builder addRulesBuilder(int index) {
+      return getRulesFieldBuilder()
+          .addBuilder(index, com.google.api.DocumentationRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of documentation rules that apply to individual API elements.
      *
@@ -1802,20 +1924,22 @@ public com.google.api.DocumentationRule.Builder addRulesBuilder(
      *
      * repeated .google.api.DocumentationRule rules = 3;
      */
-    public java.util.List 
-         getRulesBuilderList() {
+    public java.util.List getRulesBuilderList() {
       return getRulesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.DocumentationRule, com.google.api.DocumentationRule.Builder, com.google.api.DocumentationRuleOrBuilder> 
+            com.google.api.DocumentationRule,
+            com.google.api.DocumentationRule.Builder,
+            com.google.api.DocumentationRuleOrBuilder>
         getRulesFieldBuilder() {
       if (rulesBuilder_ == null) {
-        rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.DocumentationRule, com.google.api.DocumentationRule.Builder, com.google.api.DocumentationRuleOrBuilder>(
-                rules_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        rulesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.DocumentationRule,
+                com.google.api.DocumentationRule.Builder,
+                com.google.api.DocumentationRuleOrBuilder>(
+                rules_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         rules_ = null;
       }
       return rulesBuilder_;
@@ -1823,18 +1947,20 @@ public com.google.api.DocumentationRule.Builder addRulesBuilder(
 
     private java.lang.Object documentationRootUrl_ = "";
     /**
+     *
+     *
      * 
      * The URL to the root of documentation.
      * 
* * string documentation_root_url = 4; + * * @return The documentationRootUrl. */ public java.lang.String getDocumentationRootUrl() { java.lang.Object ref = documentationRootUrl_; 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(); documentationRootUrl_ = s; return s; @@ -1843,20 +1969,21 @@ public java.lang.String getDocumentationRootUrl() { } } /** + * + * *
      * The URL to the root of documentation.
      * 
* * string documentation_root_url = 4; + * * @return The bytes for documentationRootUrl. */ - public com.google.protobuf.ByteString - getDocumentationRootUrlBytes() { + public com.google.protobuf.ByteString getDocumentationRootUrlBytes() { java.lang.Object ref = documentationRootUrl_; 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); documentationRootUrl_ = b; return b; } else { @@ -1864,28 +1991,35 @@ public java.lang.String getDocumentationRootUrl() { } } /** + * + * *
      * The URL to the root of documentation.
      * 
* * string documentation_root_url = 4; + * * @param value The documentationRootUrl to set. * @return This builder for chaining. */ - public Builder setDocumentationRootUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocumentationRootUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } documentationRootUrl_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The URL to the root of documentation.
      * 
* * string documentation_root_url = 4; + * * @return This builder for chaining. */ public Builder clearDocumentationRootUrl() { @@ -1895,17 +2029,21 @@ public Builder clearDocumentationRootUrl() { return this; } /** + * + * *
      * The URL to the root of documentation.
      * 
* * string documentation_root_url = 4; + * * @param value The bytes for documentationRootUrl to set. * @return This builder for chaining. */ - public Builder setDocumentationRootUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocumentationRootUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); documentationRootUrl_ = value; bitField0_ |= 0x00000008; @@ -1915,6 +2053,8 @@ public Builder setDocumentationRootUrlBytes( private java.lang.Object serviceRootUrl_ = ""; /** + * + * *
      * Specifies the service root url if the default one (the service name
      * from the yaml file) is not suitable. This can be seen in any fully
@@ -1923,13 +2063,13 @@ public Builder setDocumentationRootUrlBytes(
      * 
* * string service_root_url = 6; + * * @return The serviceRootUrl. */ public java.lang.String getServiceRootUrl() { java.lang.Object ref = serviceRootUrl_; 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(); serviceRootUrl_ = s; return s; @@ -1938,6 +2078,8 @@ public java.lang.String getServiceRootUrl() { } } /** + * + * *
      * Specifies the service root url if the default one (the service name
      * from the yaml file) is not suitable. This can be seen in any fully
@@ -1946,15 +2088,14 @@ public java.lang.String getServiceRootUrl() {
      * 
* * string service_root_url = 6; + * * @return The bytes for serviceRootUrl. */ - public com.google.protobuf.ByteString - getServiceRootUrlBytes() { + public com.google.protobuf.ByteString getServiceRootUrlBytes() { java.lang.Object ref = serviceRootUrl_; 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); serviceRootUrl_ = b; return b; } else { @@ -1962,6 +2103,8 @@ public java.lang.String getServiceRootUrl() { } } /** + * + * *
      * Specifies the service root url if the default one (the service name
      * from the yaml file) is not suitable. This can be seen in any fully
@@ -1970,18 +2113,22 @@ public java.lang.String getServiceRootUrl() {
      * 
* * string service_root_url = 6; + * * @param value The serviceRootUrl to set. * @return This builder for chaining. */ - public Builder setServiceRootUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceRootUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceRootUrl_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Specifies the service root url if the default one (the service name
      * from the yaml file) is not suitable. This can be seen in any fully
@@ -1990,6 +2137,7 @@ public Builder setServiceRootUrl(
      * 
* * string service_root_url = 6; + * * @return This builder for chaining. */ public Builder clearServiceRootUrl() { @@ -1999,6 +2147,8 @@ public Builder clearServiceRootUrl() { return this; } /** + * + * *
      * Specifies the service root url if the default one (the service name
      * from the yaml file) is not suitable. This can be seen in any fully
@@ -2007,12 +2157,14 @@ public Builder clearServiceRootUrl() {
      * 
* * string service_root_url = 6; + * * @param value The bytes for serviceRootUrl to set. * @return This builder for chaining. */ - public Builder setServiceRootUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceRootUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceRootUrl_ = value; bitField0_ |= 0x00000010; @@ -2022,6 +2174,8 @@ public Builder setServiceRootUrlBytes( private java.lang.Object overview_ = ""; /** + * + * *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
@@ -2039,13 +2193,13 @@ public Builder setServiceRootUrlBytes(
      * 
* * string overview = 2; + * * @return The overview. */ public java.lang.String getOverview() { java.lang.Object ref = overview_; 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(); overview_ = s; return s; @@ -2054,6 +2208,8 @@ public java.lang.String getOverview() { } } /** + * + * *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
@@ -2071,15 +2227,14 @@ public java.lang.String getOverview() {
      * 
* * string overview = 2; + * * @return The bytes for overview. */ - public com.google.protobuf.ByteString - getOverviewBytes() { + public com.google.protobuf.ByteString getOverviewBytes() { java.lang.Object ref = overview_; 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); overview_ = b; return b; } else { @@ -2087,6 +2242,8 @@ public java.lang.String getOverview() { } } /** + * + * *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
@@ -2104,18 +2261,22 @@ public java.lang.String getOverview() {
      * 
* * string overview = 2; + * * @param value The overview to set. * @return This builder for chaining. */ - public Builder setOverview( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOverview(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } overview_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
@@ -2133,6 +2294,7 @@ public Builder setOverview(
      * 
* * string overview = 2; + * * @return This builder for chaining. */ public Builder clearOverview() { @@ -2142,6 +2304,8 @@ public Builder clearOverview() { return this; } /** + * + * *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
@@ -2159,21 +2323,23 @@ public Builder clearOverview() {
      * 
* * string overview = 2; + * * @param value The bytes for overview to set. * @return This builder for chaining. */ - public Builder setOverviewBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOverviewBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); overview_ = value; bitField0_ |= 0x00000020; 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); } @@ -2183,12 +2349,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Documentation) } // @@protoc_insertion_point(class_scope:google.api.Documentation) private static final com.google.api.Documentation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Documentation(); } @@ -2197,27 +2363,27 @@ public static com.google.api.Documentation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Documentation 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 Documentation 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; @@ -2232,6 +2398,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Documentation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java similarity index 79% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java index 1218de38c7..b8dbbb9cb6 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface DocumentationOrBuilder extends +public interface DocumentationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Documentation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A short description of what the service does. The summary must be plain
    * text. It becomes the overview of the service displayed in Google Cloud
@@ -16,10 +34,13 @@ public interface DocumentationOrBuilder extends
    * 
* * string summary = 1; + * * @return The summary. */ java.lang.String getSummary(); /** + * + * *
    * A short description of what the service does. The summary must be plain
    * text. It becomes the overview of the service displayed in Google Cloud
@@ -28,21 +49,24 @@ public interface DocumentationOrBuilder extends
    * 
* * string summary = 1; + * * @return The bytes for summary. */ - com.google.protobuf.ByteString - getSummaryBytes(); + com.google.protobuf.ByteString getSummaryBytes(); /** + * + * *
    * The top level pages for the documentation set.
    * 
* * repeated .google.api.Page pages = 5; */ - java.util.List - getPagesList(); + java.util.List getPagesList(); /** + * + * *
    * The top level pages for the documentation set.
    * 
@@ -51,6 +75,8 @@ public interface DocumentationOrBuilder extends */ com.google.api.Page getPages(int index); /** + * + * *
    * The top level pages for the documentation set.
    * 
@@ -59,25 +85,29 @@ public interface DocumentationOrBuilder extends */ int getPagesCount(); /** + * + * *
    * The top level pages for the documentation set.
    * 
* * repeated .google.api.Page pages = 5; */ - java.util.List - getPagesOrBuilderList(); + java.util.List getPagesOrBuilderList(); /** + * + * *
    * The top level pages for the documentation set.
    * 
* * repeated .google.api.Page pages = 5; */ - com.google.api.PageOrBuilder getPagesOrBuilder( - int index); + com.google.api.PageOrBuilder getPagesOrBuilder(int index); /** + * + * *
    * A list of documentation rules that apply to individual API elements.
    *
@@ -86,9 +116,10 @@ com.google.api.PageOrBuilder getPagesOrBuilder(
    *
    * repeated .google.api.DocumentationRule rules = 3;
    */
-  java.util.List 
-      getRulesList();
+  java.util.List getRulesList();
   /**
+   *
+   *
    * 
    * A list of documentation rules that apply to individual API elements.
    *
@@ -99,6 +130,8 @@ com.google.api.PageOrBuilder getPagesOrBuilder(
    */
   com.google.api.DocumentationRule getRules(int index);
   /**
+   *
+   *
    * 
    * A list of documentation rules that apply to individual API elements.
    *
@@ -109,6 +142,8 @@ com.google.api.PageOrBuilder getPagesOrBuilder(
    */
   int getRulesCount();
   /**
+   *
+   *
    * 
    * A list of documentation rules that apply to individual API elements.
    *
@@ -117,9 +152,10 @@ com.google.api.PageOrBuilder getPagesOrBuilder(
    *
    * repeated .google.api.DocumentationRule rules = 3;
    */
-  java.util.List 
-      getRulesOrBuilderList();
+  java.util.List getRulesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of documentation rules that apply to individual API elements.
    *
@@ -128,30 +164,36 @@ com.google.api.PageOrBuilder getPagesOrBuilder(
    *
    * repeated .google.api.DocumentationRule rules = 3;
    */
-  com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
-      int index);
+  com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The URL to the root of documentation.
    * 
* * string documentation_root_url = 4; + * * @return The documentationRootUrl. */ java.lang.String getDocumentationRootUrl(); /** + * + * *
    * The URL to the root of documentation.
    * 
* * string documentation_root_url = 4; + * * @return The bytes for documentationRootUrl. */ - com.google.protobuf.ByteString - getDocumentationRootUrlBytes(); + com.google.protobuf.ByteString getDocumentationRootUrlBytes(); /** + * + * *
    * Specifies the service root url if the default one (the service name
    * from the yaml file) is not suitable. This can be seen in any fully
@@ -160,10 +202,13 @@ com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
    * 
* * string service_root_url = 6; + * * @return The serviceRootUrl. */ java.lang.String getServiceRootUrl(); /** + * + * *
    * Specifies the service root url if the default one (the service name
    * from the yaml file) is not suitable. This can be seen in any fully
@@ -172,12 +217,14 @@ com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
    * 
* * string service_root_url = 6; + * * @return The bytes for serviceRootUrl. */ - com.google.protobuf.ByteString - getServiceRootUrlBytes(); + com.google.protobuf.ByteString getServiceRootUrlBytes(); /** + * + * *
    * Declares a single overview page. For example:
    * <pre><code>documentation:
@@ -195,10 +242,13 @@ com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
    * 
* * string overview = 2; + * * @return The overview. */ java.lang.String getOverview(); /** + * + * *
    * Declares a single overview page. For example:
    * <pre><code>documentation:
@@ -216,8 +266,8 @@ com.google.api.DocumentationRuleOrBuilder getRulesOrBuilder(
    * 
* * string overview = 2; + * * @return The bytes for overview. */ - com.google.protobuf.ByteString - getOverviewBytes(); + com.google.protobuf.ByteString getOverviewBytes(); } 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 new file mode 100644 index 0000000000..e15d06447c --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java @@ -0,0 +1,94 @@ +/* + * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java similarity index 73% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java index ded4e7eee9..6a974936ab 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java @@ -1,24 +1,42 @@ +/* + * 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; /** + * + * *
  * A documentation rule provides information about individual API elements.
  * 
* * Protobuf type {@code google.api.DocumentationRule} */ -public final class DocumentationRule extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DocumentationRule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.DocumentationRule) DocumentationRuleOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DocumentationRule.newBuilder() to construct. private DocumentationRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DocumentationRule() { selector_ = ""; description_ = ""; @@ -27,28 +45,31 @@ private DocumentationRule() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocumentationRule(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.api.DocumentationProto.internal_static_google_api_DocumentationRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.api.DocumentationProto + .internal_static_google_api_DocumentationRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.DocumentationProto.internal_static_google_api_DocumentationRule_fieldAccessorTable + return com.google.api.DocumentationProto + .internal_static_google_api_DocumentationRule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.api.DocumentationRule.class, com.google.api.DocumentationRule.Builder.class); } public static final int SELECTOR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object selector_ = ""; /** + * + * *
    * The selector is a comma-separated list of patterns for any element such as
    * a method, a field, an enum value. Each pattern is a qualified name of the
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string selector = 1; + * * @return The selector. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getSelector() { 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(); selector_ = s; return s; } } /** + * + * *
    * The selector is a comma-separated list of patterns for any element such as
    * a method, a field, an enum value. Each pattern is a qualified name of the
@@ -87,16 +110,15 @@ public java.lang.String getSelector() {
    * 
* * string selector = 1; + * * @return The bytes for selector. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -105,9 +127,12 @@ public java.lang.String getSelector() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Description of the selected proto element (e.g. a message, a method, a
    * 'service' definition, or a field). Defaults to leading & trailing comments
@@ -115,6 +140,7 @@ public java.lang.String getSelector() {
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -123,14 +149,15 @@ 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; } } /** + * + * *
    * Description of the selected proto element (e.g. a message, a method, a
    * 'service' definition, or a field). Defaults to leading & trailing comments
@@ -138,16 +165,15 @@ public java.lang.String getDescription() {
    * 
* * 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 { @@ -156,15 +182,19 @@ public java.lang.String getDescription() { } public static final int DEPRECATION_DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object deprecationDescription_ = ""; /** + * + * *
    * Deprecation description of the selected element(s). It can be provided if
    * an element is marked as `deprecated`.
    * 
* * string deprecation_description = 3; + * * @return The deprecationDescription. */ @java.lang.Override @@ -173,30 +203,30 @@ public java.lang.String getDeprecationDescription() { 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(); deprecationDescription_ = s; return s; } } /** + * + * *
    * Deprecation description of the selected element(s). It can be provided if
    * an element is marked as `deprecated`.
    * 
* * string deprecation_description = 3; + * * @return The bytes for deprecationDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeprecationDescriptionBytes() { + public com.google.protobuf.ByteString getDeprecationDescriptionBytes() { java.lang.Object ref = deprecationDescription_; 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); deprecationDescription_ = b; return b; } else { @@ -205,6 +235,7 @@ public java.lang.String getDeprecationDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +247,7 @@ 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(selector_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); } @@ -253,19 +283,16 @@ 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.DocumentationRule)) { return super.equals(obj); } com.google.api.DocumentationRule other = (com.google.api.DocumentationRule) obj; - if (!getSelector() - .equals(other.getSelector())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getDeprecationDescription() - .equals(other.getDeprecationDescription())) return false; + if (!getSelector().equals(other.getSelector())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDeprecationDescription().equals(other.getDeprecationDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -288,132 +315,135 @@ public int hashCode() { return hash; } - public static com.google.api.DocumentationRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.DocumentationRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.DocumentationRule 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.DocumentationRule parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.DocumentationRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.DocumentationRule 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.DocumentationRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.DocumentationRule 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.DocumentationRule 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.DocumentationRule 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.DocumentationRule 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.DocumentationRule 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.DocumentationRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.DocumentationRule 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.DocumentationRule 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; } /** + * + * *
    * A documentation rule provides information about individual API elements.
    * 
* * Protobuf type {@code google.api.DocumentationRule} */ - 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.DocumentationRule) com.google.api.DocumentationRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.api.DocumentationProto.internal_static_google_api_DocumentationRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.api.DocumentationProto + .internal_static_google_api_DocumentationRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.DocumentationProto.internal_static_google_api_DocumentationRule_fieldAccessorTable + return com.google.api.DocumentationProto + .internal_static_google_api_DocumentationRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.DocumentationRule.class, com.google.api.DocumentationRule.Builder.class); + com.google.api.DocumentationRule.class, + com.google.api.DocumentationRule.Builder.class); } // Construct using com.google.api.DocumentationRule.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +455,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.api.DocumentationProto.internal_static_google_api_DocumentationRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.api.DocumentationProto + .internal_static_google_api_DocumentationRule_descriptor; } @java.lang.Override @@ -447,7 +477,9 @@ public com.google.api.DocumentationRule build() { @java.lang.Override public com.google.api.DocumentationRule buildPartial() { com.google.api.DocumentationRule result = new com.google.api.DocumentationRule(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -469,38 +501,39 @@ private void buildPartial0(com.google.api.DocumentationRule 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.DocumentationRule) { - return mergeFrom((com.google.api.DocumentationRule)other); + return mergeFrom((com.google.api.DocumentationRule) other); } else { super.mergeFrom(other); return this; @@ -550,27 +583,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - selector_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - deprecationDescription_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + selector_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + deprecationDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + 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) { @@ -580,10 +617,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object selector_ = ""; /** + * + * *
      * The selector is a comma-separated list of patterns for any element such as
      * a method, a field, an enum value. Each pattern is a qualified name of the
@@ -595,13 +635,13 @@ public Builder mergeFrom(
      * 
* * string selector = 1; + * * @return The selector. */ public java.lang.String getSelector() { java.lang.Object ref = selector_; 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(); selector_ = s; return s; @@ -610,6 +650,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * The selector is a comma-separated list of patterns for any element such as
      * a method, a field, an enum value. Each pattern is a qualified name of the
@@ -621,15 +663,14 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @return The bytes for selector. */ - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -637,6 +678,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * The selector is a comma-separated list of patterns for any element such as
      * a method, a field, an enum value. Each pattern is a qualified name of the
@@ -648,18 +691,22 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @param value The selector to set. * @return This builder for chaining. */ - public Builder setSelector( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelector(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } selector_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The selector is a comma-separated list of patterns for any element such as
      * a method, a field, an enum value. Each pattern is a qualified name of the
@@ -671,6 +718,7 @@ public Builder setSelector(
      * 
* * string selector = 1; + * * @return This builder for chaining. */ public Builder clearSelector() { @@ -680,6 +728,8 @@ public Builder clearSelector() { return this; } /** + * + * *
      * The selector is a comma-separated list of patterns for any element such as
      * a method, a field, an enum value. Each pattern is a qualified name of the
@@ -691,12 +741,14 @@ public Builder clearSelector() {
      * 
* * string selector = 1; + * * @param value The bytes for selector to set. * @return This builder for chaining. */ - public Builder setSelectorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); selector_ = value; bitField0_ |= 0x00000001; @@ -706,6 +758,8 @@ public Builder setSelectorBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the selected proto element (e.g. a message, a method, a
      * 'service' definition, or a field). Defaults to leading & trailing comments
@@ -713,13 +767,13 @@ public Builder setSelectorBytes(
      * 
* * 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; @@ -728,6 +782,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the selected proto element (e.g. a message, a method, a
      * 'service' definition, or a field). Defaults to leading & trailing comments
@@ -735,15 +791,14 @@ public java.lang.String getDescription() {
      * 
* * 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 { @@ -751,6 +806,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the selected proto element (e.g. a message, a method, a
      * 'service' definition, or a field). Defaults to leading & trailing comments
@@ -758,18 +815,22 @@ public java.lang.String getDescription() {
      * 
* * 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_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Description of the selected proto element (e.g. a message, a method, a
      * 'service' definition, or a field). Defaults to leading & trailing comments
@@ -777,6 +838,7 @@ public Builder setDescription(
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -786,6 +848,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of the selected proto element (e.g. a message, a method, a
      * 'service' definition, or a field). Defaults to leading & trailing comments
@@ -793,12 +857,14 @@ public Builder clearDescription() {
      * 
* * 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_ |= 0x00000002; @@ -808,19 +874,21 @@ public Builder setDescriptionBytes( private java.lang.Object deprecationDescription_ = ""; /** + * + * *
      * Deprecation description of the selected element(s). It can be provided if
      * an element is marked as `deprecated`.
      * 
* * string deprecation_description = 3; + * * @return The deprecationDescription. */ public java.lang.String getDeprecationDescription() { java.lang.Object ref = deprecationDescription_; 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(); deprecationDescription_ = s; return s; @@ -829,21 +897,22 @@ public java.lang.String getDeprecationDescription() { } } /** + * + * *
      * Deprecation description of the selected element(s). It can be provided if
      * an element is marked as `deprecated`.
      * 
* * string deprecation_description = 3; + * * @return The bytes for deprecationDescription. */ - public com.google.protobuf.ByteString - getDeprecationDescriptionBytes() { + public com.google.protobuf.ByteString getDeprecationDescriptionBytes() { java.lang.Object ref = deprecationDescription_; 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); deprecationDescription_ = b; return b; } else { @@ -851,30 +920,37 @@ public java.lang.String getDeprecationDescription() { } } /** + * + * *
      * Deprecation description of the selected element(s). It can be provided if
      * an element is marked as `deprecated`.
      * 
* * string deprecation_description = 3; + * * @param value The deprecationDescription to set. * @return This builder for chaining. */ - public Builder setDeprecationDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeprecationDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deprecationDescription_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Deprecation description of the selected element(s). It can be provided if
      * an element is marked as `deprecated`.
      * 
* * string deprecation_description = 3; + * * @return This builder for chaining. */ public Builder clearDeprecationDescription() { @@ -884,27 +960,31 @@ public Builder clearDeprecationDescription() { return this; } /** + * + * *
      * Deprecation description of the selected element(s). It can be provided if
      * an element is marked as `deprecated`.
      * 
* * string deprecation_description = 3; + * * @param value The bytes for deprecationDescription to set. * @return This builder for chaining. */ - public Builder setDeprecationDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeprecationDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deprecationDescription_ = value; bitField0_ |= 0x00000004; 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); } @@ -914,12 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.DocumentationRule) } // @@protoc_insertion_point(class_scope:google.api.DocumentationRule) private static final com.google.api.DocumentationRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.DocumentationRule(); } @@ -928,27 +1008,27 @@ public static com.google.api.DocumentationRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentationRule 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 DocumentationRule 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; @@ -963,6 +1043,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.DocumentationRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java similarity index 75% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java index f7af9e408a..29fae9e03c 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface DocumentationRuleOrBuilder extends +public interface DocumentationRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.DocumentationRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The selector is a comma-separated list of patterns for any element such as
    * a method, a field, an enum value. Each pattern is a qualified name of the
@@ -19,10 +37,13 @@ public interface DocumentationRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The selector. */ java.lang.String getSelector(); /** + * + * *
    * The selector is a comma-separated list of patterns for any element such as
    * a method, a field, an enum value. Each pattern is a qualified name of the
@@ -34,12 +55,14 @@ public interface DocumentationRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The bytes for selector. */ - com.google.protobuf.ByteString - getSelectorBytes(); + com.google.protobuf.ByteString getSelectorBytes(); /** + * + * *
    * Description of the selected proto element (e.g. a message, a method, a
    * 'service' definition, or a field). Defaults to leading & trailing comments
@@ -47,10 +70,13 @@ public interface DocumentationRuleOrBuilder extends
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the selected proto element (e.g. a message, a method, a
    * 'service' definition, or a field). Defaults to leading & trailing comments
@@ -58,30 +84,35 @@ public interface DocumentationRuleOrBuilder extends
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Deprecation description of the selected element(s). It can be provided if
    * an element is marked as `deprecated`.
    * 
* * string deprecation_description = 3; + * * @return The deprecationDescription. */ java.lang.String getDeprecationDescription(); /** + * + * *
    * Deprecation description of the selected element(s). It can be provided if
    * an element is marked as `deprecated`.
    * 
* * string deprecation_description = 3; + * * @return The bytes for deprecationDescription. */ - com.google.protobuf.ByteString - getDeprecationDescriptionBytes(); + com.google.protobuf.ByteString getDeprecationDescriptionBytes(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java similarity index 71% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java index eda29f2d9f..88b15fd8ec 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java @@ -1,59 +1,71 @@ +/* + * 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; /** + * + * *
  * Settings for Dotnet client libraries.
  * 
* * Protobuf type {@code google.api.DotnetSettings} */ -public final class DotnetSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DotnetSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.DotnetSettings) DotnetSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DotnetSettings.newBuilder() to construct. private DotnetSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DotnetSettings() { - ignoredResources_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - forcedNamespaceAliases_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - handwrittenSignatures_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + ignoredResources_ = com.google.protobuf.LazyStringArrayList.emptyList(); + forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DotnetSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_DotnetSettings_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetRenamedServices(); case 3: return internalGetRenamedResources(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -65,11 +77,14 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int COMMON_FIELD_NUMBER = 1; private com.google.api.CommonLanguageSettings common_; /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -77,11 +92,14 @@ public boolean hasCommon() { return common_ != null; } /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ @java.lang.Override @@ -89,6 +107,8 @@ public com.google.api.CommonLanguageSettings getCommon() { return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; } /** + * + * *
    * Some settings.
    * 
@@ -101,32 +121,36 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { } public static final int RENAMED_SERVICES_FIELD_NUMBER = 2; + private static final class RenamedServicesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.api.ClientProto.internal_static_google_api_DotnetSettings_RenamedServicesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.api.ClientProto + .internal_static_google_api_DotnetSettings_RenamedServicesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> renamedServices_; + private com.google.protobuf.MapField renamedServices_; + private com.google.protobuf.MapField - internalGetRenamedServices() { + internalGetRenamedServices() { if (renamedServices_ == null) { return com.google.protobuf.MapField.emptyMapField( RenamedServicesDefaultEntryHolder.defaultEntry); } return renamedServices_; } + public int getRenamedServicesCount() { return internalGetRenamedServices().getMap().size(); } /** + * + * *
    * Map from original service names to renamed versions.
    * This is used when the default generated types
@@ -138,20 +162,21 @@ public int getRenamedServicesCount() {
    * map<string, string> renamed_services = 2;
    */
   @java.lang.Override
-  public boolean containsRenamedServices(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsRenamedServices(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetRenamedServices().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getRenamedServicesMap()} instead.
-   */
+  /** Use {@link #getRenamedServicesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getRenamedServices() {
     return getRenamedServicesMap();
   }
   /**
+   *
+   *
    * 
    * Map from original service names to renamed versions.
    * This is used when the default generated types
@@ -167,6 +192,8 @@ public java.util.Map getRenamedServicesMap()
     return internalGetRenamedServices().getMap();
   }
   /**
+   *
+   *
    * 
    * Map from original service names to renamed versions.
    * This is used when the default generated types
@@ -178,17 +205,19 @@ public java.util.Map getRenamedServicesMap()
    * map<string, string> renamed_services = 2;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getRenamedServicesOrDefault(
+  public /* nullable */ java.lang.String getRenamedServicesOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetRenamedServices().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetRenamedServices().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Map from original service names to renamed versions.
    * This is used when the default generated types
@@ -200,11 +229,11 @@ java.lang.String getRenamedServicesOrDefault(
    * map<string, string> renamed_services = 2;
    */
   @java.lang.Override
-  public java.lang.String getRenamedServicesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetRenamedServices().getMap();
+  public java.lang.String getRenamedServicesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetRenamedServices().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -212,32 +241,36 @@ public java.lang.String getRenamedServicesOrThrow(
   }
 
   public static final int RENAMED_RESOURCES_FIELD_NUMBER = 3;
+
   private static final class RenamedResourcesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.api.ClientProto.internal_static_google_api_DotnetSettings_RenamedResourcesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.api.ClientProto
+                .internal_static_google_api_DotnetSettings_RenamedResourcesEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> renamedResources_;
+  private com.google.protobuf.MapField renamedResources_;
+
   private com.google.protobuf.MapField
-  internalGetRenamedResources() {
+      internalGetRenamedResources() {
     if (renamedResources_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           RenamedResourcesDefaultEntryHolder.defaultEntry);
     }
     return renamedResources_;
   }
+
   public int getRenamedResourcesCount() {
     return internalGetRenamedResources().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map from full resource types to the effective short name
    * for the resource. This is used when otherwise resource
@@ -249,20 +282,21 @@ public int getRenamedResourcesCount() {
    * map<string, string> renamed_resources = 3;
    */
   @java.lang.Override
-  public boolean containsRenamedResources(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsRenamedResources(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetRenamedResources().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getRenamedResourcesMap()} instead.
-   */
+  /** Use {@link #getRenamedResourcesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getRenamedResources() {
     return getRenamedResourcesMap();
   }
   /**
+   *
+   *
    * 
    * Map from full resource types to the effective short name
    * for the resource. This is used when otherwise resource
@@ -278,6 +312,8 @@ public java.util.Map getRenamedResourcesMap(
     return internalGetRenamedResources().getMap();
   }
   /**
+   *
+   *
    * 
    * Map from full resource types to the effective short name
    * for the resource. This is used when otherwise resource
@@ -289,17 +325,19 @@ public java.util.Map getRenamedResourcesMap(
    * map<string, string> renamed_resources = 3;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getRenamedResourcesOrDefault(
+  public /* nullable */ java.lang.String getRenamedResourcesOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetRenamedResources().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetRenamedResources().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Map from full resource types to the effective short name
    * for the resource. This is used when otherwise resource
@@ -311,11 +349,11 @@ java.lang.String getRenamedResourcesOrDefault(
    * map<string, string> renamed_resources = 3;
    */
   @java.lang.Override
-  public java.lang.String getRenamedResourcesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetRenamedResources().getMap();
+  public java.lang.String getRenamedResourcesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetRenamedResources().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -323,10 +361,13 @@ public java.lang.String getRenamedResourcesOrThrow(
   }
 
   public static final int IGNORED_RESOURCES_FIELD_NUMBER = 4;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList ignoredResources_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * List of full resource types to ignore during generation.
    * This is typically used for API-specific Location resources,
@@ -336,13 +377,15 @@ public java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string ignored_resources = 4; + * * @return A list containing the ignoredResources. */ - public com.google.protobuf.ProtocolStringList - getIgnoredResourcesList() { + public com.google.protobuf.ProtocolStringList getIgnoredResourcesList() { return ignoredResources_; } /** + * + * *
    * List of full resource types to ignore during generation.
    * This is typically used for API-specific Location resources,
@@ -352,12 +395,15 @@ public java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string ignored_resources = 4; + * * @return The count of ignoredResources. */ public int getIgnoredResourcesCount() { return ignoredResources_.size(); } /** + * + * *
    * List of full resource types to ignore during generation.
    * This is typically used for API-specific Location resources,
@@ -367,6 +413,7 @@ public int getIgnoredResourcesCount() {
    * 
* * repeated string ignored_resources = 4; + * * @param index The index of the element to return. * @return The ignoredResources at the given index. */ @@ -374,6 +421,8 @@ public java.lang.String getIgnoredResources(int index) { return ignoredResources_.get(index); } /** + * + * *
    * List of full resource types to ignore during generation.
    * This is typically used for API-specific Location resources,
@@ -383,50 +432,59 @@ public java.lang.String getIgnoredResources(int index) {
    * 
* * repeated string ignored_resources = 4; + * * @param index The index of the value to return. * @return The bytes of the ignoredResources at the given index. */ - public com.google.protobuf.ByteString - getIgnoredResourcesBytes(int index) { + public com.google.protobuf.ByteString getIgnoredResourcesBytes(int index) { return ignoredResources_.getByteString(index); } public static final int FORCED_NAMESPACE_ALIASES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Namespaces which must be aliased in snippets due to
    * a known (but non-generator-predictable) naming collision
    * 
* * repeated string forced_namespace_aliases = 5; + * * @return A list containing the forcedNamespaceAliases. */ - public com.google.protobuf.ProtocolStringList - getForcedNamespaceAliasesList() { + public com.google.protobuf.ProtocolStringList getForcedNamespaceAliasesList() { return forcedNamespaceAliases_; } /** + * + * *
    * Namespaces which must be aliased in snippets due to
    * a known (but non-generator-predictable) naming collision
    * 
* * repeated string forced_namespace_aliases = 5; + * * @return The count of forcedNamespaceAliases. */ public int getForcedNamespaceAliasesCount() { return forcedNamespaceAliases_.size(); } /** + * + * *
    * Namespaces which must be aliased in snippets due to
    * a known (but non-generator-predictable) naming collision
    * 
* * repeated string forced_namespace_aliases = 5; + * * @param index The index of the element to return. * @return The forcedNamespaceAliases at the given index. */ @@ -434,25 +492,30 @@ public java.lang.String getForcedNamespaceAliases(int index) { return forcedNamespaceAliases_.get(index); } /** + * + * *
    * Namespaces which must be aliased in snippets due to
    * a known (but non-generator-predictable) naming collision
    * 
* * repeated string forced_namespace_aliases = 5; + * * @param index The index of the value to return. * @return The bytes of the forcedNamespaceAliases at the given index. */ - public com.google.protobuf.ByteString - getForcedNamespaceAliasesBytes(int index) { + public com.google.protobuf.ByteString getForcedNamespaceAliasesBytes(int index) { return forcedNamespaceAliases_.getByteString(index); } public static final int HANDWRITTEN_SIGNATURES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Method signatures (in the form "service.method(signature)")
    * which are provided separately, so shouldn't be generated.
@@ -460,13 +523,15 @@ public java.lang.String getForcedNamespaceAliases(int index) {
    * 
* * repeated string handwritten_signatures = 6; + * * @return A list containing the handwrittenSignatures. */ - public com.google.protobuf.ProtocolStringList - getHandwrittenSignaturesList() { + public com.google.protobuf.ProtocolStringList getHandwrittenSignaturesList() { return handwrittenSignatures_; } /** + * + * *
    * Method signatures (in the form "service.method(signature)")
    * which are provided separately, so shouldn't be generated.
@@ -474,12 +539,15 @@ public java.lang.String getForcedNamespaceAliases(int index) {
    * 
* * repeated string handwritten_signatures = 6; + * * @return The count of handwrittenSignatures. */ public int getHandwrittenSignaturesCount() { return handwrittenSignatures_.size(); } /** + * + * *
    * Method signatures (in the form "service.method(signature)")
    * which are provided separately, so shouldn't be generated.
@@ -487,6 +555,7 @@ public int getHandwrittenSignaturesCount() {
    * 
* * repeated string handwritten_signatures = 6; + * * @param index The index of the element to return. * @return The handwrittenSignatures at the given index. */ @@ -494,6 +563,8 @@ public java.lang.String getHandwrittenSignatures(int index) { return handwrittenSignatures_.get(index); } /** + * + * *
    * Method signatures (in the form "service.method(signature)")
    * which are provided separately, so shouldn't be generated.
@@ -501,15 +572,16 @@ public java.lang.String getHandwrittenSignatures(int index) {
    * 
* * repeated string handwritten_signatures = 6; + * * @param index The index of the value to return. * @return The bytes of the handwrittenSignatures at the given index. */ - public com.google.protobuf.ByteString - getHandwrittenSignaturesBytes(int index) { + public com.google.protobuf.ByteString getHandwrittenSignaturesBytes(int index) { return handwrittenSignatures_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -521,31 +593,24 @@ 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 (common_ != null) { output.writeMessage(1, getCommon()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetRenamedServices(), - RenamedServicesDefaultEntryHolder.defaultEntry, - 2); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetRenamedResources(), - RenamedResourcesDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetRenamedServices(), RenamedServicesDefaultEntryHolder.defaultEntry, 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetRenamedResources(), RenamedResourcesDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < ignoredResources_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ignoredResources_.getRaw(i)); } for (int i = 0; i < forcedNamespaceAliases_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, forcedNamespaceAliases_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, forcedNamespaceAliases_.getRaw(i)); } for (int i = 0; i < handwrittenSignatures_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, handwrittenSignatures_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 6, handwrittenSignatures_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -557,28 +622,27 @@ public int getSerializedSize() { size = 0; if (common_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); - } - for (java.util.Map.Entry entry - : internalGetRenamedServices().getMap().entrySet()) { - com.google.protobuf.MapEntry - renamedServices__ = RenamedServicesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, renamedServices__); - } - for (java.util.Map.Entry entry - : internalGetRenamedResources().getMap().entrySet()) { - com.google.protobuf.MapEntry - renamedResources__ = RenamedResourcesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, renamedResources__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); + } + for (java.util.Map.Entry entry : + internalGetRenamedServices().getMap().entrySet()) { + com.google.protobuf.MapEntry renamedServices__ = + RenamedServicesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, renamedServices__); + } + for (java.util.Map.Entry entry : + internalGetRenamedResources().getMap().entrySet()) { + com.google.protobuf.MapEntry renamedResources__ = + RenamedResourcesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, renamedResources__); } { int dataSize = 0; @@ -612,7 +676,7 @@ 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.DotnetSettings)) { return super.equals(obj); @@ -621,19 +685,14 @@ public boolean equals(final java.lang.Object obj) { if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; - } - if (!internalGetRenamedServices().equals( - other.internalGetRenamedServices())) return false; - if (!internalGetRenamedResources().equals( - other.internalGetRenamedResources())) return false; - if (!getIgnoredResourcesList() - .equals(other.getIgnoredResourcesList())) return false; - if (!getForcedNamespaceAliasesList() - .equals(other.getForcedNamespaceAliasesList())) return false; - if (!getHandwrittenSignaturesList() - .equals(other.getHandwrittenSignaturesList())) return false; + if (!getCommon().equals(other.getCommon())) return false; + } + if (!internalGetRenamedServices().equals(other.internalGetRenamedServices())) return false; + if (!internalGetRenamedResources().equals(other.internalGetRenamedResources())) return false; + if (!getIgnoredResourcesList().equals(other.getIgnoredResourcesList())) return false; + if (!getForcedNamespaceAliasesList().equals(other.getForcedNamespaceAliasesList())) + return false; + if (!getHandwrittenSignaturesList().equals(other.getHandwrittenSignaturesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -674,140 +733,141 @@ public int hashCode() { return hash; } - public static com.google.api.DotnetSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.DotnetSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.DotnetSettings 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.DotnetSettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.DotnetSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.DotnetSettings 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.DotnetSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.DotnetSettings 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.DotnetSettings 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.DotnetSettings 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.DotnetSettings 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.DotnetSettings 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.DotnetSettings parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.DotnetSettings 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.DotnetSettings 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.DotnetSettings 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; } /** + * + * *
    * Settings for Dotnet client libraries.
    * 
* * Protobuf type {@code google.api.DotnetSettings} */ - 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.DotnetSettings) com.google.api.DotnetSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_DotnetSettings_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetRenamedServices(); case 3: return internalGetRenamedResources(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableRenamedServices(); case 3: return internalGetMutableRenamedResources(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -817,15 +877,12 @@ protected com.google.protobuf.MapField internalGetMutableMapField( } // Construct using com.google.api.DotnetSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -837,18 +894,14 @@ public Builder clear() { } internalGetMutableRenamedServices().clear(); internalGetMutableRenamedResources().clear(); - ignoredResources_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - forcedNamespaceAliases_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - handwrittenSignatures_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + ignoredResources_ = com.google.protobuf.LazyStringArrayList.emptyList(); + forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.ClientProto.internal_static_google_api_DotnetSettings_descriptor; } @@ -869,7 +922,9 @@ public com.google.api.DotnetSettings build() { @java.lang.Override public com.google.api.DotnetSettings buildPartial() { com.google.api.DotnetSettings result = new com.google.api.DotnetSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -877,9 +932,7 @@ public com.google.api.DotnetSettings buildPartial() { private void buildPartial0(com.google.api.DotnetSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.renamedServices_ = internalGetRenamedServices(); @@ -907,38 +960,39 @@ private void buildPartial0(com.google.api.DotnetSettings 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.DotnetSettings) { - return mergeFrom((com.google.api.DotnetSettings)other); + return mergeFrom((com.google.api.DotnetSettings) other); } else { super.mergeFrom(other); return this; @@ -950,11 +1004,9 @@ public Builder mergeFrom(com.google.api.DotnetSettings other) { if (other.hasCommon()) { mergeCommon(other.getCommon()); } - internalGetMutableRenamedServices().mergeFrom( - other.internalGetRenamedServices()); + internalGetMutableRenamedServices().mergeFrom(other.internalGetRenamedServices()); bitField0_ |= 0x00000002; - internalGetMutableRenamedResources().mergeFrom( - other.internalGetRenamedResources()); + internalGetMutableRenamedResources().mergeFrom(other.internalGetRenamedResources()); bitField0_ |= 0x00000004; if (!other.ignoredResources_.isEmpty()) { if (ignoredResources_.isEmpty()) { @@ -1012,55 +1064,65 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - renamedServices__ = input.readMessage( - RenamedServicesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableRenamedServices().getMutableMap().put( - renamedServices__.getKey(), renamedServices__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry - renamedResources__ = input.readMessage( - RenamedResourcesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableRenamedResources().getMutableMap().put( - renamedResources__.getKey(), renamedResources__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIgnoredResourcesIsMutable(); - ignoredResources_.add(s); - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureForcedNamespaceAliasesIsMutable(); - forcedNamespaceAliases_.add(s); - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureHandwrittenSignaturesIsMutable(); - handwrittenSignatures_.add(s); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry renamedServices__ = + input.readMessage( + RenamedServicesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableRenamedServices() + .getMutableMap() + .put(renamedServices__.getKey(), renamedServices__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.protobuf.MapEntry + renamedResources__ = + input.readMessage( + RenamedResourcesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableRenamedResources() + .getMutableMap() + .put(renamedResources__.getKey(), renamedResources__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIgnoredResourcesIsMutable(); + ignoredResources_.add(s); + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureForcedNamespaceAliasesIsMutable(); + forcedNamespaceAliases_.add(s); + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureHandwrittenSignaturesIsMutable(); + handwrittenSignatures_.add(s); + 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) { @@ -1070,38 +1132,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.api.CommonLanguageSettings common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> commonBuilder_; + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> + commonBuilder_; /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ public com.google.api.CommonLanguageSettings getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Some settings.
      * 
@@ -1122,14 +1198,15 @@ public Builder setCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; */ - public Builder setCommon( - com.google.api.CommonLanguageSettings.Builder builderForValue) { + public Builder setCommon(com.google.api.CommonLanguageSettings.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -1140,6 +1217,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Some settings.
      * 
@@ -1148,9 +1227,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - common_ != null && - common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && common_ != null + && common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -1163,6 +1242,8 @@ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
@@ -1180,6 +1261,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Some settings.
      * 
@@ -1192,6 +1275,8 @@ public com.google.api.CommonLanguageSettings.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Some settings.
      * 
@@ -1202,11 +1287,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } } /** + * + * *
      * Some settings.
      * 
@@ -1214,21 +1302,24 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * .google.api.CommonLanguageSettings common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> renamedServices_; + private com.google.protobuf.MapField renamedServices_; + private com.google.protobuf.MapField internalGetRenamedServices() { if (renamedServices_ == null) { @@ -1237,11 +1328,13 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { } return renamedServices_; } + private com.google.protobuf.MapField internalGetMutableRenamedServices() { if (renamedServices_ == null) { - renamedServices_ = com.google.protobuf.MapField.newMapField( - RenamedServicesDefaultEntryHolder.defaultEntry); + renamedServices_ = + com.google.protobuf.MapField.newMapField( + RenamedServicesDefaultEntryHolder.defaultEntry); } if (!renamedServices_.isMutable()) { renamedServices_ = renamedServices_.copy(); @@ -1250,10 +1343,13 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { onChanged(); return renamedServices_; } + public int getRenamedServicesCount() { return internalGetRenamedServices().getMap().size(); } /** + * + * *
      * Map from original service names to renamed versions.
      * This is used when the default generated types
@@ -1265,20 +1361,21 @@ public int getRenamedServicesCount() {
      * map<string, string> renamed_services = 2;
      */
     @java.lang.Override
-    public boolean containsRenamedServices(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsRenamedServices(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetRenamedServices().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getRenamedServicesMap()} instead.
-     */
+    /** Use {@link #getRenamedServicesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getRenamedServices() {
       return getRenamedServicesMap();
     }
     /**
+     *
+     *
      * 
      * Map from original service names to renamed versions.
      * This is used when the default generated types
@@ -1294,6 +1391,8 @@ public java.util.Map getRenamedServicesMap()
       return internalGetRenamedServices().getMap();
     }
     /**
+     *
+     *
      * 
      * Map from original service names to renamed versions.
      * This is used when the default generated types
@@ -1305,17 +1404,19 @@ public java.util.Map getRenamedServicesMap()
      * map<string, string> renamed_services = 2;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getRenamedServicesOrDefault(
+    public /* nullable */ java.lang.String getRenamedServicesOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetRenamedServices().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetRenamedServices().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Map from original service names to renamed versions.
      * This is used when the default generated types
@@ -1327,23 +1428,25 @@ java.lang.String getRenamedServicesOrDefault(
      * map<string, string> renamed_services = 2;
      */
     @java.lang.Override
-    public java.lang.String getRenamedServicesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetRenamedServices().getMap();
+    public java.lang.String getRenamedServicesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetRenamedServices().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearRenamedServices() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableRenamedServices().getMutableMap()
-          .clear();
+      internalGetMutableRenamedServices().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map from original service names to renamed versions.
      * This is used when the default generated types
@@ -1354,23 +1457,22 @@ public Builder clearRenamedServices() {
      *
      * map<string, string> renamed_services = 2;
      */
-    public Builder removeRenamedServices(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableRenamedServices().getMutableMap()
-          .remove(key);
+    public Builder removeRenamedServices(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableRenamedServices().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableRenamedServices() {
+    public java.util.Map getMutableRenamedServices() {
       bitField0_ |= 0x00000002;
       return internalGetMutableRenamedServices().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map from original service names to renamed versions.
      * This is used when the default generated types
@@ -1381,17 +1483,20 @@ public Builder removeRenamedServices(
      *
      * map<string, string> renamed_services = 2;
      */
-    public Builder putRenamedServices(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableRenamedServices().getMutableMap()
-          .put(key, value);
+    public Builder putRenamedServices(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableRenamedServices().getMutableMap().put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * Map from original service names to renamed versions.
      * This is used when the default generated types
@@ -1402,16 +1507,14 @@ public Builder putRenamedServices(
      *
      * map<string, string> renamed_services = 2;
      */
-    public Builder putAllRenamedServices(
-        java.util.Map values) {
-      internalGetMutableRenamedServices().getMutableMap()
-          .putAll(values);
+    public Builder putAllRenamedServices(java.util.Map values) {
+      internalGetMutableRenamedServices().getMutableMap().putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> renamedResources_;
+    private com.google.protobuf.MapField renamedResources_;
+
     private com.google.protobuf.MapField
         internalGetRenamedResources() {
       if (renamedResources_ == null) {
@@ -1420,11 +1523,13 @@ public Builder putAllRenamedServices(
       }
       return renamedResources_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableRenamedResources() {
       if (renamedResources_ == null) {
-        renamedResources_ = com.google.protobuf.MapField.newMapField(
-            RenamedResourcesDefaultEntryHolder.defaultEntry);
+        renamedResources_ =
+            com.google.protobuf.MapField.newMapField(
+                RenamedResourcesDefaultEntryHolder.defaultEntry);
       }
       if (!renamedResources_.isMutable()) {
         renamedResources_ = renamedResources_.copy();
@@ -1433,10 +1538,13 @@ public Builder putAllRenamedServices(
       onChanged();
       return renamedResources_;
     }
+
     public int getRenamedResourcesCount() {
       return internalGetRenamedResources().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map from full resource types to the effective short name
      * for the resource. This is used when otherwise resource
@@ -1448,20 +1556,21 @@ public int getRenamedResourcesCount() {
      * map<string, string> renamed_resources = 3;
      */
     @java.lang.Override
-    public boolean containsRenamedResources(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsRenamedResources(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetRenamedResources().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getRenamedResourcesMap()} instead.
-     */
+    /** Use {@link #getRenamedResourcesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getRenamedResources() {
       return getRenamedResourcesMap();
     }
     /**
+     *
+     *
      * 
      * Map from full resource types to the effective short name
      * for the resource. This is used when otherwise resource
@@ -1477,6 +1586,8 @@ public java.util.Map getRenamedResourcesMap(
       return internalGetRenamedResources().getMap();
     }
     /**
+     *
+     *
      * 
      * Map from full resource types to the effective short name
      * for the resource. This is used when otherwise resource
@@ -1488,17 +1599,20 @@ public java.util.Map getRenamedResourcesMap(
      * map<string, string> renamed_resources = 3;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getRenamedResourcesOrDefault(
+    public /* nullable */ java.lang.String getRenamedResourcesOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetRenamedResources().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Map from full resource types to the effective short name
      * for the resource. This is used when otherwise resource
@@ -1510,9 +1624,10 @@ java.lang.String getRenamedResourcesOrDefault(
      * map<string, string> renamed_resources = 3;
      */
     @java.lang.Override
-    public java.lang.String getRenamedResourcesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public java.lang.String getRenamedResourcesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetRenamedResources().getMap();
       if (!map.containsKey(key)) {
@@ -1520,13 +1635,15 @@ public java.lang.String getRenamedResourcesOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearRenamedResources() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableRenamedResources().getMutableMap()
-          .clear();
+      internalGetMutableRenamedResources().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map from full resource types to the effective short name
      * for the resource. This is used when otherwise resource
@@ -1537,23 +1654,22 @@ public Builder clearRenamedResources() {
      *
      * map<string, string> renamed_resources = 3;
      */
-    public Builder removeRenamedResources(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableRenamedResources().getMutableMap()
-          .remove(key);
+    public Builder removeRenamedResources(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableRenamedResources().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableRenamedResources() {
+    public java.util.Map getMutableRenamedResources() {
       bitField0_ |= 0x00000004;
       return internalGetMutableRenamedResources().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map from full resource types to the effective short name
      * for the resource. This is used when otherwise resource
@@ -1564,17 +1680,20 @@ public Builder removeRenamedResources(
      *
      * map<string, string> renamed_resources = 3;
      */
-    public Builder putRenamedResources(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableRenamedResources().getMutableMap()
-          .put(key, value);
+    public Builder putRenamedResources(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableRenamedResources().getMutableMap().put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
+     *
+     *
      * 
      * Map from full resource types to the effective short name
      * for the resource. This is used when otherwise resource
@@ -1587,14 +1706,14 @@ public Builder putRenamedResources(
      */
     public Builder putAllRenamedResources(
         java.util.Map values) {
-      internalGetMutableRenamedResources().getMutableMap()
-          .putAll(values);
+      internalGetMutableRenamedResources().getMutableMap().putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private com.google.protobuf.LazyStringArrayList ignoredResources_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureIgnoredResourcesIsMutable() {
       if (!ignoredResources_.isModifiable()) {
         ignoredResources_ = new com.google.protobuf.LazyStringArrayList(ignoredResources_);
@@ -1602,6 +1721,8 @@ private void ensureIgnoredResourcesIsMutable() {
       bitField0_ |= 0x00000008;
     }
     /**
+     *
+     *
      * 
      * List of full resource types to ignore during generation.
      * This is typically used for API-specific Location resources,
@@ -1611,14 +1732,16 @@ private void ensureIgnoredResourcesIsMutable() {
      * 
* * repeated string ignored_resources = 4; + * * @return A list containing the ignoredResources. */ - public com.google.protobuf.ProtocolStringList - getIgnoredResourcesList() { + public com.google.protobuf.ProtocolStringList getIgnoredResourcesList() { ignoredResources_.makeImmutable(); return ignoredResources_; } /** + * + * *
      * List of full resource types to ignore during generation.
      * This is typically used for API-specific Location resources,
@@ -1628,12 +1751,15 @@ private void ensureIgnoredResourcesIsMutable() {
      * 
* * repeated string ignored_resources = 4; + * * @return The count of ignoredResources. */ public int getIgnoredResourcesCount() { return ignoredResources_.size(); } /** + * + * *
      * List of full resource types to ignore during generation.
      * This is typically used for API-specific Location resources,
@@ -1643,6 +1769,7 @@ public int getIgnoredResourcesCount() {
      * 
* * repeated string ignored_resources = 4; + * * @param index The index of the element to return. * @return The ignoredResources at the given index. */ @@ -1650,6 +1777,8 @@ public java.lang.String getIgnoredResources(int index) { return ignoredResources_.get(index); } /** + * + * *
      * List of full resource types to ignore during generation.
      * This is typically used for API-specific Location resources,
@@ -1659,14 +1788,16 @@ public java.lang.String getIgnoredResources(int index) {
      * 
* * repeated string ignored_resources = 4; + * * @param index The index of the value to return. * @return The bytes of the ignoredResources at the given index. */ - public com.google.protobuf.ByteString - getIgnoredResourcesBytes(int index) { + public com.google.protobuf.ByteString getIgnoredResourcesBytes(int index) { return ignoredResources_.getByteString(index); } /** + * + * *
      * List of full resource types to ignore during generation.
      * This is typically used for API-specific Location resources,
@@ -1676,13 +1807,15 @@ public java.lang.String getIgnoredResources(int index) {
      * 
* * repeated string ignored_resources = 4; + * * @param index The index to set the value at. * @param value The ignoredResources to set. * @return This builder for chaining. */ - public Builder setIgnoredResources( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIgnoredResources(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIgnoredResourcesIsMutable(); ignoredResources_.set(index, value); bitField0_ |= 0x00000008; @@ -1690,6 +1823,8 @@ public Builder setIgnoredResources( return this; } /** + * + * *
      * List of full resource types to ignore during generation.
      * This is typically used for API-specific Location resources,
@@ -1699,12 +1834,14 @@ public Builder setIgnoredResources(
      * 
* * repeated string ignored_resources = 4; + * * @param value The ignoredResources to add. * @return This builder for chaining. */ - public Builder addIgnoredResources( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIgnoredResources(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIgnoredResourcesIsMutable(); ignoredResources_.add(value); bitField0_ |= 0x00000008; @@ -1712,6 +1849,8 @@ public Builder addIgnoredResources( return this; } /** + * + * *
      * List of full resource types to ignore during generation.
      * This is typically used for API-specific Location resources,
@@ -1721,19 +1860,20 @@ public Builder addIgnoredResources(
      * 
* * repeated string ignored_resources = 4; + * * @param values The ignoredResources to add. * @return This builder for chaining. */ - public Builder addAllIgnoredResources( - java.lang.Iterable values) { + public Builder addAllIgnoredResources(java.lang.Iterable values) { ensureIgnoredResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ignoredResources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ignoredResources_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * List of full resource types to ignore during generation.
      * This is typically used for API-specific Location resources,
@@ -1743,16 +1883,19 @@ public Builder addAllIgnoredResources(
      * 
* * repeated string ignored_resources = 4; + * * @return This builder for chaining. */ public Builder clearIgnoredResources() { - ignoredResources_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + ignoredResources_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * List of full resource types to ignore during generation.
      * This is typically used for API-specific Location resources,
@@ -1762,12 +1905,14 @@ public Builder clearIgnoredResources() {
      * 
* * repeated string ignored_resources = 4; + * * @param value The bytes of the ignoredResources to add. * @return This builder for chaining. */ - public Builder addIgnoredResourcesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIgnoredResourcesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIgnoredResourcesIsMutable(); ignoredResources_.add(value); @@ -1778,45 +1923,55 @@ public Builder addIgnoredResourcesBytes( private com.google.protobuf.LazyStringArrayList forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureForcedNamespaceAliasesIsMutable() { if (!forcedNamespaceAliases_.isModifiable()) { - forcedNamespaceAliases_ = new com.google.protobuf.LazyStringArrayList(forcedNamespaceAliases_); + forcedNamespaceAliases_ = + new com.google.protobuf.LazyStringArrayList(forcedNamespaceAliases_); } bitField0_ |= 0x00000010; } /** + * + * *
      * Namespaces which must be aliased in snippets due to
      * a known (but non-generator-predictable) naming collision
      * 
* * repeated string forced_namespace_aliases = 5; + * * @return A list containing the forcedNamespaceAliases. */ - public com.google.protobuf.ProtocolStringList - getForcedNamespaceAliasesList() { + public com.google.protobuf.ProtocolStringList getForcedNamespaceAliasesList() { forcedNamespaceAliases_.makeImmutable(); return forcedNamespaceAliases_; } /** + * + * *
      * Namespaces which must be aliased in snippets due to
      * a known (but non-generator-predictable) naming collision
      * 
* * repeated string forced_namespace_aliases = 5; + * * @return The count of forcedNamespaceAliases. */ public int getForcedNamespaceAliasesCount() { return forcedNamespaceAliases_.size(); } /** + * + * *
      * Namespaces which must be aliased in snippets due to
      * a known (but non-generator-predictable) naming collision
      * 
* * repeated string forced_namespace_aliases = 5; + * * @param index The index of the element to return. * @return The forcedNamespaceAliases at the given index. */ @@ -1824,33 +1979,39 @@ public java.lang.String getForcedNamespaceAliases(int index) { return forcedNamespaceAliases_.get(index); } /** + * + * *
      * Namespaces which must be aliased in snippets due to
      * a known (but non-generator-predictable) naming collision
      * 
* * repeated string forced_namespace_aliases = 5; + * * @param index The index of the value to return. * @return The bytes of the forcedNamespaceAliases at the given index. */ - public com.google.protobuf.ByteString - getForcedNamespaceAliasesBytes(int index) { + public com.google.protobuf.ByteString getForcedNamespaceAliasesBytes(int index) { return forcedNamespaceAliases_.getByteString(index); } /** + * + * *
      * Namespaces which must be aliased in snippets due to
      * a known (but non-generator-predictable) naming collision
      * 
* * repeated string forced_namespace_aliases = 5; + * * @param index The index to set the value at. * @param value The forcedNamespaceAliases to set. * @return This builder for chaining. */ - public Builder setForcedNamespaceAliases( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setForcedNamespaceAliases(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureForcedNamespaceAliasesIsMutable(); forcedNamespaceAliases_.set(index, value); bitField0_ |= 0x00000010; @@ -1858,18 +2019,22 @@ public Builder setForcedNamespaceAliases( return this; } /** + * + * *
      * Namespaces which must be aliased in snippets due to
      * a known (but non-generator-predictable) naming collision
      * 
* * repeated string forced_namespace_aliases = 5; + * * @param value The forcedNamespaceAliases to add. * @return This builder for chaining. */ - public Builder addForcedNamespaceAliases( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addForcedNamespaceAliases(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureForcedNamespaceAliasesIsMutable(); forcedNamespaceAliases_.add(value); bitField0_ |= 0x00000010; @@ -1877,53 +2042,61 @@ public Builder addForcedNamespaceAliases( return this; } /** + * + * *
      * Namespaces which must be aliased in snippets due to
      * a known (but non-generator-predictable) naming collision
      * 
* * repeated string forced_namespace_aliases = 5; + * * @param values The forcedNamespaceAliases to add. * @return This builder for chaining. */ - public Builder addAllForcedNamespaceAliases( - java.lang.Iterable values) { + public Builder addAllForcedNamespaceAliases(java.lang.Iterable values) { ensureForcedNamespaceAliasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, forcedNamespaceAliases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, forcedNamespaceAliases_); bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Namespaces which must be aliased in snippets due to
      * a known (but non-generator-predictable) naming collision
      * 
* * repeated string forced_namespace_aliases = 5; + * * @return This builder for chaining. */ public Builder clearForcedNamespaceAliases() { - forcedNamespaceAliases_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + forcedNamespaceAliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
      * Namespaces which must be aliased in snippets due to
      * a known (but non-generator-predictable) naming collision
      * 
* * repeated string forced_namespace_aliases = 5; + * * @param value The bytes of the forcedNamespaceAliases to add. * @return This builder for chaining. */ - public Builder addForcedNamespaceAliasesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addForcedNamespaceAliasesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureForcedNamespaceAliasesIsMutable(); forcedNamespaceAliases_.add(value); @@ -1934,13 +2107,17 @@ public Builder addForcedNamespaceAliasesBytes( private com.google.protobuf.LazyStringArrayList handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureHandwrittenSignaturesIsMutable() { if (!handwrittenSignatures_.isModifiable()) { - handwrittenSignatures_ = new com.google.protobuf.LazyStringArrayList(handwrittenSignatures_); + handwrittenSignatures_ = + new com.google.protobuf.LazyStringArrayList(handwrittenSignatures_); } bitField0_ |= 0x00000020; } /** + * + * *
      * Method signatures (in the form "service.method(signature)")
      * which are provided separately, so shouldn't be generated.
@@ -1948,14 +2125,16 @@ private void ensureHandwrittenSignaturesIsMutable() {
      * 
* * repeated string handwritten_signatures = 6; + * * @return A list containing the handwrittenSignatures. */ - public com.google.protobuf.ProtocolStringList - getHandwrittenSignaturesList() { + public com.google.protobuf.ProtocolStringList getHandwrittenSignaturesList() { handwrittenSignatures_.makeImmutable(); return handwrittenSignatures_; } /** + * + * *
      * Method signatures (in the form "service.method(signature)")
      * which are provided separately, so shouldn't be generated.
@@ -1963,12 +2142,15 @@ private void ensureHandwrittenSignaturesIsMutable() {
      * 
* * repeated string handwritten_signatures = 6; + * * @return The count of handwrittenSignatures. */ public int getHandwrittenSignaturesCount() { return handwrittenSignatures_.size(); } /** + * + * *
      * Method signatures (in the form "service.method(signature)")
      * which are provided separately, so shouldn't be generated.
@@ -1976,6 +2158,7 @@ public int getHandwrittenSignaturesCount() {
      * 
* * repeated string handwritten_signatures = 6; + * * @param index The index of the element to return. * @return The handwrittenSignatures at the given index. */ @@ -1983,6 +2166,8 @@ public java.lang.String getHandwrittenSignatures(int index) { return handwrittenSignatures_.get(index); } /** + * + * *
      * Method signatures (in the form "service.method(signature)")
      * which are provided separately, so shouldn't be generated.
@@ -1990,14 +2175,16 @@ public java.lang.String getHandwrittenSignatures(int index) {
      * 
* * repeated string handwritten_signatures = 6; + * * @param index The index of the value to return. * @return The bytes of the handwrittenSignatures at the given index. */ - public com.google.protobuf.ByteString - getHandwrittenSignaturesBytes(int index) { + public com.google.protobuf.ByteString getHandwrittenSignaturesBytes(int index) { return handwrittenSignatures_.getByteString(index); } /** + * + * *
      * Method signatures (in the form "service.method(signature)")
      * which are provided separately, so shouldn't be generated.
@@ -2005,13 +2192,15 @@ public java.lang.String getHandwrittenSignatures(int index) {
      * 
* * repeated string handwritten_signatures = 6; + * * @param index The index to set the value at. * @param value The handwrittenSignatures to set. * @return This builder for chaining. */ - public Builder setHandwrittenSignatures( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHandwrittenSignatures(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHandwrittenSignaturesIsMutable(); handwrittenSignatures_.set(index, value); bitField0_ |= 0x00000020; @@ -2019,6 +2208,8 @@ public Builder setHandwrittenSignatures( return this; } /** + * + * *
      * Method signatures (in the form "service.method(signature)")
      * which are provided separately, so shouldn't be generated.
@@ -2026,12 +2217,14 @@ public Builder setHandwrittenSignatures(
      * 
* * repeated string handwritten_signatures = 6; + * * @param value The handwrittenSignatures to add. * @return This builder for chaining. */ - public Builder addHandwrittenSignatures( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHandwrittenSignatures(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureHandwrittenSignaturesIsMutable(); handwrittenSignatures_.add(value); bitField0_ |= 0x00000020; @@ -2039,6 +2232,8 @@ public Builder addHandwrittenSignatures( return this; } /** + * + * *
      * Method signatures (in the form "service.method(signature)")
      * which are provided separately, so shouldn't be generated.
@@ -2046,19 +2241,20 @@ public Builder addHandwrittenSignatures(
      * 
* * repeated string handwritten_signatures = 6; + * * @param values The handwrittenSignatures to add. * @return This builder for chaining. */ - public Builder addAllHandwrittenSignatures( - java.lang.Iterable values) { + public Builder addAllHandwrittenSignatures(java.lang.Iterable values) { ensureHandwrittenSignaturesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, handwrittenSignatures_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, handwrittenSignatures_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Method signatures (in the form "service.method(signature)")
      * which are provided separately, so shouldn't be generated.
@@ -2066,16 +2262,19 @@ public Builder addAllHandwrittenSignatures(
      * 
* * repeated string handwritten_signatures = 6; + * * @return This builder for chaining. */ public Builder clearHandwrittenSignatures() { - handwrittenSignatures_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
      * Method signatures (in the form "service.method(signature)")
      * which are provided separately, so shouldn't be generated.
@@ -2083,12 +2282,14 @@ public Builder clearHandwrittenSignatures() {
      * 
* * repeated string handwritten_signatures = 6; + * * @param value The bytes of the handwrittenSignatures to add. * @return This builder for chaining. */ - public Builder addHandwrittenSignaturesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addHandwrittenSignaturesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureHandwrittenSignaturesIsMutable(); handwrittenSignatures_.add(value); @@ -2096,9 +2297,9 @@ public Builder addHandwrittenSignaturesBytes( 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); } @@ -2108,12 +2309,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.DotnetSettings) } // @@protoc_insertion_point(class_scope:google.api.DotnetSettings) private static final com.google.api.DotnetSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.DotnetSettings(); } @@ -2122,27 +2323,27 @@ public static com.google.api.DotnetSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DotnetSettings 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 DotnetSettings 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; @@ -2157,6 +2358,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.DotnetSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java similarity index 81% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java index d34f6ba346..39f1b7133d 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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 interface DotnetSettingsOrBuilder extends +public interface DotnetSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.DotnetSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ com.google.api.CommonLanguageSettings getCommon(); /** + * + * *
    * Some settings.
    * 
@@ -35,6 +59,8 @@ public interface DotnetSettingsOrBuilder extends com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder(); /** + * + * *
    * Map from original service names to renamed versions.
    * This is used when the default generated types
@@ -47,6 +73,8 @@ public interface DotnetSettingsOrBuilder extends
    */
   int getRenamedServicesCount();
   /**
+   *
+   *
    * 
    * Map from original service names to renamed versions.
    * This is used when the default generated types
@@ -57,15 +85,13 @@ public interface DotnetSettingsOrBuilder extends
    *
    * map<string, string> renamed_services = 2;
    */
-  boolean containsRenamedServices(
-      java.lang.String key);
-  /**
-   * Use {@link #getRenamedServicesMap()} instead.
-   */
+  boolean containsRenamedServices(java.lang.String key);
+  /** Use {@link #getRenamedServicesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getRenamedServices();
+  java.util.Map getRenamedServices();
   /**
+   *
+   *
    * 
    * Map from original service names to renamed versions.
    * This is used when the default generated types
@@ -76,9 +102,10 @@ boolean containsRenamedServices(
    *
    * map<string, string> renamed_services = 2;
    */
-  java.util.Map
-  getRenamedServicesMap();
+  java.util.Map getRenamedServicesMap();
   /**
+   *
+   *
    * 
    * Map from original service names to renamed versions.
    * This is used when the default generated types
@@ -90,11 +117,13 @@ boolean containsRenamedServices(
    * map<string, string> renamed_services = 2;
    */
   /* nullable */
-java.lang.String getRenamedServicesOrDefault(
+  java.lang.String getRenamedServicesOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map from original service names to renamed versions.
    * This is used when the default generated types
@@ -105,10 +134,11 @@ java.lang.String getRenamedServicesOrDefault(
    *
    * map<string, string> renamed_services = 2;
    */
-  java.lang.String getRenamedServicesOrThrow(
-      java.lang.String key);
+  java.lang.String getRenamedServicesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Map from full resource types to the effective short name
    * for the resource. This is used when otherwise resource
@@ -121,6 +151,8 @@ java.lang.String getRenamedServicesOrThrow(
    */
   int getRenamedResourcesCount();
   /**
+   *
+   *
    * 
    * Map from full resource types to the effective short name
    * for the resource. This is used when otherwise resource
@@ -131,15 +163,13 @@ java.lang.String getRenamedServicesOrThrow(
    *
    * map<string, string> renamed_resources = 3;
    */
-  boolean containsRenamedResources(
-      java.lang.String key);
-  /**
-   * Use {@link #getRenamedResourcesMap()} instead.
-   */
+  boolean containsRenamedResources(java.lang.String key);
+  /** Use {@link #getRenamedResourcesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getRenamedResources();
+  java.util.Map getRenamedResources();
   /**
+   *
+   *
    * 
    * Map from full resource types to the effective short name
    * for the resource. This is used when otherwise resource
@@ -150,9 +180,10 @@ boolean containsRenamedResources(
    *
    * map<string, string> renamed_resources = 3;
    */
-  java.util.Map
-  getRenamedResourcesMap();
+  java.util.Map getRenamedResourcesMap();
   /**
+   *
+   *
    * 
    * Map from full resource types to the effective short name
    * for the resource. This is used when otherwise resource
@@ -164,11 +195,13 @@ boolean containsRenamedResources(
    * map<string, string> renamed_resources = 3;
    */
   /* nullable */
-java.lang.String getRenamedResourcesOrDefault(
+  java.lang.String getRenamedResourcesOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Map from full resource types to the effective short name
    * for the resource. This is used when otherwise resource
@@ -179,10 +212,11 @@ java.lang.String getRenamedResourcesOrDefault(
    *
    * map<string, string> renamed_resources = 3;
    */
-  java.lang.String getRenamedResourcesOrThrow(
-      java.lang.String key);
+  java.lang.String getRenamedResourcesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * List of full resource types to ignore during generation.
    * This is typically used for API-specific Location resources,
@@ -192,11 +226,13 @@ java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string ignored_resources = 4; + * * @return A list containing the ignoredResources. */ - java.util.List - getIgnoredResourcesList(); + java.util.List getIgnoredResourcesList(); /** + * + * *
    * List of full resource types to ignore during generation.
    * This is typically used for API-specific Location resources,
@@ -206,10 +242,13 @@ java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string ignored_resources = 4; + * * @return The count of ignoredResources. */ int getIgnoredResourcesCount(); /** + * + * *
    * List of full resource types to ignore during generation.
    * This is typically used for API-specific Location resources,
@@ -219,11 +258,14 @@ java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string ignored_resources = 4; + * * @param index The index of the element to return. * @return The ignoredResources at the given index. */ java.lang.String getIgnoredResources(int index); /** + * + * *
    * List of full resource types to ignore during generation.
    * This is typically used for API-specific Location resources,
@@ -233,58 +275,70 @@ java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string ignored_resources = 4; + * * @param index The index of the value to return. * @return The bytes of the ignoredResources at the given index. */ - com.google.protobuf.ByteString - getIgnoredResourcesBytes(int index); + com.google.protobuf.ByteString getIgnoredResourcesBytes(int index); /** + * + * *
    * Namespaces which must be aliased in snippets due to
    * a known (but non-generator-predictable) naming collision
    * 
* * repeated string forced_namespace_aliases = 5; + * * @return A list containing the forcedNamespaceAliases. */ - java.util.List - getForcedNamespaceAliasesList(); + java.util.List getForcedNamespaceAliasesList(); /** + * + * *
    * Namespaces which must be aliased in snippets due to
    * a known (but non-generator-predictable) naming collision
    * 
* * repeated string forced_namespace_aliases = 5; + * * @return The count of forcedNamespaceAliases. */ int getForcedNamespaceAliasesCount(); /** + * + * *
    * Namespaces which must be aliased in snippets due to
    * a known (but non-generator-predictable) naming collision
    * 
* * repeated string forced_namespace_aliases = 5; + * * @param index The index of the element to return. * @return The forcedNamespaceAliases at the given index. */ java.lang.String getForcedNamespaceAliases(int index); /** + * + * *
    * Namespaces which must be aliased in snippets due to
    * a known (but non-generator-predictable) naming collision
    * 
* * repeated string forced_namespace_aliases = 5; + * * @param index The index of the value to return. * @return The bytes of the forcedNamespaceAliases at the given index. */ - com.google.protobuf.ByteString - getForcedNamespaceAliasesBytes(int index); + com.google.protobuf.ByteString getForcedNamespaceAliasesBytes(int index); /** + * + * *
    * Method signatures (in the form "service.method(signature)")
    * which are provided separately, so shouldn't be generated.
@@ -292,11 +346,13 @@ java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string handwritten_signatures = 6; + * * @return A list containing the handwrittenSignatures. */ - java.util.List - getHandwrittenSignaturesList(); + java.util.List getHandwrittenSignaturesList(); /** + * + * *
    * Method signatures (in the form "service.method(signature)")
    * which are provided separately, so shouldn't be generated.
@@ -304,10 +360,13 @@ java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string handwritten_signatures = 6; + * * @return The count of handwrittenSignatures. */ int getHandwrittenSignaturesCount(); /** + * + * *
    * Method signatures (in the form "service.method(signature)")
    * which are provided separately, so shouldn't be generated.
@@ -315,11 +374,14 @@ java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string handwritten_signatures = 6; + * * @param index The index of the element to return. * @return The handwrittenSignatures at the given index. */ java.lang.String getHandwrittenSignatures(int index); /** + * + * *
    * Method signatures (in the form "service.method(signature)")
    * which are provided separately, so shouldn't be generated.
@@ -327,9 +389,9 @@ java.lang.String getRenamedResourcesOrThrow(
    * 
* * repeated string handwritten_signatures = 6; + * * @param index The index of the value to return. * @return The bytes of the handwrittenSignatures at the given index. */ - com.google.protobuf.ByteString - getHandwrittenSignaturesBytes(int index); + com.google.protobuf.ByteString getHandwrittenSignaturesBytes(int index); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java similarity index 74% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java index 2cb8189465..f68556c597 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * `Endpoint` describes a network address of a service that serves a set of
  * APIs. It is commonly known as a service endpoint. A service may expose
@@ -30,31 +47,29 @@
  *
  * Protobuf type {@code google.api.Endpoint}
  */
-public final class Endpoint extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Endpoint extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Endpoint)
     EndpointOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Endpoint.newBuilder() to construct.
   private Endpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Endpoint() {
     name_ = "";
-    aliases_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    aliases_ = com.google.protobuf.LazyStringArrayList.emptyList();
     target_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Endpoint();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.EndpointProto.internal_static_google_api_Endpoint_descriptor;
   }
 
@@ -67,14 +82,18 @@ protected java.lang.Object newInstance(
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The canonical name of this endpoint.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -83,29 +102,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
    * The canonical name of this endpoint.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -114,10 +133,13 @@ public java.lang.String getName() { } public static final int ALIASES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList aliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Unimplemented. Dot not use.
    *
@@ -129,15 +151,17 @@ public java.lang.String getName() {
    * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @return A list containing the aliases. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getAliasesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getAliasesList() { return aliases_; } /** + * + * *
    * Unimplemented. Dot not use.
    *
@@ -149,14 +173,17 @@ public java.lang.String getName() {
    * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @return The count of aliases. */ - @java.lang.Deprecated public int getAliasesCount() { + @java.lang.Deprecated + public int getAliasesCount() { return aliases_.size(); } /** + * + * *
    * Unimplemented. Dot not use.
    *
@@ -168,15 +195,18 @@ public java.lang.String getName() {
    * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param index The index of the element to return. * @return The aliases at the given index. */ - @java.lang.Deprecated public java.lang.String getAliases(int index) { + @java.lang.Deprecated + public java.lang.String getAliases(int index) { return aliases_.get(index); } /** + * + * *
    * Unimplemented. Dot not use.
    *
@@ -188,20 +218,23 @@ public java.lang.String getName() {
    * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param index The index of the value to return. * @return The bytes of the aliases at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getAliasesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getAliasesBytes(int index) { return aliases_.getByteString(index); } public static final int TARGET_FIELD_NUMBER = 101; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * The specification of an Internet routable address of API frontend that will
    * handle requests to this [API
@@ -211,6 +244,7 @@ public java.lang.String getName() {
    * 
* * string target = 101; + * * @return The target. */ @java.lang.Override @@ -219,14 +253,15 @@ public java.lang.String getTarget() { 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(); target_ = s; return s; } } /** + * + * *
    * The specification of an Internet routable address of API frontend that will
    * handle requests to this [API
@@ -236,16 +271,15 @@ public java.lang.String getTarget() {
    * 
* * string target = 101; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -256,6 +290,8 @@ public java.lang.String getTarget() { public static final int ALLOW_CORS_FIELD_NUMBER = 5; private boolean allowCors_ = false; /** + * + * *
    * Allowing
    * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
@@ -266,6 +302,7 @@ public java.lang.String getTarget() {
    * 
* * bool allow_cors = 5; + * * @return The allowCors. */ @java.lang.Override @@ -274,6 +311,7 @@ public boolean getAllowCors() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,8 +323,7 @@ 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -320,8 +357,7 @@ public int getSerializedSize() { size += 1 * getAliasesList().size(); } if (allowCors_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowCors_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowCors_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(101, target_); @@ -334,21 +370,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.Endpoint)) { return super.equals(obj); } com.google.api.Endpoint other = (com.google.api.Endpoint) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAliasesList() - .equals(other.getAliasesList())) return false; - if (!getTarget() - .equals(other.getTarget())) return false; - if (getAllowCors() - != other.getAllowCors()) return false; + if (!getName().equals(other.getName())) return false; + if (!getAliasesList().equals(other.getAliasesList())) return false; + if (!getTarget().equals(other.getTarget())) return false; + if (getAllowCors() != other.getAllowCors()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,106 +401,109 @@ public int hashCode() { hash = (37 * hash) + TARGET_FIELD_NUMBER; hash = (53 * hash) + getTarget().hashCode(); hash = (37 * hash) + ALLOW_CORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowCors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowCors()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.api.Endpoint parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Endpoint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Endpoint 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.Endpoint parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.Endpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Endpoint 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.Endpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Endpoint 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.Endpoint 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.Endpoint 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.Endpoint 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.Endpoint 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.Endpoint parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.Endpoint 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.Endpoint 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.Endpoint 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; } /** + * + * *
    * `Endpoint` describes a network address of a service that serves a set of
    * APIs. It is commonly known as a service endpoint. A service may expose
@@ -495,12 +530,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Endpoint}
    */
-  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.Endpoint)
       com.google.api.EndpointOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.EndpointProto.internal_static_google_api_Endpoint_descriptor;
     }
 
@@ -513,30 +547,25 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Endpoint.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
-      aliases_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      aliases_ = com.google.protobuf.LazyStringArrayList.emptyList();
       target_ = "";
       allowCors_ = false;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.EndpointProto.internal_static_google_api_Endpoint_descriptor;
     }
 
@@ -557,7 +586,9 @@ public com.google.api.Endpoint build() {
     @java.lang.Override
     public com.google.api.Endpoint buildPartial() {
       com.google.api.Endpoint result = new com.google.api.Endpoint(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -583,38 +614,39 @@ private void buildPartial0(com.google.api.Endpoint 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.Endpoint) {
-        return mergeFrom((com.google.api.Endpoint)other);
+        return mergeFrom((com.google.api.Endpoint) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -672,33 +704,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAliasesIsMutable();
-              aliases_.add(s);
-              break;
-            } // case 18
-            case 40: {
-              allowCors_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 40
-            case 810: {
-              target_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 810
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAliasesIsMutable();
+                aliases_.add(s);
+                break;
+              } // case 18
+            case 40:
+              {
+                allowCors_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 40
+            case 810:
+              {
+                target_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 810
+            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) {
@@ -708,22 +745,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The canonical name of this endpoint.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -732,20 +772,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The canonical name of this endpoint.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -753,28 +794,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The canonical name of this endpoint.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The canonical name of this endpoint.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -784,17 +832,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The canonical name of this endpoint.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -804,6 +856,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList aliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAliasesIsMutable() { if (!aliases_.isModifiable()) { aliases_ = new com.google.protobuf.LazyStringArrayList(aliases_); @@ -811,6 +864,8 @@ private void ensureAliasesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Unimplemented. Dot not use.
      *
@@ -822,16 +877,18 @@ private void ensureAliasesIsMutable() {
      * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @return A list containing the aliases. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getAliasesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getAliasesList() { aliases_.makeImmutable(); return aliases_; } /** + * + * *
      * Unimplemented. Dot not use.
      *
@@ -843,14 +900,17 @@ private void ensureAliasesIsMutable() {
      * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @return The count of aliases. */ - @java.lang.Deprecated public int getAliasesCount() { + @java.lang.Deprecated + public int getAliasesCount() { return aliases_.size(); } /** + * + * *
      * Unimplemented. Dot not use.
      *
@@ -862,15 +922,18 @@ private void ensureAliasesIsMutable() {
      * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param index The index of the element to return. * @return The aliases at the given index. */ - @java.lang.Deprecated public java.lang.String getAliases(int index) { + @java.lang.Deprecated + public java.lang.String getAliases(int index) { return aliases_.get(index); } /** + * + * *
      * Unimplemented. Dot not use.
      *
@@ -882,16 +945,18 @@ private void ensureAliasesIsMutable() {
      * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param index The index of the value to return. * @return The bytes of the aliases at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getAliasesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getAliasesBytes(int index) { return aliases_.getByteString(index); } /** + * + * *
      * Unimplemented. Dot not use.
      *
@@ -903,15 +968,17 @@ private void ensureAliasesIsMutable() {
      * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param index The index to set the value at. * @param value The aliases to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setAliases( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setAliases(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAliasesIsMutable(); aliases_.set(index, value); bitField0_ |= 0x00000002; @@ -919,6 +986,8 @@ private void ensureAliasesIsMutable() { return this; } /** + * + * *
      * Unimplemented. Dot not use.
      *
@@ -930,14 +999,16 @@ private void ensureAliasesIsMutable() {
      * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param value The aliases to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAliases( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addAliases(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAliasesIsMutable(); aliases_.add(value); bitField0_ |= 0x00000002; @@ -945,6 +1016,8 @@ private void ensureAliasesIsMutable() { return this; } /** + * + * *
      * Unimplemented. Dot not use.
      *
@@ -956,21 +1029,22 @@ private void ensureAliasesIsMutable() {
      * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param values The aliases to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllAliases( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllAliases(java.lang.Iterable values) { ensureAliasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aliases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aliases_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Unimplemented. Dot not use.
      *
@@ -982,18 +1056,21 @@ private void ensureAliasesIsMutable() {
      * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearAliases() { - aliases_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + @java.lang.Deprecated + public Builder clearAliases() { + aliases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Unimplemented. Dot not use.
      *
@@ -1005,14 +1082,16 @@ private void ensureAliasesIsMutable() {
      * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param value The bytes of the aliases to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAliasesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addAliasesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAliasesIsMutable(); aliases_.add(value); @@ -1023,6 +1102,8 @@ private void ensureAliasesIsMutable() { private java.lang.Object target_ = ""; /** + * + * *
      * The specification of an Internet routable address of API frontend that will
      * handle requests to this [API
@@ -1032,13 +1113,13 @@ private void ensureAliasesIsMutable() {
      * 
* * string target = 101; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; @@ -1047,6 +1128,8 @@ public java.lang.String getTarget() { } } /** + * + * *
      * The specification of an Internet routable address of API frontend that will
      * handle requests to this [API
@@ -1056,15 +1139,14 @@ public java.lang.String getTarget() {
      * 
* * string target = 101; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -1072,6 +1154,8 @@ public java.lang.String getTarget() { } } /** + * + * *
      * The specification of an Internet routable address of API frontend that will
      * handle requests to this [API
@@ -1081,18 +1165,22 @@ public java.lang.String getTarget() {
      * 
* * string target = 101; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The specification of an Internet routable address of API frontend that will
      * handle requests to this [API
@@ -1102,6 +1190,7 @@ public Builder setTarget(
      * 
* * string target = 101; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1111,6 +1200,8 @@ public Builder clearTarget() { return this; } /** + * + * *
      * The specification of an Internet routable address of API frontend that will
      * handle requests to this [API
@@ -1120,12 +1211,14 @@ public Builder clearTarget() {
      * 
* * string target = 101; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000004; @@ -1133,8 +1226,10 @@ public Builder setTargetBytes( return this; } - private boolean allowCors_ ; + private boolean allowCors_; /** + * + * *
      * Allowing
      * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
@@ -1145,6 +1240,7 @@ public Builder setTargetBytes(
      * 
* * bool allow_cors = 5; + * * @return The allowCors. */ @java.lang.Override @@ -1152,6 +1248,8 @@ public boolean getAllowCors() { return allowCors_; } /** + * + * *
      * Allowing
      * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
@@ -1162,6 +1260,7 @@ public boolean getAllowCors() {
      * 
* * bool allow_cors = 5; + * * @param value The allowCors to set. * @return This builder for chaining. */ @@ -1173,6 +1272,8 @@ public Builder setAllowCors(boolean value) { return this; } /** + * + * *
      * Allowing
      * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
@@ -1183,6 +1284,7 @@ public Builder setAllowCors(boolean value) {
      * 
* * bool allow_cors = 5; + * * @return This builder for chaining. */ public Builder clearAllowCors() { @@ -1191,9 +1293,9 @@ public Builder clearAllowCors() { 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); } @@ -1203,12 +1305,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Endpoint) } // @@protoc_insertion_point(class_scope:google.api.Endpoint) private static final com.google.api.Endpoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Endpoint(); } @@ -1217,27 +1319,27 @@ public static com.google.api.Endpoint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Endpoint 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 Endpoint 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; @@ -1252,6 +1354,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Endpoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java similarity index 71% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java index 05d55d08d7..0eb9aa6dc4 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java @@ -1,33 +1,56 @@ +/* + * 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 interface EndpointOrBuilder extends +public interface EndpointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Endpoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The canonical name of this endpoint.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The canonical name of this endpoint.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Unimplemented. Dot not use.
    *
@@ -39,13 +62,15 @@ public interface EndpointOrBuilder extends
    * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @return A list containing the aliases. */ - @java.lang.Deprecated java.util.List - getAliasesList(); + @java.lang.Deprecated + java.util.List getAliasesList(); /** + * + * *
    * Unimplemented. Dot not use.
    *
@@ -57,12 +82,15 @@ public interface EndpointOrBuilder extends
    * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @return The count of aliases. */ - @java.lang.Deprecated int getAliasesCount(); + @java.lang.Deprecated + int getAliasesCount(); /** + * + * *
    * Unimplemented. Dot not use.
    *
@@ -74,13 +102,16 @@ public interface EndpointOrBuilder extends
    * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param index The index of the element to return. * @return The aliases at the given index. */ - @java.lang.Deprecated java.lang.String getAliases(int index); + @java.lang.Deprecated + java.lang.String getAliases(int index); /** + * + * *
    * Unimplemented. Dot not use.
    *
@@ -92,15 +123,17 @@ public interface EndpointOrBuilder extends
    * 
* * repeated string aliases = 2 [deprecated = true]; - * @deprecated google.api.Endpoint.aliases is deprecated. - * See google/api/endpoint.proto;l=56 + * + * @deprecated google.api.Endpoint.aliases is deprecated. See google/api/endpoint.proto;l=56 * @param index The index of the value to return. * @return The bytes of the aliases at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getAliasesBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getAliasesBytes(int index); /** + * + * *
    * The specification of an Internet routable address of API frontend that will
    * handle requests to this [API
@@ -110,10 +143,13 @@ public interface EndpointOrBuilder extends
    * 
* * string target = 101; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * The specification of an Internet routable address of API frontend that will
    * handle requests to this [API
@@ -123,12 +159,14 @@ public interface EndpointOrBuilder extends
    * 
* * string target = 101; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Allowing
    * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
@@ -139,6 +177,7 @@ public interface EndpointOrBuilder extends
    * 
* * bool allow_cors = 5; + * * @return The allowCors. */ boolean getAllowCors(); 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 new file mode 100644 index 0000000000..196f1b64f6 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java @@ -0,0 +1,64 @@ +/* + * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java similarity index 93% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java index 29f50202ca..a848229cfb 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Defines the supported values for `google.rpc.ErrorInfo.reason` for the
  * `googleapis.com` error domain. This error domain is reserved for [Service
@@ -19,9 +36,10 @@
  *
  * Protobuf enum {@code google.api.ErrorReason}
  */
-public enum ErrorReason
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Do not use this default value.
    * 
@@ -30,6 +48,8 @@ public enum ErrorReason */ ERROR_REASON_UNSPECIFIED(0), /** + * + * *
    * The request is calling a disabled service for a consumer.
    *
@@ -52,6 +72,8 @@ public enum ErrorReason
    */
   SERVICE_DISABLED(1),
   /**
+   *
+   *
    * 
    * The request whose associated billing account is disabled.
    *
@@ -74,6 +96,8 @@ public enum ErrorReason
    */
   BILLING_DISABLED(2),
   /**
+   *
+   *
    * 
    * The request is denied because the provided [API
    * key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It
@@ -94,6 +118,8 @@ public enum ErrorReason
    */
   API_KEY_INVALID(3),
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key API
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions).
@@ -115,6 +141,8 @@ public enum ErrorReason
    */
   API_KEY_SERVICE_BLOCKED(4),
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key HTTP
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions).
@@ -136,6 +164,8 @@ public enum ErrorReason
    */
   API_KEY_HTTP_REFERRER_BLOCKED(7),
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key IP address
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
@@ -157,6 +187,8 @@ public enum ErrorReason
    */
   API_KEY_IP_ADDRESS_BLOCKED(8),
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key Android application
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
@@ -178,6 +210,8 @@ public enum ErrorReason
    */
   API_KEY_ANDROID_APP_BLOCKED(9),
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key iOS application
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
@@ -199,6 +233,8 @@ public enum ErrorReason
    */
   API_KEY_IOS_APP_BLOCKED(13),
   /**
+   *
+   *
    * 
    * The request is denied because there is not enough rate quota for the
    * consumer.
@@ -239,6 +275,8 @@ public enum ErrorReason
    */
   RATE_LIMIT_EXCEEDED(5),
   /**
+   *
+   *
    * 
    * The request is denied because there is not enough resource quota for the
    * consumer.
@@ -278,6 +316,8 @@ public enum ErrorReason
    */
   RESOURCE_QUOTA_EXCEEDED(6),
   /**
+   *
+   *
    * 
    * The request whose associated billing account address is in a tax restricted
    * location, violates the local tax restrictions when creating resources in
@@ -304,6 +344,8 @@ public enum ErrorReason
    */
   LOCATION_TAX_POLICY_VIOLATED(10),
   /**
+   *
+   *
    * 
    * The request is denied because the caller does not have required permission
    * on the user project "projects/123" or the user project is invalid. For more
@@ -326,6 +368,8 @@ public enum ErrorReason
    */
   USER_PROJECT_DENIED(11),
   /**
+   *
+   *
    * 
    * The request is denied because the consumer "projects/123" is suspended due
    * to Terms of Service(Tos) violations. Check [Project suspension
@@ -348,6 +392,8 @@ public enum ErrorReason
    */
   CONSUMER_SUSPENDED(12),
   /**
+   *
+   *
    * 
    * The request is denied because the associated consumer is invalid. It may be
    * in a bad format, cannot be found, or have been deleted.
@@ -368,6 +414,8 @@ public enum ErrorReason
    */
   CONSUMER_INVALID(14),
   /**
+   *
+   *
    * 
    * The request is denied because it violates [VPC Service
    * Controls](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -394,6 +442,8 @@ public enum ErrorReason
    */
   SECURITY_POLICY_VIOLATED(15),
   /**
+   *
+   *
    * 
    * The request is denied because the provided access token has expired.
    *
@@ -413,6 +463,8 @@ public enum ErrorReason
    */
   ACCESS_TOKEN_EXPIRED(16),
   /**
+   *
+   *
    * 
    * The request is denied because the provided access token doesn't have at
    * least one of the acceptable scopes required for the API. Please check
@@ -437,6 +489,8 @@ public enum ErrorReason
    */
   ACCESS_TOKEN_SCOPE_INSUFFICIENT(17),
   /**
+   *
+   *
    * 
    * The request is denied because the account associated with the provided
    * access token is in an invalid state, such as disabled or deleted.
@@ -464,6 +518,8 @@ public enum ErrorReason
    */
   ACCOUNT_STATE_INVALID(18),
   /**
+   *
+   *
    * 
    * The request is denied because the type of the provided access token is not
    * supported by the API being called.
@@ -484,6 +540,8 @@ public enum ErrorReason
    */
   ACCESS_TOKEN_TYPE_UNSUPPORTED(19),
   /**
+   *
+   *
    * 
    * The request is denied because the request doesn't have any authentication
    * credentials. For more information regarding the supported authentication
@@ -506,6 +564,8 @@ public enum ErrorReason
    */
   CREDENTIALS_MISSING(20),
   /**
+   *
+   *
    * 
    * The request is denied because the provided project owning the resource
    * which acts as the [API
@@ -530,6 +590,8 @@ public enum ErrorReason
    */
   RESOURCE_PROJECT_INVALID(21),
   /**
+   *
+   *
    * 
    * The request is denied because the provided session cookie is missing,
    * invalid or failed to decode.
@@ -551,6 +613,8 @@ public enum ErrorReason
    */
   SESSION_COOKIE_INVALID(23),
   /**
+   *
+   *
    * 
    * The request is denied because the user is from a Google Workspace customer
    * that blocks their users from accessing a particular service.
@@ -573,6 +637,8 @@ public enum ErrorReason
    */
   USER_BLOCKED_BY_ADMIN(24),
   /**
+   *
+   *
    * 
    * The request is denied because the resource service usage is restricted
    * by administrators according to the organization policy constraint.
@@ -595,6 +661,8 @@ public enum ErrorReason
    */
   RESOURCE_USAGE_RESTRICTION_VIOLATED(25),
   /**
+   *
+   *
    * 
    * Unimplemented. Do not use.
    *
@@ -618,6 +686,8 @@ public enum ErrorReason
    */
   SYSTEM_PARAMETER_UNSUPPORTED(26),
   /**
+   *
+   *
    * 
    * The request is denied because it violates Org Restriction: the requested
    * resource does not belong to allowed organizations specified in
@@ -640,6 +710,8 @@ public enum ErrorReason
    */
   ORG_RESTRICTION_VIOLATION(27),
   /**
+   *
+   *
    * 
    * The request is denied because "X-Goog-Allowed-Resources" header is in a bad
    * format.
@@ -662,6 +734,8 @@ public enum ErrorReason
    */
   ORG_RESTRICTION_HEADER_INVALID(28),
   /**
+   *
+   *
    * 
    * Unimplemented. Do not use.
    *
@@ -686,6 +760,8 @@ public enum ErrorReason
    */
   SERVICE_NOT_VISIBLE(29),
   /**
+   *
+   *
    * 
    * The request is related to a project for which GCP access is suspended.
    *
@@ -710,6 +786,8 @@ public enum ErrorReason
   ;
 
   /**
+   *
+   *
    * 
    * Do not use this default value.
    * 
@@ -718,6 +796,8 @@ public enum ErrorReason */ public static final int ERROR_REASON_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The request is calling a disabled service for a consumer.
    *
@@ -740,6 +820,8 @@ public enum ErrorReason
    */
   public static final int SERVICE_DISABLED_VALUE = 1;
   /**
+   *
+   *
    * 
    * The request whose associated billing account is disabled.
    *
@@ -762,6 +844,8 @@ public enum ErrorReason
    */
   public static final int BILLING_DISABLED_VALUE = 2;
   /**
+   *
+   *
    * 
    * The request is denied because the provided [API
    * key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It
@@ -782,6 +866,8 @@ public enum ErrorReason
    */
   public static final int API_KEY_INVALID_VALUE = 3;
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key API
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions).
@@ -803,6 +889,8 @@ public enum ErrorReason
    */
   public static final int API_KEY_SERVICE_BLOCKED_VALUE = 4;
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key HTTP
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions).
@@ -824,6 +912,8 @@ public enum ErrorReason
    */
   public static final int API_KEY_HTTP_REFERRER_BLOCKED_VALUE = 7;
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key IP address
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
@@ -845,6 +935,8 @@ public enum ErrorReason
    */
   public static final int API_KEY_IP_ADDRESS_BLOCKED_VALUE = 8;
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key Android application
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
@@ -866,6 +958,8 @@ public enum ErrorReason
    */
   public static final int API_KEY_ANDROID_APP_BLOCKED_VALUE = 9;
   /**
+   *
+   *
    * 
    * The request is denied because it violates [API key iOS application
    * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
@@ -887,6 +981,8 @@ public enum ErrorReason
    */
   public static final int API_KEY_IOS_APP_BLOCKED_VALUE = 13;
   /**
+   *
+   *
    * 
    * The request is denied because there is not enough rate quota for the
    * consumer.
@@ -927,6 +1023,8 @@ public enum ErrorReason
    */
   public static final int RATE_LIMIT_EXCEEDED_VALUE = 5;
   /**
+   *
+   *
    * 
    * The request is denied because there is not enough resource quota for the
    * consumer.
@@ -966,6 +1064,8 @@ public enum ErrorReason
    */
   public static final int RESOURCE_QUOTA_EXCEEDED_VALUE = 6;
   /**
+   *
+   *
    * 
    * The request whose associated billing account address is in a tax restricted
    * location, violates the local tax restrictions when creating resources in
@@ -992,6 +1092,8 @@ public enum ErrorReason
    */
   public static final int LOCATION_TAX_POLICY_VIOLATED_VALUE = 10;
   /**
+   *
+   *
    * 
    * The request is denied because the caller does not have required permission
    * on the user project "projects/123" or the user project is invalid. For more
@@ -1014,6 +1116,8 @@ public enum ErrorReason
    */
   public static final int USER_PROJECT_DENIED_VALUE = 11;
   /**
+   *
+   *
    * 
    * The request is denied because the consumer "projects/123" is suspended due
    * to Terms of Service(Tos) violations. Check [Project suspension
@@ -1036,6 +1140,8 @@ public enum ErrorReason
    */
   public static final int CONSUMER_SUSPENDED_VALUE = 12;
   /**
+   *
+   *
    * 
    * The request is denied because the associated consumer is invalid. It may be
    * in a bad format, cannot be found, or have been deleted.
@@ -1056,6 +1162,8 @@ public enum ErrorReason
    */
   public static final int CONSUMER_INVALID_VALUE = 14;
   /**
+   *
+   *
    * 
    * The request is denied because it violates [VPC Service
    * Controls](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -1082,6 +1190,8 @@ public enum ErrorReason
    */
   public static final int SECURITY_POLICY_VIOLATED_VALUE = 15;
   /**
+   *
+   *
    * 
    * The request is denied because the provided access token has expired.
    *
@@ -1101,6 +1211,8 @@ public enum ErrorReason
    */
   public static final int ACCESS_TOKEN_EXPIRED_VALUE = 16;
   /**
+   *
+   *
    * 
    * The request is denied because the provided access token doesn't have at
    * least one of the acceptable scopes required for the API. Please check
@@ -1125,6 +1237,8 @@ public enum ErrorReason
    */
   public static final int ACCESS_TOKEN_SCOPE_INSUFFICIENT_VALUE = 17;
   /**
+   *
+   *
    * 
    * The request is denied because the account associated with the provided
    * access token is in an invalid state, such as disabled or deleted.
@@ -1152,6 +1266,8 @@ public enum ErrorReason
    */
   public static final int ACCOUNT_STATE_INVALID_VALUE = 18;
   /**
+   *
+   *
    * 
    * The request is denied because the type of the provided access token is not
    * supported by the API being called.
@@ -1172,6 +1288,8 @@ public enum ErrorReason
    */
   public static final int ACCESS_TOKEN_TYPE_UNSUPPORTED_VALUE = 19;
   /**
+   *
+   *
    * 
    * The request is denied because the request doesn't have any authentication
    * credentials. For more information regarding the supported authentication
@@ -1194,6 +1312,8 @@ public enum ErrorReason
    */
   public static final int CREDENTIALS_MISSING_VALUE = 20;
   /**
+   *
+   *
    * 
    * The request is denied because the provided project owning the resource
    * which acts as the [API
@@ -1218,6 +1338,8 @@ public enum ErrorReason
    */
   public static final int RESOURCE_PROJECT_INVALID_VALUE = 21;
   /**
+   *
+   *
    * 
    * The request is denied because the provided session cookie is missing,
    * invalid or failed to decode.
@@ -1239,6 +1361,8 @@ public enum ErrorReason
    */
   public static final int SESSION_COOKIE_INVALID_VALUE = 23;
   /**
+   *
+   *
    * 
    * The request is denied because the user is from a Google Workspace customer
    * that blocks their users from accessing a particular service.
@@ -1261,6 +1385,8 @@ public enum ErrorReason
    */
   public static final int USER_BLOCKED_BY_ADMIN_VALUE = 24;
   /**
+   *
+   *
    * 
    * The request is denied because the resource service usage is restricted
    * by administrators according to the organization policy constraint.
@@ -1283,6 +1409,8 @@ public enum ErrorReason
    */
   public static final int RESOURCE_USAGE_RESTRICTION_VIOLATED_VALUE = 25;
   /**
+   *
+   *
    * 
    * Unimplemented. Do not use.
    *
@@ -1306,6 +1434,8 @@ public enum ErrorReason
    */
   public static final int SYSTEM_PARAMETER_UNSUPPORTED_VALUE = 26;
   /**
+   *
+   *
    * 
    * The request is denied because it violates Org Restriction: the requested
    * resource does not belong to allowed organizations specified in
@@ -1328,6 +1458,8 @@ public enum ErrorReason
    */
   public static final int ORG_RESTRICTION_VIOLATION_VALUE = 27;
   /**
+   *
+   *
    * 
    * The request is denied because "X-Goog-Allowed-Resources" header is in a bad
    * format.
@@ -1350,6 +1482,8 @@ public enum ErrorReason
    */
   public static final int ORG_RESTRICTION_HEADER_INVALID_VALUE = 28;
   /**
+   *
+   *
    * 
    * Unimplemented. Do not use.
    *
@@ -1374,6 +1508,8 @@ public enum ErrorReason
    */
   public static final int SERVICE_NOT_VISIBLE_VALUE = 29;
   /**
+   *
+   *
    * 
    * The request is related to a project for which GCP access is suspended.
    *
@@ -1395,7 +1531,6 @@ public enum ErrorReason
    */
   public static final int GCP_SUSPENDED_VALUE = 30;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -1420,76 +1555,103 @@ public static ErrorReason valueOf(int value) {
    */
   public static ErrorReason forNumber(int value) {
     switch (value) {
-      case 0: return ERROR_REASON_UNSPECIFIED;
-      case 1: return SERVICE_DISABLED;
-      case 2: return BILLING_DISABLED;
-      case 3: return API_KEY_INVALID;
-      case 4: return API_KEY_SERVICE_BLOCKED;
-      case 7: return API_KEY_HTTP_REFERRER_BLOCKED;
-      case 8: return API_KEY_IP_ADDRESS_BLOCKED;
-      case 9: return API_KEY_ANDROID_APP_BLOCKED;
-      case 13: return API_KEY_IOS_APP_BLOCKED;
-      case 5: return RATE_LIMIT_EXCEEDED;
-      case 6: return RESOURCE_QUOTA_EXCEEDED;
-      case 10: return LOCATION_TAX_POLICY_VIOLATED;
-      case 11: return USER_PROJECT_DENIED;
-      case 12: return CONSUMER_SUSPENDED;
-      case 14: return CONSUMER_INVALID;
-      case 15: return SECURITY_POLICY_VIOLATED;
-      case 16: return ACCESS_TOKEN_EXPIRED;
-      case 17: return ACCESS_TOKEN_SCOPE_INSUFFICIENT;
-      case 18: return ACCOUNT_STATE_INVALID;
-      case 19: return ACCESS_TOKEN_TYPE_UNSUPPORTED;
-      case 20: return CREDENTIALS_MISSING;
-      case 21: return RESOURCE_PROJECT_INVALID;
-      case 23: return SESSION_COOKIE_INVALID;
-      case 24: return USER_BLOCKED_BY_ADMIN;
-      case 25: return RESOURCE_USAGE_RESTRICTION_VIOLATED;
-      case 26: return SYSTEM_PARAMETER_UNSUPPORTED;
-      case 27: return ORG_RESTRICTION_VIOLATION;
-      case 28: return ORG_RESTRICTION_HEADER_INVALID;
-      case 29: return SERVICE_NOT_VISIBLE;
-      case 30: return GCP_SUSPENDED;
-      default: return null;
+      case 0:
+        return ERROR_REASON_UNSPECIFIED;
+      case 1:
+        return SERVICE_DISABLED;
+      case 2:
+        return BILLING_DISABLED;
+      case 3:
+        return API_KEY_INVALID;
+      case 4:
+        return API_KEY_SERVICE_BLOCKED;
+      case 7:
+        return API_KEY_HTTP_REFERRER_BLOCKED;
+      case 8:
+        return API_KEY_IP_ADDRESS_BLOCKED;
+      case 9:
+        return API_KEY_ANDROID_APP_BLOCKED;
+      case 13:
+        return API_KEY_IOS_APP_BLOCKED;
+      case 5:
+        return RATE_LIMIT_EXCEEDED;
+      case 6:
+        return RESOURCE_QUOTA_EXCEEDED;
+      case 10:
+        return LOCATION_TAX_POLICY_VIOLATED;
+      case 11:
+        return USER_PROJECT_DENIED;
+      case 12:
+        return CONSUMER_SUSPENDED;
+      case 14:
+        return CONSUMER_INVALID;
+      case 15:
+        return SECURITY_POLICY_VIOLATED;
+      case 16:
+        return ACCESS_TOKEN_EXPIRED;
+      case 17:
+        return ACCESS_TOKEN_SCOPE_INSUFFICIENT;
+      case 18:
+        return ACCOUNT_STATE_INVALID;
+      case 19:
+        return ACCESS_TOKEN_TYPE_UNSUPPORTED;
+      case 20:
+        return CREDENTIALS_MISSING;
+      case 21:
+        return RESOURCE_PROJECT_INVALID;
+      case 23:
+        return SESSION_COOKIE_INVALID;
+      case 24:
+        return USER_BLOCKED_BY_ADMIN;
+      case 25:
+        return RESOURCE_USAGE_RESTRICTION_VIOLATED;
+      case 26:
+        return SYSTEM_PARAMETER_UNSUPPORTED;
+      case 27:
+        return ORG_RESTRICTION_VIOLATION;
+      case 28:
+        return ORG_RESTRICTION_HEADER_INVALID;
+      case 29:
+        return SERVICE_NOT_VISIBLE;
+      case 30:
+        return GCP_SUSPENDED;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      ErrorReason> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ErrorReason findValueByNumber(int number) {
-            return ErrorReason.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public ErrorReason findValueByNumber(int number) {
+          return ErrorReason.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.api.ErrorReasonProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final ErrorReason[] VALUES = values();
 
-  public static ErrorReason valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ErrorReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -1505,4 +1667,3 @@ private ErrorReason(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.api.ErrorReason)
 }
-
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
new file mode 100644
index 0000000000..6642221913
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java
@@ -0,0 +1,72 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java
similarity index 82%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java
index f63ea704ce..239d98d180 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * An indicator of the behavior of a given field (for example, that a field
  * is required in requests, or given as output but ignored as input).
@@ -15,9 +32,10 @@
  *
  * Protobuf enum {@code google.api.FieldBehavior}
  */
-public enum FieldBehavior
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum FieldBehavior implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Conventional default for enums. Do not use this.
    * 
@@ -26,6 +44,8 @@ public enum FieldBehavior */ FIELD_BEHAVIOR_UNSPECIFIED(0), /** + * + * *
    * Specifically denotes a field as optional.
    * While all fields in protocol buffers are optional, this may be specified
@@ -36,6 +56,8 @@ public enum FieldBehavior
    */
   OPTIONAL(1),
   /**
+   *
+   *
    * 
    * Denotes a field as required.
    * This indicates that the field **must** be provided as part of the request,
@@ -46,6 +68,8 @@ public enum FieldBehavior
    */
   REQUIRED(2),
   /**
+   *
+   *
    * 
    * Denotes a field as output only.
    * This indicates that the field is provided in responses, but including the
@@ -57,6 +81,8 @@ public enum FieldBehavior
    */
   OUTPUT_ONLY(3),
   /**
+   *
+   *
    * 
    * Denotes a field as input only.
    * This indicates that the field is provided in requests, and the
@@ -67,6 +93,8 @@ public enum FieldBehavior
    */
   INPUT_ONLY(4),
   /**
+   *
+   *
    * 
    * Denotes a field as immutable.
    * This indicates that the field may be set once in a request to create a
@@ -77,6 +105,8 @@ public enum FieldBehavior
    */
   IMMUTABLE(5),
   /**
+   *
+   *
    * 
    * Denotes that a (repeated) field is an unordered list.
    * This indicates that the service may provide the elements of the list
@@ -88,6 +118,8 @@ public enum FieldBehavior
    */
   UNORDERED_LIST(6),
   /**
+   *
+   *
    * 
    * Denotes that this field returns a non-empty default value if not set.
    * This indicates that if the user provides the empty value in a request,
@@ -99,6 +131,8 @@ public enum FieldBehavior
    */
   NON_EMPTY_DEFAULT(7),
   /**
+   *
+   *
    * 
    * Denotes that the field in a resource (a message annotated with
    * google.api.resource) is used in the resource name to uniquely identify the
@@ -121,6 +155,8 @@ public enum FieldBehavior
   ;
 
   /**
+   *
+   *
    * 
    * Conventional default for enums. Do not use this.
    * 
@@ -129,6 +165,8 @@ public enum FieldBehavior */ public static final int FIELD_BEHAVIOR_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Specifically denotes a field as optional.
    * While all fields in protocol buffers are optional, this may be specified
@@ -139,6 +177,8 @@ public enum FieldBehavior
    */
   public static final int OPTIONAL_VALUE = 1;
   /**
+   *
+   *
    * 
    * Denotes a field as required.
    * This indicates that the field **must** be provided as part of the request,
@@ -149,6 +189,8 @@ public enum FieldBehavior
    */
   public static final int REQUIRED_VALUE = 2;
   /**
+   *
+   *
    * 
    * Denotes a field as output only.
    * This indicates that the field is provided in responses, but including the
@@ -160,6 +202,8 @@ public enum FieldBehavior
    */
   public static final int OUTPUT_ONLY_VALUE = 3;
   /**
+   *
+   *
    * 
    * Denotes a field as input only.
    * This indicates that the field is provided in requests, and the
@@ -170,6 +214,8 @@ public enum FieldBehavior
    */
   public static final int INPUT_ONLY_VALUE = 4;
   /**
+   *
+   *
    * 
    * Denotes a field as immutable.
    * This indicates that the field may be set once in a request to create a
@@ -180,6 +226,8 @@ public enum FieldBehavior
    */
   public static final int IMMUTABLE_VALUE = 5;
   /**
+   *
+   *
    * 
    * Denotes that a (repeated) field is an unordered list.
    * This indicates that the service may provide the elements of the list
@@ -191,6 +239,8 @@ public enum FieldBehavior
    */
   public static final int UNORDERED_LIST_VALUE = 6;
   /**
+   *
+   *
    * 
    * Denotes that this field returns a non-empty default value if not set.
    * This indicates that if the user provides the empty value in a request,
@@ -202,6 +252,8 @@ public enum FieldBehavior
    */
   public static final int NON_EMPTY_DEFAULT_VALUE = 7;
   /**
+   *
+   *
    * 
    * Denotes that the field in a resource (a message annotated with
    * google.api.resource) is used in the resource name to uniquely identify the
@@ -221,7 +273,6 @@ public enum FieldBehavior
    */
   public static final int IDENTIFIER_VALUE = 8;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -246,55 +297,61 @@ public static FieldBehavior valueOf(int value) {
    */
   public static FieldBehavior forNumber(int value) {
     switch (value) {
-      case 0: return FIELD_BEHAVIOR_UNSPECIFIED;
-      case 1: return OPTIONAL;
-      case 2: return REQUIRED;
-      case 3: return OUTPUT_ONLY;
-      case 4: return INPUT_ONLY;
-      case 5: return IMMUTABLE;
-      case 6: return UNORDERED_LIST;
-      case 7: return NON_EMPTY_DEFAULT;
-      case 8: return IDENTIFIER;
-      default: return null;
+      case 0:
+        return FIELD_BEHAVIOR_UNSPECIFIED;
+      case 1:
+        return OPTIONAL;
+      case 2:
+        return REQUIRED;
+      case 3:
+        return OUTPUT_ONLY;
+      case 4:
+        return INPUT_ONLY;
+      case 5:
+        return IMMUTABLE;
+      case 6:
+        return UNORDERED_LIST;
+      case 7:
+        return NON_EMPTY_DEFAULT;
+      case 8:
+        return IDENTIFIER;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      FieldBehavior> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FieldBehavior findValueByNumber(int number) {
-            return FieldBehavior.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public FieldBehavior findValueByNumber(int number) {
+          return FieldBehavior.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.api.FieldBehaviorProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final FieldBehavior[] VALUES = values();
 
-  public static FieldBehavior valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static FieldBehavior valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -310,4 +367,3 @@ private FieldBehavior(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.api.FieldBehavior)
 }
-
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
new file mode 100644
index 0000000000..5305eb275b
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java
@@ -0,0 +1,92 @@
+/*
+ * 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> + fieldBehavior = + com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension( + com.google.api.FieldBehavior.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\037google/api/field_behavior.proto\022\ngoogl" + + "e.api\032 google/protobuf/descriptor.proto*" + + "\266\001\n\rFieldBehavior\022\036\n\032FIELD_BEHAVIOR_UNSP" + + "ECIFIED\020\000\022\014\n\010OPTIONAL\020\001\022\014\n\010REQUIRED\020\002\022\017\n" + + "\013OUTPUT_ONLY\020\003\022\016\n\nINPUT_ONLY\020\004\022\r\n\tIMMUTA" + + "BLE\020\005\022\022\n\016UNORDERED_LIST\020\006\022\025\n\021NON_EMPTY_D" + + "EFAULT\020\007\022\016\n\nIDENTIFIER\020\010:Q\n\016field_behavi" + + "or\022\035.google.protobuf.FieldOptions\030\234\010 \003(\016" + + "2\031.google.api.FieldBehaviorBp\n\016com.googl" + + "e.apiB\022FieldBehaviorProtoP\001ZAgoogle.gola" + + "ng.org/genproto/googleapis/api/annotatio" + + "ns;annotations\242\002\004GAPIb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DescriptorProtos.getDescriptor(), + }); + fieldBehavior.internalInit(descriptor.getExtensions().get(0)); + 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/FieldInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java similarity index 74% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java index a488edbb16..e2ccfd2008 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java @@ -1,37 +1,53 @@ +/* + * 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_info.proto package com.google.api; /** + * + * *
  * Rich semantic information of an API field beyond basic typing.
  * 
* * Protobuf type {@code google.api.FieldInfo} */ -public final class FieldInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FieldInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.FieldInfo) FieldInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldInfo.newBuilder() to construct. private FieldInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FieldInfo() { format_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.FieldInfoProto.internal_static_google_api_FieldInfo_descriptor; } @@ -44,6 +60,8 @@ protected java.lang.Object newInstance( } /** + * + * *
    * The standard format of a field value. The supported formats are all backed
    * by either an RFC defined by the IETF or a Google-defined AIP.
@@ -51,9 +69,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.api.FieldInfo.Format}
    */
-  public enum Format
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Format implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default, unspecified value.
      * 
@@ -62,6 +81,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Universally Unique Identifier, version 4, value as defined by
      * https://datatracker.ietf.org/doc/html/rfc4122. The value may be
@@ -74,6 +95,8 @@ public enum Format
      */
     UUID4(1),
     /**
+     *
+     *
      * 
      * Internet Protocol v4 value as defined by [RFC
      * 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
@@ -85,6 +108,8 @@ public enum Format
      */
     IPV4(2),
     /**
+     *
+     *
      * 
      * Internet Protocol v6 value as defined by [RFC
      * 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
@@ -97,6 +122,8 @@ public enum Format
      */
     IPV6(3),
     /**
+     *
+     *
      * 
      * An IP address in either v4 or v6 format as described by the individual
      * values defined herein. See the comments on the IPV4 and IPV6 types for
@@ -110,6 +137,8 @@ public enum Format
     ;
 
     /**
+     *
+     *
      * 
      * Default, unspecified value.
      * 
@@ -118,6 +147,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Universally Unique Identifier, version 4, value as defined by
      * https://datatracker.ietf.org/doc/html/rfc4122. The value may be
@@ -130,6 +161,8 @@ public enum Format
      */
     public static final int UUID4_VALUE = 1;
     /**
+     *
+     *
      * 
      * Internet Protocol v4 value as defined by [RFC
      * 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
@@ -141,6 +174,8 @@ public enum Format
      */
     public static final int IPV4_VALUE = 2;
     /**
+     *
+     *
      * 
      * Internet Protocol v6 value as defined by [RFC
      * 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
@@ -153,6 +188,8 @@ public enum Format
      */
     public static final int IPV6_VALUE = 3;
     /**
+     *
+     *
      * 
      * An IP address in either v4 or v6 format as described by the individual
      * values defined herein. See the comments on the IPV4 and IPV6 types for
@@ -163,7 +200,6 @@ public enum Format
      */
     public static final int IPV4_OR_IPV6_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -188,51 +224,53 @@ public static Format valueOf(int value) {
      */
     public static Format forNumber(int value) {
       switch (value) {
-        case 0: return FORMAT_UNSPECIFIED;
-        case 1: return UUID4;
-        case 2: return IPV4;
-        case 3: return IPV6;
-        case 4: return IPV4_OR_IPV6;
-        default: return null;
+        case 0:
+          return FORMAT_UNSPECIFIED;
+        case 1:
+          return UUID4;
+        case 2:
+          return IPV4;
+        case 3:
+          return IPV6;
+        case 4:
+          return IPV4_OR_IPV6;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Format> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Format findValueByNumber(int number) {
-              return Format.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Format findValueByNumber(int number) {
+            return Format.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.api.FieldInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Format[] VALUES = values();
 
-    public static Format valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -252,6 +290,8 @@ private Format(int value) {
   public static final int FORMAT_FIELD_NUMBER = 1;
   private int format_ = 0;
   /**
+   *
+   *
    * 
    * The standard format of a field value. This does not explicitly configure
    * any API consumer, just documents the API's format for the field it is
@@ -259,12 +299,16 @@ private Format(int value) {
    * 
* * .google.api.FieldInfo.Format format = 1; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The standard format of a field value. This does not explicitly configure
    * any API consumer, just documents the API's format for the field it is
@@ -272,14 +316,17 @@ private Format(int value) {
    * 
* * .google.api.FieldInfo.Format format = 1; + * * @return The format. */ - @java.lang.Override public com.google.api.FieldInfo.Format getFormat() { + @java.lang.Override + public com.google.api.FieldInfo.Format getFormat() { com.google.api.FieldInfo.Format result = com.google.api.FieldInfo.Format.forNumber(format_); return result == null ? com.google.api.FieldInfo.Format.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +338,7 @@ 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 (format_ != com.google.api.FieldInfo.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(1, format_); } @@ -306,8 +352,7 @@ public int getSerializedSize() { size = 0; if (format_ != com.google.api.FieldInfo.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, format_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, format_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -317,7 +362,7 @@ 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.FieldInfo)) { return super.equals(obj); @@ -343,111 +388,114 @@ public int hashCode() { return hash; } - public static com.google.api.FieldInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.FieldInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.FieldInfo 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.FieldInfo parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.FieldInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.FieldInfo 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.FieldInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.FieldInfo 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.FieldInfo 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.FieldInfo 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.FieldInfo 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.FieldInfo 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.FieldInfo parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.FieldInfo 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.FieldInfo 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.FieldInfo 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; } /** + * + * *
    * Rich semantic information of an API field beyond basic typing.
    * 
* * Protobuf type {@code google.api.FieldInfo} */ - 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.FieldInfo) com.google.api.FieldInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.FieldInfoProto.internal_static_google_api_FieldInfo_descriptor; } @@ -460,15 +508,12 @@ public static final class Builder extends } // Construct using com.google.api.FieldInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,8 +523,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.FieldInfoProto.internal_static_google_api_FieldInfo_descriptor; } @@ -500,7 +544,9 @@ public com.google.api.FieldInfo build() { @java.lang.Override public com.google.api.FieldInfo buildPartial() { com.google.api.FieldInfo result = new com.google.api.FieldInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -516,38 +562,39 @@ private void buildPartial0(com.google.api.FieldInfo 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.FieldInfo) { - return mergeFrom((com.google.api.FieldInfo)other); + return mergeFrom((com.google.api.FieldInfo) other); } else { super.mergeFrom(other); return this; @@ -585,17 +632,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - format_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + format_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + 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) { @@ -605,10 +654,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int format_ = 0; /** + * + * *
      * The standard format of a field value. This does not explicitly configure
      * any API consumer, just documents the API's format for the field it is
@@ -616,12 +668,16 @@ public Builder mergeFrom(
      * 
* * .google.api.FieldInfo.Format format = 1; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The standard format of a field value. This does not explicitly configure
      * any API consumer, just documents the API's format for the field it is
@@ -629,6 +685,7 @@ public Builder mergeFrom(
      * 
* * .google.api.FieldInfo.Format format = 1; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ @@ -639,6 +696,8 @@ public Builder setFormatValue(int value) { return this; } /** + * + * *
      * The standard format of a field value. This does not explicitly configure
      * any API consumer, just documents the API's format for the field it is
@@ -646,6 +705,7 @@ public Builder setFormatValue(int value) {
      * 
* * .google.api.FieldInfo.Format format = 1; + * * @return The format. */ @java.lang.Override @@ -654,6 +714,8 @@ public com.google.api.FieldInfo.Format getFormat() { return result == null ? com.google.api.FieldInfo.Format.UNRECOGNIZED : result; } /** + * + * *
      * The standard format of a field value. This does not explicitly configure
      * any API consumer, just documents the API's format for the field it is
@@ -661,6 +723,7 @@ public com.google.api.FieldInfo.Format getFormat() {
      * 
* * .google.api.FieldInfo.Format format = 1; + * * @param value The format to set. * @return This builder for chaining. */ @@ -674,6 +737,8 @@ public Builder setFormat(com.google.api.FieldInfo.Format value) { return this; } /** + * + * *
      * The standard format of a field value. This does not explicitly configure
      * any API consumer, just documents the API's format for the field it is
@@ -681,6 +746,7 @@ public Builder setFormat(com.google.api.FieldInfo.Format value) {
      * 
* * .google.api.FieldInfo.Format format = 1; + * * @return This builder for chaining. */ public Builder clearFormat() { @@ -689,9 +755,9 @@ public Builder clearFormat() { 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); } @@ -701,12 +767,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.FieldInfo) } // @@protoc_insertion_point(class_scope:google.api.FieldInfo) private static final com.google.api.FieldInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.FieldInfo(); } @@ -715,27 +781,27 @@ public static com.google.api.FieldInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldInfo 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 FieldInfo 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; @@ -750,6 +816,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.FieldInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java similarity index 58% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java index 12c0ec3e95..f736d260b0 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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_info.proto package com.google.api; -public interface FieldInfoOrBuilder extends +public interface FieldInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.FieldInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The standard format of a field value. This does not explicitly configure
    * any API consumer, just documents the API's format for the field it is
@@ -15,10 +33,13 @@ public interface FieldInfoOrBuilder extends
    * 
* * .google.api.FieldInfo.Format format = 1; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The standard format of a field value. This does not explicitly configure
    * any API consumer, just documents the API's format for the field it is
@@ -26,6 +47,7 @@ public interface FieldInfoOrBuilder extends
    * 
* * .google.api.FieldInfo.Format format = 1; + * * @return The format. */ com.google.api.FieldInfo.Format getFormat(); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java new file mode 100644 index 0000000000..08f6abd13b --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java @@ -0,0 +1,100 @@ +/* + * 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_info.proto + +package com.google.api; + +public final class FieldInfoProto { + private FieldInfoProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { + registry.add(com.google.api.FieldInfoProto.fieldInfo); + } + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static final int FIELD_INFO_FIELD_NUMBER = 291403980; + /** + * + * + *
+   * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java similarity index 75% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java index 9e56f7180a..bed8a148ea 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Google API Policy Annotation
  *
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.api.FieldPolicy}
  */
-public final class FieldPolicy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FieldPolicy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.FieldPolicy)
     FieldPolicyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FieldPolicy.newBuilder() to construct.
   private FieldPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FieldPolicy() {
     selector_ = "";
     resourcePermission_ = "";
@@ -34,13 +52,11 @@ private FieldPolicy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FieldPolicy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.PolicyProto.internal_static_google_api_FieldPolicy_descriptor;
   }
 
@@ -53,9 +69,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int SELECTOR_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object selector_ = "";
   /**
+   *
+   *
    * 
    * Selects one or more request or response message fields to apply this
    * `FieldPolicy`.
@@ -70,6 +89,7 @@ protected java.lang.Object newInstance(
    * 
* * string selector = 1; + * * @return The selector. */ @java.lang.Override @@ -78,14 +98,15 @@ public java.lang.String getSelector() { 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(); selector_ = s; return s; } } /** + * + * *
    * Selects one or more request or response message fields to apply this
    * `FieldPolicy`.
@@ -100,16 +121,15 @@ public java.lang.String getSelector() {
    * 
* * string selector = 1; + * * @return The bytes for selector. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -118,9 +138,12 @@ public java.lang.String getSelector() { } public static final int RESOURCE_PERMISSION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object resourcePermission_ = ""; /** + * + * *
    * Specifies the required permission(s) for the resource referred to by the
    * field. It requires the field contains a valid resource reference, and
@@ -129,6 +152,7 @@ public java.lang.String getSelector() {
    * 
* * string resource_permission = 2; + * * @return The resourcePermission. */ @java.lang.Override @@ -137,14 +161,15 @@ public java.lang.String getResourcePermission() { 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(); resourcePermission_ = s; return s; } } /** + * + * *
    * Specifies the required permission(s) for the resource referred to by the
    * field. It requires the field contains a valid resource reference, and
@@ -153,16 +178,15 @@ public java.lang.String getResourcePermission() {
    * 
* * string resource_permission = 2; + * * @return The bytes for resourcePermission. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourcePermissionBytes() { + public com.google.protobuf.ByteString getResourcePermissionBytes() { java.lang.Object ref = resourcePermission_; 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); resourcePermission_ = b; return b; } else { @@ -171,14 +195,18 @@ public java.lang.String getResourcePermission() { } public static final int RESOURCE_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object resourceType_ = ""; /** + * + * *
    * Specifies the resource type for the resource referred to by the field.
    * 
* * string resource_type = 3; + * * @return The resourceType. */ @java.lang.Override @@ -187,29 +215,29 @@ public java.lang.String getResourceType() { 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(); resourceType_ = s; return s; } } /** + * + * *
    * Specifies the resource type for the resource referred to by the field.
    * 
* * string resource_type = 3; + * * @return The bytes for resourceType. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceTypeBytes() { + public com.google.protobuf.ByteString getResourceTypeBytes() { java.lang.Object ref = resourceType_; 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); resourceType_ = b; return b; } else { @@ -218,6 +246,7 @@ public java.lang.String getResourceType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +258,7 @@ 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(selector_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); } @@ -266,19 +294,16 @@ 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.FieldPolicy)) { return super.equals(obj); } com.google.api.FieldPolicy other = (com.google.api.FieldPolicy) obj; - if (!getSelector() - .equals(other.getSelector())) return false; - if (!getResourcePermission() - .equals(other.getResourcePermission())) return false; - if (!getResourceType() - .equals(other.getResourceType())) return false; + if (!getSelector().equals(other.getSelector())) return false; + if (!getResourcePermission().equals(other.getResourcePermission())) return false; + if (!getResourceType().equals(other.getResourceType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,99 +326,103 @@ public int hashCode() { return hash; } - public static com.google.api.FieldPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.FieldPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.FieldPolicy 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.FieldPolicy parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.FieldPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.FieldPolicy 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.FieldPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.FieldPolicy 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.FieldPolicy 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.FieldPolicy 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.FieldPolicy 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.FieldPolicy 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.FieldPolicy parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.FieldPolicy 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.FieldPolicy 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.FieldPolicy 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; } /** + * + * *
    * Google API Policy Annotation
    *
@@ -407,12 +436,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.FieldPolicy}
    */
-  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.FieldPolicy)
       com.google.api.FieldPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.PolicyProto.internal_static_google_api_FieldPolicy_descriptor;
     }
 
@@ -425,15 +453,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.FieldPolicy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -445,8 +470,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.PolicyProto.internal_static_google_api_FieldPolicy_descriptor;
     }
 
@@ -467,7 +491,9 @@ public com.google.api.FieldPolicy build() {
     @java.lang.Override
     public com.google.api.FieldPolicy buildPartial() {
       com.google.api.FieldPolicy result = new com.google.api.FieldPolicy(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -489,38 +515,39 @@ private void buildPartial0(com.google.api.FieldPolicy 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.FieldPolicy) {
-        return mergeFrom((com.google.api.FieldPolicy)other);
+        return mergeFrom((com.google.api.FieldPolicy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,27 +597,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              selector_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              resourcePermission_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              resourceType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                selector_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                resourcePermission_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                resourceType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            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) {
@@ -600,10 +631,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object selector_ = "";
     /**
+     *
+     *
      * 
      * Selects one or more request or response message fields to apply this
      * `FieldPolicy`.
@@ -618,13 +652,13 @@ public Builder mergeFrom(
      * 
* * string selector = 1; + * * @return The selector. */ public java.lang.String getSelector() { java.lang.Object ref = selector_; 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(); selector_ = s; return s; @@ -633,6 +667,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects one or more request or response message fields to apply this
      * `FieldPolicy`.
@@ -647,15 +683,14 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @return The bytes for selector. */ - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -663,6 +698,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects one or more request or response message fields to apply this
      * `FieldPolicy`.
@@ -677,18 +714,22 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @param value The selector to set. * @return This builder for chaining. */ - public Builder setSelector( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelector(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } selector_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Selects one or more request or response message fields to apply this
      * `FieldPolicy`.
@@ -703,6 +744,7 @@ public Builder setSelector(
      * 
* * string selector = 1; + * * @return This builder for chaining. */ public Builder clearSelector() { @@ -712,6 +754,8 @@ public Builder clearSelector() { return this; } /** + * + * *
      * Selects one or more request or response message fields to apply this
      * `FieldPolicy`.
@@ -726,12 +770,14 @@ public Builder clearSelector() {
      * 
* * string selector = 1; + * * @param value The bytes for selector to set. * @return This builder for chaining. */ - public Builder setSelectorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); selector_ = value; bitField0_ |= 0x00000001; @@ -741,6 +787,8 @@ public Builder setSelectorBytes( private java.lang.Object resourcePermission_ = ""; /** + * + * *
      * Specifies the required permission(s) for the resource referred to by the
      * field. It requires the field contains a valid resource reference, and
@@ -749,13 +797,13 @@ public Builder setSelectorBytes(
      * 
* * string resource_permission = 2; + * * @return The resourcePermission. */ public java.lang.String getResourcePermission() { java.lang.Object ref = resourcePermission_; 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(); resourcePermission_ = s; return s; @@ -764,6 +812,8 @@ public java.lang.String getResourcePermission() { } } /** + * + * *
      * Specifies the required permission(s) for the resource referred to by the
      * field. It requires the field contains a valid resource reference, and
@@ -772,15 +822,14 @@ public java.lang.String getResourcePermission() {
      * 
* * string resource_permission = 2; + * * @return The bytes for resourcePermission. */ - public com.google.protobuf.ByteString - getResourcePermissionBytes() { + public com.google.protobuf.ByteString getResourcePermissionBytes() { java.lang.Object ref = resourcePermission_; 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); resourcePermission_ = b; return b; } else { @@ -788,6 +837,8 @@ public java.lang.String getResourcePermission() { } } /** + * + * *
      * Specifies the required permission(s) for the resource referred to by the
      * field. It requires the field contains a valid resource reference, and
@@ -796,18 +847,22 @@ public java.lang.String getResourcePermission() {
      * 
* * string resource_permission = 2; + * * @param value The resourcePermission to set. * @return This builder for chaining. */ - public Builder setResourcePermission( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourcePermission(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourcePermission_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Specifies the required permission(s) for the resource referred to by the
      * field. It requires the field contains a valid resource reference, and
@@ -816,6 +871,7 @@ public Builder setResourcePermission(
      * 
* * string resource_permission = 2; + * * @return This builder for chaining. */ public Builder clearResourcePermission() { @@ -825,6 +881,8 @@ public Builder clearResourcePermission() { return this; } /** + * + * *
      * Specifies the required permission(s) for the resource referred to by the
      * field. It requires the field contains a valid resource reference, and
@@ -833,12 +891,14 @@ public Builder clearResourcePermission() {
      * 
* * string resource_permission = 2; + * * @param value The bytes for resourcePermission to set. * @return This builder for chaining. */ - public Builder setResourcePermissionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourcePermissionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourcePermission_ = value; bitField0_ |= 0x00000002; @@ -848,18 +908,20 @@ public Builder setResourcePermissionBytes( private java.lang.Object resourceType_ = ""; /** + * + * *
      * Specifies the resource type for the resource referred to by the field.
      * 
* * string resource_type = 3; + * * @return The resourceType. */ public java.lang.String getResourceType() { java.lang.Object ref = resourceType_; 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(); resourceType_ = s; return s; @@ -868,20 +930,21 @@ public java.lang.String getResourceType() { } } /** + * + * *
      * Specifies the resource type for the resource referred to by the field.
      * 
* * string resource_type = 3; + * * @return The bytes for resourceType. */ - public com.google.protobuf.ByteString - getResourceTypeBytes() { + public com.google.protobuf.ByteString getResourceTypeBytes() { java.lang.Object ref = resourceType_; 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); resourceType_ = b; return b; } else { @@ -889,28 +952,35 @@ public java.lang.String getResourceType() { } } /** + * + * *
      * Specifies the resource type for the resource referred to by the field.
      * 
* * string resource_type = 3; + * * @param value The resourceType to set. * @return This builder for chaining. */ - public Builder setResourceType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Specifies the resource type for the resource referred to by the field.
      * 
* * string resource_type = 3; + * * @return This builder for chaining. */ public Builder clearResourceType() { @@ -920,26 +990,30 @@ public Builder clearResourceType() { return this; } /** + * + * *
      * Specifies the resource type for the resource referred to by the field.
      * 
* * string resource_type = 3; + * * @param value The bytes for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceType_ = value; bitField0_ |= 0x00000004; 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); } @@ -949,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.FieldPolicy) } // @@protoc_insertion_point(class_scope:google.api.FieldPolicy) private static final com.google.api.FieldPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.FieldPolicy(); } @@ -963,27 +1037,27 @@ public static com.google.api.FieldPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldPolicy 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 FieldPolicy 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; @@ -998,6 +1072,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.FieldPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java similarity index 74% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java index 10fce2225a..beadd43b06 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface FieldPolicyOrBuilder extends +public interface FieldPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.FieldPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Selects one or more request or response message fields to apply this
    * `FieldPolicy`.
@@ -22,10 +40,13 @@ public interface FieldPolicyOrBuilder extends
    * 
* * string selector = 1; + * * @return The selector. */ java.lang.String getSelector(); /** + * + * *
    * Selects one or more request or response message fields to apply this
    * `FieldPolicy`.
@@ -40,12 +61,14 @@ public interface FieldPolicyOrBuilder extends
    * 
* * string selector = 1; + * * @return The bytes for selector. */ - com.google.protobuf.ByteString - getSelectorBytes(); + com.google.protobuf.ByteString getSelectorBytes(); /** + * + * *
    * Specifies the required permission(s) for the resource referred to by the
    * field. It requires the field contains a valid resource reference, and
@@ -54,10 +77,13 @@ public interface FieldPolicyOrBuilder extends
    * 
* * string resource_permission = 2; + * * @return The resourcePermission. */ java.lang.String getResourcePermission(); /** + * + * *
    * Specifies the required permission(s) for the resource referred to by the
    * field. It requires the field contains a valid resource reference, and
@@ -66,28 +92,33 @@ public interface FieldPolicyOrBuilder extends
    * 
* * string resource_permission = 2; + * * @return The bytes for resourcePermission. */ - com.google.protobuf.ByteString - getResourcePermissionBytes(); + com.google.protobuf.ByteString getResourcePermissionBytes(); /** + * + * *
    * Specifies the resource type for the resource referred to by the field.
    * 
* * string resource_type = 3; + * * @return The resourceType. */ java.lang.String getResourceType(); /** + * + * *
    * Specifies the resource type for the resource referred to by the field.
    * 
* * string resource_type = 3; + * * @return The bytes for resourceType. */ - com.google.protobuf.ByteString - getResourceTypeBytes(); + com.google.protobuf.ByteString getResourceTypeBytes(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java similarity index 68% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java index 638deb3d1d..3ec52d7c49 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java @@ -1,36 +1,51 @@ +/* + * 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; /** + * + * *
  * Settings for Go client libraries.
  * 
* * Protobuf type {@code google.api.GoSettings} */ -public final class GoSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GoSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.GoSettings) GoSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GoSettings.newBuilder() to construct. private GoSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GoSettings() { - } + + private GoSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_GoSettings_descriptor; } @@ -45,11 +60,14 @@ protected java.lang.Object newInstance( public static final int COMMON_FIELD_NUMBER = 1; private com.google.api.CommonLanguageSettings common_; /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -57,11 +75,14 @@ public boolean hasCommon() { return common_ != null; } /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ @java.lang.Override @@ -69,6 +90,8 @@ public com.google.api.CommonLanguageSettings getCommon() { return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; } /** + * + * *
    * Some settings.
    * 
@@ -81,6 +104,7 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +116,7 @@ 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 (common_ != null) { output.writeMessage(1, getCommon()); } @@ -107,8 +130,7 @@ public int getSerializedSize() { size = 0; if (common_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,7 +140,7 @@ 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.GoSettings)) { return super.equals(obj); @@ -127,8 +149,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -150,111 +171,114 @@ public int hashCode() { return hash; } - public static com.google.api.GoSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.GoSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.GoSettings 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.GoSettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.GoSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.GoSettings 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.GoSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.GoSettings 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.GoSettings 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.GoSettings 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.GoSettings 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.GoSettings 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.GoSettings parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.GoSettings 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.GoSettings 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.GoSettings 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; } /** + * + * *
    * Settings for Go client libraries.
    * 
* * Protobuf type {@code google.api.GoSettings} */ - 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.GoSettings) com.google.api.GoSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_GoSettings_descriptor; } @@ -267,15 +291,12 @@ public static final class Builder extends } // Construct using com.google.api.GoSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,8 +310,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.ClientProto.internal_static_google_api_GoSettings_descriptor; } @@ -311,7 +331,9 @@ public com.google.api.GoSettings build() { @java.lang.Override public com.google.api.GoSettings buildPartial() { com.google.api.GoSettings result = new com.google.api.GoSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +341,7 @@ public com.google.api.GoSettings buildPartial() { private void buildPartial0(com.google.api.GoSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); } } @@ -329,38 +349,39 @@ private void buildPartial0(com.google.api.GoSettings 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.GoSettings) { - return mergeFrom((com.google.api.GoSettings)other); + return mergeFrom((com.google.api.GoSettings) other); } else { super.mergeFrom(other); return this; @@ -398,19 +419,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + 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) { @@ -420,38 +441,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.api.CommonLanguageSettings common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> commonBuilder_; + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> + commonBuilder_; /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ public com.google.api.CommonLanguageSettings getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Some settings.
      * 
@@ -472,14 +507,15 @@ public Builder setCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; */ - public Builder setCommon( - com.google.api.CommonLanguageSettings.Builder builderForValue) { + public Builder setCommon(com.google.api.CommonLanguageSettings.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -490,6 +526,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Some settings.
      * 
@@ -498,9 +536,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - common_ != null && - common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && common_ != null + && common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -513,6 +551,8 @@ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
@@ -530,6 +570,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Some settings.
      * 
@@ -542,6 +584,8 @@ public com.google.api.CommonLanguageSettings.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Some settings.
      * 
@@ -552,11 +596,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } } /** + * + * *
      * Some settings.
      * 
@@ -564,21 +611,24 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * .google.api.CommonLanguageSettings common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; } + @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); } @@ -588,12 +638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.GoSettings) } // @@protoc_insertion_point(class_scope:google.api.GoSettings) private static final com.google.api.GoSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.GoSettings(); } @@ -602,27 +652,27 @@ public static com.google.api.GoSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoSettings 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 GoSettings 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; @@ -637,6 +687,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.GoSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java similarity index 54% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java index e397641858..b5a41ca0d9 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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 interface GoSettingsOrBuilder extends +public interface GoSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.GoSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ com.google.api.CommonLanguageSettings getCommon(); /** + * + * *
    * Some settings.
    * 
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Http.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java similarity index 75% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Http.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java index e5668b7c83..a64c315ab4 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Http.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Defines the HTTP configuration for an API service. It contains a list of
  * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
@@ -12,28 +29,27 @@
  *
  * Protobuf type {@code google.api.Http}
  */
-public final class Http extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Http extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Http)
     HttpOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Http.newBuilder() to construct.
   private Http(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Http() {
     rules_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Http();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.HttpProto.internal_static_google_api_Http_descriptor;
   }
 
@@ -46,9 +62,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int RULES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List rules_;
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -62,6 +81,8 @@ public java.util.List getRulesList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -71,11 +92,12 @@ public java.util.List getRulesList() {
    * repeated .google.api.HttpRule rules = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getRulesOrBuilderList() {
+  public java.util.List getRulesOrBuilderList() {
     return rules_;
   }
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -89,6 +111,8 @@ public int getRulesCount() {
     return rules_.size();
   }
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -102,6 +126,8 @@ public com.google.api.HttpRule getRules(int index) {
     return rules_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -111,14 +137,15 @@ public com.google.api.HttpRule getRules(int index) {
    * repeated .google.api.HttpRule rules = 1;
    */
   @java.lang.Override
-  public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(
-      int index) {
+  public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(int index) {
     return rules_.get(index);
   }
 
   public static final int FULLY_DECODE_RESERVED_EXPANSION_FIELD_NUMBER = 2;
   private boolean fullyDecodeReservedExpansion_ = false;
   /**
+   *
+   *
    * 
    * When set to true, URL path parameters will be fully URI-decoded except in
    * cases of single segment matches in reserved expansion, where "%2F" will be
@@ -129,6 +156,7 @@ public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(
    * 
* * bool fully_decode_reserved_expansion = 2; + * * @return The fullyDecodeReservedExpansion. */ @java.lang.Override @@ -137,6 +165,7 @@ public boolean getFullyDecodeReservedExpansion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +177,7 @@ 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(1, rules_.get(i)); } @@ -166,12 +194,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i)); } if (fullyDecodeReservedExpansion_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, fullyDecodeReservedExpansion_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(2, fullyDecodeReservedExpansion_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -181,17 +208,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.Http)) { return super.equals(obj); } com.google.api.Http other = (com.google.api.Http) obj; - if (!getRulesList() - .equals(other.getRulesList())) return false; - if (getFullyDecodeReservedExpansion() - != other.getFullyDecodeReservedExpansion()) return false; + if (!getRulesList().equals(other.getRulesList())) return false; + if (getFullyDecodeReservedExpansion() != other.getFullyDecodeReservedExpansion()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -208,106 +233,110 @@ public int hashCode() { hash = (53 * hash) + getRulesList().hashCode(); } hash = (37 * hash) + FULLY_DECODE_RESERVED_EXPANSION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFullyDecodeReservedExpansion()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyDecodeReservedExpansion()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.api.Http parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Http parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Http 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.Http parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.Http parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Http 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.Http parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Http 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.Http 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.Http 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.Http 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.Http 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.Http parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.Http 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.Http 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.Http 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; } /** + * + * *
    * Defines the HTTP configuration for an API service. It contains a list of
    * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
@@ -316,12 +345,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Http}
    */
-  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.Http)
       com.google.api.HttpOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.HttpProto.internal_static_google_api_Http_descriptor;
     }
 
@@ -334,15 +362,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Http.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -359,8 +384,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.HttpProto.internal_static_google_api_Http_descriptor;
     }
 
@@ -382,7 +406,9 @@ public com.google.api.Http build() {
     public com.google.api.Http buildPartial() {
       com.google.api.Http result = new com.google.api.Http(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -410,38 +436,39 @@ private void buildPartial0(com.google.api.Http 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.Http) {
-        return mergeFrom((com.google.api.Http)other);
+        return mergeFrom((com.google.api.Http) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -468,9 +495,10 @@ public Builder mergeFrom(com.google.api.Http 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_);
           }
@@ -505,30 +533,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.api.HttpRule m =
-                  input.readMessage(
-                      com.google.api.HttpRule.parser(),
-                      extensionRegistry);
-              if (rulesBuilder_ == null) {
-                ensureRulesIsMutable();
-                rules_.add(m);
-              } else {
-                rulesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 16: {
-              fullyDecodeReservedExpansion_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.api.HttpRule m =
+                    input.readMessage(com.google.api.HttpRule.parser(), extensionRegistry);
+                if (rulesBuilder_ == null) {
+                  ensureRulesIsMutable();
+                  rules_.add(m);
+                } else {
+                  rulesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 16:
+              {
+                fullyDecodeReservedExpansion_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            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) {
@@ -538,21 +567,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List rules_ =
-      java.util.Collections.emptyList();
+    private java.util.List rules_ = 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.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder> rulesBuilder_;
+            com.google.api.HttpRule,
+            com.google.api.HttpRule.Builder,
+            com.google.api.HttpRuleOrBuilder>
+        rulesBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -569,6 +604,8 @@ public java.util.List getRulesList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -585,6 +622,8 @@ public int getRulesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -601,6 +640,8 @@ public com.google.api.HttpRule getRules(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -609,8 +650,7 @@ public com.google.api.HttpRule getRules(int index) {
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public Builder setRules(
-        int index, com.google.api.HttpRule value) {
+    public Builder setRules(int index, com.google.api.HttpRule value) {
       if (rulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -624,6 +664,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -632,8 +674,7 @@ public Builder setRules(
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public Builder setRules(
-        int index, com.google.api.HttpRule.Builder builderForValue) {
+    public Builder setRules(int index, com.google.api.HttpRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.set(index, builderForValue.build());
@@ -644,6 +685,8 @@ public Builder setRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -666,6 +709,8 @@ public Builder addRules(com.google.api.HttpRule value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -674,8 +719,7 @@ public Builder addRules(com.google.api.HttpRule value) {
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public Builder addRules(
-        int index, com.google.api.HttpRule value) {
+    public Builder addRules(int index, com.google.api.HttpRule value) {
       if (rulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -689,6 +733,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -697,8 +743,7 @@ public Builder addRules(
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public Builder addRules(
-        com.google.api.HttpRule.Builder builderForValue) {
+    public Builder addRules(com.google.api.HttpRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.add(builderForValue.build());
@@ -709,6 +754,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -717,8 +764,7 @@ public Builder addRules(
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public Builder addRules(
-        int index, com.google.api.HttpRule.Builder builderForValue) {
+    public Builder addRules(int index, com.google.api.HttpRule.Builder builderForValue) {
       if (rulesBuilder_ == null) {
         ensureRulesIsMutable();
         rules_.add(index, builderForValue.build());
@@ -729,6 +775,8 @@ public Builder addRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -737,12 +785,10 @@ public Builder addRules(
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public Builder addAllRules(
-        java.lang.Iterable values) {
+    public Builder addAllRules(java.lang.Iterable 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);
@@ -750,6 +796,8 @@ public Builder addAllRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -769,6 +817,8 @@ public Builder clearRules() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -788,6 +838,8 @@ public Builder removeRules(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -796,11 +848,12 @@ public Builder removeRules(int index) {
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public com.google.api.HttpRule.Builder getRulesBuilder(
-        int index) {
+    public com.google.api.HttpRule.Builder getRulesBuilder(int index) {
       return getRulesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -809,14 +862,16 @@ public com.google.api.HttpRule.Builder getRulesBuilder(
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(
-        int index) {
+    public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(int index) {
       if (rulesBuilder_ == null) {
-        return rules_.get(index);  } else {
+        return rules_.get(index);
+      } else {
         return rulesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -825,8 +880,7 @@ public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public java.util.List 
-         getRulesOrBuilderList() {
+    public java.util.List getRulesOrBuilderList() {
       if (rulesBuilder_ != null) {
         return rulesBuilder_.getMessageOrBuilderList();
       } else {
@@ -834,6 +888,8 @@ public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -843,10 +899,11 @@ public com.google.api.HttpRuleOrBuilder getRulesOrBuilder(
      * repeated .google.api.HttpRule rules = 1;
      */
     public com.google.api.HttpRule.Builder addRulesBuilder() {
-      return getRulesFieldBuilder().addBuilder(
-          com.google.api.HttpRule.getDefaultInstance());
+      return getRulesFieldBuilder().addBuilder(com.google.api.HttpRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -855,12 +912,12 @@ public com.google.api.HttpRule.Builder addRulesBuilder() {
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public com.google.api.HttpRule.Builder addRulesBuilder(
-        int index) {
-      return getRulesFieldBuilder().addBuilder(
-          index, com.google.api.HttpRule.getDefaultInstance());
+    public com.google.api.HttpRule.Builder addRulesBuilder(int index) {
+      return getRulesFieldBuilder().addBuilder(index, com.google.api.HttpRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of HTTP configuration rules that apply to individual API methods.
      *
@@ -869,27 +926,31 @@ public com.google.api.HttpRule.Builder addRulesBuilder(
      *
      * repeated .google.api.HttpRule rules = 1;
      */
-    public java.util.List 
-         getRulesBuilderList() {
+    public java.util.List getRulesBuilderList() {
       return getRulesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder> 
+            com.google.api.HttpRule,
+            com.google.api.HttpRule.Builder,
+            com.google.api.HttpRuleOrBuilder>
         getRulesFieldBuilder() {
       if (rulesBuilder_ == null) {
-        rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder>(
-                rules_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        rulesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.HttpRule,
+                com.google.api.HttpRule.Builder,
+                com.google.api.HttpRuleOrBuilder>(
+                rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         rules_ = null;
       }
       return rulesBuilder_;
     }
 
-    private boolean fullyDecodeReservedExpansion_ ;
+    private boolean fullyDecodeReservedExpansion_;
     /**
+     *
+     *
      * 
      * When set to true, URL path parameters will be fully URI-decoded except in
      * cases of single segment matches in reserved expansion, where "%2F" will be
@@ -900,6 +961,7 @@ public com.google.api.HttpRule.Builder addRulesBuilder(
      * 
* * bool fully_decode_reserved_expansion = 2; + * * @return The fullyDecodeReservedExpansion. */ @java.lang.Override @@ -907,6 +969,8 @@ public boolean getFullyDecodeReservedExpansion() { return fullyDecodeReservedExpansion_; } /** + * + * *
      * When set to true, URL path parameters will be fully URI-decoded except in
      * cases of single segment matches in reserved expansion, where "%2F" will be
@@ -917,6 +981,7 @@ public boolean getFullyDecodeReservedExpansion() {
      * 
* * bool fully_decode_reserved_expansion = 2; + * * @param value The fullyDecodeReservedExpansion to set. * @return This builder for chaining. */ @@ -928,6 +993,8 @@ public Builder setFullyDecodeReservedExpansion(boolean value) { return this; } /** + * + * *
      * When set to true, URL path parameters will be fully URI-decoded except in
      * cases of single segment matches in reserved expansion, where "%2F" will be
@@ -938,6 +1005,7 @@ public Builder setFullyDecodeReservedExpansion(boolean value) {
      * 
* * bool fully_decode_reserved_expansion = 2; + * * @return This builder for chaining. */ public Builder clearFullyDecodeReservedExpansion() { @@ -946,9 +1014,9 @@ public Builder clearFullyDecodeReservedExpansion() { 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); } @@ -958,12 +1026,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Http) } // @@protoc_insertion_point(class_scope:google.api.Http) private static final com.google.api.Http DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Http(); } @@ -972,27 +1040,27 @@ public static com.google.api.Http getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Http 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 Http 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; @@ -1007,6 +1075,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Http getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java similarity index 76% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java index 745d348cd1..049302bcfc 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Message that represents an arbitrary HTTP body. It should only be used for
  * payload formats that can't be represented as JSON, such as raw binary or
@@ -52,15 +69,16 @@
  *
  * Protobuf type {@code google.api.HttpBody}
  */
-public final class HttpBody extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpBody extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.HttpBody)
     HttpBodyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpBody.newBuilder() to construct.
   private HttpBody(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpBody() {
     contentType_ = "";
     data_ = com.google.protobuf.ByteString.EMPTY;
@@ -69,13 +87,11 @@ private HttpBody() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpBody();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.HttpBodyProto.internal_static_google_api_HttpBody_descriptor;
   }
 
@@ -88,14 +104,18 @@ protected java.lang.Object newInstance(
   }
 
   public static final int CONTENT_TYPE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object contentType_ = "";
   /**
+   *
+   *
    * 
    * The HTTP Content-Type header value specifying the content type of the body.
    * 
* * string content_type = 1; + * * @return The contentType. */ @java.lang.Override @@ -104,29 +124,29 @@ public java.lang.String getContentType() { 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(); contentType_ = s; return s; } } /** + * + * *
    * The HTTP Content-Type header value specifying the content type of the body.
    * 
* * string content_type = 1; + * * @return The bytes for contentType. */ @java.lang.Override - public com.google.protobuf.ByteString - getContentTypeBytes() { + public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; 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); contentType_ = b; return b; } else { @@ -137,11 +157,14 @@ public java.lang.String getContentType() { public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * The HTTP request/response body as raw binary.
    * 
* * bytes data = 2; + * * @return The data. */ @java.lang.Override @@ -150,9 +173,12 @@ public com.google.protobuf.ByteString getData() { } public static final int EXTENSIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List extensions_; /** + * + * *
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -165,6 +191,8 @@ public java.util.List getExtensionsList() {
     return extensions_;
   }
   /**
+   *
+   *
    * 
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -173,11 +201,12 @@ public java.util.List getExtensionsList() {
    * repeated .google.protobuf.Any extensions = 3;
    */
   @java.lang.Override
-  public java.util.List 
-      getExtensionsOrBuilderList() {
+  public java.util.List getExtensionsOrBuilderList() {
     return extensions_;
   }
   /**
+   *
+   *
    * 
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -190,6 +219,8 @@ public int getExtensionsCount() {
     return extensions_.size();
   }
   /**
+   *
+   *
    * 
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -202,6 +233,8 @@ public com.google.protobuf.Any getExtensions(int index) {
     return extensions_.get(index);
   }
   /**
+   *
+   *
    * 
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -210,12 +243,12 @@ public com.google.protobuf.Any getExtensions(int index) {
    * repeated .google.protobuf.Any extensions = 3;
    */
   @java.lang.Override
-  public com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(
-      int index) {
+  public com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(int index) {
     return extensions_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -227,8 +260,7 @@ 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(contentType_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, contentType_);
     }
@@ -251,12 +283,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, contentType_);
     }
     if (!data_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(2, data_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, data_);
     }
     for (int i = 0; i < extensions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, extensions_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, extensions_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -266,19 +296,16 @@ 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.HttpBody)) {
       return super.equals(obj);
     }
     com.google.api.HttpBody other = (com.google.api.HttpBody) obj;
 
-    if (!getContentType()
-        .equals(other.getContentType())) return false;
-    if (!getData()
-        .equals(other.getData())) return false;
-    if (!getExtensionsList()
-        .equals(other.getExtensionsList())) return false;
+    if (!getContentType().equals(other.getContentType())) return false;
+    if (!getData().equals(other.getData())) return false;
+    if (!getExtensionsList().equals(other.getExtensionsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -303,99 +330,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.HttpBody parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.HttpBody parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.HttpBody 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.HttpBody parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.HttpBody parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.HttpBody 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.HttpBody parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.HttpBody 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.HttpBody 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.HttpBody 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.HttpBody 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.HttpBody 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.HttpBody parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.HttpBody 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.HttpBody 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.HttpBody 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;
   }
   /**
+   *
+   *
    * 
    * Message that represents an arbitrary HTTP body. It should only be used for
    * payload formats that can't be represented as JSON, such as raw binary or
@@ -444,12 +475,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.HttpBody}
    */
-  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.HttpBody)
       com.google.api.HttpBodyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.HttpBodyProto.internal_static_google_api_HttpBody_descriptor;
     }
 
@@ -462,15 +492,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.HttpBody.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -488,8 +515,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.HttpBodyProto.internal_static_google_api_HttpBody_descriptor;
     }
 
@@ -511,7 +537,9 @@ public com.google.api.HttpBody build() {
     public com.google.api.HttpBody buildPartial() {
       com.google.api.HttpBody result = new com.google.api.HttpBody(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -542,38 +570,39 @@ private void buildPartial0(com.google.api.HttpBody 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.HttpBody) {
-        return mergeFrom((com.google.api.HttpBody)other);
+        return mergeFrom((com.google.api.HttpBody) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -608,9 +637,10 @@ public Builder mergeFrom(com.google.api.HttpBody other) {
             extensionsBuilder_ = null;
             extensions_ = other.extensions_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            extensionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getExtensionsFieldBuilder() : null;
+            extensionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getExtensionsFieldBuilder()
+                    : null;
           } else {
             extensionsBuilder_.addAllMessages(other.extensions_);
           }
@@ -642,35 +672,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              contentType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              data_ = input.readBytes();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.Any m =
-                  input.readMessage(
-                      com.google.protobuf.Any.parser(),
-                      extensionRegistry);
-              if (extensionsBuilder_ == null) {
-                ensureExtensionsIsMutable();
-                extensions_.add(m);
-              } else {
-                extensionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                contentType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                data_ = input.readBytes();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.Any m =
+                    input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
+                if (extensionsBuilder_ == null) {
+                  ensureExtensionsIsMutable();
+                  extensions_.add(m);
+                } else {
+                  extensionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            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) {
@@ -680,22 +712,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object contentType_ = "";
     /**
+     *
+     *
      * 
      * The HTTP Content-Type header value specifying the content type of the body.
      * 
* * string content_type = 1; + * * @return The contentType. */ public java.lang.String getContentType() { java.lang.Object ref = contentType_; 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(); contentType_ = s; return s; @@ -704,20 +739,21 @@ public java.lang.String getContentType() { } } /** + * + * *
      * The HTTP Content-Type header value specifying the content type of the body.
      * 
* * string content_type = 1; + * * @return The bytes for contentType. */ - public com.google.protobuf.ByteString - getContentTypeBytes() { + public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; 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); contentType_ = b; return b; } else { @@ -725,28 +761,35 @@ public java.lang.String getContentType() { } } /** + * + * *
      * The HTTP Content-Type header value specifying the content type of the body.
      * 
* * string content_type = 1; + * * @param value The contentType to set. * @return This builder for chaining. */ - public Builder setContentType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContentType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } contentType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The HTTP Content-Type header value specifying the content type of the body.
      * 
* * string content_type = 1; + * * @return This builder for chaining. */ public Builder clearContentType() { @@ -756,17 +799,21 @@ public Builder clearContentType() { return this; } /** + * + * *
      * The HTTP Content-Type header value specifying the content type of the body.
      * 
* * string content_type = 1; + * * @param value The bytes for contentType to set. * @return This builder for chaining. */ - public Builder setContentTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContentTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); contentType_ = value; bitField0_ |= 0x00000001; @@ -776,11 +823,14 @@ public Builder setContentTypeBytes( private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The HTTP request/response body as raw binary.
      * 
* * bytes data = 2; + * * @return The data. */ @java.lang.Override @@ -788,27 +838,35 @@ public com.google.protobuf.ByteString getData() { return data_; } /** + * + * *
      * The HTTP request/response body as raw binary.
      * 
* * bytes data = 2; + * * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } data_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The HTTP request/response body as raw binary.
      * 
* * bytes data = 2; + * * @return This builder for chaining. */ public Builder clearData() { @@ -818,19 +876,24 @@ public Builder clearData() { return this; } - private java.util.List extensions_ = - java.util.Collections.emptyList(); + private java.util.List extensions_ = java.util.Collections.emptyList(); + private void ensureExtensionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { extensions_ = new java.util.ArrayList(extensions_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> extensionsBuilder_; + com.google.protobuf.Any, + com.google.protobuf.Any.Builder, + com.google.protobuf.AnyOrBuilder> + extensionsBuilder_; /** + * + * *
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -846,6 +909,8 @@ public java.util.List getExtensionsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -861,6 +926,8 @@ public int getExtensionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -876,6 +943,8 @@ public com.google.protobuf.Any getExtensions(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -883,8 +952,7 @@ public com.google.protobuf.Any getExtensions(int index) {
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public Builder setExtensions(
-        int index, com.google.protobuf.Any value) {
+    public Builder setExtensions(int index, com.google.protobuf.Any value) {
       if (extensionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -898,6 +966,8 @@ public Builder setExtensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -905,8 +975,7 @@ public Builder setExtensions(
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public Builder setExtensions(
-        int index, com.google.protobuf.Any.Builder builderForValue) {
+    public Builder setExtensions(int index, com.google.protobuf.Any.Builder builderForValue) {
       if (extensionsBuilder_ == null) {
         ensureExtensionsIsMutable();
         extensions_.set(index, builderForValue.build());
@@ -917,6 +986,8 @@ public Builder setExtensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -938,6 +1009,8 @@ public Builder addExtensions(com.google.protobuf.Any value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -945,8 +1018,7 @@ public Builder addExtensions(com.google.protobuf.Any value) {
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public Builder addExtensions(
-        int index, com.google.protobuf.Any value) {
+    public Builder addExtensions(int index, com.google.protobuf.Any value) {
       if (extensionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -960,6 +1032,8 @@ public Builder addExtensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -967,8 +1041,7 @@ public Builder addExtensions(
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public Builder addExtensions(
-        com.google.protobuf.Any.Builder builderForValue) {
+    public Builder addExtensions(com.google.protobuf.Any.Builder builderForValue) {
       if (extensionsBuilder_ == null) {
         ensureExtensionsIsMutable();
         extensions_.add(builderForValue.build());
@@ -979,6 +1052,8 @@ public Builder addExtensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -986,8 +1061,7 @@ public Builder addExtensions(
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public Builder addExtensions(
-        int index, com.google.protobuf.Any.Builder builderForValue) {
+    public Builder addExtensions(int index, com.google.protobuf.Any.Builder builderForValue) {
       if (extensionsBuilder_ == null) {
         ensureExtensionsIsMutable();
         extensions_.add(index, builderForValue.build());
@@ -998,6 +1072,8 @@ public Builder addExtensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -1005,12 +1081,10 @@ public Builder addExtensions(
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public Builder addAllExtensions(
-        java.lang.Iterable values) {
+    public Builder addAllExtensions(java.lang.Iterable values) {
       if (extensionsBuilder_ == null) {
         ensureExtensionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, extensions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, extensions_);
         onChanged();
       } else {
         extensionsBuilder_.addAllMessages(values);
@@ -1018,6 +1092,8 @@ public Builder addAllExtensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -1036,6 +1112,8 @@ public Builder clearExtensions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -1054,6 +1132,8 @@ public Builder removeExtensions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -1061,11 +1141,12 @@ public Builder removeExtensions(int index) {
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public com.google.protobuf.Any.Builder getExtensionsBuilder(
-        int index) {
+    public com.google.protobuf.Any.Builder getExtensionsBuilder(int index) {
       return getExtensionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -1073,14 +1154,16 @@ public com.google.protobuf.Any.Builder getExtensionsBuilder(
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(
-        int index) {
+    public com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(int index) {
       if (extensionsBuilder_ == null) {
-        return extensions_.get(index);  } else {
+        return extensions_.get(index);
+      } else {
         return extensionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -1088,8 +1171,7 @@ public com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public java.util.List 
-         getExtensionsOrBuilderList() {
+    public java.util.List getExtensionsOrBuilderList() {
       if (extensionsBuilder_ != null) {
         return extensionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1097,6 +1179,8 @@ public com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -1105,10 +1189,11 @@ public com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(
      * repeated .google.protobuf.Any extensions = 3;
      */
     public com.google.protobuf.Any.Builder addExtensionsBuilder() {
-      return getExtensionsFieldBuilder().addBuilder(
-          com.google.protobuf.Any.getDefaultInstance());
+      return getExtensionsFieldBuilder().addBuilder(com.google.protobuf.Any.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -1116,12 +1201,13 @@ public com.google.protobuf.Any.Builder addExtensionsBuilder() {
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public com.google.protobuf.Any.Builder addExtensionsBuilder(
-        int index) {
-      return getExtensionsFieldBuilder().addBuilder(
-          index, com.google.protobuf.Any.getDefaultInstance());
+    public com.google.protobuf.Any.Builder addExtensionsBuilder(int index) {
+      return getExtensionsFieldBuilder()
+          .addBuilder(index, com.google.protobuf.Any.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -1129,27 +1215,29 @@ public com.google.protobuf.Any.Builder addExtensionsBuilder(
      *
      * repeated .google.protobuf.Any extensions = 3;
      */
-    public java.util.List 
-         getExtensionsBuilderList() {
+    public java.util.List getExtensionsBuilderList() {
       return getExtensionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> 
+            com.google.protobuf.Any,
+            com.google.protobuf.Any.Builder,
+            com.google.protobuf.AnyOrBuilder>
         getExtensionsFieldBuilder() {
       if (extensionsBuilder_ == null) {
-        extensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
-                extensions_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        extensionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.protobuf.Any,
+                com.google.protobuf.Any.Builder,
+                com.google.protobuf.AnyOrBuilder>(
+                extensions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         extensions_ = null;
       }
       return extensionsBuilder_;
     }
+
     @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);
     }
 
@@ -1159,12 +1247,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.HttpBody)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.HttpBody)
   private static final com.google.api.HttpBody DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.HttpBody();
   }
@@ -1173,27 +1261,27 @@ public static com.google.api.HttpBody getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpBody 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 HttpBody 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;
@@ -1208,6 +1296,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.HttpBody getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java
similarity index 66%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java
index 3585042a21..c1749af4f1 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java
@@ -1,43 +1,69 @@
+/*
+ * 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 interface HttpBodyOrBuilder extends
+public interface HttpBodyOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.HttpBody)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The HTTP Content-Type header value specifying the content type of the body.
    * 
* * string content_type = 1; + * * @return The contentType. */ java.lang.String getContentType(); /** + * + * *
    * The HTTP Content-Type header value specifying the content type of the body.
    * 
* * string content_type = 1; + * * @return The bytes for contentType. */ - com.google.protobuf.ByteString - getContentTypeBytes(); + com.google.protobuf.ByteString getContentTypeBytes(); /** + * + * *
    * The HTTP request/response body as raw binary.
    * 
* * bytes data = 2; + * * @return The data. */ com.google.protobuf.ByteString getData(); /** + * + * *
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -45,9 +71,10 @@ public interface HttpBodyOrBuilder extends
    *
    * repeated .google.protobuf.Any extensions = 3;
    */
-  java.util.List 
-      getExtensionsList();
+  java.util.List getExtensionsList();
   /**
+   *
+   *
    * 
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -57,6 +84,8 @@ public interface HttpBodyOrBuilder extends
    */
   com.google.protobuf.Any getExtensions(int index);
   /**
+   *
+   *
    * 
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -66,6 +95,8 @@ public interface HttpBodyOrBuilder extends
    */
   int getExtensionsCount();
   /**
+   *
+   *
    * 
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -73,9 +104,10 @@ public interface HttpBodyOrBuilder extends
    *
    * repeated .google.protobuf.Any extensions = 3;
    */
-  java.util.List 
-      getExtensionsOrBuilderList();
+  java.util.List getExtensionsOrBuilderList();
   /**
+   *
+   *
    * 
    * Application specific response metadata. Must be set in the first response
    * for streaming APIs.
@@ -83,6 +115,5 @@ public interface HttpBodyOrBuilder extends
    *
    * repeated .google.protobuf.Any extensions = 3;
    */
-  com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(
-      int index);
+  com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(int index);
 }
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
new file mode 100644
index 0000000000..b136b6924b
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java
@@ -0,0 +1,68 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java
index 770aa3ba99..2ddb68e8e0 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface HttpOrBuilder extends
+public interface HttpOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.Http)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -16,9 +34,10 @@ public interface HttpOrBuilder extends
    *
    * repeated .google.api.HttpRule rules = 1;
    */
-  java.util.List 
-      getRulesList();
+  java.util.List getRulesList();
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -29,6 +48,8 @@ public interface HttpOrBuilder extends
    */
   com.google.api.HttpRule getRules(int index);
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -39,6 +60,8 @@ public interface HttpOrBuilder extends
    */
   int getRulesCount();
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -47,9 +70,10 @@ public interface HttpOrBuilder extends
    *
    * repeated .google.api.HttpRule rules = 1;
    */
-  java.util.List 
-      getRulesOrBuilderList();
+  java.util.List getRulesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of HTTP configuration rules that apply to individual API methods.
    *
@@ -58,10 +82,11 @@ public interface HttpOrBuilder extends
    *
    * repeated .google.api.HttpRule rules = 1;
    */
-  com.google.api.HttpRuleOrBuilder getRulesOrBuilder(
-      int index);
+  com.google.api.HttpRuleOrBuilder getRulesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * When set to true, URL path parameters will be fully URI-decoded except in
    * cases of single segment matches in reserved expansion, where "%2F" will be
@@ -72,6 +97,7 @@ com.google.api.HttpRuleOrBuilder getRulesOrBuilder(
    * 
* * bool fully_decode_reserved_expansion = 2; + * * @return The fullyDecodeReservedExpansion. */ boolean getFullyDecodeReservedExpansion(); 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 new file mode 100644 index 0000000000..02dfa316be --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java @@ -0,0 +1,104 @@ +/* + * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java similarity index 81% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java index 6966b75b1c..1efbb92ca5 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * # gRPC Transcoding
  *
@@ -281,15 +298,16 @@
  *
  * Protobuf type {@code google.api.HttpRule}
  */
-public final class HttpRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.HttpRule)
     HttpRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpRule.newBuilder() to construct.
   private HttpRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpRule() {
     selector_ = "";
     body_ = "";
@@ -299,13 +317,11 @@ private HttpRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.HttpProto.internal_static_google_api_HttpRule_descriptor;
   }
 
@@ -318,10 +334,13 @@ protected java.lang.Object newInstance(
   }
 
   private int patternCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object pattern_;
+
   public enum PatternCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GET(2),
     PUT(3),
@@ -331,6 +350,7 @@ public enum PatternCase
     CUSTOM(8),
     PATTERN_NOT_SET(0);
     private final int value;
+
     private PatternCase(int value) {
       this.value = value;
     }
@@ -346,31 +366,41 @@ public static PatternCase valueOf(int value) {
 
     public static PatternCase forNumber(int value) {
       switch (value) {
-        case 2: return GET;
-        case 3: return PUT;
-        case 4: return POST;
-        case 5: return DELETE;
-        case 6: return PATCH;
-        case 8: return CUSTOM;
-        case 0: return PATTERN_NOT_SET;
-        default: return null;
+        case 2:
+          return GET;
+        case 3:
+          return PUT;
+        case 4:
+          return POST;
+        case 5:
+          return DELETE;
+        case 6:
+          return PATCH;
+        case 8:
+          return CUSTOM;
+        case 0:
+          return PATTERN_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PatternCase
-  getPatternCase() {
-    return PatternCase.forNumber(
-        patternCase_);
+  public PatternCase getPatternCase() {
+    return PatternCase.forNumber(patternCase_);
   }
 
   public static final int SELECTOR_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object selector_ = "";
   /**
+   *
+   *
    * 
    * Selects a method to which this rule applies.
    *
@@ -379,6 +409,7 @@ public int getNumber() {
    * 
* * string selector = 1; + * * @return The selector. */ @java.lang.Override @@ -387,14 +418,15 @@ public java.lang.String getSelector() { 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(); selector_ = s; return s; } } /** + * + * *
    * Selects a method to which this rule applies.
    *
@@ -403,16 +435,15 @@ public java.lang.String getSelector() {
    * 
* * string selector = 1; + * * @return The bytes for selector. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -422,24 +453,30 @@ public java.lang.String getSelector() { public static final int GET_FIELD_NUMBER = 2; /** + * + * *
    * Maps to HTTP GET. Used for listing and getting information about
    * resources.
    * 
* * string get = 2; + * * @return Whether the get field is set. */ public boolean hasGet() { return patternCase_ == 2; } /** + * + * *
    * Maps to HTTP GET. Used for listing and getting information about
    * resources.
    * 
* * string get = 2; + * * @return The get. */ public java.lang.String getGet() { @@ -450,8 +487,7 @@ public java.lang.String getGet() { 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(); if (patternCase_ == 2) { pattern_ = s; @@ -460,24 +496,25 @@ public java.lang.String getGet() { } } /** + * + * *
    * Maps to HTTP GET. Used for listing and getting information about
    * resources.
    * 
* * string get = 2; + * * @return The bytes for get. */ - public com.google.protobuf.ByteString - getGetBytes() { + public com.google.protobuf.ByteString getGetBytes() { java.lang.Object ref = ""; if (patternCase_ == 2) { ref = pattern_; } 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); if (patternCase_ == 2) { pattern_ = b; } @@ -489,22 +526,28 @@ public java.lang.String getGet() { public static final int PUT_FIELD_NUMBER = 3; /** + * + * *
    * Maps to HTTP PUT. Used for replacing a resource.
    * 
* * string put = 3; + * * @return Whether the put field is set. */ public boolean hasPut() { return patternCase_ == 3; } /** + * + * *
    * Maps to HTTP PUT. Used for replacing a resource.
    * 
* * string put = 3; + * * @return The put. */ public java.lang.String getPut() { @@ -515,8 +558,7 @@ public java.lang.String getPut() { 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(); if (patternCase_ == 3) { pattern_ = s; @@ -525,23 +567,24 @@ public java.lang.String getPut() { } } /** + * + * *
    * Maps to HTTP PUT. Used for replacing a resource.
    * 
* * string put = 3; + * * @return The bytes for put. */ - public com.google.protobuf.ByteString - getPutBytes() { + public com.google.protobuf.ByteString getPutBytes() { java.lang.Object ref = ""; if (patternCase_ == 3) { ref = pattern_; } 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); if (patternCase_ == 3) { pattern_ = b; } @@ -553,22 +596,28 @@ public java.lang.String getPut() { public static final int POST_FIELD_NUMBER = 4; /** + * + * *
    * Maps to HTTP POST. Used for creating a resource or performing an action.
    * 
* * string post = 4; + * * @return Whether the post field is set. */ public boolean hasPost() { return patternCase_ == 4; } /** + * + * *
    * Maps to HTTP POST. Used for creating a resource or performing an action.
    * 
* * string post = 4; + * * @return The post. */ public java.lang.String getPost() { @@ -579,8 +628,7 @@ public java.lang.String getPost() { 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(); if (patternCase_ == 4) { pattern_ = s; @@ -589,23 +637,24 @@ public java.lang.String getPost() { } } /** + * + * *
    * Maps to HTTP POST. Used for creating a resource or performing an action.
    * 
* * string post = 4; + * * @return The bytes for post. */ - public com.google.protobuf.ByteString - getPostBytes() { + public com.google.protobuf.ByteString getPostBytes() { java.lang.Object ref = ""; if (patternCase_ == 4) { ref = pattern_; } 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); if (patternCase_ == 4) { pattern_ = b; } @@ -617,22 +666,28 @@ public java.lang.String getPost() { public static final int DELETE_FIELD_NUMBER = 5; /** + * + * *
    * Maps to HTTP DELETE. Used for deleting a resource.
    * 
* * string delete = 5; + * * @return Whether the delete field is set. */ public boolean hasDelete() { return patternCase_ == 5; } /** + * + * *
    * Maps to HTTP DELETE. Used for deleting a resource.
    * 
* * string delete = 5; + * * @return The delete. */ public java.lang.String getDelete() { @@ -643,8 +698,7 @@ public java.lang.String getDelete() { 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(); if (patternCase_ == 5) { pattern_ = s; @@ -653,23 +707,24 @@ public java.lang.String getDelete() { } } /** + * + * *
    * Maps to HTTP DELETE. Used for deleting a resource.
    * 
* * string delete = 5; + * * @return The bytes for delete. */ - public com.google.protobuf.ByteString - getDeleteBytes() { + public com.google.protobuf.ByteString getDeleteBytes() { java.lang.Object ref = ""; if (patternCase_ == 5) { ref = pattern_; } 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); if (patternCase_ == 5) { pattern_ = b; } @@ -681,22 +736,28 @@ public java.lang.String getDelete() { public static final int PATCH_FIELD_NUMBER = 6; /** + * + * *
    * Maps to HTTP PATCH. Used for updating a resource.
    * 
* * string patch = 6; + * * @return Whether the patch field is set. */ public boolean hasPatch() { return patternCase_ == 6; } /** + * + * *
    * Maps to HTTP PATCH. Used for updating a resource.
    * 
* * string patch = 6; + * * @return The patch. */ public java.lang.String getPatch() { @@ -707,8 +768,7 @@ public java.lang.String getPatch() { 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(); if (patternCase_ == 6) { pattern_ = s; @@ -717,23 +777,24 @@ public java.lang.String getPatch() { } } /** + * + * *
    * Maps to HTTP PATCH. Used for updating a resource.
    * 
* * string patch = 6; + * * @return The bytes for patch. */ - public com.google.protobuf.ByteString - getPatchBytes() { + public com.google.protobuf.ByteString getPatchBytes() { java.lang.Object ref = ""; if (patternCase_ == 6) { ref = pattern_; } 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); if (patternCase_ == 6) { pattern_ = b; } @@ -745,6 +806,8 @@ public java.lang.String getPatch() { public static final int CUSTOM_FIELD_NUMBER = 8; /** + * + * *
    * The custom pattern is used for specifying an HTTP method that is not
    * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -753,6 +816,7 @@ public java.lang.String getPatch() {
    * 
* * .google.api.CustomHttpPattern custom = 8; + * * @return Whether the custom field is set. */ @java.lang.Override @@ -760,6 +824,8 @@ public boolean hasCustom() { return patternCase_ == 8; } /** + * + * *
    * The custom pattern is used for specifying an HTTP method that is not
    * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -768,16 +834,19 @@ public boolean hasCustom() {
    * 
* * .google.api.CustomHttpPattern custom = 8; + * * @return The custom. */ @java.lang.Override public com.google.api.CustomHttpPattern getCustom() { if (patternCase_ == 8) { - return (com.google.api.CustomHttpPattern) pattern_; + return (com.google.api.CustomHttpPattern) pattern_; } return com.google.api.CustomHttpPattern.getDefaultInstance(); } /** + * + * *
    * The custom pattern is used for specifying an HTTP method that is not
    * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -790,15 +859,18 @@ public com.google.api.CustomHttpPattern getCustom() {
   @java.lang.Override
   public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() {
     if (patternCase_ == 8) {
-       return (com.google.api.CustomHttpPattern) pattern_;
+      return (com.google.api.CustomHttpPattern) pattern_;
     }
     return com.google.api.CustomHttpPattern.getDefaultInstance();
   }
 
   public static final int BODY_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object body_ = "";
   /**
+   *
+   *
    * 
    * The name of the request field whose value is mapped to the HTTP request
    * body, or `*` for mapping all request fields not captured by the path
@@ -809,6 +881,7 @@ public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() {
    * 
* * string body = 7; + * * @return The body. */ @java.lang.Override @@ -817,14 +890,15 @@ public java.lang.String getBody() { 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(); body_ = s; return s; } } /** + * + * *
    * The name of the request field whose value is mapped to the HTTP request
    * body, or `*` for mapping all request fields not captured by the path
@@ -835,16 +909,15 @@ public java.lang.String getBody() {
    * 
* * string body = 7; + * * @return The bytes for body. */ @java.lang.Override - public com.google.protobuf.ByteString - getBodyBytes() { + public com.google.protobuf.ByteString getBodyBytes() { java.lang.Object ref = body_; 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); body_ = b; return b; } else { @@ -853,9 +926,12 @@ public java.lang.String getBody() { } public static final int RESPONSE_BODY_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object responseBody_ = ""; /** + * + * *
    * Optional. The name of the response field whose value is mapped to the HTTP
    * response body. When omitted, the entire response message will be used
@@ -866,6 +942,7 @@ public java.lang.String getBody() {
    * 
* * string response_body = 12; + * * @return The responseBody. */ @java.lang.Override @@ -874,14 +951,15 @@ public java.lang.String getResponseBody() { 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(); responseBody_ = s; return s; } } /** + * + * *
    * Optional. The name of the response field whose value is mapped to the HTTP
    * response body. When omitted, the entire response message will be used
@@ -892,16 +970,15 @@ public java.lang.String getResponseBody() {
    * 
* * string response_body = 12; + * * @return The bytes for responseBody. */ @java.lang.Override - public com.google.protobuf.ByteString - getResponseBodyBytes() { + public com.google.protobuf.ByteString getResponseBodyBytes() { java.lang.Object ref = responseBody_; 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); responseBody_ = b; return b; } else { @@ -910,9 +987,12 @@ public java.lang.String getResponseBody() { } public static final int ADDITIONAL_BINDINGS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private java.util.List additionalBindings_; /** + * + * *
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -926,6 +1006,8 @@ public java.util.List getAdditionalBindingsList() {
     return additionalBindings_;
   }
   /**
+   *
+   *
    * 
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -935,11 +1017,13 @@ public java.util.List getAdditionalBindingsList() {
    * repeated .google.api.HttpRule additional_bindings = 11;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAdditionalBindingsOrBuilderList() {
     return additionalBindings_;
   }
   /**
+   *
+   *
    * 
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -953,6 +1037,8 @@ public int getAdditionalBindingsCount() {
     return additionalBindings_.size();
   }
   /**
+   *
+   *
    * 
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -966,6 +1052,8 @@ public com.google.api.HttpRule getAdditionalBindings(int index) {
     return additionalBindings_.get(index);
   }
   /**
+   *
+   *
    * 
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -975,12 +1063,12 @@ public com.google.api.HttpRule getAdditionalBindings(int index) {
    * repeated .google.api.HttpRule additional_bindings = 11;
    */
   @java.lang.Override
-  public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(
-      int index) {
+  public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(int index) {
     return additionalBindings_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -992,8 +1080,7 @@ 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(selector_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_);
     }
@@ -1055,12 +1142,13 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, body_);
     }
     if (patternCase_ == 8) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, (com.google.api.CustomHttpPattern) pattern_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              8, (com.google.api.CustomHttpPattern) pattern_);
     }
     for (int i = 0; i < additionalBindings_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(11, additionalBindings_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(11, additionalBindings_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseBody_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, responseBody_);
@@ -1073,46 +1161,36 @@ 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.HttpRule)) {
       return super.equals(obj);
     }
     com.google.api.HttpRule other = (com.google.api.HttpRule) obj;
 
-    if (!getSelector()
-        .equals(other.getSelector())) return false;
-    if (!getBody()
-        .equals(other.getBody())) return false;
-    if (!getResponseBody()
-        .equals(other.getResponseBody())) return false;
-    if (!getAdditionalBindingsList()
-        .equals(other.getAdditionalBindingsList())) return false;
+    if (!getSelector().equals(other.getSelector())) return false;
+    if (!getBody().equals(other.getBody())) return false;
+    if (!getResponseBody().equals(other.getResponseBody())) return false;
+    if (!getAdditionalBindingsList().equals(other.getAdditionalBindingsList())) return false;
     if (!getPatternCase().equals(other.getPatternCase())) return false;
     switch (patternCase_) {
       case 2:
-        if (!getGet()
-            .equals(other.getGet())) return false;
+        if (!getGet().equals(other.getGet())) return false;
         break;
       case 3:
-        if (!getPut()
-            .equals(other.getPut())) return false;
+        if (!getPut().equals(other.getPut())) return false;
         break;
       case 4:
-        if (!getPost()
-            .equals(other.getPost())) return false;
+        if (!getPost().equals(other.getPost())) return false;
         break;
       case 5:
-        if (!getDelete()
-            .equals(other.getDelete())) return false;
+        if (!getDelete().equals(other.getDelete())) return false;
         break;
       case 6:
-        if (!getPatch()
-            .equals(other.getPatch())) return false;
+        if (!getPatch().equals(other.getPatch())) return false;
         break;
       case 8:
-        if (!getCustom()
-            .equals(other.getCustom())) return false;
+        if (!getCustom().equals(other.getCustom())) return false;
         break;
       case 0:
       default:
@@ -1171,99 +1249,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.HttpRule parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.HttpRule parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.HttpRule 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.HttpRule parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.HttpRule parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.HttpRule 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.HttpRule parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.HttpRule 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.HttpRule 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.HttpRule 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.HttpRule 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.HttpRule 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.HttpRule parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.HttpRule 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.HttpRule 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.HttpRule 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;
   }
   /**
+   *
+   *
    * 
    * # gRPC Transcoding
    *
@@ -1541,12 +1623,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.HttpRule}
    */
-  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.HttpRule)
       com.google.api.HttpRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.HttpProto.internal_static_google_api_HttpRule_descriptor;
     }
 
@@ -1559,15 +1640,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.HttpRule.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1591,8 +1669,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.HttpProto.internal_static_google_api_HttpRule_descriptor;
     }
 
@@ -1614,7 +1691,9 @@ public com.google.api.HttpRule build() {
     public com.google.api.HttpRule buildPartial() {
       com.google.api.HttpRule result = new com.google.api.HttpRule(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1648,8 +1727,7 @@ private void buildPartial0(com.google.api.HttpRule result) {
     private void buildPartialOneofs(com.google.api.HttpRule result) {
       result.patternCase_ = patternCase_;
       result.pattern_ = this.pattern_;
-      if (patternCase_ == 8 &&
-          customBuilder_ != null) {
+      if (patternCase_ == 8 && customBuilder_ != null) {
         result.pattern_ = customBuilder_.build();
       }
     }
@@ -1658,38 +1736,39 @@ private void buildPartialOneofs(com.google.api.HttpRule 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.HttpRule) {
-        return mergeFrom((com.google.api.HttpRule)other);
+        return mergeFrom((com.google.api.HttpRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1731,52 +1810,60 @@ public Builder mergeFrom(com.google.api.HttpRule other) {
             additionalBindingsBuilder_ = null;
             additionalBindings_ = other.additionalBindings_;
             bitField0_ = (bitField0_ & ~0x00000200);
-            additionalBindingsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAdditionalBindingsFieldBuilder() : null;
+            additionalBindingsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAdditionalBindingsFieldBuilder()
+                    : null;
           } else {
             additionalBindingsBuilder_.addAllMessages(other.additionalBindings_);
           }
         }
       }
       switch (other.getPatternCase()) {
-        case GET: {
-          patternCase_ = 2;
-          pattern_ = other.pattern_;
-          onChanged();
-          break;
-        }
-        case PUT: {
-          patternCase_ = 3;
-          pattern_ = other.pattern_;
-          onChanged();
-          break;
-        }
-        case POST: {
-          patternCase_ = 4;
-          pattern_ = other.pattern_;
-          onChanged();
-          break;
-        }
-        case DELETE: {
-          patternCase_ = 5;
-          pattern_ = other.pattern_;
-          onChanged();
-          break;
-        }
-        case PATCH: {
-          patternCase_ = 6;
-          pattern_ = other.pattern_;
-          onChanged();
-          break;
-        }
-        case CUSTOM: {
-          mergeCustom(other.getCustom());
-          break;
-        }
-        case PATTERN_NOT_SET: {
-          break;
-        }
+        case GET:
+          {
+            patternCase_ = 2;
+            pattern_ = other.pattern_;
+            onChanged();
+            break;
+          }
+        case PUT:
+          {
+            patternCase_ = 3;
+            pattern_ = other.pattern_;
+            onChanged();
+            break;
+          }
+        case POST:
+          {
+            patternCase_ = 4;
+            pattern_ = other.pattern_;
+            onChanged();
+            break;
+          }
+        case DELETE:
+          {
+            patternCase_ = 5;
+            pattern_ = other.pattern_;
+            onChanged();
+            break;
+          }
+        case PATCH:
+          {
+            patternCase_ = 6;
+            pattern_ = other.pattern_;
+            onChanged();
+            break;
+          }
+        case CUSTOM:
+          {
+            mergeCustom(other.getCustom());
+            break;
+          }
+        case PATTERN_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1804,77 +1891,84 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              selector_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              patternCase_ = 2;
-              pattern_ = s;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              patternCase_ = 3;
-              pattern_ = s;
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              patternCase_ = 4;
-              pattern_ = s;
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              patternCase_ = 5;
-              pattern_ = s;
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              patternCase_ = 6;
-              pattern_ = s;
-              break;
-            } // case 50
-            case 58: {
-              body_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getCustomFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              patternCase_ = 8;
-              break;
-            } // case 66
-            case 90: {
-              com.google.api.HttpRule m =
-                  input.readMessage(
-                      com.google.api.HttpRule.parser(),
-                      extensionRegistry);
-              if (additionalBindingsBuilder_ == null) {
-                ensureAdditionalBindingsIsMutable();
-                additionalBindings_.add(m);
-              } else {
-                additionalBindingsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 90
-            case 98: {
-              responseBody_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 98
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                selector_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                patternCase_ = 2;
+                pattern_ = s;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                patternCase_ = 3;
+                pattern_ = s;
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                patternCase_ = 4;
+                pattern_ = s;
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                patternCase_ = 5;
+                pattern_ = s;
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                patternCase_ = 6;
+                pattern_ = s;
+                break;
+              } // case 50
+            case 58:
+              {
+                body_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getCustomFieldBuilder().getBuilder(), extensionRegistry);
+                patternCase_ = 8;
+                break;
+              } // case 66
+            case 90:
+              {
+                com.google.api.HttpRule m =
+                    input.readMessage(com.google.api.HttpRule.parser(), extensionRegistry);
+                if (additionalBindingsBuilder_ == null) {
+                  ensureAdditionalBindingsIsMutable();
+                  additionalBindings_.add(m);
+                } else {
+                  additionalBindingsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 90
+            case 98:
+              {
+                responseBody_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 98
+            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) {
@@ -1884,12 +1978,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int patternCase_ = 0;
     private java.lang.Object pattern_;
-    public PatternCase
-        getPatternCase() {
-      return PatternCase.forNumber(
-          patternCase_);
+
+    public PatternCase getPatternCase() {
+      return PatternCase.forNumber(patternCase_);
     }
 
     public Builder clearPattern() {
@@ -1903,6 +1997,8 @@ public Builder clearPattern() {
 
     private java.lang.Object selector_ = "";
     /**
+     *
+     *
      * 
      * Selects a method to which this rule applies.
      *
@@ -1911,13 +2007,13 @@ public Builder clearPattern() {
      * 
* * string selector = 1; + * * @return The selector. */ public java.lang.String getSelector() { java.lang.Object ref = selector_; 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(); selector_ = s; return s; @@ -1926,6 +2022,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects a method to which this rule applies.
      *
@@ -1934,15 +2032,14 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @return The bytes for selector. */ - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -1950,6 +2047,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects a method to which this rule applies.
      *
@@ -1958,18 +2057,22 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @param value The selector to set. * @return This builder for chaining. */ - public Builder setSelector( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelector(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } selector_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Selects a method to which this rule applies.
      *
@@ -1978,6 +2081,7 @@ public Builder setSelector(
      * 
* * string selector = 1; + * * @return This builder for chaining. */ public Builder clearSelector() { @@ -1987,6 +2091,8 @@ public Builder clearSelector() { return this; } /** + * + * *
      * Selects a method to which this rule applies.
      *
@@ -1995,12 +2101,14 @@ public Builder clearSelector() {
      * 
* * string selector = 1; + * * @param value The bytes for selector to set. * @return This builder for chaining. */ - public Builder setSelectorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); selector_ = value; bitField0_ |= 0x00000001; @@ -2009,12 +2117,15 @@ public Builder setSelectorBytes( } /** + * + * *
      * Maps to HTTP GET. Used for listing and getting information about
      * resources.
      * 
* * string get = 2; + * * @return Whether the get field is set. */ @java.lang.Override @@ -2022,12 +2133,15 @@ public boolean hasGet() { return patternCase_ == 2; } /** + * + * *
      * Maps to HTTP GET. Used for listing and getting information about
      * resources.
      * 
* * string get = 2; + * * @return The get. */ @java.lang.Override @@ -2037,8 +2151,7 @@ public java.lang.String getGet() { ref = pattern_; } 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(); if (patternCase_ == 2) { pattern_ = s; @@ -2049,25 +2162,26 @@ public java.lang.String getGet() { } } /** + * + * *
      * Maps to HTTP GET. Used for listing and getting information about
      * resources.
      * 
* * string get = 2; + * * @return The bytes for get. */ @java.lang.Override - public com.google.protobuf.ByteString - getGetBytes() { + public com.google.protobuf.ByteString getGetBytes() { java.lang.Object ref = ""; if (patternCase_ == 2) { ref = pattern_; } 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); if (patternCase_ == 2) { pattern_ = b; } @@ -2077,30 +2191,37 @@ public java.lang.String getGet() { } } /** + * + * *
      * Maps to HTTP GET. Used for listing and getting information about
      * resources.
      * 
* * string get = 2; + * * @param value The get to set. * @return This builder for chaining. */ - public Builder setGet( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGet(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } patternCase_ = 2; pattern_ = value; onChanged(); return this; } /** + * + * *
      * Maps to HTTP GET. Used for listing and getting information about
      * resources.
      * 
* * string get = 2; + * * @return This builder for chaining. */ public Builder clearGet() { @@ -2112,18 +2233,22 @@ public Builder clearGet() { return this; } /** + * + * *
      * Maps to HTTP GET. Used for listing and getting information about
      * resources.
      * 
* * string get = 2; + * * @param value The bytes for get to set. * @return This builder for chaining. */ - public Builder setGetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); patternCase_ = 2; pattern_ = value; @@ -2132,11 +2257,14 @@ public Builder setGetBytes( } /** + * + * *
      * Maps to HTTP PUT. Used for replacing a resource.
      * 
* * string put = 3; + * * @return Whether the put field is set. */ @java.lang.Override @@ -2144,11 +2272,14 @@ public boolean hasPut() { return patternCase_ == 3; } /** + * + * *
      * Maps to HTTP PUT. Used for replacing a resource.
      * 
* * string put = 3; + * * @return The put. */ @java.lang.Override @@ -2158,8 +2289,7 @@ public java.lang.String getPut() { ref = pattern_; } 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(); if (patternCase_ == 3) { pattern_ = s; @@ -2170,24 +2300,25 @@ public java.lang.String getPut() { } } /** + * + * *
      * Maps to HTTP PUT. Used for replacing a resource.
      * 
* * string put = 3; + * * @return The bytes for put. */ @java.lang.Override - public com.google.protobuf.ByteString - getPutBytes() { + public com.google.protobuf.ByteString getPutBytes() { java.lang.Object ref = ""; if (patternCase_ == 3) { ref = pattern_; } 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); if (patternCase_ == 3) { pattern_ = b; } @@ -2197,28 +2328,35 @@ public java.lang.String getPut() { } } /** + * + * *
      * Maps to HTTP PUT. Used for replacing a resource.
      * 
* * string put = 3; + * * @param value The put to set. * @return This builder for chaining. */ - public Builder setPut( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPut(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } patternCase_ = 3; pattern_ = value; onChanged(); return this; } /** + * + * *
      * Maps to HTTP PUT. Used for replacing a resource.
      * 
* * string put = 3; + * * @return This builder for chaining. */ public Builder clearPut() { @@ -2230,17 +2368,21 @@ public Builder clearPut() { return this; } /** + * + * *
      * Maps to HTTP PUT. Used for replacing a resource.
      * 
* * string put = 3; + * * @param value The bytes for put to set. * @return This builder for chaining. */ - public Builder setPutBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPutBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); patternCase_ = 3; pattern_ = value; @@ -2249,11 +2391,14 @@ public Builder setPutBytes( } /** + * + * *
      * Maps to HTTP POST. Used for creating a resource or performing an action.
      * 
* * string post = 4; + * * @return Whether the post field is set. */ @java.lang.Override @@ -2261,11 +2406,14 @@ public boolean hasPost() { return patternCase_ == 4; } /** + * + * *
      * Maps to HTTP POST. Used for creating a resource or performing an action.
      * 
* * string post = 4; + * * @return The post. */ @java.lang.Override @@ -2275,8 +2423,7 @@ public java.lang.String getPost() { ref = pattern_; } 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(); if (patternCase_ == 4) { pattern_ = s; @@ -2287,24 +2434,25 @@ public java.lang.String getPost() { } } /** + * + * *
      * Maps to HTTP POST. Used for creating a resource or performing an action.
      * 
* * string post = 4; + * * @return The bytes for post. */ @java.lang.Override - public com.google.protobuf.ByteString - getPostBytes() { + public com.google.protobuf.ByteString getPostBytes() { java.lang.Object ref = ""; if (patternCase_ == 4) { ref = pattern_; } 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); if (patternCase_ == 4) { pattern_ = b; } @@ -2314,28 +2462,35 @@ public java.lang.String getPost() { } } /** + * + * *
      * Maps to HTTP POST. Used for creating a resource or performing an action.
      * 
* * string post = 4; + * * @param value The post to set. * @return This builder for chaining. */ - public Builder setPost( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPost(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } patternCase_ = 4; pattern_ = value; onChanged(); return this; } /** + * + * *
      * Maps to HTTP POST. Used for creating a resource or performing an action.
      * 
* * string post = 4; + * * @return This builder for chaining. */ public Builder clearPost() { @@ -2347,17 +2502,21 @@ public Builder clearPost() { return this; } /** + * + * *
      * Maps to HTTP POST. Used for creating a resource or performing an action.
      * 
* * string post = 4; + * * @param value The bytes for post to set. * @return This builder for chaining. */ - public Builder setPostBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPostBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); patternCase_ = 4; pattern_ = value; @@ -2366,11 +2525,14 @@ public Builder setPostBytes( } /** + * + * *
      * Maps to HTTP DELETE. Used for deleting a resource.
      * 
* * string delete = 5; + * * @return Whether the delete field is set. */ @java.lang.Override @@ -2378,11 +2540,14 @@ public boolean hasDelete() { return patternCase_ == 5; } /** + * + * *
      * Maps to HTTP DELETE. Used for deleting a resource.
      * 
* * string delete = 5; + * * @return The delete. */ @java.lang.Override @@ -2392,8 +2557,7 @@ public java.lang.String getDelete() { ref = pattern_; } 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(); if (patternCase_ == 5) { pattern_ = s; @@ -2404,24 +2568,25 @@ public java.lang.String getDelete() { } } /** + * + * *
      * Maps to HTTP DELETE. Used for deleting a resource.
      * 
* * string delete = 5; + * * @return The bytes for delete. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeleteBytes() { + public com.google.protobuf.ByteString getDeleteBytes() { java.lang.Object ref = ""; if (patternCase_ == 5) { ref = pattern_; } 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); if (patternCase_ == 5) { pattern_ = b; } @@ -2431,28 +2596,35 @@ public java.lang.String getDelete() { } } /** + * + * *
      * Maps to HTTP DELETE. Used for deleting a resource.
      * 
* * string delete = 5; + * * @param value The delete to set. * @return This builder for chaining. */ - public Builder setDelete( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelete(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } patternCase_ = 5; pattern_ = value; onChanged(); return this; } /** + * + * *
      * Maps to HTTP DELETE. Used for deleting a resource.
      * 
* * string delete = 5; + * * @return This builder for chaining. */ public Builder clearDelete() { @@ -2464,17 +2636,21 @@ public Builder clearDelete() { return this; } /** + * + * *
      * Maps to HTTP DELETE. Used for deleting a resource.
      * 
* * string delete = 5; + * * @param value The bytes for delete to set. * @return This builder for chaining. */ - public Builder setDeleteBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeleteBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); patternCase_ = 5; pattern_ = value; @@ -2483,11 +2659,14 @@ public Builder setDeleteBytes( } /** + * + * *
      * Maps to HTTP PATCH. Used for updating a resource.
      * 
* * string patch = 6; + * * @return Whether the patch field is set. */ @java.lang.Override @@ -2495,11 +2674,14 @@ public boolean hasPatch() { return patternCase_ == 6; } /** + * + * *
      * Maps to HTTP PATCH. Used for updating a resource.
      * 
* * string patch = 6; + * * @return The patch. */ @java.lang.Override @@ -2509,8 +2691,7 @@ public java.lang.String getPatch() { ref = pattern_; } 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(); if (patternCase_ == 6) { pattern_ = s; @@ -2521,24 +2702,25 @@ public java.lang.String getPatch() { } } /** + * + * *
      * Maps to HTTP PATCH. Used for updating a resource.
      * 
* * string patch = 6; + * * @return The bytes for patch. */ @java.lang.Override - public com.google.protobuf.ByteString - getPatchBytes() { + public com.google.protobuf.ByteString getPatchBytes() { java.lang.Object ref = ""; if (patternCase_ == 6) { ref = pattern_; } 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); if (patternCase_ == 6) { pattern_ = b; } @@ -2548,28 +2730,35 @@ public java.lang.String getPatch() { } } /** + * + * *
      * Maps to HTTP PATCH. Used for updating a resource.
      * 
* * string patch = 6; + * * @param value The patch to set. * @return This builder for chaining. */ - public Builder setPatch( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPatch(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } patternCase_ = 6; pattern_ = value; onChanged(); return this; } /** + * + * *
      * Maps to HTTP PATCH. Used for updating a resource.
      * 
* * string patch = 6; + * * @return This builder for chaining. */ public Builder clearPatch() { @@ -2581,17 +2770,21 @@ public Builder clearPatch() { return this; } /** + * + * *
      * Maps to HTTP PATCH. Used for updating a resource.
      * 
* * string patch = 6; + * * @param value The bytes for patch to set. * @return This builder for chaining. */ - public Builder setPatchBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPatchBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); patternCase_ = 6; pattern_ = value; @@ -2600,8 +2793,13 @@ public Builder setPatchBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CustomHttpPattern, com.google.api.CustomHttpPattern.Builder, com.google.api.CustomHttpPatternOrBuilder> customBuilder_; + com.google.api.CustomHttpPattern, + com.google.api.CustomHttpPattern.Builder, + com.google.api.CustomHttpPatternOrBuilder> + customBuilder_; /** + * + * *
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -2610,6 +2808,7 @@ public Builder setPatchBytes(
      * 
* * .google.api.CustomHttpPattern custom = 8; + * * @return Whether the custom field is set. */ @java.lang.Override @@ -2617,6 +2816,8 @@ public boolean hasCustom() { return patternCase_ == 8; } /** + * + * *
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -2625,6 +2826,7 @@ public boolean hasCustom() {
      * 
* * .google.api.CustomHttpPattern custom = 8; + * * @return The custom. */ @java.lang.Override @@ -2642,6 +2844,8 @@ public com.google.api.CustomHttpPattern getCustom() { } } /** + * + * *
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -2665,6 +2869,8 @@ public Builder setCustom(com.google.api.CustomHttpPattern value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -2674,8 +2880,7 @@ public Builder setCustom(com.google.api.CustomHttpPattern value) {
      *
      * .google.api.CustomHttpPattern custom = 8;
      */
-    public Builder setCustom(
-        com.google.api.CustomHttpPattern.Builder builderForValue) {
+    public Builder setCustom(com.google.api.CustomHttpPattern.Builder builderForValue) {
       if (customBuilder_ == null) {
         pattern_ = builderForValue.build();
         onChanged();
@@ -2686,6 +2891,8 @@ public Builder setCustom(
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -2697,10 +2904,13 @@ public Builder setCustom(
      */
     public Builder mergeCustom(com.google.api.CustomHttpPattern value) {
       if (customBuilder_ == null) {
-        if (patternCase_ == 8 &&
-            pattern_ != com.google.api.CustomHttpPattern.getDefaultInstance()) {
-          pattern_ = com.google.api.CustomHttpPattern.newBuilder((com.google.api.CustomHttpPattern) pattern_)
-              .mergeFrom(value).buildPartial();
+        if (patternCase_ == 8
+            && pattern_ != com.google.api.CustomHttpPattern.getDefaultInstance()) {
+          pattern_ =
+              com.google.api.CustomHttpPattern.newBuilder(
+                      (com.google.api.CustomHttpPattern) pattern_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           pattern_ = value;
         }
@@ -2716,6 +2926,8 @@ public Builder mergeCustom(com.google.api.CustomHttpPattern value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -2742,6 +2954,8 @@ public Builder clearCustom() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -2755,6 +2969,8 @@ public com.google.api.CustomHttpPattern.Builder getCustomBuilder() {
       return getCustomFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -2776,6 +2992,8 @@ public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -2786,17 +3004,20 @@ public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() {
      * .google.api.CustomHttpPattern custom = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.CustomHttpPattern, com.google.api.CustomHttpPattern.Builder, com.google.api.CustomHttpPatternOrBuilder> 
+            com.google.api.CustomHttpPattern,
+            com.google.api.CustomHttpPattern.Builder,
+            com.google.api.CustomHttpPatternOrBuilder>
         getCustomFieldBuilder() {
       if (customBuilder_ == null) {
         if (!(patternCase_ == 8)) {
           pattern_ = com.google.api.CustomHttpPattern.getDefaultInstance();
         }
-        customBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.CustomHttpPattern, com.google.api.CustomHttpPattern.Builder, com.google.api.CustomHttpPatternOrBuilder>(
-                (com.google.api.CustomHttpPattern) pattern_,
-                getParentForChildren(),
-                isClean());
+        customBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.api.CustomHttpPattern,
+                com.google.api.CustomHttpPattern.Builder,
+                com.google.api.CustomHttpPatternOrBuilder>(
+                (com.google.api.CustomHttpPattern) pattern_, getParentForChildren(), isClean());
         pattern_ = null;
       }
       patternCase_ = 8;
@@ -2806,6 +3027,8 @@ public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() {
 
     private java.lang.Object body_ = "";
     /**
+     *
+     *
      * 
      * The name of the request field whose value is mapped to the HTTP request
      * body, or `*` for mapping all request fields not captured by the path
@@ -2816,13 +3039,13 @@ public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() {
      * 
* * string body = 7; + * * @return The body. */ public java.lang.String getBody() { java.lang.Object ref = body_; 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(); body_ = s; return s; @@ -2831,6 +3054,8 @@ public java.lang.String getBody() { } } /** + * + * *
      * The name of the request field whose value is mapped to the HTTP request
      * body, or `*` for mapping all request fields not captured by the path
@@ -2841,15 +3066,14 @@ public java.lang.String getBody() {
      * 
* * string body = 7; + * * @return The bytes for body. */ - public com.google.protobuf.ByteString - getBodyBytes() { + public com.google.protobuf.ByteString getBodyBytes() { java.lang.Object ref = body_; 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); body_ = b; return b; } else { @@ -2857,6 +3081,8 @@ public java.lang.String getBody() { } } /** + * + * *
      * The name of the request field whose value is mapped to the HTTP request
      * body, or `*` for mapping all request fields not captured by the path
@@ -2867,18 +3093,22 @@ public java.lang.String getBody() {
      * 
* * string body = 7; + * * @param value The body to set. * @return This builder for chaining. */ - public Builder setBody( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBody(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } body_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * The name of the request field whose value is mapped to the HTTP request
      * body, or `*` for mapping all request fields not captured by the path
@@ -2889,6 +3119,7 @@ public Builder setBody(
      * 
* * string body = 7; + * * @return This builder for chaining. */ public Builder clearBody() { @@ -2898,6 +3129,8 @@ public Builder clearBody() { return this; } /** + * + * *
      * The name of the request field whose value is mapped to the HTTP request
      * body, or `*` for mapping all request fields not captured by the path
@@ -2908,12 +3141,14 @@ public Builder clearBody() {
      * 
* * string body = 7; + * * @param value The bytes for body to set. * @return This builder for chaining. */ - public Builder setBodyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBodyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); body_ = value; bitField0_ |= 0x00000080; @@ -2923,6 +3158,8 @@ public Builder setBodyBytes( private java.lang.Object responseBody_ = ""; /** + * + * *
      * Optional. The name of the response field whose value is mapped to the HTTP
      * response body. When omitted, the entire response message will be used
@@ -2933,13 +3170,13 @@ public Builder setBodyBytes(
      * 
* * string response_body = 12; + * * @return The responseBody. */ public java.lang.String getResponseBody() { java.lang.Object ref = responseBody_; 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(); responseBody_ = s; return s; @@ -2948,6 +3185,8 @@ public java.lang.String getResponseBody() { } } /** + * + * *
      * Optional. The name of the response field whose value is mapped to the HTTP
      * response body. When omitted, the entire response message will be used
@@ -2958,15 +3197,14 @@ public java.lang.String getResponseBody() {
      * 
* * string response_body = 12; + * * @return The bytes for responseBody. */ - public com.google.protobuf.ByteString - getResponseBodyBytes() { + public com.google.protobuf.ByteString getResponseBodyBytes() { java.lang.Object ref = responseBody_; 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); responseBody_ = b; return b; } else { @@ -2974,6 +3212,8 @@ public java.lang.String getResponseBody() { } } /** + * + * *
      * Optional. The name of the response field whose value is mapped to the HTTP
      * response body. When omitted, the entire response message will be used
@@ -2984,18 +3224,22 @@ public java.lang.String getResponseBody() {
      * 
* * string response_body = 12; + * * @param value The responseBody to set. * @return This builder for chaining. */ - public Builder setResponseBody( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResponseBody(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } responseBody_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional. The name of the response field whose value is mapped to the HTTP
      * response body. When omitted, the entire response message will be used
@@ -3006,6 +3250,7 @@ public Builder setResponseBody(
      * 
* * string response_body = 12; + * * @return This builder for chaining. */ public Builder clearResponseBody() { @@ -3015,6 +3260,8 @@ public Builder clearResponseBody() { return this; } /** + * + * *
      * Optional. The name of the response field whose value is mapped to the HTTP
      * response body. When omitted, the entire response message will be used
@@ -3025,12 +3272,14 @@ public Builder clearResponseBody() {
      * 
* * string response_body = 12; + * * @param value The bytes for responseBody to set. * @return This builder for chaining. */ - public Builder setResponseBodyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResponseBodyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); responseBody_ = value; bitField0_ |= 0x00000100; @@ -3039,18 +3288,24 @@ public Builder setResponseBodyBytes( } private java.util.List additionalBindings_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAdditionalBindingsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { additionalBindings_ = new java.util.ArrayList(additionalBindings_); bitField0_ |= 0x00000200; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder> additionalBindingsBuilder_; + com.google.api.HttpRule, + com.google.api.HttpRule.Builder, + com.google.api.HttpRuleOrBuilder> + additionalBindingsBuilder_; /** + * + * *
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3067,6 +3322,8 @@ public java.util.List getAdditionalBindingsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3083,6 +3340,8 @@ public int getAdditionalBindingsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3099,6 +3358,8 @@ public com.google.api.HttpRule getAdditionalBindings(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3107,8 +3368,7 @@ public com.google.api.HttpRule getAdditionalBindings(int index) {
      *
      * repeated .google.api.HttpRule additional_bindings = 11;
      */
-    public Builder setAdditionalBindings(
-        int index, com.google.api.HttpRule value) {
+    public Builder setAdditionalBindings(int index, com.google.api.HttpRule value) {
       if (additionalBindingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3122,6 +3382,8 @@ public Builder setAdditionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3142,6 +3404,8 @@ public Builder setAdditionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3164,6 +3428,8 @@ public Builder addAdditionalBindings(com.google.api.HttpRule value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3172,8 +3438,7 @@ public Builder addAdditionalBindings(com.google.api.HttpRule value) {
      *
      * repeated .google.api.HttpRule additional_bindings = 11;
      */
-    public Builder addAdditionalBindings(
-        int index, com.google.api.HttpRule value) {
+    public Builder addAdditionalBindings(int index, com.google.api.HttpRule value) {
       if (additionalBindingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3187,6 +3452,8 @@ public Builder addAdditionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3195,8 +3462,7 @@ public Builder addAdditionalBindings(
      *
      * repeated .google.api.HttpRule additional_bindings = 11;
      */
-    public Builder addAdditionalBindings(
-        com.google.api.HttpRule.Builder builderForValue) {
+    public Builder addAdditionalBindings(com.google.api.HttpRule.Builder builderForValue) {
       if (additionalBindingsBuilder_ == null) {
         ensureAdditionalBindingsIsMutable();
         additionalBindings_.add(builderForValue.build());
@@ -3207,6 +3473,8 @@ public Builder addAdditionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3227,6 +3495,8 @@ public Builder addAdditionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3239,8 +3509,7 @@ public Builder addAllAdditionalBindings(
         java.lang.Iterable values) {
       if (additionalBindingsBuilder_ == null) {
         ensureAdditionalBindingsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, additionalBindings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, additionalBindings_);
         onChanged();
       } else {
         additionalBindingsBuilder_.addAllMessages(values);
@@ -3248,6 +3517,8 @@ public Builder addAllAdditionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3267,6 +3538,8 @@ public Builder clearAdditionalBindings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3286,6 +3559,8 @@ public Builder removeAdditionalBindings(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3294,11 +3569,12 @@ public Builder removeAdditionalBindings(int index) {
      *
      * repeated .google.api.HttpRule additional_bindings = 11;
      */
-    public com.google.api.HttpRule.Builder getAdditionalBindingsBuilder(
-        int index) {
+    public com.google.api.HttpRule.Builder getAdditionalBindingsBuilder(int index) {
       return getAdditionalBindingsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3307,14 +3583,16 @@ public com.google.api.HttpRule.Builder getAdditionalBindingsBuilder(
      *
      * repeated .google.api.HttpRule additional_bindings = 11;
      */
-    public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(
-        int index) {
+    public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(int index) {
       if (additionalBindingsBuilder_ == null) {
-        return additionalBindings_.get(index);  } else {
+        return additionalBindings_.get(index);
+      } else {
         return additionalBindingsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3323,8 +3601,8 @@ public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(
      *
      * repeated .google.api.HttpRule additional_bindings = 11;
      */
-    public java.util.List 
-         getAdditionalBindingsOrBuilderList() {
+    public java.util.List
+        getAdditionalBindingsOrBuilderList() {
       if (additionalBindingsBuilder_ != null) {
         return additionalBindingsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3332,6 +3610,8 @@ public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3341,10 +3621,12 @@ public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(
      * repeated .google.api.HttpRule additional_bindings = 11;
      */
     public com.google.api.HttpRule.Builder addAdditionalBindingsBuilder() {
-      return getAdditionalBindingsFieldBuilder().addBuilder(
-          com.google.api.HttpRule.getDefaultInstance());
+      return getAdditionalBindingsFieldBuilder()
+          .addBuilder(com.google.api.HttpRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3353,12 +3635,13 @@ public com.google.api.HttpRule.Builder addAdditionalBindingsBuilder() {
      *
      * repeated .google.api.HttpRule additional_bindings = 11;
      */
-    public com.google.api.HttpRule.Builder addAdditionalBindingsBuilder(
-        int index) {
-      return getAdditionalBindingsFieldBuilder().addBuilder(
-          index, com.google.api.HttpRule.getDefaultInstance());
+    public com.google.api.HttpRule.Builder addAdditionalBindingsBuilder(int index) {
+      return getAdditionalBindingsFieldBuilder()
+          .addBuilder(index, com.google.api.HttpRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -3367,16 +3650,21 @@ public com.google.api.HttpRule.Builder addAdditionalBindingsBuilder(
      *
      * repeated .google.api.HttpRule additional_bindings = 11;
      */
-    public java.util.List 
-         getAdditionalBindingsBuilderList() {
+    public java.util.List getAdditionalBindingsBuilderList() {
       return getAdditionalBindingsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder> 
+            com.google.api.HttpRule,
+            com.google.api.HttpRule.Builder,
+            com.google.api.HttpRuleOrBuilder>
         getAdditionalBindingsFieldBuilder() {
       if (additionalBindingsBuilder_ == null) {
-        additionalBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder>(
+        additionalBindingsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.HttpRule,
+                com.google.api.HttpRule.Builder,
+                com.google.api.HttpRuleOrBuilder>(
                 additionalBindings_,
                 ((bitField0_ & 0x00000200) != 0),
                 getParentForChildren(),
@@ -3385,9 +3673,9 @@ public com.google.api.HttpRule.Builder addAdditionalBindingsBuilder(
       }
       return additionalBindingsBuilder_;
     }
+
     @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);
     }
 
@@ -3397,12 +3685,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.HttpRule)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.HttpRule)
   private static final com.google.api.HttpRule DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.HttpRule();
   }
@@ -3411,27 +3699,27 @@ public static com.google.api.HttpRule getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpRule 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 HttpRule 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;
@@ -3446,6 +3734,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.HttpRule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java
similarity index 83%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java
index 7108467f3e..56b7fa79c9 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface HttpRuleOrBuilder extends
+public interface HttpRuleOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.HttpRule)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Selects a method to which this rule applies.
    *
@@ -16,10 +34,13 @@ public interface HttpRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The selector. */ java.lang.String getSelector(); /** + * + * *
    * Selects a method to which this rule applies.
    *
@@ -28,160 +49,202 @@ public interface HttpRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The bytes for selector. */ - com.google.protobuf.ByteString - getSelectorBytes(); + com.google.protobuf.ByteString getSelectorBytes(); /** + * + * *
    * Maps to HTTP GET. Used for listing and getting information about
    * resources.
    * 
* * string get = 2; + * * @return Whether the get field is set. */ boolean hasGet(); /** + * + * *
    * Maps to HTTP GET. Used for listing and getting information about
    * resources.
    * 
* * string get = 2; + * * @return The get. */ java.lang.String getGet(); /** + * + * *
    * Maps to HTTP GET. Used for listing and getting information about
    * resources.
    * 
* * string get = 2; + * * @return The bytes for get. */ - com.google.protobuf.ByteString - getGetBytes(); + com.google.protobuf.ByteString getGetBytes(); /** + * + * *
    * Maps to HTTP PUT. Used for replacing a resource.
    * 
* * string put = 3; + * * @return Whether the put field is set. */ boolean hasPut(); /** + * + * *
    * Maps to HTTP PUT. Used for replacing a resource.
    * 
* * string put = 3; + * * @return The put. */ java.lang.String getPut(); /** + * + * *
    * Maps to HTTP PUT. Used for replacing a resource.
    * 
* * string put = 3; + * * @return The bytes for put. */ - com.google.protobuf.ByteString - getPutBytes(); + com.google.protobuf.ByteString getPutBytes(); /** + * + * *
    * Maps to HTTP POST. Used for creating a resource or performing an action.
    * 
* * string post = 4; + * * @return Whether the post field is set. */ boolean hasPost(); /** + * + * *
    * Maps to HTTP POST. Used for creating a resource or performing an action.
    * 
* * string post = 4; + * * @return The post. */ java.lang.String getPost(); /** + * + * *
    * Maps to HTTP POST. Used for creating a resource or performing an action.
    * 
* * string post = 4; + * * @return The bytes for post. */ - com.google.protobuf.ByteString - getPostBytes(); + com.google.protobuf.ByteString getPostBytes(); /** + * + * *
    * Maps to HTTP DELETE. Used for deleting a resource.
    * 
* * string delete = 5; + * * @return Whether the delete field is set. */ boolean hasDelete(); /** + * + * *
    * Maps to HTTP DELETE. Used for deleting a resource.
    * 
* * string delete = 5; + * * @return The delete. */ java.lang.String getDelete(); /** + * + * *
    * Maps to HTTP DELETE. Used for deleting a resource.
    * 
* * string delete = 5; + * * @return The bytes for delete. */ - com.google.protobuf.ByteString - getDeleteBytes(); + com.google.protobuf.ByteString getDeleteBytes(); /** + * + * *
    * Maps to HTTP PATCH. Used for updating a resource.
    * 
* * string patch = 6; + * * @return Whether the patch field is set. */ boolean hasPatch(); /** + * + * *
    * Maps to HTTP PATCH. Used for updating a resource.
    * 
* * string patch = 6; + * * @return The patch. */ java.lang.String getPatch(); /** + * + * *
    * Maps to HTTP PATCH. Used for updating a resource.
    * 
* * string patch = 6; + * * @return The bytes for patch. */ - com.google.protobuf.ByteString - getPatchBytes(); + com.google.protobuf.ByteString getPatchBytes(); /** + * + * *
    * The custom pattern is used for specifying an HTTP method that is not
    * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -190,10 +253,13 @@ public interface HttpRuleOrBuilder extends
    * 
* * .google.api.CustomHttpPattern custom = 8; + * * @return Whether the custom field is set. */ boolean hasCustom(); /** + * + * *
    * The custom pattern is used for specifying an HTTP method that is not
    * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -202,10 +268,13 @@ public interface HttpRuleOrBuilder extends
    * 
* * .google.api.CustomHttpPattern custom = 8; + * * @return The custom. */ com.google.api.CustomHttpPattern getCustom(); /** + * + * *
    * The custom pattern is used for specifying an HTTP method that is not
    * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -218,6 +287,8 @@ public interface HttpRuleOrBuilder extends
   com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder();
 
   /**
+   *
+   *
    * 
    * The name of the request field whose value is mapped to the HTTP request
    * body, or `*` for mapping all request fields not captured by the path
@@ -228,10 +299,13 @@ public interface HttpRuleOrBuilder extends
    * 
* * string body = 7; + * * @return The body. */ java.lang.String getBody(); /** + * + * *
    * The name of the request field whose value is mapped to the HTTP request
    * body, or `*` for mapping all request fields not captured by the path
@@ -242,12 +316,14 @@ public interface HttpRuleOrBuilder extends
    * 
* * string body = 7; + * * @return The bytes for body. */ - com.google.protobuf.ByteString - getBodyBytes(); + com.google.protobuf.ByteString getBodyBytes(); /** + * + * *
    * Optional. The name of the response field whose value is mapped to the HTTP
    * response body. When omitted, the entire response message will be used
@@ -258,10 +334,13 @@ public interface HttpRuleOrBuilder extends
    * 
* * string response_body = 12; + * * @return The responseBody. */ java.lang.String getResponseBody(); /** + * + * *
    * Optional. The name of the response field whose value is mapped to the HTTP
    * response body. When omitted, the entire response message will be used
@@ -272,12 +351,14 @@ public interface HttpRuleOrBuilder extends
    * 
* * string response_body = 12; + * * @return The bytes for responseBody. */ - com.google.protobuf.ByteString - getResponseBodyBytes(); + com.google.protobuf.ByteString getResponseBodyBytes(); /** + * + * *
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -286,9 +367,10 @@ public interface HttpRuleOrBuilder extends
    *
    * repeated .google.api.HttpRule additional_bindings = 11;
    */
-  java.util.List 
-      getAdditionalBindingsList();
+  java.util.List getAdditionalBindingsList();
   /**
+   *
+   *
    * 
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -299,6 +381,8 @@ public interface HttpRuleOrBuilder extends
    */
   com.google.api.HttpRule getAdditionalBindings(int index);
   /**
+   *
+   *
    * 
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -309,6 +393,8 @@ public interface HttpRuleOrBuilder extends
    */
   int getAdditionalBindingsCount();
   /**
+   *
+   *
    * 
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -317,9 +403,10 @@ public interface HttpRuleOrBuilder extends
    *
    * repeated .google.api.HttpRule additional_bindings = 11;
    */
-  java.util.List 
-      getAdditionalBindingsOrBuilderList();
+  java.util.List getAdditionalBindingsOrBuilderList();
   /**
+   *
+   *
    * 
    * Additional HTTP bindings for the selector. Nested bindings must
    * not contain an `additional_bindings` field themselves (that is,
@@ -328,8 +415,7 @@ public interface HttpRuleOrBuilder extends
    *
    * repeated .google.api.HttpRule additional_bindings = 11;
    */
-  com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(
-      int index);
+  com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(int index);
 
   com.google.api.HttpRule.PatternCase getPatternCase();
 }
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java
similarity index 72%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java
index 049adb8052..b30a9656b8 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java
@@ -1,52 +1,67 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * Settings for Java client libraries.
  * 
* * Protobuf type {@code google.api.JavaSettings} */ -public final class JavaSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class JavaSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.JavaSettings) JavaSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JavaSettings.newBuilder() to construct. private JavaSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private JavaSettings() { libraryPackage_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JavaSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_JavaSettings_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetServiceClassNames(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -56,9 +71,12 @@ protected com.google.protobuf.MapField internalGetMapField( } public static final int LIBRARY_PACKAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object libraryPackage_ = ""; /** + * + * *
    * The package name to use in Java. Clobbers the java_package option
    * set in the protobuf. This should be used **only** by APIs
@@ -74,6 +92,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string library_package = 1; + * * @return The libraryPackage. */ @java.lang.Override @@ -82,14 +101,15 @@ public java.lang.String getLibraryPackage() { 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(); libraryPackage_ = s; return s; } } /** + * + * *
    * The package name to use in Java. Clobbers the java_package option
    * set in the protobuf. This should be used **only** by APIs
@@ -105,16 +125,15 @@ public java.lang.String getLibraryPackage() {
    * 
* * string library_package = 1; + * * @return The bytes for libraryPackage. */ @java.lang.Override - public com.google.protobuf.ByteString - getLibraryPackageBytes() { + public com.google.protobuf.ByteString getLibraryPackageBytes() { java.lang.Object ref = libraryPackage_; 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); libraryPackage_ = b; return b; } else { @@ -123,32 +142,36 @@ public java.lang.String getLibraryPackage() { } public static final int SERVICE_CLASS_NAMES_FIELD_NUMBER = 2; + private static final class ServiceClassNamesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.api.ClientProto.internal_static_google_api_JavaSettings_ServiceClassNamesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.api.ClientProto + .internal_static_google_api_JavaSettings_ServiceClassNamesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> serviceClassNames_; + private com.google.protobuf.MapField serviceClassNames_; + private com.google.protobuf.MapField - internalGetServiceClassNames() { + internalGetServiceClassNames() { if (serviceClassNames_ == null) { return com.google.protobuf.MapField.emptyMapField( ServiceClassNamesDefaultEntryHolder.defaultEntry); } return serviceClassNames_; } + public int getServiceClassNamesCount() { return internalGetServiceClassNames().getMap().size(); } /** + * + * *
    * Configure the Java class name to use instead of the service's for its
    * corresponding generated GAPIC client. Keys are fully-qualified
@@ -169,20 +192,21 @@ public int getServiceClassNamesCount() {
    * map<string, string> service_class_names = 2;
    */
   @java.lang.Override
-  public boolean containsServiceClassNames(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsServiceClassNames(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetServiceClassNames().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getServiceClassNamesMap()} instead.
-   */
+  /** Use {@link #getServiceClassNamesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getServiceClassNames() {
     return getServiceClassNamesMap();
   }
   /**
+   *
+   *
    * 
    * Configure the Java class name to use instead of the service's for its
    * corresponding generated GAPIC client. Keys are fully-qualified
@@ -207,6 +231,8 @@ public java.util.Map getServiceClassNamesMap
     return internalGetServiceClassNames().getMap();
   }
   /**
+   *
+   *
    * 
    * Configure the Java class name to use instead of the service's for its
    * corresponding generated GAPIC client. Keys are fully-qualified
@@ -227,17 +253,19 @@ public java.util.Map getServiceClassNamesMap
    * map<string, string> service_class_names = 2;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getServiceClassNamesOrDefault(
+  public /* nullable */ java.lang.String getServiceClassNamesOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetServiceClassNames().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetServiceClassNames().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Configure the Java class name to use instead of the service's for its
    * corresponding generated GAPIC client. Keys are fully-qualified
@@ -258,11 +286,11 @@ java.lang.String getServiceClassNamesOrDefault(
    * map<string, string> service_class_names = 2;
    */
   @java.lang.Override
-  public java.lang.String getServiceClassNamesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetServiceClassNames().getMap();
+  public java.lang.String getServiceClassNamesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetServiceClassNames().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -272,11 +300,14 @@ public java.lang.String getServiceClassNamesOrThrow(
   public static final int COMMON_FIELD_NUMBER = 3;
   private com.google.api.CommonLanguageSettings common_;
   /**
+   *
+   *
    * 
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 3; + * * @return Whether the common field is set. */ @java.lang.Override @@ -284,11 +315,14 @@ public boolean hasCommon() { return common_ != null; } /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 3; + * * @return The common. */ @java.lang.Override @@ -296,6 +330,8 @@ public com.google.api.CommonLanguageSettings getCommon() { return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; } /** + * + * *
    * Some settings.
    * 
@@ -308,6 +344,7 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,13 +356,11 @@ 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(libraryPackage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, libraryPackage_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetServiceClassNames(), ServiceClassNamesDefaultEntryHolder.defaultEntry, @@ -345,19 +380,18 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(libraryPackage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, libraryPackage_); } - for (java.util.Map.Entry entry - : internalGetServiceClassNames().getMap().entrySet()) { - com.google.protobuf.MapEntry - serviceClassNames__ = ServiceClassNamesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, serviceClassNames__); + for (java.util.Map.Entry entry : + internalGetServiceClassNames().getMap().entrySet()) { + com.google.protobuf.MapEntry serviceClassNames__ = + ServiceClassNamesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, serviceClassNames__); } if (common_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCommon()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -367,21 +401,18 @@ 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.JavaSettings)) { return super.equals(obj); } com.google.api.JavaSettings other = (com.google.api.JavaSettings) obj; - if (!getLibraryPackage() - .equals(other.getLibraryPackage())) return false; - if (!internalGetServiceClassNames().equals( - other.internalGetServiceClassNames())) return false; + if (!getLibraryPackage().equals(other.getLibraryPackage())) return false; + if (!internalGetServiceClassNames().equals(other.internalGetServiceClassNames())) return false; if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -409,136 +440,137 @@ public int hashCode() { return hash; } - public static com.google.api.JavaSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.JavaSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.JavaSettings 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.JavaSettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.JavaSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.JavaSettings 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.JavaSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.JavaSettings 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.JavaSettings 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.JavaSettings 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.JavaSettings 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.JavaSettings 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.JavaSettings parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.JavaSettings 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.JavaSettings 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.JavaSettings 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; } /** + * + * *
    * Settings for Java client libraries.
    * 
* * Protobuf type {@code google.api.JavaSettings} */ - 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.JavaSettings) com.google.api.JavaSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_JavaSettings_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetServiceClassNames(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableServiceClassNames(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -548,15 +580,12 @@ protected com.google.protobuf.MapField internalGetMutableMapField( } // Construct using com.google.api.JavaSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -572,8 +601,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.ClientProto.internal_static_google_api_JavaSettings_descriptor; } @@ -594,7 +622,9 @@ public com.google.api.JavaSettings build() { @java.lang.Override public com.google.api.JavaSettings buildPartial() { com.google.api.JavaSettings result = new com.google.api.JavaSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -609,9 +639,7 @@ private void buildPartial0(com.google.api.JavaSettings result) { result.serviceClassNames_.makeImmutable(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); } } @@ -619,38 +647,39 @@ private void buildPartial0(com.google.api.JavaSettings 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.JavaSettings) { - return mergeFrom((com.google.api.JavaSettings)other); + return mergeFrom((com.google.api.JavaSettings) other); } else { super.mergeFrom(other); return this; @@ -664,8 +693,7 @@ public Builder mergeFrom(com.google.api.JavaSettings other) { bitField0_ |= 0x00000001; onChanged(); } - internalGetMutableServiceClassNames().mergeFrom( - other.internalGetServiceClassNames()); + internalGetMutableServiceClassNames().mergeFrom(other.internalGetServiceClassNames()); bitField0_ |= 0x00000002; if (other.hasCommon()) { mergeCommon(other.getCommon()); @@ -696,33 +724,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - libraryPackage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - serviceClassNames__ = input.readMessage( - ServiceClassNamesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableServiceClassNames().getMutableMap().put( - serviceClassNames__.getKey(), serviceClassNames__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + libraryPackage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry + serviceClassNames__ = + input.readMessage( + ServiceClassNamesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableServiceClassNames() + .getMutableMap() + .put(serviceClassNames__.getKey(), serviceClassNames__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + 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) { @@ -732,10 +765,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object libraryPackage_ = ""; /** + * + * *
      * The package name to use in Java. Clobbers the java_package option
      * set in the protobuf. This should be used **only** by APIs
@@ -751,13 +787,13 @@ public Builder mergeFrom(
      * 
* * string library_package = 1; + * * @return The libraryPackage. */ public java.lang.String getLibraryPackage() { java.lang.Object ref = libraryPackage_; 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(); libraryPackage_ = s; return s; @@ -766,6 +802,8 @@ public java.lang.String getLibraryPackage() { } } /** + * + * *
      * The package name to use in Java. Clobbers the java_package option
      * set in the protobuf. This should be used **only** by APIs
@@ -781,15 +819,14 @@ public java.lang.String getLibraryPackage() {
      * 
* * string library_package = 1; + * * @return The bytes for libraryPackage. */ - public com.google.protobuf.ByteString - getLibraryPackageBytes() { + public com.google.protobuf.ByteString getLibraryPackageBytes() { java.lang.Object ref = libraryPackage_; 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); libraryPackage_ = b; return b; } else { @@ -797,6 +834,8 @@ public java.lang.String getLibraryPackage() { } } /** + * + * *
      * The package name to use in Java. Clobbers the java_package option
      * set in the protobuf. This should be used **only** by APIs
@@ -812,18 +851,22 @@ public java.lang.String getLibraryPackage() {
      * 
* * string library_package = 1; + * * @param value The libraryPackage to set. * @return This builder for chaining. */ - public Builder setLibraryPackage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLibraryPackage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } libraryPackage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The package name to use in Java. Clobbers the java_package option
      * set in the protobuf. This should be used **only** by APIs
@@ -839,6 +882,7 @@ public Builder setLibraryPackage(
      * 
* * string library_package = 1; + * * @return This builder for chaining. */ public Builder clearLibraryPackage() { @@ -848,6 +892,8 @@ public Builder clearLibraryPackage() { return this; } /** + * + * *
      * The package name to use in Java. Clobbers the java_package option
      * set in the protobuf. This should be used **only** by APIs
@@ -863,12 +909,14 @@ public Builder clearLibraryPackage() {
      * 
* * string library_package = 1; + * * @param value The bytes for libraryPackage to set. * @return This builder for chaining. */ - public Builder setLibraryPackageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLibraryPackageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); libraryPackage_ = value; bitField0_ |= 0x00000001; @@ -876,8 +924,8 @@ public Builder setLibraryPackageBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> serviceClassNames_; + private com.google.protobuf.MapField serviceClassNames_; + private com.google.protobuf.MapField internalGetServiceClassNames() { if (serviceClassNames_ == null) { @@ -886,11 +934,13 @@ public Builder setLibraryPackageBytes( } return serviceClassNames_; } + private com.google.protobuf.MapField internalGetMutableServiceClassNames() { if (serviceClassNames_ == null) { - serviceClassNames_ = com.google.protobuf.MapField.newMapField( - ServiceClassNamesDefaultEntryHolder.defaultEntry); + serviceClassNames_ = + com.google.protobuf.MapField.newMapField( + ServiceClassNamesDefaultEntryHolder.defaultEntry); } if (!serviceClassNames_.isMutable()) { serviceClassNames_ = serviceClassNames_.copy(); @@ -899,10 +949,13 @@ public Builder setLibraryPackageBytes( onChanged(); return serviceClassNames_; } + public int getServiceClassNamesCount() { return internalGetServiceClassNames().getMap().size(); } /** + * + * *
      * Configure the Java class name to use instead of the service's for its
      * corresponding generated GAPIC client. Keys are fully-qualified
@@ -923,20 +976,21 @@ public int getServiceClassNamesCount() {
      * map<string, string> service_class_names = 2;
      */
     @java.lang.Override
-    public boolean containsServiceClassNames(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsServiceClassNames(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetServiceClassNames().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getServiceClassNamesMap()} instead.
-     */
+    /** Use {@link #getServiceClassNamesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getServiceClassNames() {
       return getServiceClassNamesMap();
     }
     /**
+     *
+     *
      * 
      * Configure the Java class name to use instead of the service's for its
      * corresponding generated GAPIC client. Keys are fully-qualified
@@ -961,6 +1015,8 @@ public java.util.Map getServiceClassNamesMap
       return internalGetServiceClassNames().getMap();
     }
     /**
+     *
+     *
      * 
      * Configure the Java class name to use instead of the service's for its
      * corresponding generated GAPIC client. Keys are fully-qualified
@@ -981,17 +1037,20 @@ public java.util.Map getServiceClassNamesMap
      * map<string, string> service_class_names = 2;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getServiceClassNamesOrDefault(
+    public /* nullable */ java.lang.String getServiceClassNamesOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetServiceClassNames().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Configure the Java class name to use instead of the service's for its
      * corresponding generated GAPIC client. Keys are fully-qualified
@@ -1012,9 +1071,10 @@ java.lang.String getServiceClassNamesOrDefault(
      * map<string, string> service_class_names = 2;
      */
     @java.lang.Override
-    public java.lang.String getServiceClassNamesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public java.lang.String getServiceClassNamesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetServiceClassNames().getMap();
       if (!map.containsKey(key)) {
@@ -1022,13 +1082,15 @@ public java.lang.String getServiceClassNamesOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearServiceClassNames() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableServiceClassNames().getMutableMap()
-          .clear();
+      internalGetMutableServiceClassNames().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Configure the Java class name to use instead of the service's for its
      * corresponding generated GAPIC client. Keys are fully-qualified
@@ -1048,23 +1110,22 @@ public Builder clearServiceClassNames() {
      *
      * map<string, string> service_class_names = 2;
      */
-    public Builder removeServiceClassNames(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableServiceClassNames().getMutableMap()
-          .remove(key);
+    public Builder removeServiceClassNames(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableServiceClassNames().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableServiceClassNames() {
+    public java.util.Map getMutableServiceClassNames() {
       bitField0_ |= 0x00000002;
       return internalGetMutableServiceClassNames().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Configure the Java class name to use instead of the service's for its
      * corresponding generated GAPIC client. Keys are fully-qualified
@@ -1084,17 +1145,20 @@ public Builder removeServiceClassNames(
      *
      * map<string, string> service_class_names = 2;
      */
-    public Builder putServiceClassNames(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableServiceClassNames().getMutableMap()
-          .put(key, value);
+    public Builder putServiceClassNames(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableServiceClassNames().getMutableMap().put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * Configure the Java class name to use instead of the service's for its
      * corresponding generated GAPIC client. Keys are fully-qualified
@@ -1116,42 +1180,54 @@ public Builder putServiceClassNames(
      */
     public Builder putAllServiceClassNames(
         java.util.Map values) {
-      internalGetMutableServiceClassNames().getMutableMap()
-          .putAll(values);
+      internalGetMutableServiceClassNames().getMutableMap().putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
 
     private com.google.api.CommonLanguageSettings common_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> commonBuilder_;
+            com.google.api.CommonLanguageSettings,
+            com.google.api.CommonLanguageSettings.Builder,
+            com.google.api.CommonLanguageSettingsOrBuilder>
+        commonBuilder_;
     /**
+     *
+     *
      * 
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 3; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 3; + * * @return The common. */ public com.google.api.CommonLanguageSettings getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Some settings.
      * 
@@ -1172,14 +1248,15 @@ public Builder setCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 3; */ - public Builder setCommon( - com.google.api.CommonLanguageSettings.Builder builderForValue) { + public Builder setCommon(com.google.api.CommonLanguageSettings.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -1190,6 +1267,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Some settings.
      * 
@@ -1198,9 +1277,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - common_ != null && - common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && common_ != null + && common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -1213,6 +1292,8 @@ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
@@ -1230,6 +1311,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Some settings.
      * 
@@ -1242,6 +1325,8 @@ public com.google.api.CommonLanguageSettings.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Some settings.
      * 
@@ -1252,11 +1337,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } } /** + * + * *
      * Some settings.
      * 
@@ -1264,21 +1352,24 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * .google.api.CommonLanguageSettings common = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; } + @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); } @@ -1288,12 +1379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.JavaSettings) } // @@protoc_insertion_point(class_scope:google.api.JavaSettings) private static final com.google.api.JavaSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.JavaSettings(); } @@ -1302,27 +1393,27 @@ public static com.google.api.JavaSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JavaSettings 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 JavaSettings 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; @@ -1337,6 +1428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.JavaSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java similarity index 82% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java index a3ec2f50f2..72a860c07e 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface JavaSettingsOrBuilder extends +public interface JavaSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.JavaSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The package name to use in Java. Clobbers the java_package option
    * set in the protobuf. This should be used **only** by APIs
@@ -23,10 +41,13 @@ public interface JavaSettingsOrBuilder extends
    * 
* * string library_package = 1; + * * @return The libraryPackage. */ java.lang.String getLibraryPackage(); /** + * + * *
    * The package name to use in Java. Clobbers the java_package option
    * set in the protobuf. This should be used **only** by APIs
@@ -42,12 +63,14 @@ public interface JavaSettingsOrBuilder extends
    * 
* * string library_package = 1; + * * @return The bytes for libraryPackage. */ - com.google.protobuf.ByteString - getLibraryPackageBytes(); + com.google.protobuf.ByteString getLibraryPackageBytes(); /** + * + * *
    * Configure the Java class name to use instead of the service's for its
    * corresponding generated GAPIC client. Keys are fully-qualified
@@ -69,6 +92,8 @@ public interface JavaSettingsOrBuilder extends
    */
   int getServiceClassNamesCount();
   /**
+   *
+   *
    * 
    * Configure the Java class name to use instead of the service's for its
    * corresponding generated GAPIC client. Keys are fully-qualified
@@ -88,15 +113,13 @@ public interface JavaSettingsOrBuilder extends
    *
    * map<string, string> service_class_names = 2;
    */
-  boolean containsServiceClassNames(
-      java.lang.String key);
-  /**
-   * Use {@link #getServiceClassNamesMap()} instead.
-   */
+  boolean containsServiceClassNames(java.lang.String key);
+  /** Use {@link #getServiceClassNamesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getServiceClassNames();
+  java.util.Map getServiceClassNames();
   /**
+   *
+   *
    * 
    * Configure the Java class name to use instead of the service's for its
    * corresponding generated GAPIC client. Keys are fully-qualified
@@ -116,9 +139,10 @@ boolean containsServiceClassNames(
    *
    * map<string, string> service_class_names = 2;
    */
-  java.util.Map
-  getServiceClassNamesMap();
+  java.util.Map getServiceClassNamesMap();
   /**
+   *
+   *
    * 
    * Configure the Java class name to use instead of the service's for its
    * corresponding generated GAPIC client. Keys are fully-qualified
@@ -139,11 +163,13 @@ boolean containsServiceClassNames(
    * map<string, string> service_class_names = 2;
    */
   /* nullable */
-java.lang.String getServiceClassNamesOrDefault(
+  java.lang.String getServiceClassNamesOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Configure the Java class name to use instead of the service's for its
    * corresponding generated GAPIC client. Keys are fully-qualified
@@ -163,28 +189,35 @@ java.lang.String getServiceClassNamesOrDefault(
    *
    * map<string, string> service_class_names = 2;
    */
-  java.lang.String getServiceClassNamesOrThrow(
-      java.lang.String key);
+  java.lang.String getServiceClassNamesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 3; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 3; + * * @return The common. */ com.google.api.CommonLanguageSettings getCommon(); /** + * + * *
    * Some settings.
    * 
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java similarity index 73% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java index 67b87847d9..bfbcb69bfe 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java @@ -1,37 +1,53 @@ +/* + * 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; /** + * + * *
  * Specifies a location to extract JWT from an API request.
  * 
* * Protobuf type {@code google.api.JwtLocation} */ -public final class JwtLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class JwtLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.JwtLocation) JwtLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JwtLocation.newBuilder() to construct. private JwtLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private JwtLocation() { valuePrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JwtLocation(); } - 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_JwtLocation_descriptor; } @@ -44,16 +60,20 @@ protected java.lang.Object newInstance( } private int inCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object in_; + public enum InCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { HEADER(1), QUERY(2), COOKIE(4), IN_NOT_SET(0); private final int value; + private InCase(int value) { this.value = value; } @@ -69,42 +89,52 @@ public static InCase valueOf(int value) { public static InCase forNumber(int value) { switch (value) { - case 1: return HEADER; - case 2: return QUERY; - case 4: return COOKIE; - case 0: return IN_NOT_SET; - default: return null; + case 1: + return HEADER; + case 2: + return QUERY; + case 4: + return COOKIE; + case 0: + return IN_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public InCase - getInCase() { - return InCase.forNumber( - inCase_); + public InCase getInCase() { + return InCase.forNumber(inCase_); } public static final int HEADER_FIELD_NUMBER = 1; /** + * + * *
    * Specifies HTTP header name to extract JWT token.
    * 
* * string header = 1; + * * @return Whether the header field is set. */ public boolean hasHeader() { return inCase_ == 1; } /** + * + * *
    * Specifies HTTP header name to extract JWT token.
    * 
* * string header = 1; + * * @return The header. */ public java.lang.String getHeader() { @@ -115,8 +145,7 @@ public java.lang.String getHeader() { 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(); if (inCase_ == 1) { in_ = s; @@ -125,23 +154,24 @@ public java.lang.String getHeader() { } } /** + * + * *
    * Specifies HTTP header name to extract JWT token.
    * 
* * string header = 1; + * * @return The bytes for header. */ - public com.google.protobuf.ByteString - getHeaderBytes() { + public com.google.protobuf.ByteString getHeaderBytes() { java.lang.Object ref = ""; if (inCase_ == 1) { ref = in_; } 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); if (inCase_ == 1) { in_ = b; } @@ -153,22 +183,28 @@ public java.lang.String getHeader() { public static final int QUERY_FIELD_NUMBER = 2; /** + * + * *
    * Specifies URL query parameter name to extract JWT token.
    * 
* * string query = 2; + * * @return Whether the query field is set. */ public boolean hasQuery() { return inCase_ == 2; } /** + * + * *
    * Specifies URL query parameter name to extract JWT token.
    * 
* * string query = 2; + * * @return The query. */ public java.lang.String getQuery() { @@ -179,8 +215,7 @@ public java.lang.String getQuery() { 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(); if (inCase_ == 2) { in_ = s; @@ -189,23 +224,24 @@ public java.lang.String getQuery() { } } /** + * + * *
    * Specifies URL query parameter name to extract JWT token.
    * 
* * string query = 2; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = ""; if (inCase_ == 2) { ref = in_; } 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); if (inCase_ == 2) { in_ = b; } @@ -217,22 +253,28 @@ public java.lang.String getQuery() { public static final int COOKIE_FIELD_NUMBER = 4; /** + * + * *
    * Specifies cookie name to extract JWT token.
    * 
* * string cookie = 4; + * * @return Whether the cookie field is set. */ public boolean hasCookie() { return inCase_ == 4; } /** + * + * *
    * Specifies cookie name to extract JWT token.
    * 
* * string cookie = 4; + * * @return The cookie. */ public java.lang.String getCookie() { @@ -243,8 +285,7 @@ public java.lang.String getCookie() { 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(); if (inCase_ == 4) { in_ = s; @@ -253,23 +294,24 @@ public java.lang.String getCookie() { } } /** + * + * *
    * Specifies cookie name to extract JWT token.
    * 
* * string cookie = 4; + * * @return The bytes for cookie. */ - public com.google.protobuf.ByteString - getCookieBytes() { + public com.google.protobuf.ByteString getCookieBytes() { java.lang.Object ref = ""; if (inCase_ == 4) { ref = in_; } 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); if (inCase_ == 4) { in_ = b; } @@ -280,9 +322,12 @@ public java.lang.String getCookie() { } public static final int VALUE_PREFIX_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object valuePrefix_ = ""; /** + * + * *
    * The value prefix. The value format is "value_prefix{token}"
    * Only applies to "in" header type. Must be empty for "in" query type.
@@ -295,6 +340,7 @@ public java.lang.String getCookie() {
    * 
* * string value_prefix = 3; + * * @return The valuePrefix. */ @java.lang.Override @@ -303,14 +349,15 @@ public java.lang.String getValuePrefix() { 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(); valuePrefix_ = s; return s; } } /** + * + * *
    * The value prefix. The value format is "value_prefix{token}"
    * Only applies to "in" header type. Must be empty for "in" query type.
@@ -323,16 +370,15 @@ public java.lang.String getValuePrefix() {
    * 
* * string value_prefix = 3; + * * @return The bytes for valuePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getValuePrefixBytes() { + public com.google.protobuf.ByteString getValuePrefixBytes() { java.lang.Object ref = valuePrefix_; 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); valuePrefix_ = b; return b; } else { @@ -341,6 +387,7 @@ public java.lang.String getValuePrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -352,8 +399,7 @@ 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 (inCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, in_); } @@ -395,28 +441,24 @@ 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.JwtLocation)) { return super.equals(obj); } com.google.api.JwtLocation other = (com.google.api.JwtLocation) obj; - if (!getValuePrefix() - .equals(other.getValuePrefix())) return false; + if (!getValuePrefix().equals(other.getValuePrefix())) return false; if (!getInCase().equals(other.getInCase())) return false; switch (inCase_) { case 1: - if (!getHeader() - .equals(other.getHeader())) return false; + if (!getHeader().equals(other.getHeader())) return false; break; case 2: - if (!getQuery() - .equals(other.getQuery())) return false; + if (!getQuery().equals(other.getQuery())) return false; break; case 4: - if (!getCookie() - .equals(other.getCookie())) return false; + if (!getCookie().equals(other.getCookie())) return false; break; case 0: default: @@ -455,111 +497,114 @@ public int hashCode() { return hash; } - public static com.google.api.JwtLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.JwtLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.JwtLocation 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.JwtLocation parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.JwtLocation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.JwtLocation 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.JwtLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.JwtLocation 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.JwtLocation 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.JwtLocation 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.JwtLocation 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.JwtLocation 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.JwtLocation parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.JwtLocation 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.JwtLocation 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.JwtLocation 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; } /** + * + * *
    * Specifies a location to extract JWT from an API request.
    * 
* * Protobuf type {@code google.api.JwtLocation} */ - 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.JwtLocation) com.google.api.JwtLocationOrBuilder { - 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_JwtLocation_descriptor; } @@ -572,15 +617,12 @@ public static final class Builder extends } // Construct using com.google.api.JwtLocation.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -592,8 +634,7 @@ 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_JwtLocation_descriptor; } @@ -614,7 +655,9 @@ public com.google.api.JwtLocation build() { @java.lang.Override public com.google.api.JwtLocation buildPartial() { com.google.api.JwtLocation result = new com.google.api.JwtLocation(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -636,38 +679,39 @@ private void buildPartialOneofs(com.google.api.JwtLocation 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.JwtLocation) { - return mergeFrom((com.google.api.JwtLocation)other); + return mergeFrom((com.google.api.JwtLocation) other); } else { super.mergeFrom(other); return this; @@ -682,27 +726,31 @@ public Builder mergeFrom(com.google.api.JwtLocation other) { onChanged(); } switch (other.getInCase()) { - case HEADER: { - inCase_ = 1; - in_ = other.in_; - onChanged(); - break; - } - case QUERY: { - inCase_ = 2; - in_ = other.in_; - onChanged(); - break; - } - case COOKIE: { - inCase_ = 4; - in_ = other.in_; - onChanged(); - break; - } - case IN_NOT_SET: { - break; - } + case HEADER: + { + inCase_ = 1; + in_ = other.in_; + onChanged(); + break; + } + case QUERY: + { + inCase_ = 2; + in_ = other.in_; + onChanged(); + break; + } + case COOKIE: + { + inCase_ = 4; + in_ = other.in_; + onChanged(); + break; + } + case IN_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -730,35 +778,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - inCase_ = 1; - in_ = s; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - inCase_ = 2; - in_ = s; - break; - } // case 18 - case 26: { - valuePrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - inCase_ = 4; - in_ = s; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + inCase_ = 1; + in_ = s; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + inCase_ = 2; + in_ = s; + break; + } // case 18 + case 26: + { + valuePrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + inCase_ = 4; + in_ = s; + 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) { @@ -768,12 +821,12 @@ public Builder mergeFrom( } // finally return this; } + private int inCase_ = 0; private java.lang.Object in_; - public InCase - getInCase() { - return InCase.forNumber( - inCase_); + + public InCase getInCase() { + return InCase.forNumber(inCase_); } public Builder clearIn() { @@ -786,11 +839,14 @@ public Builder clearIn() { private int bitField0_; /** + * + * *
      * Specifies HTTP header name to extract JWT token.
      * 
* * string header = 1; + * * @return Whether the header field is set. */ @java.lang.Override @@ -798,11 +854,14 @@ public boolean hasHeader() { return inCase_ == 1; } /** + * + * *
      * Specifies HTTP header name to extract JWT token.
      * 
* * string header = 1; + * * @return The header. */ @java.lang.Override @@ -812,8 +871,7 @@ public java.lang.String getHeader() { ref = in_; } 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(); if (inCase_ == 1) { in_ = s; @@ -824,24 +882,25 @@ public java.lang.String getHeader() { } } /** + * + * *
      * Specifies HTTP header name to extract JWT token.
      * 
* * string header = 1; + * * @return The bytes for header. */ @java.lang.Override - public com.google.protobuf.ByteString - getHeaderBytes() { + public com.google.protobuf.ByteString getHeaderBytes() { java.lang.Object ref = ""; if (inCase_ == 1) { ref = in_; } 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); if (inCase_ == 1) { in_ = b; } @@ -851,28 +910,35 @@ public java.lang.String getHeader() { } } /** + * + * *
      * Specifies HTTP header name to extract JWT token.
      * 
* * string header = 1; + * * @param value The header to set. * @return This builder for chaining. */ - public Builder setHeader( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHeader(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } inCase_ = 1; in_ = value; onChanged(); return this; } /** + * + * *
      * Specifies HTTP header name to extract JWT token.
      * 
* * string header = 1; + * * @return This builder for chaining. */ public Builder clearHeader() { @@ -884,17 +950,21 @@ public Builder clearHeader() { return this; } /** + * + * *
      * Specifies HTTP header name to extract JWT token.
      * 
* * string header = 1; + * * @param value The bytes for header to set. * @return This builder for chaining. */ - public Builder setHeaderBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHeaderBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); inCase_ = 1; in_ = value; @@ -903,11 +973,14 @@ public Builder setHeaderBytes( } /** + * + * *
      * Specifies URL query parameter name to extract JWT token.
      * 
* * string query = 2; + * * @return Whether the query field is set. */ @java.lang.Override @@ -915,11 +988,14 @@ public boolean hasQuery() { return inCase_ == 2; } /** + * + * *
      * Specifies URL query parameter name to extract JWT token.
      * 
* * string query = 2; + * * @return The query. */ @java.lang.Override @@ -929,8 +1005,7 @@ public java.lang.String getQuery() { ref = in_; } 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(); if (inCase_ == 2) { in_ = s; @@ -941,24 +1016,25 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Specifies URL query parameter name to extract JWT token.
      * 
* * string query = 2; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = ""; if (inCase_ == 2) { ref = in_; } 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); if (inCase_ == 2) { in_ = b; } @@ -968,28 +1044,35 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Specifies URL query parameter name to extract JWT token.
      * 
* * string query = 2; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } inCase_ = 2; in_ = value; onChanged(); return this; } /** + * + * *
      * Specifies URL query parameter name to extract JWT token.
      * 
* * string query = 2; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -1001,17 +1084,21 @@ public Builder clearQuery() { return this; } /** + * + * *
      * Specifies URL query parameter name to extract JWT token.
      * 
* * string query = 2; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); inCase_ = 2; in_ = value; @@ -1020,11 +1107,14 @@ public Builder setQueryBytes( } /** + * + * *
      * Specifies cookie name to extract JWT token.
      * 
* * string cookie = 4; + * * @return Whether the cookie field is set. */ @java.lang.Override @@ -1032,11 +1122,14 @@ public boolean hasCookie() { return inCase_ == 4; } /** + * + * *
      * Specifies cookie name to extract JWT token.
      * 
* * string cookie = 4; + * * @return The cookie. */ @java.lang.Override @@ -1046,8 +1139,7 @@ public java.lang.String getCookie() { ref = in_; } 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(); if (inCase_ == 4) { in_ = s; @@ -1058,24 +1150,25 @@ public java.lang.String getCookie() { } } /** + * + * *
      * Specifies cookie name to extract JWT token.
      * 
* * string cookie = 4; + * * @return The bytes for cookie. */ @java.lang.Override - public com.google.protobuf.ByteString - getCookieBytes() { + public com.google.protobuf.ByteString getCookieBytes() { java.lang.Object ref = ""; if (inCase_ == 4) { ref = in_; } 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); if (inCase_ == 4) { in_ = b; } @@ -1085,28 +1178,35 @@ public java.lang.String getCookie() { } } /** + * + * *
      * Specifies cookie name to extract JWT token.
      * 
* * string cookie = 4; + * * @param value The cookie to set. * @return This builder for chaining. */ - public Builder setCookie( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCookie(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } inCase_ = 4; in_ = value; onChanged(); return this; } /** + * + * *
      * Specifies cookie name to extract JWT token.
      * 
* * string cookie = 4; + * * @return This builder for chaining. */ public Builder clearCookie() { @@ -1118,17 +1218,21 @@ public Builder clearCookie() { return this; } /** + * + * *
      * Specifies cookie name to extract JWT token.
      * 
* * string cookie = 4; + * * @param value The bytes for cookie to set. * @return This builder for chaining. */ - public Builder setCookieBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCookieBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); inCase_ = 4; in_ = value; @@ -1138,6 +1242,8 @@ public Builder setCookieBytes( private java.lang.Object valuePrefix_ = ""; /** + * + * *
      * The value prefix. The value format is "value_prefix{token}"
      * Only applies to "in" header type. Must be empty for "in" query type.
@@ -1150,13 +1256,13 @@ public Builder setCookieBytes(
      * 
* * string value_prefix = 3; + * * @return The valuePrefix. */ public java.lang.String getValuePrefix() { java.lang.Object ref = valuePrefix_; 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(); valuePrefix_ = s; return s; @@ -1165,6 +1271,8 @@ public java.lang.String getValuePrefix() { } } /** + * + * *
      * The value prefix. The value format is "value_prefix{token}"
      * Only applies to "in" header type. Must be empty for "in" query type.
@@ -1177,15 +1285,14 @@ public java.lang.String getValuePrefix() {
      * 
* * string value_prefix = 3; + * * @return The bytes for valuePrefix. */ - public com.google.protobuf.ByteString - getValuePrefixBytes() { + public com.google.protobuf.ByteString getValuePrefixBytes() { java.lang.Object ref = valuePrefix_; 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); valuePrefix_ = b; return b; } else { @@ -1193,6 +1300,8 @@ public java.lang.String getValuePrefix() { } } /** + * + * *
      * The value prefix. The value format is "value_prefix{token}"
      * Only applies to "in" header type. Must be empty for "in" query type.
@@ -1205,18 +1314,22 @@ public java.lang.String getValuePrefix() {
      * 
* * string value_prefix = 3; + * * @param value The valuePrefix to set. * @return This builder for chaining. */ - public Builder setValuePrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValuePrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } valuePrefix_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The value prefix. The value format is "value_prefix{token}"
      * Only applies to "in" header type. Must be empty for "in" query type.
@@ -1229,6 +1342,7 @@ public Builder setValuePrefix(
      * 
* * string value_prefix = 3; + * * @return This builder for chaining. */ public Builder clearValuePrefix() { @@ -1238,6 +1352,8 @@ public Builder clearValuePrefix() { return this; } /** + * + * *
      * The value prefix. The value format is "value_prefix{token}"
      * Only applies to "in" header type. Must be empty for "in" query type.
@@ -1250,21 +1366,23 @@ public Builder clearValuePrefix() {
      * 
* * string value_prefix = 3; + * * @param value The bytes for valuePrefix to set. * @return This builder for chaining. */ - public Builder setValuePrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValuePrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); valuePrefix_ = value; bitField0_ |= 0x00000008; 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); } @@ -1274,12 +1392,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.JwtLocation) } // @@protoc_insertion_point(class_scope:google.api.JwtLocation) private static final com.google.api.JwtLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.JwtLocation(); } @@ -1288,27 +1406,27 @@ public static com.google.api.JwtLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JwtLocation 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 JwtLocation 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; @@ -1323,6 +1441,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.JwtLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java similarity index 75% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java index 125fd625e9..cd6fff9f5b 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java @@ -1,100 +1,142 @@ +/* + * 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 interface JwtLocationOrBuilder extends +public interface JwtLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.JwtLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies HTTP header name to extract JWT token.
    * 
* * string header = 1; + * * @return Whether the header field is set. */ boolean hasHeader(); /** + * + * *
    * Specifies HTTP header name to extract JWT token.
    * 
* * string header = 1; + * * @return The header. */ java.lang.String getHeader(); /** + * + * *
    * Specifies HTTP header name to extract JWT token.
    * 
* * string header = 1; + * * @return The bytes for header. */ - com.google.protobuf.ByteString - getHeaderBytes(); + com.google.protobuf.ByteString getHeaderBytes(); /** + * + * *
    * Specifies URL query parameter name to extract JWT token.
    * 
* * string query = 2; + * * @return Whether the query field is set. */ boolean hasQuery(); /** + * + * *
    * Specifies URL query parameter name to extract JWT token.
    * 
* * string query = 2; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Specifies URL query parameter name to extract JWT token.
    * 
* * string query = 2; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Specifies cookie name to extract JWT token.
    * 
* * string cookie = 4; + * * @return Whether the cookie field is set. */ boolean hasCookie(); /** + * + * *
    * Specifies cookie name to extract JWT token.
    * 
* * string cookie = 4; + * * @return The cookie. */ java.lang.String getCookie(); /** + * + * *
    * Specifies cookie name to extract JWT token.
    * 
* * string cookie = 4; + * * @return The bytes for cookie. */ - com.google.protobuf.ByteString - getCookieBytes(); + com.google.protobuf.ByteString getCookieBytes(); /** + * + * *
    * The value prefix. The value format is "value_prefix{token}"
    * Only applies to "in" header type. Must be empty for "in" query type.
@@ -107,10 +149,13 @@ public interface JwtLocationOrBuilder extends
    * 
* * string value_prefix = 3; + * * @return The valuePrefix. */ java.lang.String getValuePrefix(); /** + * + * *
    * The value prefix. The value format is "value_prefix{token}"
    * Only applies to "in" header type. Must be empty for "in" query type.
@@ -123,10 +168,10 @@ public interface JwtLocationOrBuilder extends
    * 
* * string value_prefix = 3; + * * @return The bytes for valuePrefix. */ - com.google.protobuf.ByteString - getValuePrefixBytes(); + com.google.protobuf.ByteString getValuePrefixBytes(); com.google.api.JwtLocation.InCase getInCase(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java similarity index 72% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java index fdc6416fc1..66324c3b4c 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java @@ -1,24 +1,42 @@ +/* + * 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; /** + * + * *
  * A description of a label.
  * 
* * Protobuf type {@code google.api.LabelDescriptor} */ -public final class LabelDescriptor extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelDescriptor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.LabelDescriptor) LabelDescriptorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelDescriptor.newBuilder() to construct. private LabelDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelDescriptor() { key_ = ""; valueType_ = 0; @@ -27,13 +45,11 @@ private LabelDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelDescriptor(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.LabelProto.internal_static_google_api_LabelDescriptor_descriptor; } @@ -46,15 +62,18 @@ protected java.lang.Object newInstance( } /** + * + * *
    * Value types that can be used as label values.
    * 
* * Protobuf enum {@code google.api.LabelDescriptor.ValueType} */ - public enum ValueType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * A variable-length string. This is the default.
      * 
@@ -63,6 +82,8 @@ public enum ValueType */ STRING(0), /** + * + * *
      * Boolean; true or false.
      * 
@@ -71,6 +92,8 @@ public enum ValueType */ BOOL(1), /** + * + * *
      * A 64-bit signed integer.
      * 
@@ -82,6 +105,8 @@ public enum ValueType ; /** + * + * *
      * A variable-length string. This is the default.
      * 
@@ -90,6 +115,8 @@ public enum ValueType */ public static final int STRING_VALUE = 0; /** + * + * *
      * Boolean; true or false.
      * 
@@ -98,6 +125,8 @@ public enum ValueType */ public static final int BOOL_VALUE = 1; /** + * + * *
      * A 64-bit signed integer.
      * 
@@ -106,7 +135,6 @@ public enum ValueType */ public static final int INT64_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -131,49 +159,49 @@ public static ValueType valueOf(int value) { */ public static ValueType forNumber(int value) { switch (value) { - case 0: return STRING; - case 1: return BOOL; - case 2: return INT64; - default: return null; + case 0: + return STRING; + case 1: + return BOOL; + case 2: + return INT64; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ValueType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValueType findValueByNumber(int number) { - return ValueType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ValueType findValueByNumber(int number) { + return ValueType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.api.LabelDescriptor.getDescriptor().getEnumTypes().get(0); } private static final ValueType[] VALUES = values(); - public static ValueType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -191,14 +219,18 @@ private ValueType(int value) { } public static final int KEY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object key_ = ""; /** + * + * *
    * The label key.
    * 
* * string key = 1; + * * @return The key. */ @java.lang.Override @@ -207,29 +239,29 @@ public java.lang.String getKey() { 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(); key_ = s; return s; } } /** + * + * *
    * The label key.
    * 
* * string key = 1; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; 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); key_ = b; return b; } else { @@ -240,38 +272,51 @@ public java.lang.String getKey() { public static final int VALUE_TYPE_FIELD_NUMBER = 2; private int valueType_ = 0; /** + * + * *
    * The type of data that can be assigned to the label.
    * 
* * .google.api.LabelDescriptor.ValueType value_type = 2; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
    * The type of data that can be assigned to the label.
    * 
* * .google.api.LabelDescriptor.ValueType value_type = 2; + * * @return The valueType. */ - @java.lang.Override public com.google.api.LabelDescriptor.ValueType getValueType() { - com.google.api.LabelDescriptor.ValueType result = com.google.api.LabelDescriptor.ValueType.forNumber(valueType_); + @java.lang.Override + public com.google.api.LabelDescriptor.ValueType getValueType() { + com.google.api.LabelDescriptor.ValueType result = + com.google.api.LabelDescriptor.ValueType.forNumber(valueType_); return result == null ? com.google.api.LabelDescriptor.ValueType.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * A human-readable description for the label.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -280,29 +325,29 @@ 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; } } /** + * + * *
    * A human-readable description for the label.
    * 
* * string description = 3; + * * @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 { @@ -311,6 +356,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,8 +368,7 @@ 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(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -346,8 +391,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (valueType_ != com.google.api.LabelDescriptor.ValueType.STRING.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, valueType_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, valueType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); @@ -360,18 +404,16 @@ 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.LabelDescriptor)) { return super.equals(obj); } com.google.api.LabelDescriptor other = (com.google.api.LabelDescriptor) obj; - if (!getKey() - .equals(other.getKey())) return false; + if (!getKey().equals(other.getKey())) return false; if (valueType_ != other.valueType_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -394,111 +436,114 @@ public int hashCode() { return hash; } - public static com.google.api.LabelDescriptor parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.LabelDescriptor parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.LabelDescriptor 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.LabelDescriptor parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.LabelDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.LabelDescriptor 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.LabelDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.LabelDescriptor 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.LabelDescriptor 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.LabelDescriptor 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.LabelDescriptor 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.LabelDescriptor 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.LabelDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.LabelDescriptor 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.LabelDescriptor 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.LabelDescriptor 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; } /** + * + * *
    * A description of a label.
    * 
* * Protobuf type {@code google.api.LabelDescriptor} */ - 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.LabelDescriptor) com.google.api.LabelDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.LabelProto.internal_static_google_api_LabelDescriptor_descriptor; } @@ -511,15 +556,12 @@ public static final class Builder extends } // Construct using com.google.api.LabelDescriptor.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -531,8 +573,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.LabelProto.internal_static_google_api_LabelDescriptor_descriptor; } @@ -553,7 +594,9 @@ public com.google.api.LabelDescriptor build() { @java.lang.Override public com.google.api.LabelDescriptor buildPartial() { com.google.api.LabelDescriptor result = new com.google.api.LabelDescriptor(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -575,38 +618,39 @@ private void buildPartial0(com.google.api.LabelDescriptor 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.LabelDescriptor) { - return mergeFrom((com.google.api.LabelDescriptor)other); + return mergeFrom((com.google.api.LabelDescriptor) other); } else { super.mergeFrom(other); return this; @@ -654,27 +698,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - key_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - valueType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + valueType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + 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) { @@ -684,22 +732,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object key_ = ""; /** + * + * *
      * The label key.
      * 
* * string key = 1; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; 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(); key_ = s; return s; @@ -708,20 +759,21 @@ public java.lang.String getKey() { } } /** + * + * *
      * The label key.
      * 
* * string key = 1; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; 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); key_ = b; return b; } else { @@ -729,28 +781,35 @@ public java.lang.String getKey() { } } /** + * + * *
      * The label key.
      * 
* * string key = 1; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The label key.
      * 
* * string key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { @@ -760,17 +819,21 @@ public Builder clearKey() { return this; } /** + * + * *
      * The label key.
      * 
* * string key = 1; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); key_ = value; bitField0_ |= 0x00000001; @@ -780,22 +843,29 @@ public Builder setKeyBytes( private int valueType_ = 0; /** + * + * *
      * The type of data that can be assigned to the label.
      * 
* * .google.api.LabelDescriptor.ValueType value_type = 2; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
      * The type of data that can be assigned to the label.
      * 
* * .google.api.LabelDescriptor.ValueType value_type = 2; + * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ @@ -806,24 +876,31 @@ public Builder setValueTypeValue(int value) { return this; } /** + * + * *
      * The type of data that can be assigned to the label.
      * 
* * .google.api.LabelDescriptor.ValueType value_type = 2; + * * @return The valueType. */ @java.lang.Override public com.google.api.LabelDescriptor.ValueType getValueType() { - com.google.api.LabelDescriptor.ValueType result = com.google.api.LabelDescriptor.ValueType.forNumber(valueType_); + com.google.api.LabelDescriptor.ValueType result = + com.google.api.LabelDescriptor.ValueType.forNumber(valueType_); return result == null ? com.google.api.LabelDescriptor.ValueType.UNRECOGNIZED : result; } /** + * + * *
      * The type of data that can be assigned to the label.
      * 
* * .google.api.LabelDescriptor.ValueType value_type = 2; + * * @param value The valueType to set. * @return This builder for chaining. */ @@ -837,11 +914,14 @@ public Builder setValueType(com.google.api.LabelDescriptor.ValueType value) { return this; } /** + * + * *
      * The type of data that can be assigned to the label.
      * 
* * .google.api.LabelDescriptor.ValueType value_type = 2; + * * @return This builder for chaining. */ public Builder clearValueType() { @@ -853,18 +933,20 @@ public Builder clearValueType() { private java.lang.Object description_ = ""; /** + * + * *
      * A human-readable description for the label.
      * 
* * string description = 3; + * * @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; @@ -873,20 +955,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A human-readable description for the label.
      * 
* * string description = 3; + * * @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 { @@ -894,28 +977,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A human-readable description for the label.
      * 
* * string description = 3; + * * @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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A human-readable description for the label.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -925,26 +1015,30 @@ public Builder clearDescription() { return this; } /** + * + * *
      * A human-readable description for the label.
      * 
* * string description = 3; + * * @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_ |= 0x00000004; 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); } @@ -954,12 +1048,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.LabelDescriptor) } // @@protoc_insertion_point(class_scope:google.api.LabelDescriptor) private static final com.google.api.LabelDescriptor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.LabelDescriptor(); } @@ -968,27 +1062,27 @@ public static com.google.api.LabelDescriptor getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDescriptor 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 LabelDescriptor 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; @@ -1003,6 +1097,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.LabelDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java similarity index 62% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java index be0c0e54e2..dbfe91154e 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java @@ -1,68 +1,100 @@ +/* + * 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 interface LabelDescriptorOrBuilder extends +public interface LabelDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.LabelDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The label key.
    * 
* * string key = 1; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * The label key.
    * 
* * string key = 1; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * The type of data that can be assigned to the label.
    * 
* * .google.api.LabelDescriptor.ValueType value_type = 2; + * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** + * + * *
    * The type of data that can be assigned to the label.
    * 
* * .google.api.LabelDescriptor.ValueType value_type = 2; + * * @return The valueType. */ com.google.api.LabelDescriptor.ValueType getValueType(); /** + * + * *
    * A human-readable description for the label.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A human-readable description for the label.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } 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 new file mode 100644 index 0000000000..4a32bc4b8a --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java @@ -0,0 +1,66 @@ +/* + * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java similarity index 81% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java index 6082dc1de4..c0c42e10d0 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * The launch stage as defined by [Google Cloud Platform
  * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.api.LaunchStage}
  */
-public enum LaunchStage
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum LaunchStage implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Do not use this default value.
    * 
@@ -22,6 +40,8 @@ public enum LaunchStage */ LAUNCH_STAGE_UNSPECIFIED(0), /** + * + * *
    * The feature is not yet implemented. Users can not use it.
    * 
@@ -30,6 +50,8 @@ public enum LaunchStage */ UNIMPLEMENTED(6), /** + * + * *
    * Prelaunch features are hidden from users and are only visible internally.
    * 
@@ -38,6 +60,8 @@ public enum LaunchStage */ PRELAUNCH(7), /** + * + * *
    * Early Access features are limited to a closed group of testers. To use
    * these features, you must sign up in advance and sign a Trusted Tester
@@ -50,6 +74,8 @@ public enum LaunchStage
    */
   EARLY_ACCESS(1),
   /**
+   *
+   *
    * 
    * Alpha is a limited availability test for releases before they are cleared
    * for widespread use. By Alpha, all significant design issues are resolved
@@ -66,6 +92,8 @@ public enum LaunchStage
    */
   ALPHA(2),
   /**
+   *
+   *
    * 
    * Beta is the point at which we are ready to open a release for any
    * customer to use. There are no SLA or technical support obligations in a
@@ -78,6 +106,8 @@ public enum LaunchStage
    */
   BETA(3),
   /**
+   *
+   *
    * 
    * GA features are open to all developers and are considered stable and
    * fully qualified for production use.
@@ -87,6 +117,8 @@ public enum LaunchStage
    */
   GA(4),
   /**
+   *
+   *
    * 
    * Deprecated features are scheduled to be shut down and removed. For more
    * information, see the "Deprecation Policy" section of our [Terms of
@@ -102,6 +134,8 @@ public enum LaunchStage
   ;
 
   /**
+   *
+   *
    * 
    * Do not use this default value.
    * 
@@ -110,6 +144,8 @@ public enum LaunchStage */ public static final int LAUNCH_STAGE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The feature is not yet implemented. Users can not use it.
    * 
@@ -118,6 +154,8 @@ public enum LaunchStage */ public static final int UNIMPLEMENTED_VALUE = 6; /** + * + * *
    * Prelaunch features are hidden from users and are only visible internally.
    * 
@@ -126,6 +164,8 @@ public enum LaunchStage */ public static final int PRELAUNCH_VALUE = 7; /** + * + * *
    * Early Access features are limited to a closed group of testers. To use
    * these features, you must sign up in advance and sign a Trusted Tester
@@ -138,6 +178,8 @@ public enum LaunchStage
    */
   public static final int EARLY_ACCESS_VALUE = 1;
   /**
+   *
+   *
    * 
    * Alpha is a limited availability test for releases before they are cleared
    * for widespread use. By Alpha, all significant design issues are resolved
@@ -154,6 +196,8 @@ public enum LaunchStage
    */
   public static final int ALPHA_VALUE = 2;
   /**
+   *
+   *
    * 
    * Beta is the point at which we are ready to open a release for any
    * customer to use. There are no SLA or technical support obligations in a
@@ -166,6 +210,8 @@ public enum LaunchStage
    */
   public static final int BETA_VALUE = 3;
   /**
+   *
+   *
    * 
    * GA features are open to all developers and are considered stable and
    * fully qualified for production use.
@@ -175,6 +221,8 @@ public enum LaunchStage
    */
   public static final int GA_VALUE = 4;
   /**
+   *
+   *
    * 
    * Deprecated features are scheduled to be shut down and removed. For more
    * information, see the "Deprecation Policy" section of our [Terms of
@@ -187,7 +235,6 @@ public enum LaunchStage
    */
   public static final int DEPRECATED_VALUE = 5;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -212,54 +259,59 @@ public static LaunchStage valueOf(int value) {
    */
   public static LaunchStage forNumber(int value) {
     switch (value) {
-      case 0: return LAUNCH_STAGE_UNSPECIFIED;
-      case 6: return UNIMPLEMENTED;
-      case 7: return PRELAUNCH;
-      case 1: return EARLY_ACCESS;
-      case 2: return ALPHA;
-      case 3: return BETA;
-      case 4: return GA;
-      case 5: return DEPRECATED;
-      default: return null;
+      case 0:
+        return LAUNCH_STAGE_UNSPECIFIED;
+      case 6:
+        return UNIMPLEMENTED;
+      case 7:
+        return PRELAUNCH;
+      case 1:
+        return EARLY_ACCESS;
+      case 2:
+        return ALPHA;
+      case 3:
+        return BETA;
+      case 4:
+        return GA;
+      case 5:
+        return DEPRECATED;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      LaunchStage> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public LaunchStage findValueByNumber(int number) {
-            return LaunchStage.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public LaunchStage findValueByNumber(int number) {
+          return LaunchStage.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.api.LaunchStageProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final LaunchStage[] VALUES = values();
 
-  public static LaunchStage valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static LaunchStage valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -275,4 +327,3 @@ private LaunchStage(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.api.LaunchStage)
 }
-
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
new file mode 100644
index 0000000000..acc85f9403
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java
@@ -0,0 +1,53 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java
similarity index 77%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java
index 7da4a13fd5..a9ea01924a 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * A description of a log type. Example in YAML format:
  *
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.api.LogDescriptor}
  */
-public final class LogDescriptor extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class LogDescriptor extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.LogDescriptor)
     LogDescriptorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use LogDescriptor.newBuilder() to construct.
   private LogDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private LogDescriptor() {
     name_ = "";
     labels_ = java.util.Collections.emptyList();
@@ -35,13 +53,11 @@ private LogDescriptor() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LogDescriptor();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.LogProto.internal_static_google_api_LogDescriptor_descriptor;
   }
 
@@ -54,9 +70,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the log. It must be less than 512 characters long and can
    * include the following characters: upper- and lower-case alphanumeric
@@ -65,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -73,14 +93,15 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
    * The name of the log. It must be less than 512 characters long and can
    * include the following characters: upper- and lower-case alphanumeric
@@ -89,16 +110,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -107,9 +127,12 @@ public java.lang.String getName() { } public static final int LABELS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List labels_; /** + * + * *
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -123,6 +146,8 @@ public java.util.List getLabelsList() {
     return labels_;
   }
   /**
+   *
+   *
    * 
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -132,11 +157,13 @@ public java.util.List getLabelsList() {
    * repeated .google.api.LabelDescriptor labels = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLabelsOrBuilderList() {
     return labels_;
   }
   /**
+   *
+   *
    * 
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -150,6 +177,8 @@ public int getLabelsCount() {
     return labels_.size();
   }
   /**
+   *
+   *
    * 
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -163,6 +192,8 @@ public com.google.api.LabelDescriptor getLabels(int index) {
     return labels_.get(index);
   }
   /**
+   *
+   *
    * 
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -172,21 +203,24 @@ public com.google.api.LabelDescriptor getLabels(int index) {
    * repeated .google.api.LabelDescriptor labels = 2;
    */
   @java.lang.Override
-  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-      int index) {
+  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
     return labels_.get(index);
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object description_ = "";
   /**
+   *
+   *
    * 
    * A human-readable description of this log. This information appears in
    * the documentation and can contain details.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -195,30 +229,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; } } /** + * + * *
    * A human-readable description of this log. This information appears in
    * the documentation and can contain details.
    * 
* * string description = 3; + * * @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 { @@ -227,15 +261,19 @@ public java.lang.String getDescription() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The human-readable name for this log. This information appears on
    * the user interface and should be concise.
    * 
* * string display_name = 4; + * * @return The displayName. */ @java.lang.Override @@ -244,30 +282,30 @@ public java.lang.String getDisplayName() { 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(); displayName_ = s; return s; } } /** + * + * *
    * The human-readable name for this log. This information appears on
    * the user interface and should be concise.
    * 
* * string display_name = 4; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -276,6 +314,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +326,7 @@ 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -314,8 +352,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < labels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, labels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); @@ -331,21 +368,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.LogDescriptor)) { return super.equals(obj); } com.google.api.LogDescriptor other = (com.google.api.LogDescriptor) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getLabelsList() - .equals(other.getLabelsList())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getLabelsList().equals(other.getLabelsList())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,99 +405,103 @@ public int hashCode() { return hash; } - public static com.google.api.LogDescriptor parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.LogDescriptor parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.LogDescriptor 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.LogDescriptor parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.LogDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.LogDescriptor 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.LogDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.LogDescriptor 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.LogDescriptor 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.LogDescriptor 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.LogDescriptor 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.LogDescriptor 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.LogDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.LogDescriptor 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.LogDescriptor 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.LogDescriptor 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; } /** + * + * *
    * A description of a log type. Example in YAML format:
    *
@@ -478,12 +515,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.LogDescriptor}
    */
-  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.LogDescriptor)
       com.google.api.LogDescriptorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.LogProto.internal_static_google_api_LogDescriptor_descriptor;
     }
 
@@ -496,15 +532,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.LogDescriptor.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -523,8 +556,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.LogProto.internal_static_google_api_LogDescriptor_descriptor;
     }
 
@@ -546,7 +578,9 @@ public com.google.api.LogDescriptor build() {
     public com.google.api.LogDescriptor buildPartial() {
       com.google.api.LogDescriptor result = new com.google.api.LogDescriptor(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -580,38 +614,39 @@ private void buildPartial0(com.google.api.LogDescriptor 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.LogDescriptor) {
-        return mergeFrom((com.google.api.LogDescriptor)other);
+        return mergeFrom((com.google.api.LogDescriptor) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -643,9 +678,10 @@ public Builder mergeFrom(com.google.api.LogDescriptor other) {
             labelsBuilder_ = null;
             labels_ = other.labels_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            labelsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLabelsFieldBuilder() : null;
+            labelsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLabelsFieldBuilder()
+                    : null;
           } else {
             labelsBuilder_.addAllMessages(other.labels_);
           }
@@ -687,40 +723,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.api.LabelDescriptor m =
-                  input.readMessage(
-                      com.google.api.LabelDescriptor.parser(),
-                      extensionRegistry);
-              if (labelsBuilder_ == null) {
-                ensureLabelsIsMutable();
-                labels_.add(m);
-              } else {
-                labelsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.api.LabelDescriptor m =
+                    input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry);
+                if (labelsBuilder_ == null) {
+                  ensureLabelsIsMutable();
+                  labels_.add(m);
+                } else {
+                  labelsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                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) {
@@ -730,10 +769,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the log. It must be less than 512 characters long and can
      * include the following characters: upper- and lower-case alphanumeric
@@ -742,13 +784,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -757,6 +799,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the log. It must be less than 512 characters long and can
      * include the following characters: upper- and lower-case alphanumeric
@@ -765,15 +809,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -781,6 +824,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the log. It must be less than 512 characters long and can
      * include the following characters: upper- and lower-case alphanumeric
@@ -789,18 +834,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the log. It must be less than 512 characters long and can
      * include the following characters: upper- and lower-case alphanumeric
@@ -809,6 +858,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -818,6 +868,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the log. It must be less than 512 characters long and can
      * include the following characters: upper- and lower-case alphanumeric
@@ -826,12 +878,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -840,18 +894,24 @@ public Builder setNameBytes( } private java.util.List labels_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { labels_ = new java.util.ArrayList(labels_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> labelsBuilder_; + com.google.api.LabelDescriptor, + com.google.api.LabelDescriptor.Builder, + com.google.api.LabelDescriptorOrBuilder> + labelsBuilder_; /** + * + * *
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -868,6 +928,8 @@ public java.util.List getLabelsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -884,6 +946,8 @@ public int getLabelsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -900,6 +964,8 @@ public com.google.api.LabelDescriptor getLabels(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -908,8 +974,7 @@ public com.google.api.LabelDescriptor getLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder setLabels(
-        int index, com.google.api.LabelDescriptor value) {
+    public Builder setLabels(int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -923,6 +988,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -931,8 +998,7 @@ public Builder setLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder setLabels(
-        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder setLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.set(index, builderForValue.build());
@@ -943,6 +1009,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -965,6 +1033,8 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -973,8 +1043,7 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder addLabels(
-        int index, com.google.api.LabelDescriptor value) {
+    public Builder addLabels(int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -988,6 +1057,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -996,8 +1067,7 @@ public Builder addLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder addLabels(
-        com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(builderForValue.build());
@@ -1008,6 +1078,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1016,8 +1088,7 @@ public Builder addLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder addLabels(
-        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(index, builderForValue.build());
@@ -1028,6 +1099,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1040,8 +1113,7 @@ public Builder addAllLabels(
         java.lang.Iterable values) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, labels_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_);
         onChanged();
       } else {
         labelsBuilder_.addAllMessages(values);
@@ -1049,6 +1121,8 @@ public Builder addAllLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1068,6 +1142,8 @@ public Builder clearLabels() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1087,6 +1163,8 @@ public Builder removeLabels(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1095,11 +1173,12 @@ public Builder removeLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(
-        int index) {
+    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(int index) {
       return getLabelsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1108,14 +1187,16 @@ public com.google.api.LabelDescriptor.Builder getLabelsBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-        int index) {
+    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
       if (labelsBuilder_ == null) {
-        return labels_.get(index);  } else {
+        return labels_.get(index);
+      } else {
         return labelsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1124,8 +1205,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public java.util.List 
-         getLabelsOrBuilderList() {
+    public java.util.List
+        getLabelsOrBuilderList() {
       if (labelsBuilder_ != null) {
         return labelsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1133,6 +1214,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1142,10 +1225,12 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
      * repeated .google.api.LabelDescriptor labels = 2;
      */
     public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
-      return getLabelsFieldBuilder().addBuilder(
-          com.google.api.LabelDescriptor.getDefaultInstance());
+      return getLabelsFieldBuilder()
+          .addBuilder(com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1154,12 +1239,13 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
-        int index) {
-      return getLabelsFieldBuilder().addBuilder(
-          index, com.google.api.LabelDescriptor.getDefaultInstance());
+    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(int index) {
+      return getLabelsFieldBuilder()
+          .addBuilder(index, com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -1168,20 +1254,22 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public java.util.List 
-         getLabelsBuilderList() {
+    public java.util.List getLabelsBuilderList() {
       return getLabelsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> 
+            com.google.api.LabelDescriptor,
+            com.google.api.LabelDescriptor.Builder,
+            com.google.api.LabelDescriptorOrBuilder>
         getLabelsFieldBuilder() {
       if (labelsBuilder_ == null) {
-        labelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>(
-                labels_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        labelsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.LabelDescriptor,
+                com.google.api.LabelDescriptor.Builder,
+                com.google.api.LabelDescriptorOrBuilder>(
+                labels_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         labels_ = null;
       }
       return labelsBuilder_;
@@ -1189,19 +1277,21 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
 
     private java.lang.Object description_ = "";
     /**
+     *
+     *
      * 
      * A human-readable description of this log. This information appears in
      * the documentation and can contain details.
      * 
* * string description = 3; + * * @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; @@ -1210,21 +1300,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A human-readable description of this log. This information appears in
      * the documentation and can contain details.
      * 
* * string description = 3; + * * @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 { @@ -1232,30 +1323,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A human-readable description of this log. This information appears in
      * the documentation and can contain details.
      * 
* * string description = 3; + * * @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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A human-readable description of this log. This information appears in
      * the documentation and can contain details.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1265,18 +1363,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * A human-readable description of this log. This information appears in
      * the documentation and can contain details.
      * 
* * string description = 3; + * * @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_ |= 0x00000004; @@ -1286,19 +1388,21 @@ public Builder setDescriptionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The human-readable name for this log. This information appears on
      * the user interface and should be concise.
      * 
* * string display_name = 4; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; @@ -1307,21 +1411,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name for this log. This information appears on
      * the user interface and should be concise.
      * 
* * string display_name = 4; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -1329,30 +1434,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The human-readable name for this log. This information appears on
      * the user interface and should be concise.
      * 
* * string display_name = 4; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The human-readable name for this log. This information appears on
      * the user interface and should be concise.
      * 
* * string display_name = 4; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1362,27 +1474,31 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The human-readable name for this log. This information appears on
      * the user interface and should be concise.
      * 
* * string display_name = 4; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; 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); } @@ -1392,12 +1508,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.LogDescriptor) } // @@protoc_insertion_point(class_scope:google.api.LogDescriptor) private static final com.google.api.LogDescriptor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.LogDescriptor(); } @@ -1406,27 +1522,27 @@ public static com.google.api.LogDescriptor getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LogDescriptor 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 LogDescriptor 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; @@ -1441,6 +1557,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.LogDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java similarity index 75% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java index dc8d681963..6a08375afd 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface LogDescriptorOrBuilder extends +public interface LogDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.LogDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the log. It must be less than 512 characters long and can
    * include the following characters: upper- and lower-case alphanumeric
@@ -16,10 +34,13 @@ public interface LogDescriptorOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the log. It must be less than 512 characters long and can
    * include the following characters: upper- and lower-case alphanumeric
@@ -28,12 +49,14 @@ public interface LogDescriptorOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -42,9 +65,10 @@ public interface LogDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 2;
    */
-  java.util.List 
-      getLabelsList();
+  java.util.List getLabelsList();
   /**
+   *
+   *
    * 
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -55,6 +79,8 @@ public interface LogDescriptorOrBuilder extends
    */
   com.google.api.LabelDescriptor getLabels(int index);
   /**
+   *
+   *
    * 
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -65,6 +91,8 @@ public interface LogDescriptorOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -73,9 +101,10 @@ public interface LogDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 2;
    */
-  java.util.List 
-      getLabelsOrBuilderList();
+  java.util.List getLabelsOrBuilderList();
   /**
+   *
+   *
    * 
    * The set of labels that are available to describe a specific log entry.
    * Runtime requests that contain labels not specified here are
@@ -84,50 +113,59 @@ public interface LogDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 2;
    */
-  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-      int index);
+  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A human-readable description of this log. This information appears in
    * the documentation and can contain details.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A human-readable description of this log. This information appears in
    * the documentation and can contain details.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The human-readable name for this log. This information appears on
    * the user interface and should be concise.
    * 
* * string display_name = 4; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The human-readable name for this log. This information appears on
    * the user interface and should be concise.
    * 
* * string display_name = 4; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } 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 new file mode 100644 index 0000000000..2aaad09035 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java @@ -0,0 +1,69 @@ +/* + * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Logging.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java similarity index 80% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Logging.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java index d2af4f9f95..37727149ad 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Logging.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Logging configuration of the service.
  *
@@ -38,15 +55,16 @@
  *
  * Protobuf type {@code google.api.Logging}
  */
-public final class Logging extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Logging extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Logging)
     LoggingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Logging.newBuilder() to construct.
   private Logging(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Logging() {
     producerDestinations_ = java.util.Collections.emptyList();
     consumerDestinations_ = java.util.Collections.emptyList();
@@ -54,13 +72,11 @@ private Logging() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Logging();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.LoggingProto.internal_static_google_api_Logging_descriptor;
   }
 
@@ -72,11 +88,14 @@ protected java.lang.Object newInstance(
             com.google.api.Logging.class, com.google.api.Logging.Builder.class);
   }
 
-  public interface LoggingDestinationOrBuilder extends
+  public interface LoggingDestinationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.api.Logging.LoggingDestination)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The monitored resource type. The type must be defined in the
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -84,10 +103,13 @@ public interface LoggingDestinationOrBuilder extends
      * 
* * string monitored_resource = 3; + * * @return The monitoredResource. */ java.lang.String getMonitoredResource(); /** + * + * *
      * The monitored resource type. The type must be defined in the
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -95,12 +117,14 @@ public interface LoggingDestinationOrBuilder extends
      * 
* * string monitored_resource = 3; + * * @return The bytes for monitoredResource. */ - com.google.protobuf.ByteString - getMonitoredResourceBytes(); + com.google.protobuf.ByteString getMonitoredResourceBytes(); /** + * + * *
      * Names of the logs to be sent to this destination. Each name must
      * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -109,11 +133,13 @@ public interface LoggingDestinationOrBuilder extends
      * 
* * repeated string logs = 1; + * * @return A list containing the logs. */ - java.util.List - getLogsList(); + java.util.List getLogsList(); /** + * + * *
      * Names of the logs to be sent to this destination. Each name must
      * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -122,10 +148,13 @@ public interface LoggingDestinationOrBuilder extends
      * 
* * repeated string logs = 1; + * * @return The count of logs. */ int getLogsCount(); /** + * + * *
      * Names of the logs to be sent to this destination. Each name must
      * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -134,11 +163,14 @@ public interface LoggingDestinationOrBuilder extends
      * 
* * repeated string logs = 1; + * * @param index The index of the element to return. * @return The logs at the given index. */ java.lang.String getLogs(int index); /** + * + * *
      * Names of the logs to be sent to this destination. Each name must
      * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -147,13 +179,15 @@ public interface LoggingDestinationOrBuilder extends
      * 
* * repeated string logs = 1; + * * @param index The index of the value to return. * @return The bytes of the logs at the given index. */ - com.google.protobuf.ByteString - getLogsBytes(int index); + com.google.protobuf.ByteString getLogsBytes(int index); } /** + * + * *
    * Configuration of a specific logging destination (the producer project
    * or the consumer project).
@@ -161,45 +195,49 @@ public interface LoggingDestinationOrBuilder extends
    *
    * Protobuf type {@code google.api.Logging.LoggingDestination}
    */
-  public static final class LoggingDestination extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class LoggingDestination extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.api.Logging.LoggingDestination)
       LoggingDestinationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use LoggingDestination.newBuilder() to construct.
     private LoggingDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private LoggingDestination() {
       monitoredResource_ = "";
-      logs_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      logs_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new LoggingDestination();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.api.LoggingProto.internal_static_google_api_Logging_LoggingDestination_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.api.LoggingProto
+          .internal_static_google_api_Logging_LoggingDestination_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.LoggingProto.internal_static_google_api_Logging_LoggingDestination_fieldAccessorTable
+      return com.google.api.LoggingProto
+          .internal_static_google_api_Logging_LoggingDestination_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.Logging.LoggingDestination.class, com.google.api.Logging.LoggingDestination.Builder.class);
+              com.google.api.Logging.LoggingDestination.class,
+              com.google.api.Logging.LoggingDestination.Builder.class);
     }
 
     public static final int MONITORED_RESOURCE_FIELD_NUMBER = 3;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object monitoredResource_ = "";
     /**
+     *
+     *
      * 
      * The monitored resource type. The type must be defined in the
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -207,6 +245,7 @@ protected java.lang.Object newInstance(
      * 
* * string monitored_resource = 3; + * * @return The monitoredResource. */ @java.lang.Override @@ -215,14 +254,15 @@ public java.lang.String getMonitoredResource() { 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(); monitoredResource_ = s; return s; } } /** + * + * *
      * The monitored resource type. The type must be defined in the
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -230,16 +270,15 @@ public java.lang.String getMonitoredResource() {
      * 
* * string monitored_resource = 3; + * * @return The bytes for monitoredResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getMonitoredResourceBytes() { + public com.google.protobuf.ByteString getMonitoredResourceBytes() { java.lang.Object ref = monitoredResource_; 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); monitoredResource_ = b; return b; } else { @@ -248,10 +287,13 @@ public java.lang.String getMonitoredResource() { } public static final int LOGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList logs_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Names of the logs to be sent to this destination. Each name must
      * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -260,13 +302,15 @@ public java.lang.String getMonitoredResource() {
      * 
* * repeated string logs = 1; + * * @return A list containing the logs. */ - public com.google.protobuf.ProtocolStringList - getLogsList() { + public com.google.protobuf.ProtocolStringList getLogsList() { return logs_; } /** + * + * *
      * Names of the logs to be sent to this destination. Each name must
      * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -275,12 +319,15 @@ public java.lang.String getMonitoredResource() {
      * 
* * repeated string logs = 1; + * * @return The count of logs. */ public int getLogsCount() { return logs_.size(); } /** + * + * *
      * Names of the logs to be sent to this destination. Each name must
      * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -289,6 +336,7 @@ public int getLogsCount() {
      * 
* * repeated string logs = 1; + * * @param index The index of the element to return. * @return The logs at the given index. */ @@ -296,6 +344,8 @@ public java.lang.String getLogs(int index) { return logs_.get(index); } /** + * + * *
      * Names of the logs to be sent to this destination. Each name must
      * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -304,15 +354,16 @@ public java.lang.String getLogs(int index) {
      * 
* * repeated string logs = 1; + * * @param index The index of the value to return. * @return The bytes of the logs at the given index. */ - public com.google.protobuf.ByteString - getLogsBytes(int index) { + public com.google.protobuf.ByteString getLogsBytes(int index) { return logs_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,8 +375,7 @@ 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 < logs_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, logs_.getRaw(i)); } @@ -360,17 +410,16 @@ 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.Logging.LoggingDestination)) { return super.equals(obj); } - com.google.api.Logging.LoggingDestination other = (com.google.api.Logging.LoggingDestination) obj; + com.google.api.Logging.LoggingDestination other = + (com.google.api.Logging.LoggingDestination) obj; - if (!getMonitoredResource() - .equals(other.getMonitoredResource())) return false; - if (!getLogsList() - .equals(other.getLogsList())) return false; + if (!getMonitoredResource().equals(other.getMonitoredResource())) return false; + if (!getLogsList().equals(other.getLogsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,90 +442,94 @@ public int hashCode() { return hash; } - public static com.google.api.Logging.LoggingDestination parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Logging.LoggingDestination parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Logging.LoggingDestination 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.Logging.LoggingDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Logging.LoggingDestination 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.Logging.LoggingDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Logging.LoggingDestination 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.Logging.LoggingDestination 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.Logging.LoggingDestination 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.Logging.LoggingDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.api.Logging.LoggingDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Logging.LoggingDestination 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.Logging.LoggingDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Logging.LoggingDestination 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.Logging.LoggingDestination 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 @@ -486,6 +539,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration of a specific logging destination (the producer project
      * or the consumer project).
@@ -493,47 +548,46 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.api.Logging.LoggingDestination}
      */
-    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.Logging.LoggingDestination)
         com.google.api.Logging.LoggingDestinationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.api.LoggingProto.internal_static_google_api_Logging_LoggingDestination_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.api.LoggingProto
+            .internal_static_google_api_Logging_LoggingDestination_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.LoggingProto.internal_static_google_api_Logging_LoggingDestination_fieldAccessorTable
+        return com.google.api.LoggingProto
+            .internal_static_google_api_Logging_LoggingDestination_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.Logging.LoggingDestination.class, com.google.api.Logging.LoggingDestination.Builder.class);
+                com.google.api.Logging.LoggingDestination.class,
+                com.google.api.Logging.LoggingDestination.Builder.class);
       }
 
       // Construct using com.google.api.Logging.LoggingDestination.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
         monitoredResource_ = "";
-        logs_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        logs_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.api.LoggingProto.internal_static_google_api_Logging_LoggingDestination_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.api.LoggingProto
+            .internal_static_google_api_Logging_LoggingDestination_descriptor;
       }
 
       @java.lang.Override
@@ -552,8 +606,11 @@ public com.google.api.Logging.LoggingDestination build() {
 
       @java.lang.Override
       public com.google.api.Logging.LoggingDestination buildPartial() {
-        com.google.api.Logging.LoggingDestination result = new com.google.api.Logging.LoggingDestination(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.api.Logging.LoggingDestination result =
+            new com.google.api.Logging.LoggingDestination(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -573,38 +630,41 @@ private void buildPartial0(com.google.api.Logging.LoggingDestination 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) {
+          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.Logging.LoggingDestination) {
-          return mergeFrom((com.google.api.Logging.LoggingDestination)other);
+          return mergeFrom((com.google.api.Logging.LoggingDestination) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -654,23 +714,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureLogsIsMutable();
-                logs_.add(s);
-                break;
-              } // case 10
-              case 26: {
-                monitoredResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureLogsIsMutable();
+                  logs_.add(s);
+                  break;
+                } // case 10
+              case 26:
+                {
+                  monitoredResource_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 26
+              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) {
@@ -680,10 +743,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object monitoredResource_ = "";
       /**
+       *
+       *
        * 
        * The monitored resource type. The type must be defined in the
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -691,13 +757,13 @@ public Builder mergeFrom(
        * 
* * string monitored_resource = 3; + * * @return The monitoredResource. */ public java.lang.String getMonitoredResource() { java.lang.Object ref = monitoredResource_; 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(); monitoredResource_ = s; return s; @@ -706,6 +772,8 @@ public java.lang.String getMonitoredResource() { } } /** + * + * *
        * The monitored resource type. The type must be defined in the
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -713,15 +781,14 @@ public java.lang.String getMonitoredResource() {
        * 
* * string monitored_resource = 3; + * * @return The bytes for monitoredResource. */ - public com.google.protobuf.ByteString - getMonitoredResourceBytes() { + public com.google.protobuf.ByteString getMonitoredResourceBytes() { java.lang.Object ref = monitoredResource_; 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); monitoredResource_ = b; return b; } else { @@ -729,6 +796,8 @@ public java.lang.String getMonitoredResource() { } } /** + * + * *
        * The monitored resource type. The type must be defined in the
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -736,18 +805,22 @@ public java.lang.String getMonitoredResource() {
        * 
* * string monitored_resource = 3; + * * @param value The monitoredResource to set. * @return This builder for chaining. */ - public Builder setMonitoredResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMonitoredResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } monitoredResource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The monitored resource type. The type must be defined in the
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -755,6 +828,7 @@ public Builder setMonitoredResource(
        * 
* * string monitored_resource = 3; + * * @return This builder for chaining. */ public Builder clearMonitoredResource() { @@ -764,6 +838,8 @@ public Builder clearMonitoredResource() { return this; } /** + * + * *
        * The monitored resource type. The type must be defined in the
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -771,12 +847,14 @@ public Builder clearMonitoredResource() {
        * 
* * string monitored_resource = 3; + * * @param value The bytes for monitoredResource to set. * @return This builder for chaining. */ - public Builder setMonitoredResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMonitoredResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); monitoredResource_ = value; bitField0_ |= 0x00000001; @@ -786,6 +864,7 @@ public Builder setMonitoredResourceBytes( private com.google.protobuf.LazyStringArrayList logs_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureLogsIsMutable() { if (!logs_.isModifiable()) { logs_ = new com.google.protobuf.LazyStringArrayList(logs_); @@ -793,6 +872,8 @@ private void ensureLogsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
        * Names of the logs to be sent to this destination. Each name must
        * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -801,14 +882,16 @@ private void ensureLogsIsMutable() {
        * 
* * repeated string logs = 1; + * * @return A list containing the logs. */ - public com.google.protobuf.ProtocolStringList - getLogsList() { + public com.google.protobuf.ProtocolStringList getLogsList() { logs_.makeImmutable(); return logs_; } /** + * + * *
        * Names of the logs to be sent to this destination. Each name must
        * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -817,12 +900,15 @@ private void ensureLogsIsMutable() {
        * 
* * repeated string logs = 1; + * * @return The count of logs. */ public int getLogsCount() { return logs_.size(); } /** + * + * *
        * Names of the logs to be sent to this destination. Each name must
        * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -831,6 +917,7 @@ public int getLogsCount() {
        * 
* * repeated string logs = 1; + * * @param index The index of the element to return. * @return The logs at the given index. */ @@ -838,6 +925,8 @@ public java.lang.String getLogs(int index) { return logs_.get(index); } /** + * + * *
        * Names of the logs to be sent to this destination. Each name must
        * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -846,14 +935,16 @@ public java.lang.String getLogs(int index) {
        * 
* * repeated string logs = 1; + * * @param index The index of the value to return. * @return The bytes of the logs at the given index. */ - public com.google.protobuf.ByteString - getLogsBytes(int index) { + public com.google.protobuf.ByteString getLogsBytes(int index) { return logs_.getByteString(index); } /** + * + * *
        * Names of the logs to be sent to this destination. Each name must
        * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -862,13 +953,15 @@ public java.lang.String getLogs(int index) {
        * 
* * repeated string logs = 1; + * * @param index The index to set the value at. * @param value The logs to set. * @return This builder for chaining. */ - public Builder setLogs( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLogs(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLogsIsMutable(); logs_.set(index, value); bitField0_ |= 0x00000002; @@ -876,6 +969,8 @@ public Builder setLogs( return this; } /** + * + * *
        * Names of the logs to be sent to this destination. Each name must
        * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -884,12 +979,14 @@ public Builder setLogs(
        * 
* * repeated string logs = 1; + * * @param value The logs to add. * @return This builder for chaining. */ - public Builder addLogs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLogsIsMutable(); logs_.add(value); bitField0_ |= 0x00000002; @@ -897,6 +994,8 @@ public Builder addLogs( return this; } /** + * + * *
        * Names of the logs to be sent to this destination. Each name must
        * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -905,19 +1004,20 @@ public Builder addLogs(
        * 
* * repeated string logs = 1; + * * @param values The logs to add. * @return This builder for chaining. */ - public Builder addAllLogs( - java.lang.Iterable values) { + public Builder addAllLogs(java.lang.Iterable values) { ensureLogsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, logs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logs_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Names of the logs to be sent to this destination. Each name must
        * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -926,16 +1026,19 @@ public Builder addAllLogs(
        * 
* * repeated string logs = 1; + * * @return This builder for chaining. */ public Builder clearLogs() { - logs_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + logs_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * Names of the logs to be sent to this destination. Each name must
        * be defined in the [Service.logs][google.api.Service.logs] section. If the
@@ -944,12 +1047,14 @@ public Builder clearLogs() {
        * 
* * repeated string logs = 1; + * * @param value The bytes of the logs to add. * @return This builder for chaining. */ - public Builder addLogsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureLogsIsMutable(); logs_.add(value); @@ -957,6 +1062,7 @@ public Builder addLogsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -969,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Logging.LoggingDestination) } // @@protoc_insertion_point(class_scope:google.api.Logging.LoggingDestination) private static final com.google.api.Logging.LoggingDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Logging.LoggingDestination(); } @@ -983,27 +1089,28 @@ public static com.google.api.Logging.LoggingDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingDestination 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 LoggingDestination 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; @@ -1018,13 +1125,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Logging.LoggingDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PRODUCER_DESTINATIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List producerDestinations_; /** + * + * *
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -1039,6 +1148,8 @@ public java.util.List getProducerDest
     return producerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -1049,11 +1160,13 @@ public java.util.List getProducerDest
    * repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getProducerDestinationsOrBuilderList() {
     return producerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -1068,6 +1181,8 @@ public int getProducerDestinationsCount() {
     return producerDestinations_.size();
   }
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -1082,6 +1197,8 @@ public com.google.api.Logging.LoggingDestination getProducerDestinations(int ind
     return producerDestinations_.get(index);
   }
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -1098,9 +1215,12 @@ public com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestination
   }
 
   public static final int CONSUMER_DESTINATIONS_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List consumerDestinations_;
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -1115,6 +1235,8 @@ public java.util.List getConsumerDest
     return consumerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -1125,11 +1247,13 @@ public java.util.List getConsumerDest
    * repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getConsumerDestinationsOrBuilderList() {
     return consumerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -1144,6 +1268,8 @@ public int getConsumerDestinationsCount() {
     return consumerDestinations_.size();
   }
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -1158,6 +1284,8 @@ public com.google.api.Logging.LoggingDestination getConsumerDestinations(int ind
     return consumerDestinations_.get(index);
   }
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -1174,6 +1302,7 @@ public com.google.api.Logging.LoggingDestinationOrBuilder getConsumerDestination
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1185,8 +1314,7 @@ 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 < producerDestinations_.size(); i++) {
       output.writeMessage(1, producerDestinations_.get(i));
     }
@@ -1203,12 +1331,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < producerDestinations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, producerDestinations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, producerDestinations_.get(i));
     }
     for (int i = 0; i < consumerDestinations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, consumerDestinations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(2, consumerDestinations_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1218,17 +1346,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.Logging)) {
       return super.equals(obj);
     }
     com.google.api.Logging other = (com.google.api.Logging) obj;
 
-    if (!getProducerDestinationsList()
-        .equals(other.getProducerDestinationsList())) return false;
-    if (!getConsumerDestinationsList()
-        .equals(other.getConsumerDestinationsList())) return false;
+    if (!getProducerDestinationsList().equals(other.getProducerDestinationsList())) return false;
+    if (!getConsumerDestinationsList().equals(other.getConsumerDestinationsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1253,99 +1379,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.Logging parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.Logging parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Logging 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.Logging parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.Logging parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Logging 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.Logging parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Logging 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.Logging 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.Logging 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.Logging 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.Logging 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.Logging parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.Logging 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.Logging 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.Logging 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;
   }
   /**
+   *
+   *
    * 
    * Logging configuration of the service.
    *
@@ -1380,12 +1510,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Logging}
    */
-  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.Logging)
       com.google.api.LoggingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.LoggingProto.internal_static_google_api_Logging_descriptor;
     }
 
@@ -1398,15 +1527,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Logging.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1429,8 +1555,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.LoggingProto.internal_static_google_api_Logging_descriptor;
     }
 
@@ -1452,7 +1577,9 @@ public com.google.api.Logging build() {
     public com.google.api.Logging buildPartial() {
       com.google.api.Logging result = new com.google.api.Logging(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1486,38 +1613,39 @@ private void buildPartial0(com.google.api.Logging 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.Logging) {
-        return mergeFrom((com.google.api.Logging)other);
+        return mergeFrom((com.google.api.Logging) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1544,9 +1672,10 @@ public Builder mergeFrom(com.google.api.Logging other) {
             producerDestinationsBuilder_ = null;
             producerDestinations_ = other.producerDestinations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            producerDestinationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getProducerDestinationsFieldBuilder() : null;
+            producerDestinationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getProducerDestinationsFieldBuilder()
+                    : null;
           } else {
             producerDestinationsBuilder_.addAllMessages(other.producerDestinations_);
           }
@@ -1570,9 +1699,10 @@ public Builder mergeFrom(com.google.api.Logging other) {
             consumerDestinationsBuilder_ = null;
             consumerDestinations_ = other.consumerDestinations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            consumerDestinationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getConsumerDestinationsFieldBuilder() : null;
+            consumerDestinationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getConsumerDestinationsFieldBuilder()
+                    : null;
           } else {
             consumerDestinationsBuilder_.addAllMessages(other.consumerDestinations_);
           }
@@ -1604,38 +1734,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.api.Logging.LoggingDestination m =
-                  input.readMessage(
-                      com.google.api.Logging.LoggingDestination.parser(),
-                      extensionRegistry);
-              if (producerDestinationsBuilder_ == null) {
-                ensureProducerDestinationsIsMutable();
-                producerDestinations_.add(m);
-              } else {
-                producerDestinationsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              com.google.api.Logging.LoggingDestination m =
-                  input.readMessage(
-                      com.google.api.Logging.LoggingDestination.parser(),
-                      extensionRegistry);
-              if (consumerDestinationsBuilder_ == null) {
-                ensureConsumerDestinationsIsMutable();
-                consumerDestinations_.add(m);
-              } else {
-                consumerDestinationsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.api.Logging.LoggingDestination m =
+                    input.readMessage(
+                        com.google.api.Logging.LoggingDestination.parser(), extensionRegistry);
+                if (producerDestinationsBuilder_ == null) {
+                  ensureProducerDestinationsIsMutable();
+                  producerDestinations_.add(m);
+                } else {
+                  producerDestinationsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.api.Logging.LoggingDestination m =
+                    input.readMessage(
+                        com.google.api.Logging.LoggingDestination.parser(), extensionRegistry);
+                if (consumerDestinationsBuilder_ == null) {
+                  ensureConsumerDestinationsIsMutable();
+                  consumerDestinations_.add(m);
+                } else {
+                  consumerDestinationsBuilder_.addMessage(m);
+                }
+                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) {
@@ -1645,21 +1776,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List producerDestinations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureProducerDestinationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        producerDestinations_ = new java.util.ArrayList(producerDestinations_);
+        producerDestinations_ =
+            new java.util.ArrayList(
+                producerDestinations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder> producerDestinationsBuilder_;
+            com.google.api.Logging.LoggingDestination,
+            com.google.api.Logging.LoggingDestination.Builder,
+            com.google.api.Logging.LoggingDestinationOrBuilder>
+        producerDestinationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1677,6 +1817,8 @@ public java.util.List getProducerDest
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1694,6 +1836,8 @@ public int getProducerDestinationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1711,6 +1855,8 @@ public com.google.api.Logging.LoggingDestination getProducerDestinations(int ind
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1735,6 +1881,8 @@ public Builder setProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1756,6 +1904,8 @@ public Builder setProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1779,6 +1929,8 @@ public Builder addProducerDestinations(com.google.api.Logging.LoggingDestination
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1803,6 +1955,8 @@ public Builder addProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1824,6 +1978,8 @@ public Builder addProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1845,6 +2001,8 @@ public Builder addProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1858,8 +2016,7 @@ public Builder addAllProducerDestinations(
         java.lang.Iterable values) {
       if (producerDestinationsBuilder_ == null) {
         ensureProducerDestinationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, producerDestinations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, producerDestinations_);
         onChanged();
       } else {
         producerDestinationsBuilder_.addAllMessages(values);
@@ -1867,6 +2024,8 @@ public Builder addAllProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1887,6 +2046,8 @@ public Builder clearProducerDestinations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1907,6 +2068,8 @@ public Builder removeProducerDestinations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1921,6 +2084,8 @@ public com.google.api.Logging.LoggingDestination.Builder getProducerDestinations
       return getProducerDestinationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1933,11 +2098,14 @@ public com.google.api.Logging.LoggingDestination.Builder getProducerDestinations
     public com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestinationsOrBuilder(
         int index) {
       if (producerDestinationsBuilder_ == null) {
-        return producerDestinations_.get(index);  } else {
+        return producerDestinations_.get(index);
+      } else {
         return producerDestinationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1947,8 +2115,8 @@ public com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestination
      *
      * repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
      */
-    public java.util.List 
-         getProducerDestinationsOrBuilderList() {
+    public java.util.List
+        getProducerDestinationsOrBuilderList() {
       if (producerDestinationsBuilder_ != null) {
         return producerDestinationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1956,6 +2124,8 @@ public com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestination
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1966,10 +2136,12 @@ public com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestination
      * repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
      */
     public com.google.api.Logging.LoggingDestination.Builder addProducerDestinationsBuilder() {
-      return getProducerDestinationsFieldBuilder().addBuilder(
-          com.google.api.Logging.LoggingDestination.getDefaultInstance());
+      return getProducerDestinationsFieldBuilder()
+          .addBuilder(com.google.api.Logging.LoggingDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1981,10 +2153,12 @@ public com.google.api.Logging.LoggingDestination.Builder addProducerDestinations
      */
     public com.google.api.Logging.LoggingDestination.Builder addProducerDestinationsBuilder(
         int index) {
-      return getProducerDestinationsFieldBuilder().addBuilder(
-          index, com.google.api.Logging.LoggingDestination.getDefaultInstance());
+      return getProducerDestinationsFieldBuilder()
+          .addBuilder(index, com.google.api.Logging.LoggingDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the producer project.
      * There can be multiple producer destinations, each one must have a
@@ -1994,16 +2168,22 @@ public com.google.api.Logging.LoggingDestination.Builder addProducerDestinations
      *
      * repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
      */
-    public java.util.List 
-         getProducerDestinationsBuilderList() {
+    public java.util.List
+        getProducerDestinationsBuilderList() {
       return getProducerDestinationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder> 
+            com.google.api.Logging.LoggingDestination,
+            com.google.api.Logging.LoggingDestination.Builder,
+            com.google.api.Logging.LoggingDestinationOrBuilder>
         getProducerDestinationsFieldBuilder() {
       if (producerDestinationsBuilder_ == null) {
-        producerDestinationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder>(
+        producerDestinationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.Logging.LoggingDestination,
+                com.google.api.Logging.LoggingDestination.Builder,
+                com.google.api.Logging.LoggingDestinationOrBuilder>(
                 producerDestinations_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -2014,18 +2194,26 @@ public com.google.api.Logging.LoggingDestination.Builder addProducerDestinations
     }
 
     private java.util.List consumerDestinations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureConsumerDestinationsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        consumerDestinations_ = new java.util.ArrayList(consumerDestinations_);
+        consumerDestinations_ =
+            new java.util.ArrayList(
+                consumerDestinations_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder> consumerDestinationsBuilder_;
+            com.google.api.Logging.LoggingDestination,
+            com.google.api.Logging.LoggingDestination.Builder,
+            com.google.api.Logging.LoggingDestinationOrBuilder>
+        consumerDestinationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2043,6 +2231,8 @@ public java.util.List getConsumerDest
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2060,6 +2250,8 @@ public int getConsumerDestinationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2077,6 +2269,8 @@ public com.google.api.Logging.LoggingDestination getConsumerDestinations(int ind
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2101,6 +2295,8 @@ public Builder setConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2122,6 +2318,8 @@ public Builder setConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2145,6 +2343,8 @@ public Builder addConsumerDestinations(com.google.api.Logging.LoggingDestination
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2169,6 +2369,8 @@ public Builder addConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2190,6 +2392,8 @@ public Builder addConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2211,6 +2415,8 @@ public Builder addConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2224,8 +2430,7 @@ public Builder addAllConsumerDestinations(
         java.lang.Iterable values) {
       if (consumerDestinationsBuilder_ == null) {
         ensureConsumerDestinationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, consumerDestinations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, consumerDestinations_);
         onChanged();
       } else {
         consumerDestinationsBuilder_.addAllMessages(values);
@@ -2233,6 +2438,8 @@ public Builder addAllConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2253,6 +2460,8 @@ public Builder clearConsumerDestinations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2273,6 +2482,8 @@ public Builder removeConsumerDestinations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2287,6 +2498,8 @@ public com.google.api.Logging.LoggingDestination.Builder getConsumerDestinations
       return getConsumerDestinationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2299,11 +2512,14 @@ public com.google.api.Logging.LoggingDestination.Builder getConsumerDestinations
     public com.google.api.Logging.LoggingDestinationOrBuilder getConsumerDestinationsOrBuilder(
         int index) {
       if (consumerDestinationsBuilder_ == null) {
-        return consumerDestinations_.get(index);  } else {
+        return consumerDestinations_.get(index);
+      } else {
         return consumerDestinationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2313,8 +2529,8 @@ public com.google.api.Logging.LoggingDestinationOrBuilder getConsumerDestination
      *
      * repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
      */
-    public java.util.List 
-         getConsumerDestinationsOrBuilderList() {
+    public java.util.List
+        getConsumerDestinationsOrBuilderList() {
       if (consumerDestinationsBuilder_ != null) {
         return consumerDestinationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2322,6 +2538,8 @@ public com.google.api.Logging.LoggingDestinationOrBuilder getConsumerDestination
       }
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2332,10 +2550,12 @@ public com.google.api.Logging.LoggingDestinationOrBuilder getConsumerDestination
      * repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
      */
     public com.google.api.Logging.LoggingDestination.Builder addConsumerDestinationsBuilder() {
-      return getConsumerDestinationsFieldBuilder().addBuilder(
-          com.google.api.Logging.LoggingDestination.getDefaultInstance());
+      return getConsumerDestinationsFieldBuilder()
+          .addBuilder(com.google.api.Logging.LoggingDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2347,10 +2567,12 @@ public com.google.api.Logging.LoggingDestination.Builder addConsumerDestinations
      */
     public com.google.api.Logging.LoggingDestination.Builder addConsumerDestinationsBuilder(
         int index) {
-      return getConsumerDestinationsFieldBuilder().addBuilder(
-          index, com.google.api.Logging.LoggingDestination.getDefaultInstance());
+      return getConsumerDestinationsFieldBuilder()
+          .addBuilder(index, com.google.api.Logging.LoggingDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Logging configurations for sending logs to the consumer project.
      * There can be multiple consumer destinations, each one must have a
@@ -2360,16 +2582,22 @@ public com.google.api.Logging.LoggingDestination.Builder addConsumerDestinations
      *
      * repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
      */
-    public java.util.List 
-         getConsumerDestinationsBuilderList() {
+    public java.util.List
+        getConsumerDestinationsBuilderList() {
       return getConsumerDestinationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder> 
+            com.google.api.Logging.LoggingDestination,
+            com.google.api.Logging.LoggingDestination.Builder,
+            com.google.api.Logging.LoggingDestinationOrBuilder>
         getConsumerDestinationsFieldBuilder() {
       if (consumerDestinationsBuilder_ == null) {
-        consumerDestinationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder>(
+        consumerDestinationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.Logging.LoggingDestination,
+                com.google.api.Logging.LoggingDestination.Builder,
+                com.google.api.Logging.LoggingDestinationOrBuilder>(
                 consumerDestinations_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2378,9 +2606,9 @@ public com.google.api.Logging.LoggingDestination.Builder addConsumerDestinations
       }
       return consumerDestinationsBuilder_;
     }
+
     @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);
     }
 
@@ -2390,12 +2618,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.Logging)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.Logging)
   private static final com.google.api.Logging DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.Logging();
   }
@@ -2404,27 +2632,27 @@ public static com.google.api.Logging getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Logging 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 Logging 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;
@@ -2439,6 +2667,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.Logging getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java
index cb3fc8bf05..af4857ba22 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface LoggingOrBuilder extends
+public interface LoggingOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.Logging)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -17,9 +35,10 @@ public interface LoggingOrBuilder extends
    *
    * repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
    */
-  java.util.List 
-      getProducerDestinationsList();
+  java.util.List getProducerDestinationsList();
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -31,6 +50,8 @@ public interface LoggingOrBuilder extends
    */
   com.google.api.Logging.LoggingDestination getProducerDestinations(int index);
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -42,6 +63,8 @@ public interface LoggingOrBuilder extends
    */
   int getProducerDestinationsCount();
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -51,9 +74,11 @@ public interface LoggingOrBuilder extends
    *
    * repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
    */
-  java.util.List 
+  java.util.List
       getProducerDestinationsOrBuilderList();
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the producer project.
    * There can be multiple producer destinations, each one must have a
@@ -63,10 +88,11 @@ public interface LoggingOrBuilder extends
    *
    * repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
    */
-  com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestinationsOrBuilder(
-      int index);
+  com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestinationsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -76,9 +102,10 @@ com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestinationsOrBuil
    *
    * repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
    */
-  java.util.List 
-      getConsumerDestinationsList();
+  java.util.List getConsumerDestinationsList();
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -90,6 +117,8 @@ com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestinationsOrBuil
    */
   com.google.api.Logging.LoggingDestination getConsumerDestinations(int index);
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -101,6 +130,8 @@ com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestinationsOrBuil
    */
   int getConsumerDestinationsCount();
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -110,9 +141,11 @@ com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestinationsOrBuil
    *
    * repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
    */
-  java.util.List 
+  java.util.List
       getConsumerDestinationsOrBuilderList();
   /**
+   *
+   *
    * 
    * Logging configurations for sending logs to the consumer project.
    * There can be multiple consumer destinations, each one must have a
@@ -122,6 +155,5 @@ com.google.api.Logging.LoggingDestinationOrBuilder getProducerDestinationsOrBuil
    *
    * repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
    */
-  com.google.api.Logging.LoggingDestinationOrBuilder getConsumerDestinationsOrBuilder(
-      int index);
+  com.google.api.Logging.LoggingDestinationOrBuilder getConsumerDestinationsOrBuilder(int index);
 }
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
new file mode 100644
index 0000000000..43c8d73225
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java
@@ -0,0 +1,79 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java
similarity index 76%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java
index ed982421ba..c9aacf3b7a 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java
@@ -1,24 +1,42 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * Defines policies applying to an RPC method.
  * 
* * Protobuf type {@code google.api.MethodPolicy} */ -public final class MethodPolicy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MethodPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.MethodPolicy) MethodPolicyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MethodPolicy.newBuilder() to construct. private MethodPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MethodPolicy() { selector_ = ""; requestPolicies_ = java.util.Collections.emptyList(); @@ -26,13 +44,11 @@ private MethodPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MethodPolicy(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.PolicyProto.internal_static_google_api_MethodPolicy_descriptor; } @@ -45,9 +61,12 @@ protected java.lang.Object newInstance( } public static final int SELECTOR_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object selector_ = ""; /** + * + * *
    * Selects a method to which these policies should be enforced, for example,
    * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -60,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string selector = 9; + * * @return The selector. */ @java.lang.Override @@ -68,14 +88,15 @@ public java.lang.String getSelector() { 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(); selector_ = s; return s; } } /** + * + * *
    * Selects a method to which these policies should be enforced, for example,
    * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -88,16 +109,15 @@ public java.lang.String getSelector() {
    * 
* * string selector = 9; + * * @return The bytes for selector. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -106,9 +126,12 @@ public java.lang.String getSelector() { } public static final int REQUEST_POLICIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List requestPolicies_; /** + * + * *
    * Policies that are applicable to the request message.
    * 
@@ -120,6 +143,8 @@ public java.util.List getRequestPoliciesList() { return requestPolicies_; } /** + * + * *
    * Policies that are applicable to the request message.
    * 
@@ -127,11 +152,13 @@ public java.util.List getRequestPoliciesList() { * repeated .google.api.FieldPolicy request_policies = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRequestPoliciesOrBuilderList() { return requestPolicies_; } /** + * + * *
    * Policies that are applicable to the request message.
    * 
@@ -143,6 +170,8 @@ public int getRequestPoliciesCount() { return requestPolicies_.size(); } /** + * + * *
    * Policies that are applicable to the request message.
    * 
@@ -154,6 +183,8 @@ public com.google.api.FieldPolicy getRequestPolicies(int index) { return requestPolicies_.get(index); } /** + * + * *
    * Policies that are applicable to the request message.
    * 
@@ -161,12 +192,12 @@ public com.google.api.FieldPolicy getRequestPolicies(int index) { * repeated .google.api.FieldPolicy request_policies = 2; */ @java.lang.Override - public com.google.api.FieldPolicyOrBuilder getRequestPoliciesOrBuilder( - int index) { + public com.google.api.FieldPolicyOrBuilder getRequestPoliciesOrBuilder(int index) { return requestPolicies_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +209,7 @@ 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 < requestPolicies_.size(); i++) { output.writeMessage(2, requestPolicies_.get(i)); } @@ -196,8 +226,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < requestPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, requestPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requestPolicies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, selector_); @@ -210,17 +239,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.MethodPolicy)) { return super.equals(obj); } com.google.api.MethodPolicy other = (com.google.api.MethodPolicy) obj; - if (!getSelector() - .equals(other.getSelector())) return false; - if (!getRequestPoliciesList() - .equals(other.getRequestPoliciesList())) return false; + if (!getSelector().equals(other.getSelector())) return false; + if (!getRequestPoliciesList().equals(other.getRequestPoliciesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -243,111 +270,114 @@ public int hashCode() { return hash; } - public static com.google.api.MethodPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.MethodPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MethodPolicy 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.MethodPolicy parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.MethodPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MethodPolicy 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.MethodPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MethodPolicy 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.MethodPolicy 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.MethodPolicy 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.MethodPolicy 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.MethodPolicy 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.MethodPolicy parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.MethodPolicy 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.MethodPolicy 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.MethodPolicy 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; } /** + * + * *
    * Defines policies applying to an RPC method.
    * 
* * Protobuf type {@code google.api.MethodPolicy} */ - 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.MethodPolicy) com.google.api.MethodPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.PolicyProto.internal_static_google_api_MethodPolicy_descriptor; } @@ -360,15 +390,12 @@ public static final class Builder extends } // Construct using com.google.api.MethodPolicy.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,8 +412,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.PolicyProto.internal_static_google_api_MethodPolicy_descriptor; } @@ -408,7 +434,9 @@ public com.google.api.MethodPolicy build() { public com.google.api.MethodPolicy buildPartial() { com.google.api.MethodPolicy result = new com.google.api.MethodPolicy(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -436,38 +464,39 @@ private void buildPartial0(com.google.api.MethodPolicy 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.MethodPolicy) { - return mergeFrom((com.google.api.MethodPolicy)other); + return mergeFrom((com.google.api.MethodPolicy) other); } else { super.mergeFrom(other); return this; @@ -499,9 +528,10 @@ public Builder mergeFrom(com.google.api.MethodPolicy other) { requestPoliciesBuilder_ = null; requestPolicies_ = other.requestPolicies_; bitField0_ = (bitField0_ & ~0x00000002); - requestPoliciesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestPoliciesFieldBuilder() : null; + requestPoliciesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRequestPoliciesFieldBuilder() + : null; } else { requestPoliciesBuilder_.addAllMessages(other.requestPolicies_); } @@ -533,30 +563,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - com.google.api.FieldPolicy m = - input.readMessage( - com.google.api.FieldPolicy.parser(), - extensionRegistry); - if (requestPoliciesBuilder_ == null) { - ensureRequestPoliciesIsMutable(); - requestPolicies_.add(m); - } else { - requestPoliciesBuilder_.addMessage(m); - } - break; - } // case 18 - case 74: { - selector_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + com.google.api.FieldPolicy m = + input.readMessage(com.google.api.FieldPolicy.parser(), extensionRegistry); + if (requestPoliciesBuilder_ == null) { + ensureRequestPoliciesIsMutable(); + requestPolicies_.add(m); + } else { + requestPoliciesBuilder_.addMessage(m); + } + break; + } // case 18 + case 74: + { + selector_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 74 + 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) { @@ -566,10 +597,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object selector_ = ""; /** + * + * *
      * Selects a method to which these policies should be enforced, for example,
      * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -582,13 +616,13 @@ public Builder mergeFrom(
      * 
* * string selector = 9; + * * @return The selector. */ public java.lang.String getSelector() { java.lang.Object ref = selector_; 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(); selector_ = s; return s; @@ -597,6 +631,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects a method to which these policies should be enforced, for example,
      * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -609,15 +645,14 @@ public java.lang.String getSelector() {
      * 
* * string selector = 9; + * * @return The bytes for selector. */ - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -625,6 +660,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects a method to which these policies should be enforced, for example,
      * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -637,18 +674,22 @@ public java.lang.String getSelector() {
      * 
* * string selector = 9; + * * @param value The selector to set. * @return This builder for chaining. */ - public Builder setSelector( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelector(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } selector_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Selects a method to which these policies should be enforced, for example,
      * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -661,6 +702,7 @@ public Builder setSelector(
      * 
* * string selector = 9; + * * @return This builder for chaining. */ public Builder clearSelector() { @@ -670,6 +712,8 @@ public Builder clearSelector() { return this; } /** + * + * *
      * Selects a method to which these policies should be enforced, for example,
      * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -682,12 +726,14 @@ public Builder clearSelector() {
      * 
* * string selector = 9; + * * @param value The bytes for selector to set. * @return This builder for chaining. */ - public Builder setSelectorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); selector_ = value; bitField0_ |= 0x00000001; @@ -696,18 +742,24 @@ public Builder setSelectorBytes( } private java.util.List requestPolicies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestPoliciesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { requestPolicies_ = new java.util.ArrayList(requestPolicies_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.FieldPolicy, com.google.api.FieldPolicy.Builder, com.google.api.FieldPolicyOrBuilder> requestPoliciesBuilder_; + com.google.api.FieldPolicy, + com.google.api.FieldPolicy.Builder, + com.google.api.FieldPolicyOrBuilder> + requestPoliciesBuilder_; /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -722,6 +774,8 @@ public java.util.List getRequestPoliciesList() { } } /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -736,6 +790,8 @@ public int getRequestPoliciesCount() { } } /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -750,14 +806,15 @@ public com.google.api.FieldPolicy getRequestPolicies(int index) { } } /** + * + * *
      * Policies that are applicable to the request message.
      * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - public Builder setRequestPolicies( - int index, com.google.api.FieldPolicy value) { + public Builder setRequestPolicies(int index, com.google.api.FieldPolicy value) { if (requestPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -771,6 +828,8 @@ public Builder setRequestPolicies( return this; } /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -789,6 +848,8 @@ public Builder setRequestPolicies( return this; } /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -809,14 +870,15 @@ public Builder addRequestPolicies(com.google.api.FieldPolicy value) { return this; } /** + * + * *
      * Policies that are applicable to the request message.
      * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - public Builder addRequestPolicies( - int index, com.google.api.FieldPolicy value) { + public Builder addRequestPolicies(int index, com.google.api.FieldPolicy value) { if (requestPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -830,14 +892,15 @@ public Builder addRequestPolicies( return this; } /** + * + * *
      * Policies that are applicable to the request message.
      * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - public Builder addRequestPolicies( - com.google.api.FieldPolicy.Builder builderForValue) { + public Builder addRequestPolicies(com.google.api.FieldPolicy.Builder builderForValue) { if (requestPoliciesBuilder_ == null) { ensureRequestPoliciesIsMutable(); requestPolicies_.add(builderForValue.build()); @@ -848,6 +911,8 @@ public Builder addRequestPolicies( return this; } /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -866,6 +931,8 @@ public Builder addRequestPolicies( return this; } /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -876,8 +943,7 @@ public Builder addAllRequestPolicies( java.lang.Iterable values) { if (requestPoliciesBuilder_ == null) { ensureRequestPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requestPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requestPolicies_); onChanged(); } else { requestPoliciesBuilder_.addAllMessages(values); @@ -885,6 +951,8 @@ public Builder addAllRequestPolicies( return this; } /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -902,6 +970,8 @@ public Builder clearRequestPolicies() { return this; } /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -919,39 +989,44 @@ public Builder removeRequestPolicies(int index) { return this; } /** + * + * *
      * Policies that are applicable to the request message.
      * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - public com.google.api.FieldPolicy.Builder getRequestPoliciesBuilder( - int index) { + public com.google.api.FieldPolicy.Builder getRequestPoliciesBuilder(int index) { return getRequestPoliciesFieldBuilder().getBuilder(index); } /** + * + * *
      * Policies that are applicable to the request message.
      * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - public com.google.api.FieldPolicyOrBuilder getRequestPoliciesOrBuilder( - int index) { + public com.google.api.FieldPolicyOrBuilder getRequestPoliciesOrBuilder(int index) { if (requestPoliciesBuilder_ == null) { - return requestPolicies_.get(index); } else { + return requestPolicies_.get(index); + } else { return requestPoliciesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Policies that are applicable to the request message.
      * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - public java.util.List - getRequestPoliciesOrBuilderList() { + public java.util.List + getRequestPoliciesOrBuilderList() { if (requestPoliciesBuilder_ != null) { return requestPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -959,6 +1034,8 @@ public com.google.api.FieldPolicyOrBuilder getRequestPoliciesOrBuilder( } } /** + * + * *
      * Policies that are applicable to the request message.
      * 
@@ -966,38 +1043,46 @@ public com.google.api.FieldPolicyOrBuilder getRequestPoliciesOrBuilder( * repeated .google.api.FieldPolicy request_policies = 2; */ public com.google.api.FieldPolicy.Builder addRequestPoliciesBuilder() { - return getRequestPoliciesFieldBuilder().addBuilder( - com.google.api.FieldPolicy.getDefaultInstance()); + return getRequestPoliciesFieldBuilder() + .addBuilder(com.google.api.FieldPolicy.getDefaultInstance()); } /** + * + * *
      * Policies that are applicable to the request message.
      * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - public com.google.api.FieldPolicy.Builder addRequestPoliciesBuilder( - int index) { - return getRequestPoliciesFieldBuilder().addBuilder( - index, com.google.api.FieldPolicy.getDefaultInstance()); + public com.google.api.FieldPolicy.Builder addRequestPoliciesBuilder(int index) { + return getRequestPoliciesFieldBuilder() + .addBuilder(index, com.google.api.FieldPolicy.getDefaultInstance()); } /** + * + * *
      * Policies that are applicable to the request message.
      * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - public java.util.List - getRequestPoliciesBuilderList() { + public java.util.List getRequestPoliciesBuilderList() { return getRequestPoliciesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.FieldPolicy, com.google.api.FieldPolicy.Builder, com.google.api.FieldPolicyOrBuilder> + com.google.api.FieldPolicy, + com.google.api.FieldPolicy.Builder, + com.google.api.FieldPolicyOrBuilder> getRequestPoliciesFieldBuilder() { if (requestPoliciesBuilder_ == null) { - requestPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.FieldPolicy, com.google.api.FieldPolicy.Builder, com.google.api.FieldPolicyOrBuilder>( + requestPoliciesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.FieldPolicy, + com.google.api.FieldPolicy.Builder, + com.google.api.FieldPolicyOrBuilder>( requestPolicies_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1006,9 +1091,9 @@ public com.google.api.FieldPolicy.Builder addRequestPoliciesBuilder( } return requestPoliciesBuilder_; } + @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); } @@ -1018,12 +1103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.MethodPolicy) } // @@protoc_insertion_point(class_scope:google.api.MethodPolicy) private static final com.google.api.MethodPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.MethodPolicy(); } @@ -1032,27 +1117,27 @@ public static com.google.api.MethodPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MethodPolicy 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 MethodPolicy 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; @@ -1067,6 +1152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.MethodPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java similarity index 71% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java index 2cfdac3e0a..f417591bea 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface MethodPolicyOrBuilder extends +public interface MethodPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.MethodPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Selects a method to which these policies should be enforced, for example,
    * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -20,10 +38,13 @@ public interface MethodPolicyOrBuilder extends
    * 
* * string selector = 9; + * * @return The selector. */ java.lang.String getSelector(); /** + * + * *
    * Selects a method to which these policies should be enforced, for example,
    * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -36,21 +57,24 @@ public interface MethodPolicyOrBuilder extends
    * 
* * string selector = 9; + * * @return The bytes for selector. */ - com.google.protobuf.ByteString - getSelectorBytes(); + com.google.protobuf.ByteString getSelectorBytes(); /** + * + * *
    * Policies that are applicable to the request message.
    * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - java.util.List - getRequestPoliciesList(); + java.util.List getRequestPoliciesList(); /** + * + * *
    * Policies that are applicable to the request message.
    * 
@@ -59,6 +83,8 @@ public interface MethodPolicyOrBuilder extends */ com.google.api.FieldPolicy getRequestPolicies(int index); /** + * + * *
    * Policies that are applicable to the request message.
    * 
@@ -67,21 +93,23 @@ public interface MethodPolicyOrBuilder extends */ int getRequestPoliciesCount(); /** + * + * *
    * Policies that are applicable to the request message.
    * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - java.util.List - getRequestPoliciesOrBuilderList(); + java.util.List getRequestPoliciesOrBuilderList(); /** + * + * *
    * Policies that are applicable to the request message.
    * 
* * repeated .google.api.FieldPolicy request_policies = 2; */ - com.google.api.FieldPolicyOrBuilder getRequestPoliciesOrBuilder( - int index); + com.google.api.FieldPolicyOrBuilder getRequestPoliciesOrBuilder(int index); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java similarity index 77% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java index 9e63679917..226b7d9264 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java @@ -1,39 +1,54 @@ +/* + * 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; /** + * + * *
  * Describes the generator configuration for a method.
  * 
* * Protobuf type {@code google.api.MethodSettings} */ -public final class MethodSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MethodSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.MethodSettings) MethodSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MethodSettings.newBuilder() to construct. private MethodSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MethodSettings() { selector_ = ""; - autoPopulatedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + autoPopulatedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MethodSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_MethodSettings_descriptor; } @@ -45,31 +60,40 @@ protected java.lang.Object newInstance( com.google.api.MethodSettings.class, com.google.api.MethodSettings.Builder.class); } - public interface LongRunningOrBuilder extends + public interface LongRunningOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.MethodSettings.LongRunning) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Initial delay after which the first poll request will be made.
      * Default value: 5 seconds.
      * 
* * .google.protobuf.Duration initial_poll_delay = 1; + * * @return Whether the initialPollDelay field is set. */ boolean hasInitialPollDelay(); /** + * + * *
      * Initial delay after which the first poll request will be made.
      * Default value: 5 seconds.
      * 
* * .google.protobuf.Duration initial_poll_delay = 1; + * * @return The initialPollDelay. */ com.google.protobuf.Duration getInitialPollDelay(); /** + * + * *
      * Initial delay after which the first poll request will be made.
      * Default value: 5 seconds.
@@ -80,6 +104,8 @@ public interface LongRunningOrBuilder extends
     com.google.protobuf.DurationOrBuilder getInitialPollDelayOrBuilder();
 
     /**
+     *
+     *
      * 
      * Multiplier to gradually increase delay between subsequent polls until it
      * reaches max_poll_delay.
@@ -87,31 +113,40 @@ public interface LongRunningOrBuilder extends
      * 
* * float poll_delay_multiplier = 2; + * * @return The pollDelayMultiplier. */ float getPollDelayMultiplier(); /** + * + * *
      * Maximum time between two subsequent poll requests.
      * Default value: 45 seconds.
      * 
* * .google.protobuf.Duration max_poll_delay = 3; + * * @return Whether the maxPollDelay field is set. */ boolean hasMaxPollDelay(); /** + * + * *
      * Maximum time between two subsequent poll requests.
      * Default value: 45 seconds.
      * 
* * .google.protobuf.Duration max_poll_delay = 3; + * * @return The maxPollDelay. */ com.google.protobuf.Duration getMaxPollDelay(); /** + * + * *
      * Maximum time between two subsequent poll requests.
      * Default value: 45 seconds.
@@ -122,26 +157,34 @@ public interface LongRunningOrBuilder extends
     com.google.protobuf.DurationOrBuilder getMaxPollDelayOrBuilder();
 
     /**
+     *
+     *
      * 
      * Total polling timeout.
      * Default value: 5 minutes.
      * 
* * .google.protobuf.Duration total_poll_timeout = 4; + * * @return Whether the totalPollTimeout field is set. */ boolean hasTotalPollTimeout(); /** + * + * *
      * Total polling timeout.
      * Default value: 5 minutes.
      * 
* * .google.protobuf.Duration total_poll_timeout = 4; + * * @return The totalPollTimeout. */ com.google.protobuf.Duration getTotalPollTimeout(); /** + * + * *
      * Total polling timeout.
      * Default value: 5 minutes.
@@ -152,6 +195,8 @@ public interface LongRunningOrBuilder extends
     com.google.protobuf.DurationOrBuilder getTotalPollTimeoutOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Describes settings to use when generating API methods that use the
    * long-running operation pattern.
@@ -162,47 +207,51 @@ public interface LongRunningOrBuilder extends
    *
    * Protobuf type {@code google.api.MethodSettings.LongRunning}
    */
-  public static final class LongRunning extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class LongRunning extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.api.MethodSettings.LongRunning)
       LongRunningOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use LongRunning.newBuilder() to construct.
     private LongRunning(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private LongRunning() {
-    }
+
+    private LongRunning() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new LongRunning();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.api.ClientProto.internal_static_google_api_MethodSettings_LongRunning_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.api.ClientProto
+          .internal_static_google_api_MethodSettings_LongRunning_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.ClientProto.internal_static_google_api_MethodSettings_LongRunning_fieldAccessorTable
+      return com.google.api.ClientProto
+          .internal_static_google_api_MethodSettings_LongRunning_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.MethodSettings.LongRunning.class, com.google.api.MethodSettings.LongRunning.Builder.class);
+              com.google.api.MethodSettings.LongRunning.class,
+              com.google.api.MethodSettings.LongRunning.Builder.class);
     }
 
     public static final int INITIAL_POLL_DELAY_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration initialPollDelay_;
     /**
+     *
+     *
      * 
      * Initial delay after which the first poll request will be made.
      * Default value: 5 seconds.
      * 
* * .google.protobuf.Duration initial_poll_delay = 1; + * * @return Whether the initialPollDelay field is set. */ @java.lang.Override @@ -210,19 +259,26 @@ public boolean hasInitialPollDelay() { return initialPollDelay_ != null; } /** + * + * *
      * Initial delay after which the first poll request will be made.
      * Default value: 5 seconds.
      * 
* * .google.protobuf.Duration initial_poll_delay = 1; + * * @return The initialPollDelay. */ @java.lang.Override public com.google.protobuf.Duration getInitialPollDelay() { - return initialPollDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : initialPollDelay_; + return initialPollDelay_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : initialPollDelay_; } /** + * + * *
      * Initial delay after which the first poll request will be made.
      * Default value: 5 seconds.
@@ -232,12 +288,16 @@ public com.google.protobuf.Duration getInitialPollDelay() {
      */
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getInitialPollDelayOrBuilder() {
-      return initialPollDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : initialPollDelay_;
+      return initialPollDelay_ == null
+          ? com.google.protobuf.Duration.getDefaultInstance()
+          : initialPollDelay_;
     }
 
     public static final int POLL_DELAY_MULTIPLIER_FIELD_NUMBER = 2;
     private float pollDelayMultiplier_ = 0F;
     /**
+     *
+     *
      * 
      * Multiplier to gradually increase delay between subsequent polls until it
      * reaches max_poll_delay.
@@ -245,6 +305,7 @@ public com.google.protobuf.DurationOrBuilder getInitialPollDelayOrBuilder() {
      * 
* * float poll_delay_multiplier = 2; + * * @return The pollDelayMultiplier. */ @java.lang.Override @@ -255,12 +316,15 @@ public float getPollDelayMultiplier() { public static final int MAX_POLL_DELAY_FIELD_NUMBER = 3; private com.google.protobuf.Duration maxPollDelay_; /** + * + * *
      * Maximum time between two subsequent poll requests.
      * Default value: 45 seconds.
      * 
* * .google.protobuf.Duration max_poll_delay = 3; + * * @return Whether the maxPollDelay field is set. */ @java.lang.Override @@ -268,19 +332,26 @@ public boolean hasMaxPollDelay() { return maxPollDelay_ != null; } /** + * + * *
      * Maximum time between two subsequent poll requests.
      * Default value: 45 seconds.
      * 
* * .google.protobuf.Duration max_poll_delay = 3; + * * @return The maxPollDelay. */ @java.lang.Override public com.google.protobuf.Duration getMaxPollDelay() { - return maxPollDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxPollDelay_; + return maxPollDelay_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxPollDelay_; } /** + * + * *
      * Maximum time between two subsequent poll requests.
      * Default value: 45 seconds.
@@ -290,18 +361,23 @@ public com.google.protobuf.Duration getMaxPollDelay() {
      */
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getMaxPollDelayOrBuilder() {
-      return maxPollDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxPollDelay_;
+      return maxPollDelay_ == null
+          ? com.google.protobuf.Duration.getDefaultInstance()
+          : maxPollDelay_;
     }
 
     public static final int TOTAL_POLL_TIMEOUT_FIELD_NUMBER = 4;
     private com.google.protobuf.Duration totalPollTimeout_;
     /**
+     *
+     *
      * 
      * Total polling timeout.
      * Default value: 5 minutes.
      * 
* * .google.protobuf.Duration total_poll_timeout = 4; + * * @return Whether the totalPollTimeout field is set. */ @java.lang.Override @@ -309,19 +385,26 @@ public boolean hasTotalPollTimeout() { return totalPollTimeout_ != null; } /** + * + * *
      * Total polling timeout.
      * Default value: 5 minutes.
      * 
* * .google.protobuf.Duration total_poll_timeout = 4; + * * @return The totalPollTimeout. */ @java.lang.Override public com.google.protobuf.Duration getTotalPollTimeout() { - return totalPollTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : totalPollTimeout_; + return totalPollTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : totalPollTimeout_; } /** + * + * *
      * Total polling timeout.
      * Default value: 5 minutes.
@@ -331,10 +414,13 @@ public com.google.protobuf.Duration getTotalPollTimeout() {
      */
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getTotalPollTimeoutOrBuilder() {
-      return totalPollTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : totalPollTimeout_;
+      return totalPollTimeout_ == null
+          ? com.google.protobuf.Duration.getDefaultInstance()
+          : totalPollTimeout_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -346,8 +432,7 @@ 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 (initialPollDelay_ != null) {
         output.writeMessage(1, getInitialPollDelay());
       }
@@ -370,20 +455,16 @@ public int getSerializedSize() {
 
       size = 0;
       if (initialPollDelay_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getInitialPollDelay());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInitialPollDelay());
       }
       if (java.lang.Float.floatToRawIntBits(pollDelayMultiplier_) != 0) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeFloatSize(2, pollDelayMultiplier_);
+        size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, pollDelayMultiplier_);
       }
       if (maxPollDelay_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getMaxPollDelay());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMaxPollDelay());
       }
       if (totalPollTimeout_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, getTotalPollTimeout());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTotalPollTimeout());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -393,30 +474,27 @@ 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.MethodSettings.LongRunning)) {
         return super.equals(obj);
       }
-      com.google.api.MethodSettings.LongRunning other = (com.google.api.MethodSettings.LongRunning) obj;
+      com.google.api.MethodSettings.LongRunning other =
+          (com.google.api.MethodSettings.LongRunning) obj;
 
       if (hasInitialPollDelay() != other.hasInitialPollDelay()) return false;
       if (hasInitialPollDelay()) {
-        if (!getInitialPollDelay()
-            .equals(other.getInitialPollDelay())) return false;
+        if (!getInitialPollDelay().equals(other.getInitialPollDelay())) return false;
       }
       if (java.lang.Float.floatToIntBits(getPollDelayMultiplier())
-          != java.lang.Float.floatToIntBits(
-              other.getPollDelayMultiplier())) return false;
+          != java.lang.Float.floatToIntBits(other.getPollDelayMultiplier())) return false;
       if (hasMaxPollDelay() != other.hasMaxPollDelay()) return false;
       if (hasMaxPollDelay()) {
-        if (!getMaxPollDelay()
-            .equals(other.getMaxPollDelay())) return false;
+        if (!getMaxPollDelay().equals(other.getMaxPollDelay())) return false;
       }
       if (hasTotalPollTimeout() != other.hasTotalPollTimeout()) return false;
       if (hasTotalPollTimeout()) {
-        if (!getTotalPollTimeout()
-            .equals(other.getTotalPollTimeout())) return false;
+        if (!getTotalPollTimeout().equals(other.getTotalPollTimeout())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -434,8 +512,7 @@ public int hashCode() {
         hash = (53 * hash) + getInitialPollDelay().hashCode();
       }
       hash = (37 * hash) + POLL_DELAY_MULTIPLIER_FIELD_NUMBER;
-      hash = (53 * hash) + java.lang.Float.floatToIntBits(
-          getPollDelayMultiplier());
+      hash = (53 * hash) + java.lang.Float.floatToIntBits(getPollDelayMultiplier());
       if (hasMaxPollDelay()) {
         hash = (37 * hash) + MAX_POLL_DELAY_FIELD_NUMBER;
         hash = (53 * hash) + getMaxPollDelay().hashCode();
@@ -449,90 +526,94 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.api.MethodSettings.LongRunning parseFrom(
-        java.nio.ByteBuffer data)
+    public static com.google.api.MethodSettings.LongRunning parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.api.MethodSettings.LongRunning 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.MethodSettings.LongRunning parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.api.MethodSettings.LongRunning 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.MethodSettings.LongRunning parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.api.MethodSettings.LongRunning 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.MethodSettings.LongRunning 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.MethodSettings.LongRunning 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.MethodSettings.LongRunning parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.api.MethodSettings.LongRunning parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.api.MethodSettings.LongRunning 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.MethodSettings.LongRunning parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.api.MethodSettings.LongRunning 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.MethodSettings.LongRunning 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
@@ -542,6 +623,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Describes settings to use when generating API methods that use the
      * long-running operation pattern.
@@ -552,33 +635,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.api.MethodSettings.LongRunning}
      */
-    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.MethodSettings.LongRunning)
         com.google.api.MethodSettings.LongRunningOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.api.ClientProto.internal_static_google_api_MethodSettings_LongRunning_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.api.ClientProto
+            .internal_static_google_api_MethodSettings_LongRunning_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.ClientProto.internal_static_google_api_MethodSettings_LongRunning_fieldAccessorTable
+        return com.google.api.ClientProto
+            .internal_static_google_api_MethodSettings_LongRunning_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.MethodSettings.LongRunning.class, com.google.api.MethodSettings.LongRunning.Builder.class);
+                com.google.api.MethodSettings.LongRunning.class,
+                com.google.api.MethodSettings.LongRunning.Builder.class);
       }
 
       // Construct using com.google.api.MethodSettings.LongRunning.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -603,9 +686,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.api.ClientProto.internal_static_google_api_MethodSettings_LongRunning_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.api.ClientProto
+            .internal_static_google_api_MethodSettings_LongRunning_descriptor;
       }
 
       @java.lang.Override
@@ -624,8 +707,11 @@ public com.google.api.MethodSettings.LongRunning build() {
 
       @java.lang.Override
       public com.google.api.MethodSettings.LongRunning buildPartial() {
-        com.google.api.MethodSettings.LongRunning result = new com.google.api.MethodSettings.LongRunning(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.api.MethodSettings.LongRunning result =
+            new com.google.api.MethodSettings.LongRunning(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -633,22 +719,23 @@ public com.google.api.MethodSettings.LongRunning buildPartial() {
       private void buildPartial0(com.google.api.MethodSettings.LongRunning result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.initialPollDelay_ = initialPollDelayBuilder_ == null
-              ? initialPollDelay_
-              : initialPollDelayBuilder_.build();
+          result.initialPollDelay_ =
+              initialPollDelayBuilder_ == null
+                  ? initialPollDelay_
+                  : initialPollDelayBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
           result.pollDelayMultiplier_ = pollDelayMultiplier_;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.maxPollDelay_ = maxPollDelayBuilder_ == null
-              ? maxPollDelay_
-              : maxPollDelayBuilder_.build();
+          result.maxPollDelay_ =
+              maxPollDelayBuilder_ == null ? maxPollDelay_ : maxPollDelayBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.totalPollTimeout_ = totalPollTimeoutBuilder_ == null
-              ? totalPollTimeout_
-              : totalPollTimeoutBuilder_.build();
+          result.totalPollTimeout_ =
+              totalPollTimeoutBuilder_ == null
+                  ? totalPollTimeout_
+                  : totalPollTimeoutBuilder_.build();
         }
       }
 
@@ -656,38 +743,41 @@ private void buildPartial0(com.google.api.MethodSettings.LongRunning 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) {
+          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.MethodSettings.LongRunning) {
-          return mergeFrom((com.google.api.MethodSettings.LongRunning)other);
+          return mergeFrom((com.google.api.MethodSettings.LongRunning) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -734,38 +824,39 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getInitialPollDelayFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 21: {
-                pollDelayMultiplier_ = input.readFloat();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 21
-              case 26: {
-                input.readMessage(
-                    getMaxPollDelayFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getTotalPollTimeoutFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(
+                      getInitialPollDelayFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 21:
+                {
+                  pollDelayMultiplier_ = input.readFloat();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 21
+              case 26:
+                {
+                  input.readMessage(getMaxPollDelayFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(
+                      getTotalPollTimeoutFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000008;
+                  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) {
@@ -775,40 +866,54 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.Duration initialPollDelay_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> initialPollDelayBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          initialPollDelayBuilder_;
       /**
+       *
+       *
        * 
        * Initial delay after which the first poll request will be made.
        * Default value: 5 seconds.
        * 
* * .google.protobuf.Duration initial_poll_delay = 1; + * * @return Whether the initialPollDelay field is set. */ public boolean hasInitialPollDelay() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Initial delay after which the first poll request will be made.
        * Default value: 5 seconds.
        * 
* * .google.protobuf.Duration initial_poll_delay = 1; + * * @return The initialPollDelay. */ public com.google.protobuf.Duration getInitialPollDelay() { if (initialPollDelayBuilder_ == null) { - return initialPollDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : initialPollDelay_; + return initialPollDelay_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : initialPollDelay_; } else { return initialPollDelayBuilder_.getMessage(); } } /** + * + * *
        * Initial delay after which the first poll request will be made.
        * Default value: 5 seconds.
@@ -830,6 +935,8 @@ public Builder setInitialPollDelay(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Initial delay after which the first poll request will be made.
        * Default value: 5 seconds.
@@ -837,8 +944,7 @@ public Builder setInitialPollDelay(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration initial_poll_delay = 1;
        */
-      public Builder setInitialPollDelay(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setInitialPollDelay(com.google.protobuf.Duration.Builder builderForValue) {
         if (initialPollDelayBuilder_ == null) {
           initialPollDelay_ = builderForValue.build();
         } else {
@@ -849,6 +955,8 @@ public Builder setInitialPollDelay(
         return this;
       }
       /**
+       *
+       *
        * 
        * Initial delay after which the first poll request will be made.
        * Default value: 5 seconds.
@@ -858,9 +966,9 @@ public Builder setInitialPollDelay(
        */
       public Builder mergeInitialPollDelay(com.google.protobuf.Duration value) {
         if (initialPollDelayBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            initialPollDelay_ != null &&
-            initialPollDelay_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && initialPollDelay_ != null
+              && initialPollDelay_ != com.google.protobuf.Duration.getDefaultInstance()) {
             getInitialPollDelayBuilder().mergeFrom(value);
           } else {
             initialPollDelay_ = value;
@@ -873,6 +981,8 @@ public Builder mergeInitialPollDelay(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Initial delay after which the first poll request will be made.
        * Default value: 5 seconds.
@@ -891,6 +1001,8 @@ public Builder clearInitialPollDelay() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Initial delay after which the first poll request will be made.
        * Default value: 5 seconds.
@@ -904,6 +1016,8 @@ public com.google.protobuf.Duration.Builder getInitialPollDelayBuilder() {
         return getInitialPollDelayFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Initial delay after which the first poll request will be made.
        * Default value: 5 seconds.
@@ -915,11 +1029,14 @@ public com.google.protobuf.DurationOrBuilder getInitialPollDelayOrBuilder() {
         if (initialPollDelayBuilder_ != null) {
           return initialPollDelayBuilder_.getMessageOrBuilder();
         } else {
-          return initialPollDelay_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : initialPollDelay_;
+          return initialPollDelay_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : initialPollDelay_;
         }
       }
       /**
+       *
+       *
        * 
        * Initial delay after which the first poll request will be made.
        * Default value: 5 seconds.
@@ -928,21 +1045,26 @@ public com.google.protobuf.DurationOrBuilder getInitialPollDelayOrBuilder() {
        * .google.protobuf.Duration initial_poll_delay = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getInitialPollDelayFieldBuilder() {
         if (initialPollDelayBuilder_ == null) {
-          initialPollDelayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getInitialPollDelay(),
-                  getParentForChildren(),
-                  isClean());
+          initialPollDelayBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getInitialPollDelay(), getParentForChildren(), isClean());
           initialPollDelay_ = null;
         }
         return initialPollDelayBuilder_;
       }
 
-      private float pollDelayMultiplier_ ;
+      private float pollDelayMultiplier_;
       /**
+       *
+       *
        * 
        * Multiplier to gradually increase delay between subsequent polls until it
        * reaches max_poll_delay.
@@ -950,6 +1072,7 @@ public com.google.protobuf.DurationOrBuilder getInitialPollDelayOrBuilder() {
        * 
* * float poll_delay_multiplier = 2; + * * @return The pollDelayMultiplier. */ @java.lang.Override @@ -957,6 +1080,8 @@ public float getPollDelayMultiplier() { return pollDelayMultiplier_; } /** + * + * *
        * Multiplier to gradually increase delay between subsequent polls until it
        * reaches max_poll_delay.
@@ -964,6 +1089,7 @@ public float getPollDelayMultiplier() {
        * 
* * float poll_delay_multiplier = 2; + * * @param value The pollDelayMultiplier to set. * @return This builder for chaining. */ @@ -975,6 +1101,8 @@ public Builder setPollDelayMultiplier(float value) { return this; } /** + * + * *
        * Multiplier to gradually increase delay between subsequent polls until it
        * reaches max_poll_delay.
@@ -982,6 +1110,7 @@ public Builder setPollDelayMultiplier(float value) {
        * 
* * float poll_delay_multiplier = 2; + * * @return This builder for chaining. */ public Builder clearPollDelayMultiplier() { @@ -993,36 +1122,49 @@ public Builder clearPollDelayMultiplier() { private com.google.protobuf.Duration maxPollDelay_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxPollDelayBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxPollDelayBuilder_; /** + * + * *
        * Maximum time between two subsequent poll requests.
        * Default value: 45 seconds.
        * 
* * .google.protobuf.Duration max_poll_delay = 3; + * * @return Whether the maxPollDelay field is set. */ public boolean hasMaxPollDelay() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Maximum time between two subsequent poll requests.
        * Default value: 45 seconds.
        * 
* * .google.protobuf.Duration max_poll_delay = 3; + * * @return The maxPollDelay. */ public com.google.protobuf.Duration getMaxPollDelay() { if (maxPollDelayBuilder_ == null) { - return maxPollDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxPollDelay_; + return maxPollDelay_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxPollDelay_; } else { return maxPollDelayBuilder_.getMessage(); } } /** + * + * *
        * Maximum time between two subsequent poll requests.
        * Default value: 45 seconds.
@@ -1044,6 +1186,8 @@ public Builder setMaxPollDelay(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Maximum time between two subsequent poll requests.
        * Default value: 45 seconds.
@@ -1051,8 +1195,7 @@ public Builder setMaxPollDelay(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration max_poll_delay = 3;
        */
-      public Builder setMaxPollDelay(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setMaxPollDelay(com.google.protobuf.Duration.Builder builderForValue) {
         if (maxPollDelayBuilder_ == null) {
           maxPollDelay_ = builderForValue.build();
         } else {
@@ -1063,6 +1206,8 @@ public Builder setMaxPollDelay(
         return this;
       }
       /**
+       *
+       *
        * 
        * Maximum time between two subsequent poll requests.
        * Default value: 45 seconds.
@@ -1072,9 +1217,9 @@ public Builder setMaxPollDelay(
        */
       public Builder mergeMaxPollDelay(com.google.protobuf.Duration value) {
         if (maxPollDelayBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0) &&
-            maxPollDelay_ != null &&
-            maxPollDelay_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0)
+              && maxPollDelay_ != null
+              && maxPollDelay_ != com.google.protobuf.Duration.getDefaultInstance()) {
             getMaxPollDelayBuilder().mergeFrom(value);
           } else {
             maxPollDelay_ = value;
@@ -1087,6 +1232,8 @@ public Builder mergeMaxPollDelay(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Maximum time between two subsequent poll requests.
        * Default value: 45 seconds.
@@ -1105,6 +1252,8 @@ public Builder clearMaxPollDelay() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Maximum time between two subsequent poll requests.
        * Default value: 45 seconds.
@@ -1118,6 +1267,8 @@ public com.google.protobuf.Duration.Builder getMaxPollDelayBuilder() {
         return getMaxPollDelayFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Maximum time between two subsequent poll requests.
        * Default value: 45 seconds.
@@ -1129,11 +1280,14 @@ public com.google.protobuf.DurationOrBuilder getMaxPollDelayOrBuilder() {
         if (maxPollDelayBuilder_ != null) {
           return maxPollDelayBuilder_.getMessageOrBuilder();
         } else {
-          return maxPollDelay_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : maxPollDelay_;
+          return maxPollDelay_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : maxPollDelay_;
         }
       }
       /**
+       *
+       *
        * 
        * Maximum time between two subsequent poll requests.
        * Default value: 45 seconds.
@@ -1142,14 +1296,17 @@ public com.google.protobuf.DurationOrBuilder getMaxPollDelayOrBuilder() {
        * .google.protobuf.Duration max_poll_delay = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getMaxPollDelayFieldBuilder() {
         if (maxPollDelayBuilder_ == null) {
-          maxPollDelayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getMaxPollDelay(),
-                  getParentForChildren(),
-                  isClean());
+          maxPollDelayBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getMaxPollDelay(), getParentForChildren(), isClean());
           maxPollDelay_ = null;
         }
         return maxPollDelayBuilder_;
@@ -1157,36 +1314,49 @@ public com.google.protobuf.DurationOrBuilder getMaxPollDelayOrBuilder() {
 
       private com.google.protobuf.Duration totalPollTimeout_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> totalPollTimeoutBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          totalPollTimeoutBuilder_;
       /**
+       *
+       *
        * 
        * Total polling timeout.
        * Default value: 5 minutes.
        * 
* * .google.protobuf.Duration total_poll_timeout = 4; + * * @return Whether the totalPollTimeout field is set. */ public boolean hasTotalPollTimeout() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Total polling timeout.
        * Default value: 5 minutes.
        * 
* * .google.protobuf.Duration total_poll_timeout = 4; + * * @return The totalPollTimeout. */ public com.google.protobuf.Duration getTotalPollTimeout() { if (totalPollTimeoutBuilder_ == null) { - return totalPollTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : totalPollTimeout_; + return totalPollTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : totalPollTimeout_; } else { return totalPollTimeoutBuilder_.getMessage(); } } /** + * + * *
        * Total polling timeout.
        * Default value: 5 minutes.
@@ -1208,6 +1378,8 @@ public Builder setTotalPollTimeout(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Total polling timeout.
        * Default value: 5 minutes.
@@ -1215,8 +1387,7 @@ public Builder setTotalPollTimeout(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration total_poll_timeout = 4;
        */
-      public Builder setTotalPollTimeout(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setTotalPollTimeout(com.google.protobuf.Duration.Builder builderForValue) {
         if (totalPollTimeoutBuilder_ == null) {
           totalPollTimeout_ = builderForValue.build();
         } else {
@@ -1227,6 +1398,8 @@ public Builder setTotalPollTimeout(
         return this;
       }
       /**
+       *
+       *
        * 
        * Total polling timeout.
        * Default value: 5 minutes.
@@ -1236,9 +1409,9 @@ public Builder setTotalPollTimeout(
        */
       public Builder mergeTotalPollTimeout(com.google.protobuf.Duration value) {
         if (totalPollTimeoutBuilder_ == null) {
-          if (((bitField0_ & 0x00000008) != 0) &&
-            totalPollTimeout_ != null &&
-            totalPollTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000008) != 0)
+              && totalPollTimeout_ != null
+              && totalPollTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
             getTotalPollTimeoutBuilder().mergeFrom(value);
           } else {
             totalPollTimeout_ = value;
@@ -1251,6 +1424,8 @@ public Builder mergeTotalPollTimeout(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Total polling timeout.
        * Default value: 5 minutes.
@@ -1269,6 +1444,8 @@ public Builder clearTotalPollTimeout() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Total polling timeout.
        * Default value: 5 minutes.
@@ -1282,6 +1459,8 @@ public com.google.protobuf.Duration.Builder getTotalPollTimeoutBuilder() {
         return getTotalPollTimeoutFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Total polling timeout.
        * Default value: 5 minutes.
@@ -1293,11 +1472,14 @@ public com.google.protobuf.DurationOrBuilder getTotalPollTimeoutOrBuilder() {
         if (totalPollTimeoutBuilder_ != null) {
           return totalPollTimeoutBuilder_.getMessageOrBuilder();
         } else {
-          return totalPollTimeout_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : totalPollTimeout_;
+          return totalPollTimeout_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : totalPollTimeout_;
         }
       }
       /**
+       *
+       *
        * 
        * Total polling timeout.
        * Default value: 5 minutes.
@@ -1306,18 +1488,22 @@ public com.google.protobuf.DurationOrBuilder getTotalPollTimeoutOrBuilder() {
        * .google.protobuf.Duration total_poll_timeout = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getTotalPollTimeoutFieldBuilder() {
         if (totalPollTimeoutBuilder_ == null) {
-          totalPollTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getTotalPollTimeout(),
-                  getParentForChildren(),
-                  isClean());
+          totalPollTimeoutBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getTotalPollTimeout(), getParentForChildren(), isClean());
           totalPollTimeout_ = null;
         }
         return totalPollTimeoutBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1330,12 +1516,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.api.MethodSettings.LongRunning)
     }
 
     // @@protoc_insertion_point(class_scope:google.api.MethodSettings.LongRunning)
     private static final com.google.api.MethodSettings.LongRunning DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.api.MethodSettings.LongRunning();
     }
@@ -1344,27 +1530,28 @@ public static com.google.api.MethodSettings.LongRunning getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public LongRunning 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 LongRunning 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;
@@ -1379,19 +1566,22 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.api.MethodSettings.LongRunning getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int SELECTOR_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object selector_ = "";
   /**
+   *
+   *
    * 
    * The fully qualified name of the method, for which the options below apply.
    * This is used to find the method to apply the options.
    * 
* * string selector = 1; + * * @return The selector. */ @java.lang.Override @@ -1400,30 +1590,30 @@ public java.lang.String getSelector() { 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(); selector_ = s; return s; } } /** + * + * *
    * The fully qualified name of the method, for which the options below apply.
    * This is used to find the method to apply the options.
    * 
* * string selector = 1; + * * @return The bytes for selector. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -1434,6 +1624,8 @@ public java.lang.String getSelector() { public static final int LONG_RUNNING_FIELD_NUMBER = 2; private com.google.api.MethodSettings.LongRunning longRunning_; /** + * + * *
    * Describes settings to use for long-running operations when generating
    * API methods for RPCs. Complements RPCs that use the annotations in
@@ -1455,6 +1647,7 @@ public java.lang.String getSelector() {
    * 
* * .google.api.MethodSettings.LongRunning long_running = 2; + * * @return Whether the longRunning field is set. */ @java.lang.Override @@ -1462,6 +1655,8 @@ public boolean hasLongRunning() { return longRunning_ != null; } /** + * + * *
    * Describes settings to use for long-running operations when generating
    * API methods for RPCs. Complements RPCs that use the annotations in
@@ -1483,13 +1678,18 @@ public boolean hasLongRunning() {
    * 
* * .google.api.MethodSettings.LongRunning long_running = 2; + * * @return The longRunning. */ @java.lang.Override public com.google.api.MethodSettings.LongRunning getLongRunning() { - return longRunning_ == null ? com.google.api.MethodSettings.LongRunning.getDefaultInstance() : longRunning_; + return longRunning_ == null + ? com.google.api.MethodSettings.LongRunning.getDefaultInstance() + : longRunning_; } /** + * + * *
    * Describes settings to use for long-running operations when generating
    * API methods for RPCs. Complements RPCs that use the annotations in
@@ -1514,14 +1714,19 @@ public com.google.api.MethodSettings.LongRunning getLongRunning() {
    */
   @java.lang.Override
   public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilder() {
-    return longRunning_ == null ? com.google.api.MethodSettings.LongRunning.getDefaultInstance() : longRunning_;
+    return longRunning_ == null
+        ? com.google.api.MethodSettings.LongRunning.getDefaultInstance()
+        : longRunning_;
   }
 
   public static final int AUTO_POPULATED_FIELDS_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList autoPopulatedFields_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * List of top-level fields of the request message, that should be
    * automatically populated by the client libraries based on their
@@ -1537,13 +1742,15 @@ public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilde
    * 
* * repeated string auto_populated_fields = 3; + * * @return A list containing the autoPopulatedFields. */ - public com.google.protobuf.ProtocolStringList - getAutoPopulatedFieldsList() { + public com.google.protobuf.ProtocolStringList getAutoPopulatedFieldsList() { return autoPopulatedFields_; } /** + * + * *
    * List of top-level fields of the request message, that should be
    * automatically populated by the client libraries based on their
@@ -1559,12 +1766,15 @@ public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilde
    * 
* * repeated string auto_populated_fields = 3; + * * @return The count of autoPopulatedFields. */ public int getAutoPopulatedFieldsCount() { return autoPopulatedFields_.size(); } /** + * + * *
    * List of top-level fields of the request message, that should be
    * automatically populated by the client libraries based on their
@@ -1580,6 +1790,7 @@ public int getAutoPopulatedFieldsCount() {
    * 
* * repeated string auto_populated_fields = 3; + * * @param index The index of the element to return. * @return The autoPopulatedFields at the given index. */ @@ -1587,6 +1798,8 @@ public java.lang.String getAutoPopulatedFields(int index) { return autoPopulatedFields_.get(index); } /** + * + * *
    * List of top-level fields of the request message, that should be
    * automatically populated by the client libraries based on their
@@ -1602,15 +1815,16 @@ public java.lang.String getAutoPopulatedFields(int index) {
    * 
* * repeated string auto_populated_fields = 3; + * * @param index The index of the value to return. * @return The bytes of the autoPopulatedFields at the given index. */ - public com.google.protobuf.ByteString - getAutoPopulatedFieldsBytes(int index) { + public com.google.protobuf.ByteString getAutoPopulatedFieldsBytes(int index) { return autoPopulatedFields_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1622,8 +1836,7 @@ 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(selector_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); } @@ -1646,8 +1859,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); } if (longRunning_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLongRunning()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLongRunning()); } { int dataSize = 0; @@ -1665,22 +1877,19 @@ 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.MethodSettings)) { return super.equals(obj); } com.google.api.MethodSettings other = (com.google.api.MethodSettings) obj; - if (!getSelector() - .equals(other.getSelector())) return false; + if (!getSelector().equals(other.getSelector())) return false; if (hasLongRunning() != other.hasLongRunning()) return false; if (hasLongRunning()) { - if (!getLongRunning() - .equals(other.getLongRunning())) return false; + if (!getLongRunning().equals(other.getLongRunning())) return false; } - if (!getAutoPopulatedFieldsList() - .equals(other.getAutoPopulatedFieldsList())) return false; + if (!getAutoPopulatedFieldsList().equals(other.getAutoPopulatedFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1707,111 +1916,114 @@ public int hashCode() { return hash; } - public static com.google.api.MethodSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.MethodSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MethodSettings 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.MethodSettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.MethodSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MethodSettings 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.MethodSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MethodSettings 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.MethodSettings 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.MethodSettings 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.MethodSettings 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.MethodSettings 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.MethodSettings parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.MethodSettings 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.MethodSettings 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.MethodSettings 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; } /** + * + * *
    * Describes the generator configuration for a method.
    * 
* * Protobuf type {@code google.api.MethodSettings} */ - 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.MethodSettings) com.google.api.MethodSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_MethodSettings_descriptor; } @@ -1824,15 +2036,12 @@ public static final class Builder extends } // Construct using com.google.api.MethodSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1843,14 +2052,12 @@ public Builder clear() { longRunningBuilder_.dispose(); longRunningBuilder_ = null; } - autoPopulatedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + autoPopulatedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.ClientProto.internal_static_google_api_MethodSettings_descriptor; } @@ -1871,7 +2078,9 @@ public com.google.api.MethodSettings build() { @java.lang.Override public com.google.api.MethodSettings buildPartial() { com.google.api.MethodSettings result = new com.google.api.MethodSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1882,9 +2091,8 @@ private void buildPartial0(com.google.api.MethodSettings result) { result.selector_ = selector_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.longRunning_ = longRunningBuilder_ == null - ? longRunning_ - : longRunningBuilder_.build(); + result.longRunning_ = + longRunningBuilder_ == null ? longRunning_ : longRunningBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { autoPopulatedFields_.makeImmutable(); @@ -1896,38 +2104,39 @@ private void buildPartial0(com.google.api.MethodSettings 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.MethodSettings) { - return mergeFrom((com.google.api.MethodSettings)other); + return mergeFrom((com.google.api.MethodSettings) other); } else { super.mergeFrom(other); return this; @@ -1980,30 +2189,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - selector_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getLongRunningFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAutoPopulatedFieldsIsMutable(); - autoPopulatedFields_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + selector_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getLongRunningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAutoPopulatedFieldsIsMutable(); + autoPopulatedFields_.add(s); + break; + } // case 26 + 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) { @@ -2013,23 +2224,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object selector_ = ""; /** + * + * *
      * The fully qualified name of the method, for which the options below apply.
      * This is used to find the method to apply the options.
      * 
* * string selector = 1; + * * @return The selector. */ public java.lang.String getSelector() { java.lang.Object ref = selector_; 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(); selector_ = s; return s; @@ -2038,21 +2252,22 @@ public java.lang.String getSelector() { } } /** + * + * *
      * The fully qualified name of the method, for which the options below apply.
      * This is used to find the method to apply the options.
      * 
* * string selector = 1; + * * @return The bytes for selector. */ - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -2060,30 +2275,37 @@ public java.lang.String getSelector() { } } /** + * + * *
      * The fully qualified name of the method, for which the options below apply.
      * This is used to find the method to apply the options.
      * 
* * string selector = 1; + * * @param value The selector to set. * @return This builder for chaining. */ - public Builder setSelector( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelector(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } selector_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The fully qualified name of the method, for which the options below apply.
      * This is used to find the method to apply the options.
      * 
* * string selector = 1; + * * @return This builder for chaining. */ public Builder clearSelector() { @@ -2093,18 +2315,22 @@ public Builder clearSelector() { return this; } /** + * + * *
      * The fully qualified name of the method, for which the options below apply.
      * This is used to find the method to apply the options.
      * 
* * string selector = 1; + * * @param value The bytes for selector to set. * @return This builder for chaining. */ - public Builder setSelectorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); selector_ = value; bitField0_ |= 0x00000001; @@ -2114,8 +2340,13 @@ public Builder setSelectorBytes( private com.google.api.MethodSettings.LongRunning longRunning_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MethodSettings.LongRunning, com.google.api.MethodSettings.LongRunning.Builder, com.google.api.MethodSettings.LongRunningOrBuilder> longRunningBuilder_; + com.google.api.MethodSettings.LongRunning, + com.google.api.MethodSettings.LongRunning.Builder, + com.google.api.MethodSettings.LongRunningOrBuilder> + longRunningBuilder_; /** + * + * *
      * Describes settings to use for long-running operations when generating
      * API methods for RPCs. Complements RPCs that use the annotations in
@@ -2137,12 +2368,15 @@ public Builder setSelectorBytes(
      * 
* * .google.api.MethodSettings.LongRunning long_running = 2; + * * @return Whether the longRunning field is set. */ public boolean hasLongRunning() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Describes settings to use for long-running operations when generating
      * API methods for RPCs. Complements RPCs that use the annotations in
@@ -2164,16 +2398,21 @@ public boolean hasLongRunning() {
      * 
* * .google.api.MethodSettings.LongRunning long_running = 2; + * * @return The longRunning. */ public com.google.api.MethodSettings.LongRunning getLongRunning() { if (longRunningBuilder_ == null) { - return longRunning_ == null ? com.google.api.MethodSettings.LongRunning.getDefaultInstance() : longRunning_; + return longRunning_ == null + ? com.google.api.MethodSettings.LongRunning.getDefaultInstance() + : longRunning_; } else { return longRunningBuilder_.getMessage(); } } /** + * + * *
      * Describes settings to use for long-running operations when generating
      * API methods for RPCs. Complements RPCs that use the annotations in
@@ -2210,6 +2449,8 @@ public Builder setLongRunning(com.google.api.MethodSettings.LongRunning value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes settings to use for long-running operations when generating
      * API methods for RPCs. Complements RPCs that use the annotations in
@@ -2244,6 +2485,8 @@ public Builder setLongRunning(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes settings to use for long-running operations when generating
      * API methods for RPCs. Complements RPCs that use the annotations in
@@ -2268,9 +2511,9 @@ public Builder setLongRunning(
      */
     public Builder mergeLongRunning(com.google.api.MethodSettings.LongRunning value) {
       if (longRunningBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          longRunning_ != null &&
-          longRunning_ != com.google.api.MethodSettings.LongRunning.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && longRunning_ != null
+            && longRunning_ != com.google.api.MethodSettings.LongRunning.getDefaultInstance()) {
           getLongRunningBuilder().mergeFrom(value);
         } else {
           longRunning_ = value;
@@ -2283,6 +2526,8 @@ public Builder mergeLongRunning(com.google.api.MethodSettings.LongRunning value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes settings to use for long-running operations when generating
      * API methods for RPCs. Complements RPCs that use the annotations in
@@ -2316,6 +2561,8 @@ public Builder clearLongRunning() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes settings to use for long-running operations when generating
      * API methods for RPCs. Complements RPCs that use the annotations in
@@ -2344,6 +2591,8 @@ public com.google.api.MethodSettings.LongRunning.Builder getLongRunningBuilder()
       return getLongRunningFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Describes settings to use for long-running operations when generating
      * API methods for RPCs. Complements RPCs that use the annotations in
@@ -2370,11 +2619,14 @@ public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilde
       if (longRunningBuilder_ != null) {
         return longRunningBuilder_.getMessageOrBuilder();
       } else {
-        return longRunning_ == null ?
-            com.google.api.MethodSettings.LongRunning.getDefaultInstance() : longRunning_;
+        return longRunning_ == null
+            ? com.google.api.MethodSettings.LongRunning.getDefaultInstance()
+            : longRunning_;
       }
     }
     /**
+     *
+     *
      * 
      * Describes settings to use for long-running operations when generating
      * API methods for RPCs. Complements RPCs that use the annotations in
@@ -2398,14 +2650,17 @@ public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilde
      * .google.api.MethodSettings.LongRunning long_running = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.MethodSettings.LongRunning, com.google.api.MethodSettings.LongRunning.Builder, com.google.api.MethodSettings.LongRunningOrBuilder> 
+            com.google.api.MethodSettings.LongRunning,
+            com.google.api.MethodSettings.LongRunning.Builder,
+            com.google.api.MethodSettings.LongRunningOrBuilder>
         getLongRunningFieldBuilder() {
       if (longRunningBuilder_ == null) {
-        longRunningBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.MethodSettings.LongRunning, com.google.api.MethodSettings.LongRunning.Builder, com.google.api.MethodSettings.LongRunningOrBuilder>(
-                getLongRunning(),
-                getParentForChildren(),
-                isClean());
+        longRunningBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.api.MethodSettings.LongRunning,
+                com.google.api.MethodSettings.LongRunning.Builder,
+                com.google.api.MethodSettings.LongRunningOrBuilder>(
+                getLongRunning(), getParentForChildren(), isClean());
         longRunning_ = null;
       }
       return longRunningBuilder_;
@@ -2413,6 +2668,7 @@ public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilde
 
     private com.google.protobuf.LazyStringArrayList autoPopulatedFields_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureAutoPopulatedFieldsIsMutable() {
       if (!autoPopulatedFields_.isModifiable()) {
         autoPopulatedFields_ = new com.google.protobuf.LazyStringArrayList(autoPopulatedFields_);
@@ -2420,6 +2676,8 @@ private void ensureAutoPopulatedFieldsIsMutable() {
       bitField0_ |= 0x00000004;
     }
     /**
+     *
+     *
      * 
      * List of top-level fields of the request message, that should be
      * automatically populated by the client libraries based on their
@@ -2435,14 +2693,16 @@ private void ensureAutoPopulatedFieldsIsMutable() {
      * 
* * repeated string auto_populated_fields = 3; + * * @return A list containing the autoPopulatedFields. */ - public com.google.protobuf.ProtocolStringList - getAutoPopulatedFieldsList() { + public com.google.protobuf.ProtocolStringList getAutoPopulatedFieldsList() { autoPopulatedFields_.makeImmutable(); return autoPopulatedFields_; } /** + * + * *
      * List of top-level fields of the request message, that should be
      * automatically populated by the client libraries based on their
@@ -2458,12 +2718,15 @@ private void ensureAutoPopulatedFieldsIsMutable() {
      * 
* * repeated string auto_populated_fields = 3; + * * @return The count of autoPopulatedFields. */ public int getAutoPopulatedFieldsCount() { return autoPopulatedFields_.size(); } /** + * + * *
      * List of top-level fields of the request message, that should be
      * automatically populated by the client libraries based on their
@@ -2479,6 +2742,7 @@ public int getAutoPopulatedFieldsCount() {
      * 
* * repeated string auto_populated_fields = 3; + * * @param index The index of the element to return. * @return The autoPopulatedFields at the given index. */ @@ -2486,6 +2750,8 @@ public java.lang.String getAutoPopulatedFields(int index) { return autoPopulatedFields_.get(index); } /** + * + * *
      * List of top-level fields of the request message, that should be
      * automatically populated by the client libraries based on their
@@ -2501,14 +2767,16 @@ public java.lang.String getAutoPopulatedFields(int index) {
      * 
* * repeated string auto_populated_fields = 3; + * * @param index The index of the value to return. * @return The bytes of the autoPopulatedFields at the given index. */ - public com.google.protobuf.ByteString - getAutoPopulatedFieldsBytes(int index) { + public com.google.protobuf.ByteString getAutoPopulatedFieldsBytes(int index) { return autoPopulatedFields_.getByteString(index); } /** + * + * *
      * List of top-level fields of the request message, that should be
      * automatically populated by the client libraries based on their
@@ -2524,13 +2792,15 @@ public java.lang.String getAutoPopulatedFields(int index) {
      * 
* * repeated string auto_populated_fields = 3; + * * @param index The index to set the value at. * @param value The autoPopulatedFields to set. * @return This builder for chaining. */ - public Builder setAutoPopulatedFields( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAutoPopulatedFields(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAutoPopulatedFieldsIsMutable(); autoPopulatedFields_.set(index, value); bitField0_ |= 0x00000004; @@ -2538,6 +2808,8 @@ public Builder setAutoPopulatedFields( return this; } /** + * + * *
      * List of top-level fields of the request message, that should be
      * automatically populated by the client libraries based on their
@@ -2553,12 +2825,14 @@ public Builder setAutoPopulatedFields(
      * 
* * repeated string auto_populated_fields = 3; + * * @param value The autoPopulatedFields to add. * @return This builder for chaining. */ - public Builder addAutoPopulatedFields( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAutoPopulatedFields(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAutoPopulatedFieldsIsMutable(); autoPopulatedFields_.add(value); bitField0_ |= 0x00000004; @@ -2566,6 +2840,8 @@ public Builder addAutoPopulatedFields( return this; } /** + * + * *
      * List of top-level fields of the request message, that should be
      * automatically populated by the client libraries based on their
@@ -2581,19 +2857,20 @@ public Builder addAutoPopulatedFields(
      * 
* * repeated string auto_populated_fields = 3; + * * @param values The autoPopulatedFields to add. * @return This builder for chaining. */ - public Builder addAllAutoPopulatedFields( - java.lang.Iterable values) { + public Builder addAllAutoPopulatedFields(java.lang.Iterable values) { ensureAutoPopulatedFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, autoPopulatedFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, autoPopulatedFields_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * List of top-level fields of the request message, that should be
      * automatically populated by the client libraries based on their
@@ -2609,16 +2886,19 @@ public Builder addAllAutoPopulatedFields(
      * 
* * repeated string auto_populated_fields = 3; + * * @return This builder for chaining. */ public Builder clearAutoPopulatedFields() { - autoPopulatedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + autoPopulatedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * List of top-level fields of the request message, that should be
      * automatically populated by the client libraries based on their
@@ -2634,12 +2914,14 @@ public Builder clearAutoPopulatedFields() {
      * 
* * repeated string auto_populated_fields = 3; + * * @param value The bytes of the autoPopulatedFields to add. * @return This builder for chaining. */ - public Builder addAutoPopulatedFieldsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAutoPopulatedFieldsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAutoPopulatedFieldsIsMutable(); autoPopulatedFields_.add(value); @@ -2647,9 +2929,9 @@ public Builder addAutoPopulatedFieldsBytes( 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); } @@ -2659,12 +2941,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.MethodSettings) } // @@protoc_insertion_point(class_scope:google.api.MethodSettings) private static final com.google.api.MethodSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.MethodSettings(); } @@ -2673,27 +2955,27 @@ public static com.google.api.MethodSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MethodSettings 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 MethodSettings 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; @@ -2708,6 +2990,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.MethodSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java similarity index 85% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java index f83cfd79c3..f939599c7f 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java @@ -1,35 +1,58 @@ +/* + * 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 interface MethodSettingsOrBuilder extends +public interface MethodSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.MethodSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The fully qualified name of the method, for which the options below apply.
    * This is used to find the method to apply the options.
    * 
* * string selector = 1; + * * @return The selector. */ java.lang.String getSelector(); /** + * + * *
    * The fully qualified name of the method, for which the options below apply.
    * This is used to find the method to apply the options.
    * 
* * string selector = 1; + * * @return The bytes for selector. */ - com.google.protobuf.ByteString - getSelectorBytes(); + com.google.protobuf.ByteString getSelectorBytes(); /** + * + * *
    * Describes settings to use for long-running operations when generating
    * API methods for RPCs. Complements RPCs that use the annotations in
@@ -51,10 +74,13 @@ public interface MethodSettingsOrBuilder extends
    * 
* * .google.api.MethodSettings.LongRunning long_running = 2; + * * @return Whether the longRunning field is set. */ boolean hasLongRunning(); /** + * + * *
    * Describes settings to use for long-running operations when generating
    * API methods for RPCs. Complements RPCs that use the annotations in
@@ -76,10 +102,13 @@ public interface MethodSettingsOrBuilder extends
    * 
* * .google.api.MethodSettings.LongRunning long_running = 2; + * * @return The longRunning. */ com.google.api.MethodSettings.LongRunning getLongRunning(); /** + * + * *
    * Describes settings to use for long-running operations when generating
    * API methods for RPCs. Complements RPCs that use the annotations in
@@ -105,6 +134,8 @@ public interface MethodSettingsOrBuilder extends
   com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilder();
 
   /**
+   *
+   *
    * 
    * List of top-level fields of the request message, that should be
    * automatically populated by the client libraries based on their
@@ -120,11 +151,13 @@ public interface MethodSettingsOrBuilder extends
    * 
* * repeated string auto_populated_fields = 3; + * * @return A list containing the autoPopulatedFields. */ - java.util.List - getAutoPopulatedFieldsList(); + java.util.List getAutoPopulatedFieldsList(); /** + * + * *
    * List of top-level fields of the request message, that should be
    * automatically populated by the client libraries based on their
@@ -140,10 +173,13 @@ public interface MethodSettingsOrBuilder extends
    * 
* * repeated string auto_populated_fields = 3; + * * @return The count of autoPopulatedFields. */ int getAutoPopulatedFieldsCount(); /** + * + * *
    * List of top-level fields of the request message, that should be
    * automatically populated by the client libraries based on their
@@ -159,11 +195,14 @@ public interface MethodSettingsOrBuilder extends
    * 
* * repeated string auto_populated_fields = 3; + * * @param index The index of the element to return. * @return The autoPopulatedFields at the given index. */ java.lang.String getAutoPopulatedFields(int index); /** + * + * *
    * List of top-level fields of the request message, that should be
    * automatically populated by the client libraries based on their
@@ -179,9 +218,9 @@ public interface MethodSettingsOrBuilder extends
    * 
* * repeated string auto_populated_fields = 3; + * * @param index The index of the value to return. * @return The bytes of the autoPopulatedFields at the given index. */ - com.google.protobuf.ByteString - getAutoPopulatedFieldsBytes(int index); + com.google.protobuf.ByteString getAutoPopulatedFieldsBytes(int index); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Metric.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java similarity index 64% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Metric.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java index 0d72275935..25950526e9 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Metric.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * A specific metric, identified by specifying values for all of the
  * labels of a [`MetricDescriptor`][google.api.MetricDescriptor].
@@ -11,43 +28,41 @@
  *
  * Protobuf type {@code google.api.Metric}
  */
-public final class Metric extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Metric extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Metric)
     MetricOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Metric.newBuilder() to construct.
   private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Metric() {
     type_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Metric();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.MetricProto.internal_static_google_api_Metric_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
@@ -57,9 +72,12 @@ protected com.google.protobuf.MapField internalGetMapField(
   }
 
   public static final int TYPE_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object type_ = "";
   /**
+   *
+   *
    * 
    * An existing metric type, see
    * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
@@ -67,6 +85,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string type = 3; + * * @return The type. */ @java.lang.Override @@ -75,14 +94,15 @@ public java.lang.String getType() { 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(); type_ = s; return s; } } /** + * + * *
    * An existing metric type, see
    * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
@@ -90,16 +110,15 @@ public java.lang.String getType() {
    * 
* * string type = 3; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -108,32 +127,33 @@ public java.lang.String getType() { } public static final int LABELS_FIELD_NUMBER = 2; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.api.MetricProto.internal_static_google_api_Metric_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.api.MetricProto.internal_static_google_api_Metric_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * The set of label values that uniquely identify this metric. All
    * labels listed in the `MetricDescriptor` must be assigned values.
@@ -142,20 +162,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The set of label values that uniquely identify this metric. All
    * labels listed in the `MetricDescriptor` must be assigned values.
@@ -168,6 +189,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The set of label values that uniquely identify this metric. All
    * labels listed in the `MetricDescriptor` must be assigned values.
@@ -176,17 +199,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The set of label values that uniquely identify this metric. All
    * labels listed in the `MetricDescriptor` must be assigned values.
@@ -195,11 +220,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -207,6 +232,7 @@ public java.lang.String getLabelsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -218,14 +244,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        2);
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2);
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_);
     }
@@ -238,15 +259,15 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    for (java.util.Map.Entry entry
-         : internalGetLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, labels__);
+    for (java.util.Map.Entry entry :
+        internalGetLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry labels__ =
+          LabelsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels__);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_);
@@ -259,17 +280,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.Metric)) {
       return super.equals(obj);
     }
     com.google.api.Metric other = (com.google.api.Metric) obj;
 
-    if (!getType()
-        .equals(other.getType())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
+    if (!getType().equals(other.getType())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -292,99 +311,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.Metric parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.Metric parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Metric 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.Metric parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.Metric parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Metric 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.Metric parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Metric 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.Metric 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.Metric 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.Metric 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.Metric 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.Metric parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.Metric 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.Metric 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.Metric 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;
   }
   /**
+   *
+   *
    * 
    * A specific metric, identified by specifying values for all of the
    * labels of a [`MetricDescriptor`][google.api.MetricDescriptor].
@@ -392,37 +415,34 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Metric}
    */
-  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.Metric)
       com.google.api.MetricOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.MetricProto.internal_static_google_api_Metric_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
@@ -432,15 +452,12 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
     }
 
     // Construct using com.google.api.Metric.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -451,8 +468,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.MetricProto.internal_static_google_api_Metric_descriptor;
     }
 
@@ -473,7 +489,9 @@ public com.google.api.Metric build() {
     @java.lang.Override
     public com.google.api.Metric buildPartial() {
       com.google.api.Metric result = new com.google.api.Metric(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -493,38 +511,39 @@ private void buildPartial0(com.google.api.Metric 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.Metric) {
-        return mergeFrom((com.google.api.Metric)other);
+        return mergeFrom((com.google.api.Metric) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -538,8 +557,7 @@ public Builder mergeFrom(com.google.api.Metric other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -567,26 +585,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              type_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 26
+            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) {
@@ -596,10 +619,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object type_ = "";
     /**
+     *
+     *
      * 
      * An existing metric type, see
      * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
@@ -607,13 +633,13 @@ public Builder mergeFrom(
      * 
* * string type = 3; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; @@ -622,6 +648,8 @@ public java.lang.String getType() { } } /** + * + * *
      * An existing metric type, see
      * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
@@ -629,15 +657,14 @@ public java.lang.String getType() {
      * 
* * string type = 3; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -645,6 +672,8 @@ public java.lang.String getType() { } } /** + * + * *
      * An existing metric type, see
      * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
@@ -652,18 +681,22 @@ public java.lang.String getType() {
      * 
* * string type = 3; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * An existing metric type, see
      * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
@@ -671,6 +704,7 @@ public Builder setType(
      * 
* * string type = 3; + * * @return This builder for chaining. */ public Builder clearType() { @@ -680,6 +714,8 @@ public Builder clearType() { return this; } /** + * + * *
      * An existing metric type, see
      * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
@@ -687,12 +723,14 @@ public Builder clearType() {
      * 
* * string type = 3; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000001; @@ -700,21 +738,19 @@ public Builder setTypeBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -723,10 +759,13 @@ public Builder setTypeBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * The set of label values that uniquely identify this metric. All
      * labels listed in the `MetricDescriptor` must be assigned values.
@@ -735,20 +774,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The set of label values that uniquely identify this metric. All
      * labels listed in the `MetricDescriptor` must be assigned values.
@@ -761,6 +801,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The set of label values that uniquely identify this metric. All
      * labels listed in the `MetricDescriptor` must be assigned values.
@@ -769,17 +811,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The set of label values that uniquely identify this metric. All
      * labels listed in the `MetricDescriptor` must be assigned values.
@@ -788,23 +832,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of label values that uniquely identify this metric. All
      * labels listed in the `MetricDescriptor` must be assigned values.
@@ -812,23 +858,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 2;
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000002;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The set of label values that uniquely identify this metric. All
      * labels listed in the `MetricDescriptor` must be assigned values.
@@ -836,17 +881,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 2;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of label values that uniquely identify this metric. All
      * labels listed in the `MetricDescriptor` must be assigned values.
@@ -854,16 +902,14 @@ public Builder putLabels(
      *
      * map<string, string> labels = 2;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000002;
       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);
     }
 
@@ -873,12 +919,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.Metric)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.Metric)
   private static final com.google.api.Metric DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.Metric();
   }
@@ -887,27 +933,27 @@ public static com.google.api.Metric getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Metric 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 Metric 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;
@@ -922,6 +968,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.Metric getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java
similarity index 82%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java
index 8744faeafa..644c652c74 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * Defines a metric type and its schema. Once a metric descriptor is created,
  * deleting or altering it stops data collection and makes the metric type's
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.api.MetricDescriptor}
  */
-public final class MetricDescriptor extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MetricDescriptor extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.MetricDescriptor)
     MetricDescriptorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MetricDescriptor.newBuilder() to construct.
   private MetricDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MetricDescriptor() {
     name_ = "";
     type_ = "";
@@ -31,19 +49,16 @@ private MetricDescriptor() {
     description_ = "";
     displayName_ = "";
     launchStage_ = 0;
-    monitoredResourceTypes_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MetricDescriptor();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_descriptor;
   }
 
@@ -56,6 +71,8 @@ protected java.lang.Object newInstance(
   }
 
   /**
+   *
+   *
    * 
    * The kind of measurement. It describes how the data is reported.
    * For information on setting the start time and end time based on
@@ -64,9 +81,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.api.MetricDescriptor.MetricKind}
    */
-  public enum MetricKind
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum MetricKind implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Do not use this default value.
      * 
@@ -75,6 +93,8 @@ public enum MetricKind */ METRIC_KIND_UNSPECIFIED(0), /** + * + * *
      * An instantaneous measurement of a value.
      * 
@@ -83,6 +103,8 @@ public enum MetricKind */ GAUGE(1), /** + * + * *
      * The change in a value during a time interval.
      * 
@@ -91,6 +113,8 @@ public enum MetricKind */ DELTA(2), /** + * + * *
      * A value accumulated over a time interval.  Cumulative
      * measurements in a time series should have the same start time
@@ -106,6 +130,8 @@ public enum MetricKind
     ;
 
     /**
+     *
+     *
      * 
      * Do not use this default value.
      * 
@@ -114,6 +140,8 @@ public enum MetricKind */ public static final int METRIC_KIND_UNSPECIFIED_VALUE = 0; /** + * + * *
      * An instantaneous measurement of a value.
      * 
@@ -122,6 +150,8 @@ public enum MetricKind */ public static final int GAUGE_VALUE = 1; /** + * + * *
      * The change in a value during a time interval.
      * 
@@ -130,6 +160,8 @@ public enum MetricKind */ public static final int DELTA_VALUE = 2; /** + * + * *
      * A value accumulated over a time interval.  Cumulative
      * measurements in a time series should have the same start time
@@ -142,7 +174,6 @@ public enum MetricKind
      */
     public static final int CUMULATIVE_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -167,50 +198,51 @@ public static MetricKind valueOf(int value) {
      */
     public static MetricKind forNumber(int value) {
       switch (value) {
-        case 0: return METRIC_KIND_UNSPECIFIED;
-        case 1: return GAUGE;
-        case 2: return DELTA;
-        case 3: return CUMULATIVE;
-        default: return null;
+        case 0:
+          return METRIC_KIND_UNSPECIFIED;
+        case 1:
+          return GAUGE;
+        case 2:
+          return DELTA;
+        case 3:
+          return CUMULATIVE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        MetricKind> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public MetricKind findValueByNumber(int number) {
-              return MetricKind.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public MetricKind findValueByNumber(int number) {
+            return MetricKind.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.api.MetricDescriptor.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final MetricKind[] VALUES = values();
 
-    public static MetricKind valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static MetricKind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -228,15 +260,18 @@ private MetricKind(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The value type of a metric.
    * 
* * Protobuf enum {@code google.api.MetricDescriptor.ValueType} */ - public enum ValueType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Do not use this default value.
      * 
@@ -245,6 +280,8 @@ public enum ValueType */ VALUE_TYPE_UNSPECIFIED(0), /** + * + * *
      * The value is a boolean.
      * This value type can be used only if the metric kind is `GAUGE`.
@@ -254,6 +291,8 @@ public enum ValueType
      */
     BOOL(1),
     /**
+     *
+     *
      * 
      * The value is a signed 64-bit integer.
      * 
@@ -262,6 +301,8 @@ public enum ValueType */ INT64(2), /** + * + * *
      * The value is a double precision floating point number.
      * 
@@ -270,6 +311,8 @@ public enum ValueType */ DOUBLE(3), /** + * + * *
      * The value is a text string.
      * This value type can be used only if the metric kind is `GAUGE`.
@@ -279,6 +322,8 @@ public enum ValueType
      */
     STRING(4),
     /**
+     *
+     *
      * 
      * The value is a [`Distribution`][google.api.Distribution].
      * 
@@ -287,6 +332,8 @@ public enum ValueType */ DISTRIBUTION(5), /** + * + * *
      * The value is money.
      * 
@@ -298,6 +345,8 @@ public enum ValueType ; /** + * + * *
      * Do not use this default value.
      * 
@@ -306,6 +355,8 @@ public enum ValueType */ public static final int VALUE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The value is a boolean.
      * This value type can be used only if the metric kind is `GAUGE`.
@@ -315,6 +366,8 @@ public enum ValueType
      */
     public static final int BOOL_VALUE = 1;
     /**
+     *
+     *
      * 
      * The value is a signed 64-bit integer.
      * 
@@ -323,6 +376,8 @@ public enum ValueType */ public static final int INT64_VALUE = 2; /** + * + * *
      * The value is a double precision floating point number.
      * 
@@ -331,6 +386,8 @@ public enum ValueType */ public static final int DOUBLE_VALUE = 3; /** + * + * *
      * The value is a text string.
      * This value type can be used only if the metric kind is `GAUGE`.
@@ -340,6 +397,8 @@ public enum ValueType
      */
     public static final int STRING_VALUE = 4;
     /**
+     *
+     *
      * 
      * The value is a [`Distribution`][google.api.Distribution].
      * 
@@ -348,6 +407,8 @@ public enum ValueType */ public static final int DISTRIBUTION_VALUE = 5; /** + * + * *
      * The value is money.
      * 
@@ -356,7 +417,6 @@ public enum ValueType */ public static final int MONEY_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -381,53 +441,57 @@ public static ValueType valueOf(int value) { */ public static ValueType forNumber(int value) { switch (value) { - case 0: return VALUE_TYPE_UNSPECIFIED; - case 1: return BOOL; - case 2: return INT64; - case 3: return DOUBLE; - case 4: return STRING; - case 5: return DISTRIBUTION; - case 6: return MONEY; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return VALUE_TYPE_UNSPECIFIED; + case 1: + return BOOL; + case 2: + return INT64; + case 3: + return DOUBLE; + case 4: + return STRING; + case 5: + return DISTRIBUTION; + case 6: + return MONEY; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ValueType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValueType findValueByNumber(int number) { - return ValueType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ValueType findValueByNumber(int number) { + return ValueType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.api.MetricDescriptor.getDescriptor().getEnumTypes().get(1); } private static final ValueType[] VALUES = values(); - public static ValueType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -444,11 +508,14 @@ private ValueType(int value) { // @@protoc_insertion_point(enum_scope:google.api.MetricDescriptor.ValueType) } - public interface MetricDescriptorMetadataOrBuilder extends + public interface MetricDescriptorMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.MetricDescriptor.MetricDescriptorMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Deprecated. Must use the
      * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
@@ -456,12 +523,16 @@ public interface MetricDescriptorMetadataOrBuilder extends
      * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; + * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. * See google/api/metric.proto;l=85 * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Deprecated int getLaunchStageValue(); + @java.lang.Deprecated + int getLaunchStageValue(); /** + * + * *
      * Deprecated. Must use the
      * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
@@ -469,13 +540,17 @@ public interface MetricDescriptorMetadataOrBuilder extends
      * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; + * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. * See google/api/metric.proto;l=85 * @return The launchStage. */ - @java.lang.Deprecated com.google.api.LaunchStage getLaunchStage(); + @java.lang.Deprecated + com.google.api.LaunchStage getLaunchStage(); /** + * + * *
      * The sampling period of metric data points. For metrics which are written
      * periodically, consecutive data points are stored at this time interval,
@@ -484,10 +559,13 @@ public interface MetricDescriptorMetadataOrBuilder extends
      * 
* * .google.protobuf.Duration sample_period = 2; + * * @return Whether the samplePeriod field is set. */ boolean hasSamplePeriod(); /** + * + * *
      * The sampling period of metric data points. For metrics which are written
      * periodically, consecutive data points are stored at this time interval,
@@ -496,10 +574,13 @@ public interface MetricDescriptorMetadataOrBuilder extends
      * 
* * .google.protobuf.Duration sample_period = 2; + * * @return The samplePeriod. */ com.google.protobuf.Duration getSamplePeriod(); /** + * + * *
      * The sampling period of metric data points. For metrics which are written
      * periodically, consecutive data points are stored at this time interval,
@@ -512,6 +593,8 @@ public interface MetricDescriptorMetadataOrBuilder extends
     com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder();
 
     /**
+     *
+     *
      * 
      * The delay of data points caused by ingestion. Data points older than this
      * age are guaranteed to be ingested and available to be read, excluding
@@ -519,10 +602,13 @@ public interface MetricDescriptorMetadataOrBuilder extends
      * 
* * .google.protobuf.Duration ingest_delay = 3; + * * @return Whether the ingestDelay field is set. */ boolean hasIngestDelay(); /** + * + * *
      * The delay of data points caused by ingestion. Data points older than this
      * age are guaranteed to be ingested and available to be read, excluding
@@ -530,10 +616,13 @@ public interface MetricDescriptorMetadataOrBuilder extends
      * 
* * .google.protobuf.Duration ingest_delay = 3; + * * @return The ingestDelay. */ com.google.protobuf.Duration getIngestDelay(); /** + * + * *
      * The delay of data points caused by ingestion. Data points older than this
      * age are guaranteed to be ingested and available to be read, excluding
@@ -545,48 +634,54 @@ public interface MetricDescriptorMetadataOrBuilder extends
     com.google.protobuf.DurationOrBuilder getIngestDelayOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Additional annotations that can be used to guide the usage of a metric.
    * 
* * Protobuf type {@code google.api.MetricDescriptor.MetricDescriptorMetadata} */ - public static final class MetricDescriptorMetadata extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MetricDescriptorMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.MetricDescriptor.MetricDescriptorMetadata) MetricDescriptorMetadataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetricDescriptorMetadata.newBuilder() to construct. private MetricDescriptorMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MetricDescriptorMetadata() { launchStage_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetricDescriptorMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.api.MetricProto + .internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable + return com.google.api.MetricProto + .internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.MetricDescriptor.MetricDescriptorMetadata.class, com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder.class); + com.google.api.MetricDescriptor.MetricDescriptorMetadata.class, + com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder.class); } public static final int LAUNCH_STAGE_FIELD_NUMBER = 1; private int launchStage_ = 0; /** + * + * *
      * Deprecated. Must use the
      * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
@@ -594,14 +689,19 @@ protected java.lang.Object newInstance(
      * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; + * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. * See google/api/metric.proto;l=85 * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override @java.lang.Deprecated public int getLaunchStageValue() { + @java.lang.Override + @java.lang.Deprecated + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
      * Deprecated. Must use the
      * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
@@ -609,11 +709,14 @@ protected java.lang.Object newInstance(
      * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; + * * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. * See google/api/metric.proto;l=85 * @return The launchStage. */ - @java.lang.Override @java.lang.Deprecated public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override + @java.lang.Deprecated + public com.google.api.LaunchStage getLaunchStage() { com.google.api.LaunchStage result = com.google.api.LaunchStage.forNumber(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } @@ -621,6 +724,8 @@ protected java.lang.Object newInstance( public static final int SAMPLE_PERIOD_FIELD_NUMBER = 2; private com.google.protobuf.Duration samplePeriod_; /** + * + * *
      * The sampling period of metric data points. For metrics which are written
      * periodically, consecutive data points are stored at this time interval,
@@ -629,6 +734,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.protobuf.Duration sample_period = 2; + * * @return Whether the samplePeriod field is set. */ @java.lang.Override @@ -636,6 +742,8 @@ public boolean hasSamplePeriod() { return samplePeriod_ != null; } /** + * + * *
      * The sampling period of metric data points. For metrics which are written
      * periodically, consecutive data points are stored at this time interval,
@@ -644,13 +752,18 @@ public boolean hasSamplePeriod() {
      * 
* * .google.protobuf.Duration sample_period = 2; + * * @return The samplePeriod. */ @java.lang.Override public com.google.protobuf.Duration getSamplePeriod() { - return samplePeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : samplePeriod_; + return samplePeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : samplePeriod_; } /** + * + * *
      * The sampling period of metric data points. For metrics which are written
      * periodically, consecutive data points are stored at this time interval,
@@ -662,12 +775,16 @@ public com.google.protobuf.Duration getSamplePeriod() {
      */
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder() {
-      return samplePeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : samplePeriod_;
+      return samplePeriod_ == null
+          ? com.google.protobuf.Duration.getDefaultInstance()
+          : samplePeriod_;
     }
 
     public static final int INGEST_DELAY_FIELD_NUMBER = 3;
     private com.google.protobuf.Duration ingestDelay_;
     /**
+     *
+     *
      * 
      * The delay of data points caused by ingestion. Data points older than this
      * age are guaranteed to be ingested and available to be read, excluding
@@ -675,6 +792,7 @@ public com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder() {
      * 
* * .google.protobuf.Duration ingest_delay = 3; + * * @return Whether the ingestDelay field is set. */ @java.lang.Override @@ -682,6 +800,8 @@ public boolean hasIngestDelay() { return ingestDelay_ != null; } /** + * + * *
      * The delay of data points caused by ingestion. Data points older than this
      * age are guaranteed to be ingested and available to be read, excluding
@@ -689,13 +809,18 @@ public boolean hasIngestDelay() {
      * 
* * .google.protobuf.Duration ingest_delay = 3; + * * @return The ingestDelay. */ @java.lang.Override public com.google.protobuf.Duration getIngestDelay() { - return ingestDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ingestDelay_; + return ingestDelay_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : ingestDelay_; } /** + * + * *
      * The delay of data points caused by ingestion. Data points older than this
      * age are guaranteed to be ingested and available to be read, excluding
@@ -706,10 +831,13 @@ public com.google.protobuf.Duration getIngestDelay() {
      */
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getIngestDelayOrBuilder() {
-      return ingestDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ingestDelay_;
+      return ingestDelay_ == null
+          ? com.google.protobuf.Duration.getDefaultInstance()
+          : ingestDelay_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -721,8 +849,7 @@ 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 (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, launchStage_);
       }
@@ -742,16 +869,13 @@ public int getSerializedSize() {
 
       size = 0;
       if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, launchStage_);
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, launchStage_);
       }
       if (samplePeriod_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getSamplePeriod());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSamplePeriod());
       }
       if (ingestDelay_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getIngestDelay());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getIngestDelay());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -761,23 +885,22 @@ 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.MetricDescriptor.MetricDescriptorMetadata)) {
         return super.equals(obj);
       }
-      com.google.api.MetricDescriptor.MetricDescriptorMetadata other = (com.google.api.MetricDescriptor.MetricDescriptorMetadata) obj;
+      com.google.api.MetricDescriptor.MetricDescriptorMetadata other =
+          (com.google.api.MetricDescriptor.MetricDescriptorMetadata) obj;
 
       if (launchStage_ != other.launchStage_) return false;
       if (hasSamplePeriod() != other.hasSamplePeriod()) return false;
       if (hasSamplePeriod()) {
-        if (!getSamplePeriod()
-            .equals(other.getSamplePeriod())) return false;
+        if (!getSamplePeriod().equals(other.getSamplePeriod())) return false;
       }
       if (hasIngestDelay() != other.hasIngestDelay()) return false;
       if (hasIngestDelay()) {
-        if (!getIngestDelay()
-            .equals(other.getIngestDelay())) return false;
+        if (!getIngestDelay().equals(other.getIngestDelay())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -806,89 +929,94 @@ public int hashCode() {
     }
 
     public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.api.MetricDescriptor.MetricDescriptorMetadata 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.MetricDescriptor.MetricDescriptorMetadata parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.api.MetricDescriptor.MetricDescriptorMetadata 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.MetricDescriptor.MetricDescriptorMetadata parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.api.MetricDescriptor.MetricDescriptorMetadata 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.MetricDescriptor.MetricDescriptorMetadata parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.api.MetricDescriptor.MetricDescriptorMetadata 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.MetricDescriptor.MetricDescriptorMetadata parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.api.MetricDescriptor.MetricDescriptorMetadata 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.MetricDescriptor.MetricDescriptorMetadata parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.api.MetricDescriptor.MetricDescriptorMetadata 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.MetricDescriptor.MetricDescriptorMetadata prototype) {
+
+    public static Builder newBuilder(
+        com.google.api.MetricDescriptor.MetricDescriptorMetadata 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
@@ -898,39 +1026,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Additional annotations that can be used to guide the usage of a metric.
      * 
* * Protobuf type {@code google.api.MetricDescriptor.MetricDescriptorMetadata} */ - 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.MetricDescriptor.MetricDescriptorMetadata) com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.api.MetricProto + .internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable + return com.google.api.MetricProto + .internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.api.MetricDescriptor.MetricDescriptorMetadata.class, com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder.class); + com.google.api.MetricDescriptor.MetricDescriptorMetadata.class, + com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder.class); } // Construct using com.google.api.MetricDescriptor.MetricDescriptorMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -950,9 +1080,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.api.MetricProto + .internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor; } @java.lang.Override @@ -971,8 +1101,11 @@ public com.google.api.MetricDescriptor.MetricDescriptorMetadata build() { @java.lang.Override public com.google.api.MetricDescriptor.MetricDescriptorMetadata buildPartial() { - com.google.api.MetricDescriptor.MetricDescriptorMetadata result = new com.google.api.MetricDescriptor.MetricDescriptorMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.api.MetricDescriptor.MetricDescriptorMetadata result = + new com.google.api.MetricDescriptor.MetricDescriptorMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -983,14 +1116,12 @@ private void buildPartial0(com.google.api.MetricDescriptor.MetricDescriptorMetad result.launchStage_ = launchStage_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.samplePeriod_ = samplePeriodBuilder_ == null - ? samplePeriod_ - : samplePeriodBuilder_.build(); + result.samplePeriod_ = + samplePeriodBuilder_ == null ? samplePeriod_ : samplePeriodBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.ingestDelay_ = ingestDelayBuilder_ == null - ? ingestDelay_ - : ingestDelayBuilder_.build(); + result.ingestDelay_ = + ingestDelayBuilder_ == null ? ingestDelay_ : ingestDelayBuilder_.build(); } } @@ -998,38 +1129,41 @@ private void buildPartial0(com.google.api.MetricDescriptor.MetricDescriptorMetad 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) { + 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.MetricDescriptor.MetricDescriptorMetadata) { - return mergeFrom((com.google.api.MetricDescriptor.MetricDescriptorMetadata)other); + return mergeFrom((com.google.api.MetricDescriptor.MetricDescriptorMetadata) other); } else { super.mergeFrom(other); return this; @@ -1037,7 +1171,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.api.MetricDescriptor.MetricDescriptorMetadata other) { - if (other == com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance()) return this; + if (other == com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance()) + return this; if (other.launchStage_ != 0) { setLaunchStageValue(other.getLaunchStageValue()); } @@ -1073,31 +1208,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - launchStage_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getSamplePeriodFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getIngestDelayFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + launchStage_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getSamplePeriodFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getIngestDelayFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + 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) { @@ -1107,10 +1242,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int launchStage_ = 0; /** + * + * *
        * Deprecated. Must use the
        * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
@@ -1118,14 +1256,19 @@ public Builder mergeFrom(
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; - * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. - * See google/api/metric.proto;l=85 + * + * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is + * deprecated. See google/api/metric.proto;l=85 * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override @java.lang.Deprecated public int getLaunchStageValue() { + @java.lang.Override + @java.lang.Deprecated + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
        * Deprecated. Must use the
        * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
@@ -1133,18 +1276,22 @@ public Builder mergeFrom(
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; - * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. - * See google/api/metric.proto;l=85 + * + * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is + * deprecated. See google/api/metric.proto;l=85 * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setLaunchStageValue(int value) { + @java.lang.Deprecated + public Builder setLaunchStageValue(int value) { launchStage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Deprecated. Must use the
        * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
@@ -1152,16 +1299,20 @@ public Builder mergeFrom(
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; - * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. - * See google/api/metric.proto;l=85 + * + * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is + * deprecated. See google/api/metric.proto;l=85 * @return The launchStage. */ @java.lang.Override - @java.lang.Deprecated public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Deprecated + public com.google.api.LaunchStage getLaunchStage() { com.google.api.LaunchStage result = com.google.api.LaunchStage.forNumber(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** + * + * *
        * Deprecated. Must use the
        * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
@@ -1169,12 +1320,14 @@ public Builder mergeFrom(
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; - * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. - * See google/api/metric.proto;l=85 + * + * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is + * deprecated. See google/api/metric.proto;l=85 * @param value The launchStage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setLaunchStage(com.google.api.LaunchStage value) { + @java.lang.Deprecated + public Builder setLaunchStage(com.google.api.LaunchStage value) { if (value == null) { throw new NullPointerException(); } @@ -1184,6 +1337,8 @@ public Builder mergeFrom( return this; } /** + * + * *
        * Deprecated. Must use the
        * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
@@ -1191,11 +1346,13 @@ public Builder mergeFrom(
        * 
* * .google.api.LaunchStage launch_stage = 1 [deprecated = true]; - * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. - * See google/api/metric.proto;l=85 + * + * @deprecated google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is + * deprecated. See google/api/metric.proto;l=85 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearLaunchStage() { + @java.lang.Deprecated + public Builder clearLaunchStage() { bitField0_ = (bitField0_ & ~0x00000001); launchStage_ = 0; onChanged(); @@ -1204,8 +1361,13 @@ public Builder mergeFrom( private com.google.protobuf.Duration samplePeriod_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> samplePeriodBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + samplePeriodBuilder_; /** + * + * *
        * The sampling period of metric data points. For metrics which are written
        * periodically, consecutive data points are stored at this time interval,
@@ -1214,12 +1376,15 @@ public Builder mergeFrom(
        * 
* * .google.protobuf.Duration sample_period = 2; + * * @return Whether the samplePeriod field is set. */ public boolean hasSamplePeriod() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The sampling period of metric data points. For metrics which are written
        * periodically, consecutive data points are stored at this time interval,
@@ -1228,16 +1393,21 @@ public boolean hasSamplePeriod() {
        * 
* * .google.protobuf.Duration sample_period = 2; + * * @return The samplePeriod. */ public com.google.protobuf.Duration getSamplePeriod() { if (samplePeriodBuilder_ == null) { - return samplePeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : samplePeriod_; + return samplePeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : samplePeriod_; } else { return samplePeriodBuilder_.getMessage(); } } /** + * + * *
        * The sampling period of metric data points. For metrics which are written
        * periodically, consecutive data points are stored at this time interval,
@@ -1261,6 +1431,8 @@ public Builder setSamplePeriod(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The sampling period of metric data points. For metrics which are written
        * periodically, consecutive data points are stored at this time interval,
@@ -1270,8 +1442,7 @@ public Builder setSamplePeriod(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration sample_period = 2;
        */
-      public Builder setSamplePeriod(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setSamplePeriod(com.google.protobuf.Duration.Builder builderForValue) {
         if (samplePeriodBuilder_ == null) {
           samplePeriod_ = builderForValue.build();
         } else {
@@ -1282,6 +1453,8 @@ public Builder setSamplePeriod(
         return this;
       }
       /**
+       *
+       *
        * 
        * The sampling period of metric data points. For metrics which are written
        * periodically, consecutive data points are stored at this time interval,
@@ -1293,9 +1466,9 @@ public Builder setSamplePeriod(
        */
       public Builder mergeSamplePeriod(com.google.protobuf.Duration value) {
         if (samplePeriodBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            samplePeriod_ != null &&
-            samplePeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && samplePeriod_ != null
+              && samplePeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
             getSamplePeriodBuilder().mergeFrom(value);
           } else {
             samplePeriod_ = value;
@@ -1308,6 +1481,8 @@ public Builder mergeSamplePeriod(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The sampling period of metric data points. For metrics which are written
        * periodically, consecutive data points are stored at this time interval,
@@ -1328,6 +1503,8 @@ public Builder clearSamplePeriod() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The sampling period of metric data points. For metrics which are written
        * periodically, consecutive data points are stored at this time interval,
@@ -1343,6 +1520,8 @@ public com.google.protobuf.Duration.Builder getSamplePeriodBuilder() {
         return getSamplePeriodFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The sampling period of metric data points. For metrics which are written
        * periodically, consecutive data points are stored at this time interval,
@@ -1356,11 +1535,14 @@ public com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder() {
         if (samplePeriodBuilder_ != null) {
           return samplePeriodBuilder_.getMessageOrBuilder();
         } else {
-          return samplePeriod_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : samplePeriod_;
+          return samplePeriod_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : samplePeriod_;
         }
       }
       /**
+       *
+       *
        * 
        * The sampling period of metric data points. For metrics which are written
        * periodically, consecutive data points are stored at this time interval,
@@ -1371,14 +1553,17 @@ public com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder() {
        * .google.protobuf.Duration sample_period = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getSamplePeriodFieldBuilder() {
         if (samplePeriodBuilder_ == null) {
-          samplePeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getSamplePeriod(),
-                  getParentForChildren(),
-                  isClean());
+          samplePeriodBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getSamplePeriod(), getParentForChildren(), isClean());
           samplePeriod_ = null;
         }
         return samplePeriodBuilder_;
@@ -1386,8 +1571,13 @@ public com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder() {
 
       private com.google.protobuf.Duration ingestDelay_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> ingestDelayBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          ingestDelayBuilder_;
       /**
+       *
+       *
        * 
        * The delay of data points caused by ingestion. Data points older than this
        * age are guaranteed to be ingested and available to be read, excluding
@@ -1395,12 +1585,15 @@ public com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder() {
        * 
* * .google.protobuf.Duration ingest_delay = 3; + * * @return Whether the ingestDelay field is set. */ public boolean hasIngestDelay() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * The delay of data points caused by ingestion. Data points older than this
        * age are guaranteed to be ingested and available to be read, excluding
@@ -1408,16 +1601,21 @@ public boolean hasIngestDelay() {
        * 
* * .google.protobuf.Duration ingest_delay = 3; + * * @return The ingestDelay. */ public com.google.protobuf.Duration getIngestDelay() { if (ingestDelayBuilder_ == null) { - return ingestDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ingestDelay_; + return ingestDelay_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : ingestDelay_; } else { return ingestDelayBuilder_.getMessage(); } } /** + * + * *
        * The delay of data points caused by ingestion. Data points older than this
        * age are guaranteed to be ingested and available to be read, excluding
@@ -1440,6 +1638,8 @@ public Builder setIngestDelay(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The delay of data points caused by ingestion. Data points older than this
        * age are guaranteed to be ingested and available to be read, excluding
@@ -1448,8 +1648,7 @@ public Builder setIngestDelay(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration ingest_delay = 3;
        */
-      public Builder setIngestDelay(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setIngestDelay(com.google.protobuf.Duration.Builder builderForValue) {
         if (ingestDelayBuilder_ == null) {
           ingestDelay_ = builderForValue.build();
         } else {
@@ -1460,6 +1659,8 @@ public Builder setIngestDelay(
         return this;
       }
       /**
+       *
+       *
        * 
        * The delay of data points caused by ingestion. Data points older than this
        * age are guaranteed to be ingested and available to be read, excluding
@@ -1470,9 +1671,9 @@ public Builder setIngestDelay(
        */
       public Builder mergeIngestDelay(com.google.protobuf.Duration value) {
         if (ingestDelayBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0) &&
-            ingestDelay_ != null &&
-            ingestDelay_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0)
+              && ingestDelay_ != null
+              && ingestDelay_ != com.google.protobuf.Duration.getDefaultInstance()) {
             getIngestDelayBuilder().mergeFrom(value);
           } else {
             ingestDelay_ = value;
@@ -1485,6 +1686,8 @@ public Builder mergeIngestDelay(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The delay of data points caused by ingestion. Data points older than this
        * age are guaranteed to be ingested and available to be read, excluding
@@ -1504,6 +1707,8 @@ public Builder clearIngestDelay() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The delay of data points caused by ingestion. Data points older than this
        * age are guaranteed to be ingested and available to be read, excluding
@@ -1518,6 +1723,8 @@ public com.google.protobuf.Duration.Builder getIngestDelayBuilder() {
         return getIngestDelayFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The delay of data points caused by ingestion. Data points older than this
        * age are guaranteed to be ingested and available to be read, excluding
@@ -1530,11 +1737,14 @@ public com.google.protobuf.DurationOrBuilder getIngestDelayOrBuilder() {
         if (ingestDelayBuilder_ != null) {
           return ingestDelayBuilder_.getMessageOrBuilder();
         } else {
-          return ingestDelay_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : ingestDelay_;
+          return ingestDelay_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : ingestDelay_;
         }
       }
       /**
+       *
+       *
        * 
        * The delay of data points caused by ingestion. Data points older than this
        * age are guaranteed to be ingested and available to be read, excluding
@@ -1544,18 +1754,22 @@ public com.google.protobuf.DurationOrBuilder getIngestDelayOrBuilder() {
        * .google.protobuf.Duration ingest_delay = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getIngestDelayFieldBuilder() {
         if (ingestDelayBuilder_ == null) {
-          ingestDelayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getIngestDelay(),
-                  getParentForChildren(),
-                  isClean());
+          ingestDelayBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getIngestDelay(), getParentForChildren(), isClean());
           ingestDelay_ = null;
         }
         return ingestDelayBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1568,12 +1782,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.api.MetricDescriptor.MetricDescriptorMetadata)
     }
 
     // @@protoc_insertion_point(class_scope:google.api.MetricDescriptor.MetricDescriptorMetadata)
     private static final com.google.api.MetricDescriptor.MetricDescriptorMetadata DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.api.MetricDescriptor.MetricDescriptorMetadata();
     }
@@ -1582,27 +1796,28 @@ public static com.google.api.MetricDescriptor.MetricDescriptorMetadata getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public MetricDescriptorMetadata 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 MetricDescriptorMetadata 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;
@@ -1617,18 +1832,21 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.api.MetricDescriptor.MetricDescriptorMetadata getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the metric descriptor.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1637,29 +1855,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
    * The resource name of the metric descriptor.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -1668,9 +1886,12 @@ public java.lang.String getName() { } public static final int TYPE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
    * The metric type, including its DNS name prefix. The type is not
    * URL-encoded. All user-defined metric types have the DNS name
@@ -1683,6 +1904,7 @@ public java.lang.String getName() {
    * 
* * string type = 8; + * * @return The type. */ @java.lang.Override @@ -1691,14 +1913,15 @@ public java.lang.String getType() { 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(); type_ = s; return s; } } /** + * + * *
    * The metric type, including its DNS name prefix. The type is not
    * URL-encoded. All user-defined metric types have the DNS name
@@ -1711,16 +1934,15 @@ public java.lang.String getType() {
    * 
* * string type = 8; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -1729,9 +1951,12 @@ public java.lang.String getType() { } public static final int LABELS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List labels_; /** + * + * *
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -1748,6 +1973,8 @@ public java.util.List getLabelsList() {
     return labels_;
   }
   /**
+   *
+   *
    * 
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -1760,11 +1987,13 @@ public java.util.List getLabelsList() {
    * repeated .google.api.LabelDescriptor labels = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLabelsOrBuilderList() {
     return labels_;
   }
   /**
+   *
+   *
    * 
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -1781,6 +2010,8 @@ public int getLabelsCount() {
     return labels_.size();
   }
   /**
+   *
+   *
    * 
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -1797,6 +2028,8 @@ public com.google.api.LabelDescriptor getLabels(int index) {
     return labels_.get(index);
   }
   /**
+   *
+   *
    * 
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -1809,71 +2042,91 @@ public com.google.api.LabelDescriptor getLabels(int index) {
    * repeated .google.api.LabelDescriptor labels = 2;
    */
   @java.lang.Override
-  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-      int index) {
+  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
     return labels_.get(index);
   }
 
   public static final int METRIC_KIND_FIELD_NUMBER = 3;
   private int metricKind_ = 0;
   /**
+   *
+   *
    * 
    * Whether the metric records instantaneous values, changes to a value, etc.
    * Some combinations of `metric_kind` and `value_type` might not be supported.
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
    * Whether the metric records instantaneous values, changes to a value, etc.
    * Some combinations of `metric_kind` and `value_type` might not be supported.
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The metricKind. */ - @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.forNumber(metricKind_); + @java.lang.Override + public com.google.api.MetricDescriptor.MetricKind getMetricKind() { + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.forNumber(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } public static final int VALUE_TYPE_FIELD_NUMBER = 4; private int valueType_ = 0; /** + * + * *
    * Whether the measurement is an integer, a floating-point number, etc.
    * Some combinations of `metric_kind` and `value_type` might not be supported.
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
    * Whether the measurement is an integer, a floating-point number, etc.
    * Some combinations of `metric_kind` and `value_type` might not be supported.
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The valueType. */ - @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.forNumber(valueType_); + @java.lang.Override + public com.google.api.MetricDescriptor.ValueType getValueType() { + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.forNumber(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } public static final int UNIT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object unit_ = ""; /** + * + * *
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -1980,6 +2233,7 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
    * 
* * string unit = 5; + * * @return The unit. */ @java.lang.Override @@ -1988,14 +2242,15 @@ public java.lang.String getUnit() { 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(); unit_ = s; return s; } } /** + * + * *
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2102,16 +2357,15 @@ public java.lang.String getUnit() {
    * 
* * string unit = 5; + * * @return The bytes for unit. */ @java.lang.Override - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; 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); unit_ = b; return b; } else { @@ -2120,14 +2374,18 @@ public java.lang.String getUnit() { } public static final int DESCRIPTION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * A detailed description of the metric, which can be used in documentation.
    * 
* * string description = 6; + * * @return The description. */ @java.lang.Override @@ -2136,29 +2394,29 @@ 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; } } /** + * + * *
    * A detailed description of the metric, which can be used in documentation.
    * 
* * string description = 6; + * * @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 { @@ -2167,9 +2425,12 @@ public java.lang.String getDescription() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * A concise name for the metric, which can be displayed in user interfaces.
    * Use sentence case without an ending period, for example "Request count".
@@ -2178,6 +2439,7 @@ public java.lang.String getDescription() {
    * 
* * string display_name = 7; + * * @return The displayName. */ @java.lang.Override @@ -2186,14 +2448,15 @@ public java.lang.String getDisplayName() { 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(); displayName_ = s; return s; } } /** + * + * *
    * A concise name for the metric, which can be displayed in user interfaces.
    * Use sentence case without an ending period, for example "Request count".
@@ -2202,16 +2465,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 7; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -2222,11 +2484,14 @@ public java.lang.String getDisplayName() { public static final int METADATA_FIELD_NUMBER = 10; private com.google.api.MetricDescriptor.MetricDescriptorMetadata metadata_; /** + * + * *
    * Optional. Metadata which can be used to guide usage of the metric.
    * 
* * .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2234,18 +2499,25 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Optional. Metadata which can be used to guide usage of the metric.
    * 
* * .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10; + * * @return The metadata. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricDescriptorMetadata getMetadata() { - return metadata_ == null ? com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Optional. Metadata which can be used to guide usage of the metric.
    * 
@@ -2254,40 +2526,53 @@ public com.google.api.MetricDescriptor.MetricDescriptorMetadata getMetadata() { */ @java.lang.Override public com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder getMetadataOrBuilder() { - return metadata_ == null ? com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance() + : metadata_; } public static final int LAUNCH_STAGE_FIELD_NUMBER = 12; private int launchStage_ = 0; /** + * + * *
    * Optional. The launch stage of the metric definition.
    * 
* * .google.api.LaunchStage launch_stage = 12; + * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override public int getLaunchStageValue() { + @java.lang.Override + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
    * Optional. The launch stage of the metric definition.
    * 
* * .google.api.LaunchStage launch_stage = 12; + * * @return The launchStage. */ - @java.lang.Override public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override + public com.google.api.LaunchStage getLaunchStage() { com.google.api.LaunchStage result = com.google.api.LaunchStage.forNumber(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } public static final int MONITORED_RESOURCE_TYPES_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -2298,13 +2583,15 @@ public com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder getMeta
    * 
* * repeated string monitored_resource_types = 13; + * * @return A list containing the monitoredResourceTypes. */ - public com.google.protobuf.ProtocolStringList - getMonitoredResourceTypesList() { + public com.google.protobuf.ProtocolStringList getMonitoredResourceTypesList() { return monitoredResourceTypes_; } /** + * + * *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -2315,12 +2602,15 @@ public com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder getMeta
    * 
* * repeated string monitored_resource_types = 13; + * * @return The count of monitoredResourceTypes. */ public int getMonitoredResourceTypesCount() { return monitoredResourceTypes_.size(); } /** + * + * *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -2331,6 +2621,7 @@ public int getMonitoredResourceTypesCount() {
    * 
* * repeated string monitored_resource_types = 13; + * * @param index The index of the element to return. * @return The monitoredResourceTypes at the given index. */ @@ -2338,6 +2629,8 @@ public java.lang.String getMonitoredResourceTypes(int index) { return monitoredResourceTypes_.get(index); } /** + * + * *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -2348,15 +2641,16 @@ public java.lang.String getMonitoredResourceTypes(int index) {
    * 
* * repeated string monitored_resource_types = 13; + * * @param index The index of the value to return. * @return The bytes of the monitoredResourceTypes at the given index. */ - public com.google.protobuf.ByteString - getMonitoredResourceTypesBytes(int index) { + public com.google.protobuf.ByteString getMonitoredResourceTypesBytes(int index) { return monitoredResourceTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2368,18 +2662,19 @@ 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < labels_.size(); i++) { output.writeMessage(2, labels_.get(i)); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(3, metricKind_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, valueType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { @@ -2401,7 +2696,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeEnum(12, launchStage_); } for (int i = 0; i < monitoredResourceTypes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, monitoredResourceTypes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 13, monitoredResourceTypes_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -2416,16 +2712,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < labels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, labels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels_.get(i)); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, metricKind_); + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, metricKind_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, valueType_); + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, valueType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, unit_); @@ -2440,12 +2735,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, type_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMetadata()); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, launchStage_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, launchStage_); } { int dataSize = 0; @@ -2463,35 +2756,28 @@ 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.MetricDescriptor)) { return super.equals(obj); } com.google.api.MetricDescriptor other = (com.google.api.MetricDescriptor) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getLabelsList() - .equals(other.getLabelsList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getType().equals(other.getType())) return false; + if (!getLabelsList().equals(other.getLabelsList())) return false; if (metricKind_ != other.metricKind_) return false; if (valueType_ != other.valueType_) return false; - if (!getUnit() - .equals(other.getUnit())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getUnit().equals(other.getUnit())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; + if (!getMetadata().equals(other.getMetadata())) return false; } if (launchStage_ != other.launchStage_) return false; - if (!getMonitoredResourceTypesList() - .equals(other.getMonitoredResourceTypesList())) return false; + if (!getMonitoredResourceTypesList().equals(other.getMonitoredResourceTypesList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2536,99 +2822,103 @@ public int hashCode() { return hash; } - public static com.google.api.MetricDescriptor parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.MetricDescriptor parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MetricDescriptor 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.MetricDescriptor parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.MetricDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MetricDescriptor 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.MetricDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MetricDescriptor 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.MetricDescriptor 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.MetricDescriptor 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.MetricDescriptor 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.MetricDescriptor 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.MetricDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.MetricDescriptor 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.MetricDescriptor 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; } /** + * + * *
    * Defines a metric type and its schema. Once a metric descriptor is created,
    * deleting or altering it stops data collection and makes the metric type's
@@ -2637,33 +2927,30 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.MetricDescriptor}
    */
-  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.MetricDescriptor)
       com.google.api.MetricDescriptorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_fieldAccessorTable
+      return com.google.api.MetricProto
+          .internal_static_google_api_MetricDescriptor_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.api.MetricDescriptor.class, com.google.api.MetricDescriptor.Builder.class);
     }
 
     // Construct using com.google.api.MetricDescriptor.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2688,14 +2975,12 @@ public Builder clear() {
         metadataBuilder_ = null;
       }
       launchStage_ = 0;
-      monitoredResourceTypes_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_descriptor;
     }
 
@@ -2717,7 +3002,9 @@ public com.google.api.MetricDescriptor build() {
     public com.google.api.MetricDescriptor buildPartial() {
       com.google.api.MetricDescriptor result = new com.google.api.MetricDescriptor(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -2758,9 +3045,7 @@ private void buildPartial0(com.google.api.MetricDescriptor result) {
         result.displayName_ = displayName_;
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.metadata_ = metadataBuilder_ == null
-            ? metadata_
-            : metadataBuilder_.build();
+        result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
         result.launchStage_ = launchStage_;
@@ -2775,38 +3060,39 @@ private void buildPartial0(com.google.api.MetricDescriptor 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.MetricDescriptor) {
-        return mergeFrom((com.google.api.MetricDescriptor)other);
+        return mergeFrom((com.google.api.MetricDescriptor) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2843,9 +3129,10 @@ public Builder mergeFrom(com.google.api.MetricDescriptor other) {
             labelsBuilder_ = null;
             labels_ = other.labels_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            labelsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLabelsFieldBuilder() : null;
+            labelsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLabelsFieldBuilder()
+                    : null;
           } else {
             labelsBuilder_.addAllMessages(other.labels_);
           }
@@ -2914,78 +3201,86 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.api.LabelDescriptor m =
-                  input.readMessage(
-                      com.google.api.LabelDescriptor.parser(),
-                      extensionRegistry);
-              if (labelsBuilder_ == null) {
-                ensureLabelsIsMutable();
-                labels_.add(m);
-              } else {
-                labelsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 24: {
-              metricKind_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 24
-            case 32: {
-              valueType_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 32
-            case 42: {
-              unit_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 50: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 50
-            case 58: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              type_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 66
-            case 82: {
-              input.readMessage(
-                  getMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 82
-            case 96: {
-              launchStage_ = input.readEnum();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 96
-            case 106: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureMonitoredResourceTypesIsMutable();
-              monitoredResourceTypes_.add(s);
-              break;
-            } // case 106
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.api.LabelDescriptor m =
+                    input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry);
+                if (labelsBuilder_ == null) {
+                  ensureLabelsIsMutable();
+                  labels_.add(m);
+                } else {
+                  labelsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 24:
+              {
+                metricKind_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 24
+            case 32:
+              {
+                valueType_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 32
+            case 42:
+              {
+                unit_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 50:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 50
+            case 58:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 66
+            case 82:
+              {
+                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 82
+            case 96:
+              {
+                launchStage_ = input.readEnum();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 96
+            case 106:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureMonitoredResourceTypesIsMutable();
+                monitoredResourceTypes_.add(s);
+                break;
+              } // case 106
+            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) {
@@ -2995,22 +3290,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the metric descriptor.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -3019,20 +3317,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the metric descriptor.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -3040,28 +3339,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the metric descriptor.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the metric descriptor.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3071,17 +3377,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the metric descriptor.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3091,6 +3401,8 @@ public Builder setNameBytes( private java.lang.Object type_ = ""; /** + * + * *
      * The metric type, including its DNS name prefix. The type is not
      * URL-encoded. All user-defined metric types have the DNS name
@@ -3103,13 +3415,13 @@ public Builder setNameBytes(
      * 
* * string type = 8; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; @@ -3118,6 +3430,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The metric type, including its DNS name prefix. The type is not
      * URL-encoded. All user-defined metric types have the DNS name
@@ -3130,15 +3444,14 @@ public java.lang.String getType() {
      * 
* * string type = 8; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -3146,6 +3459,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The metric type, including its DNS name prefix. The type is not
      * URL-encoded. All user-defined metric types have the DNS name
@@ -3158,18 +3473,22 @@ public java.lang.String getType() {
      * 
* * string type = 8; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The metric type, including its DNS name prefix. The type is not
      * URL-encoded. All user-defined metric types have the DNS name
@@ -3182,6 +3501,7 @@ public Builder setType(
      * 
* * string type = 8; + * * @return This builder for chaining. */ public Builder clearType() { @@ -3191,6 +3511,8 @@ public Builder clearType() { return this; } /** + * + * *
      * The metric type, including its DNS name prefix. The type is not
      * URL-encoded. All user-defined metric types have the DNS name
@@ -3203,12 +3525,14 @@ public Builder clearType() {
      * 
* * string type = 8; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -3217,18 +3541,24 @@ public Builder setTypeBytes( } private java.util.List labels_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { labels_ = new java.util.ArrayList(labels_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> labelsBuilder_; + com.google.api.LabelDescriptor, + com.google.api.LabelDescriptor.Builder, + com.google.api.LabelDescriptorOrBuilder> + labelsBuilder_; /** + * + * *
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3248,6 +3578,8 @@ public java.util.List getLabelsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3267,6 +3599,8 @@ public int getLabelsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3286,6 +3620,8 @@ public com.google.api.LabelDescriptor getLabels(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3297,8 +3633,7 @@ public com.google.api.LabelDescriptor getLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder setLabels(
-        int index, com.google.api.LabelDescriptor value) {
+    public Builder setLabels(int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3312,6 +3647,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3323,8 +3660,7 @@ public Builder setLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder setLabels(
-        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder setLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.set(index, builderForValue.build());
@@ -3335,6 +3671,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3360,6 +3698,8 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3371,8 +3711,7 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder addLabels(
-        int index, com.google.api.LabelDescriptor value) {
+    public Builder addLabels(int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3386,6 +3725,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3397,8 +3738,7 @@ public Builder addLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder addLabels(
-        com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(builderForValue.build());
@@ -3409,6 +3749,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3420,8 +3762,7 @@ public Builder addLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public Builder addLabels(
-        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(index, builderForValue.build());
@@ -3432,6 +3773,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3447,8 +3790,7 @@ public Builder addAllLabels(
         java.lang.Iterable values) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, labels_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_);
         onChanged();
       } else {
         labelsBuilder_.addAllMessages(values);
@@ -3456,6 +3798,8 @@ public Builder addAllLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3478,6 +3822,8 @@ public Builder clearLabels() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3500,6 +3846,8 @@ public Builder removeLabels(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3511,11 +3859,12 @@ public Builder removeLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(
-        int index) {
+    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(int index) {
       return getLabelsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3527,14 +3876,16 @@ public com.google.api.LabelDescriptor.Builder getLabelsBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-        int index) {
+    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
       if (labelsBuilder_ == null) {
-        return labels_.get(index);  } else {
+        return labels_.get(index);
+      } else {
         return labelsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3546,8 +3897,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public java.util.List 
-         getLabelsOrBuilderList() {
+    public java.util.List
+        getLabelsOrBuilderList() {
       if (labelsBuilder_ != null) {
         return labelsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3555,6 +3906,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3567,10 +3920,12 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
      * repeated .google.api.LabelDescriptor labels = 2;
      */
     public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
-      return getLabelsFieldBuilder().addBuilder(
-          com.google.api.LabelDescriptor.getDefaultInstance());
+      return getLabelsFieldBuilder()
+          .addBuilder(com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3582,12 +3937,13 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
-        int index) {
-      return getLabelsFieldBuilder().addBuilder(
-          index, com.google.api.LabelDescriptor.getDefaultInstance());
+    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(int index) {
+      return getLabelsFieldBuilder()
+          .addBuilder(index, com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -3599,20 +3955,22 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 2;
      */
-    public java.util.List 
-         getLabelsBuilderList() {
+    public java.util.List getLabelsBuilderList() {
       return getLabelsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> 
+            com.google.api.LabelDescriptor,
+            com.google.api.LabelDescriptor.Builder,
+            com.google.api.LabelDescriptorOrBuilder>
         getLabelsFieldBuilder() {
       if (labelsBuilder_ == null) {
-        labelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>(
-                labels_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        labelsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.LabelDescriptor,
+                com.google.api.LabelDescriptor.Builder,
+                com.google.api.LabelDescriptorOrBuilder>(
+                labels_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         labels_ = null;
       }
       return labelsBuilder_;
@@ -3620,24 +3978,31 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
 
     private int metricKind_ = 0;
     /**
+     *
+     *
      * 
      * Whether the metric records instantaneous values, changes to a value, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
      * Whether the metric records instantaneous values, changes to a value, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @param value The enum numeric value on the wire for metricKind to set. * @return This builder for chaining. */ @@ -3648,26 +4013,33 @@ public Builder setMetricKindValue(int value) { return this; } /** + * + * *
      * Whether the metric records instantaneous values, changes to a value, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The metricKind. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.forNumber(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.forNumber(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /** + * + * *
      * Whether the metric records instantaneous values, changes to a value, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @param value The metricKind to set. * @return This builder for chaining. */ @@ -3681,12 +4053,15 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) { return this; } /** + * + * *
      * Whether the metric records instantaneous values, changes to a value, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return This builder for chaining. */ public Builder clearMetricKind() { @@ -3698,24 +4073,31 @@ public Builder clearMetricKind() { private int valueType_ = 0; /** + * + * *
      * Whether the measurement is an integer, a floating-point number, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
      * Whether the measurement is an integer, a floating-point number, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ @@ -3726,26 +4108,33 @@ public Builder setValueTypeValue(int value) { return this; } /** + * + * *
      * Whether the measurement is an integer, a floating-point number, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The valueType. */ @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.forNumber(valueType_); + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.forNumber(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /** + * + * *
      * Whether the measurement is an integer, a floating-point number, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @param value The valueType to set. * @return This builder for chaining. */ @@ -3759,12 +4148,15 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) { return this; } /** + * + * *
      * Whether the measurement is an integer, a floating-point number, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return This builder for chaining. */ public Builder clearValueType() { @@ -3776,6 +4168,8 @@ public Builder clearValueType() { private java.lang.Object unit_ = ""; /** + * + * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -3882,13 +4276,13 @@ public Builder clearValueType() {
      * 
* * string unit = 5; + * * @return The unit. */ public java.lang.String getUnit() { java.lang.Object ref = unit_; 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(); unit_ = s; return s; @@ -3897,6 +4291,8 @@ public java.lang.String getUnit() { } } /** + * + * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -4003,15 +4399,14 @@ public java.lang.String getUnit() {
      * 
* * string unit = 5; + * * @return The bytes for unit. */ - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; 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); unit_ = b; return b; } else { @@ -4019,6 +4414,8 @@ public java.lang.String getUnit() { } } /** + * + * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -4125,18 +4522,22 @@ public java.lang.String getUnit() {
      * 
* * string unit = 5; + * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnit(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } unit_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -4243,6 +4644,7 @@ public Builder setUnit(
      * 
* * string unit = 5; + * * @return This builder for chaining. */ public Builder clearUnit() { @@ -4252,6 +4654,8 @@ public Builder clearUnit() { return this; } /** + * + * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -4358,12 +4762,14 @@ public Builder clearUnit() {
      * 
* * string unit = 5; + * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnitBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); unit_ = value; bitField0_ |= 0x00000020; @@ -4373,18 +4779,20 @@ public Builder setUnitBytes( private java.lang.Object description_ = ""; /** + * + * *
      * A detailed description of the metric, which can be used in documentation.
      * 
* * string description = 6; + * * @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; @@ -4393,20 +4801,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description of the metric, which can be used in documentation.
      * 
* * string description = 6; + * * @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 { @@ -4414,28 +4823,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description of the metric, which can be used in documentation.
      * 
* * string description = 6; + * * @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_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * A detailed description of the metric, which can be used in documentation.
      * 
* * string description = 6; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4445,17 +4861,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * A detailed description of the metric, which can be used in documentation.
      * 
* * string description = 6; + * * @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_ |= 0x00000040; @@ -4465,6 +4885,8 @@ public Builder setDescriptionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * A concise name for the metric, which can be displayed in user interfaces.
      * Use sentence case without an ending period, for example "Request count".
@@ -4473,13 +4895,13 @@ public Builder setDescriptionBytes(
      * 
* * string display_name = 7; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; @@ -4488,6 +4910,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A concise name for the metric, which can be displayed in user interfaces.
      * Use sentence case without an ending period, for example "Request count".
@@ -4496,15 +4920,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 7; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -4512,6 +4935,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A concise name for the metric, which can be displayed in user interfaces.
      * Use sentence case without an ending period, for example "Request count".
@@ -4520,18 +4945,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 7; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * A concise name for the metric, which can be displayed in user interfaces.
      * Use sentence case without an ending period, for example "Request count".
@@ -4540,6 +4969,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 7; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4549,6 +4979,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * A concise name for the metric, which can be displayed in user interfaces.
      * Use sentence case without an ending period, for example "Request count".
@@ -4557,12 +4989,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 7; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000080; @@ -4572,34 +5006,47 @@ public Builder setDisplayNameBytes( private com.google.api.MetricDescriptor.MetricDescriptorMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MetricDescriptor.MetricDescriptorMetadata, com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder, com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder> metadataBuilder_; + com.google.api.MetricDescriptor.MetricDescriptorMetadata, + com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder, + com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Optional. Metadata which can be used to guide usage of the metric.
      * 
* * .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Optional. Metadata which can be used to guide usage of the metric.
      * 
* * .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10; + * * @return The metadata. */ public com.google.api.MetricDescriptor.MetricDescriptorMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Optional. Metadata which can be used to guide usage of the metric.
      * 
@@ -4620,6 +5067,8 @@ public Builder setMetadata(com.google.api.MetricDescriptor.MetricDescriptorMetad return this; } /** + * + * *
      * Optional. Metadata which can be used to guide usage of the metric.
      * 
@@ -4638,6 +5087,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Optional. Metadata which can be used to guide usage of the metric.
      * 
@@ -4646,9 +5097,10 @@ public Builder setMetadata( */ public Builder mergeMetadata(com.google.api.MetricDescriptor.MetricDescriptorMetadata value) { if (metadataBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - metadata_ != null && - metadata_ != com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && metadata_ != null + && metadata_ + != com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; @@ -4661,6 +5113,8 @@ public Builder mergeMetadata(com.google.api.MetricDescriptor.MetricDescriptorMet return this; } /** + * + * *
      * Optional. Metadata which can be used to guide usage of the metric.
      * 
@@ -4678,6 +5132,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Optional. Metadata which can be used to guide usage of the metric.
      * 
@@ -4690,21 +5146,27 @@ public com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder getMetad return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Metadata which can be used to guide usage of the metric.
      * 
* * .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10; */ - public com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder getMetadataOrBuilder() { + public com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder + getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.api.MetricDescriptor.MetricDescriptorMetadata.getDefaultInstance() + : metadata_; } } /** + * + * *
      * Optional. Metadata which can be used to guide usage of the metric.
      * 
@@ -4712,14 +5174,17 @@ public com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder getMeta * .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MetricDescriptor.MetricDescriptorMetadata, com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder, com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder> + com.google.api.MetricDescriptor.MetricDescriptorMetadata, + com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder, + com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MetricDescriptor.MetricDescriptorMetadata, com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder, com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.MetricDescriptor.MetricDescriptorMetadata, + com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder, + com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; @@ -4727,22 +5192,29 @@ public com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder getMeta private int launchStage_ = 0; /** + * + * *
      * Optional. The launch stage of the metric definition.
      * 
* * .google.api.LaunchStage launch_stage = 12; + * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override public int getLaunchStageValue() { + @java.lang.Override + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
      * Optional. The launch stage of the metric definition.
      * 
* * .google.api.LaunchStage launch_stage = 12; + * * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ @@ -4753,11 +5225,14 @@ public Builder setLaunchStageValue(int value) { return this; } /** + * + * *
      * Optional. The launch stage of the metric definition.
      * 
* * .google.api.LaunchStage launch_stage = 12; + * * @return The launchStage. */ @java.lang.Override @@ -4766,11 +5241,14 @@ public com.google.api.LaunchStage getLaunchStage() { return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The launch stage of the metric definition.
      * 
* * .google.api.LaunchStage launch_stage = 12; + * * @param value The launchStage to set. * @return This builder for chaining. */ @@ -4784,11 +5262,14 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { return this; } /** + * + * *
      * Optional. The launch stage of the metric definition.
      * 
* * .google.api.LaunchStage launch_stage = 12; + * * @return This builder for chaining. */ public Builder clearLaunchStage() { @@ -4800,13 +5281,17 @@ public Builder clearLaunchStage() { private com.google.protobuf.LazyStringArrayList monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMonitoredResourceTypesIsMutable() { if (!monitoredResourceTypes_.isModifiable()) { - monitoredResourceTypes_ = new com.google.protobuf.LazyStringArrayList(monitoredResourceTypes_); + monitoredResourceTypes_ = + new com.google.protobuf.LazyStringArrayList(monitoredResourceTypes_); } bitField0_ |= 0x00000400; } /** + * + * *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -4817,14 +5302,16 @@ private void ensureMonitoredResourceTypesIsMutable() {
      * 
* * repeated string monitored_resource_types = 13; + * * @return A list containing the monitoredResourceTypes. */ - public com.google.protobuf.ProtocolStringList - getMonitoredResourceTypesList() { + public com.google.protobuf.ProtocolStringList getMonitoredResourceTypesList() { monitoredResourceTypes_.makeImmutable(); return monitoredResourceTypes_; } /** + * + * *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -4835,12 +5322,15 @@ private void ensureMonitoredResourceTypesIsMutable() {
      * 
* * repeated string monitored_resource_types = 13; + * * @return The count of monitoredResourceTypes. */ public int getMonitoredResourceTypesCount() { return monitoredResourceTypes_.size(); } /** + * + * *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -4851,6 +5341,7 @@ public int getMonitoredResourceTypesCount() {
      * 
* * repeated string monitored_resource_types = 13; + * * @param index The index of the element to return. * @return The monitoredResourceTypes at the given index. */ @@ -4858,6 +5349,8 @@ public java.lang.String getMonitoredResourceTypes(int index) { return monitoredResourceTypes_.get(index); } /** + * + * *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -4868,14 +5361,16 @@ public java.lang.String getMonitoredResourceTypes(int index) {
      * 
* * repeated string monitored_resource_types = 13; + * * @param index The index of the value to return. * @return The bytes of the monitoredResourceTypes at the given index. */ - public com.google.protobuf.ByteString - getMonitoredResourceTypesBytes(int index) { + public com.google.protobuf.ByteString getMonitoredResourceTypesBytes(int index) { return monitoredResourceTypes_.getByteString(index); } /** + * + * *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -4886,13 +5381,15 @@ public java.lang.String getMonitoredResourceTypes(int index) {
      * 
* * repeated string monitored_resource_types = 13; + * * @param index The index to set the value at. * @param value The monitoredResourceTypes to set. * @return This builder for chaining. */ - public Builder setMonitoredResourceTypes( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMonitoredResourceTypes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMonitoredResourceTypesIsMutable(); monitoredResourceTypes_.set(index, value); bitField0_ |= 0x00000400; @@ -4900,6 +5397,8 @@ public Builder setMonitoredResourceTypes( return this; } /** + * + * *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -4910,12 +5409,14 @@ public Builder setMonitoredResourceTypes(
      * 
* * repeated string monitored_resource_types = 13; + * * @param value The monitoredResourceTypes to add. * @return This builder for chaining. */ - public Builder addMonitoredResourceTypes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMonitoredResourceTypes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMonitoredResourceTypesIsMutable(); monitoredResourceTypes_.add(value); bitField0_ |= 0x00000400; @@ -4923,6 +5424,8 @@ public Builder addMonitoredResourceTypes( return this; } /** + * + * *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -4933,19 +5436,20 @@ public Builder addMonitoredResourceTypes(
      * 
* * repeated string monitored_resource_types = 13; + * * @param values The monitoredResourceTypes to add. * @return This builder for chaining. */ - public Builder addAllMonitoredResourceTypes( - java.lang.Iterable values) { + public Builder addAllMonitoredResourceTypes(java.lang.Iterable values) { ensureMonitoredResourceTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, monitoredResourceTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, monitoredResourceTypes_); bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -4956,16 +5460,19 @@ public Builder addAllMonitoredResourceTypes(
      * 
* * repeated string monitored_resource_types = 13; + * * @return This builder for chaining. */ public Builder clearMonitoredResourceTypes() { - monitoredResourceTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400);; + monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400); + ; onChanged(); return this; } /** + * + * *
      * Read-only. If present, then a [time
      * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -4976,12 +5483,14 @@ public Builder clearMonitoredResourceTypes() {
      * 
* * repeated string monitored_resource_types = 13; + * * @param value The bytes of the monitoredResourceTypes to add. * @return This builder for chaining. */ - public Builder addMonitoredResourceTypesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMonitoredResourceTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureMonitoredResourceTypesIsMutable(); monitoredResourceTypes_.add(value); @@ -4989,9 +5498,9 @@ public Builder addMonitoredResourceTypesBytes( 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); } @@ -5001,12 +5510,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.MetricDescriptor) } // @@protoc_insertion_point(class_scope:google.api.MetricDescriptor) private static final com.google.api.MetricDescriptor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.MetricDescriptor(); } @@ -5015,27 +5524,27 @@ public static com.google.api.MetricDescriptor getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricDescriptor 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 MetricDescriptor 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; @@ -5050,6 +5559,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.MetricDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java similarity index 92% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java index d50365df0a..0f949c13b0 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java @@ -1,33 +1,56 @@ +/* + * 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 interface MetricDescriptorOrBuilder extends +public interface MetricDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.MetricDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the metric descriptor.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the metric descriptor.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The metric type, including its DNS name prefix. The type is not
    * URL-encoded. All user-defined metric types have the DNS name
@@ -40,10 +63,13 @@ public interface MetricDescriptorOrBuilder extends
    * 
* * string type = 8; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The metric type, including its DNS name prefix. The type is not
    * URL-encoded. All user-defined metric types have the DNS name
@@ -56,12 +82,14 @@ public interface MetricDescriptorOrBuilder extends
    * 
* * string type = 8; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -73,9 +101,10 @@ public interface MetricDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 2;
    */
-  java.util.List 
-      getLabelsList();
+  java.util.List getLabelsList();
   /**
+   *
+   *
    * 
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -89,6 +118,8 @@ public interface MetricDescriptorOrBuilder extends
    */
   com.google.api.LabelDescriptor getLabels(int index);
   /**
+   *
+   *
    * 
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -102,6 +133,8 @@ public interface MetricDescriptorOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -113,9 +146,10 @@ public interface MetricDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 2;
    */
-  java.util.List 
-      getLabelsOrBuilderList();
+  java.util.List getLabelsOrBuilderList();
   /**
+   *
+   *
    * 
    * The set of labels that can be used to describe a specific
    * instance of this metric type. For example, the
@@ -127,52 +161,65 @@ public interface MetricDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 2;
    */
-  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-      int index);
+  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Whether the metric records instantaneous values, changes to a value, etc.
    * Some combinations of `metric_kind` and `value_type` might not be supported.
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The enum numeric value on the wire for metricKind. */ int getMetricKindValue(); /** + * + * *
    * Whether the metric records instantaneous values, changes to a value, etc.
    * Some combinations of `metric_kind` and `value_type` might not be supported.
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The metricKind. */ com.google.api.MetricDescriptor.MetricKind getMetricKind(); /** + * + * *
    * Whether the measurement is an integer, a floating-point number, etc.
    * Some combinations of `metric_kind` and `value_type` might not be supported.
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** + * + * *
    * Whether the measurement is an integer, a floating-point number, etc.
    * Some combinations of `metric_kind` and `value_type` might not be supported.
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The valueType. */ com.google.api.MetricDescriptor.ValueType getValueType(); /** + * + * *
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -279,10 +326,13 @@ com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
    * 
* * string unit = 5; + * * @return The unit. */ java.lang.String getUnit(); /** + * + * *
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -389,32 +439,39 @@ com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
    * 
* * string unit = 5; + * * @return The bytes for unit. */ - com.google.protobuf.ByteString - getUnitBytes(); + com.google.protobuf.ByteString getUnitBytes(); /** + * + * *
    * A detailed description of the metric, which can be used in documentation.
    * 
* * string description = 6; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A detailed description of the metric, which can be used in documentation.
    * 
* * string description = 6; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * A concise name for the metric, which can be displayed in user interfaces.
    * Use sentence case without an ending period, for example "Request count".
@@ -423,10 +480,13 @@ com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
    * 
* * string display_name = 7; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * A concise name for the metric, which can be displayed in user interfaces.
    * Use sentence case without an ending period, for example "Request count".
@@ -435,30 +495,38 @@ com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
    * 
* * string display_name = 7; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. Metadata which can be used to guide usage of the metric.
    * 
* * .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Optional. Metadata which can be used to guide usage of the metric.
    * 
* * .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10; + * * @return The metadata. */ com.google.api.MetricDescriptor.MetricDescriptorMetadata getMetadata(); /** + * + * *
    * Optional. Metadata which can be used to guide usage of the metric.
    * 
@@ -468,25 +536,33 @@ com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder( com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder getMetadataOrBuilder(); /** + * + * *
    * Optional. The launch stage of the metric definition.
    * 
* * .google.api.LaunchStage launch_stage = 12; + * * @return The enum numeric value on the wire for launchStage. */ int getLaunchStageValue(); /** + * + * *
    * Optional. The launch stage of the metric definition.
    * 
* * .google.api.LaunchStage launch_stage = 12; + * * @return The launchStage. */ com.google.api.LaunchStage getLaunchStage(); /** + * + * *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -497,11 +573,13 @@ com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
    * 
* * repeated string monitored_resource_types = 13; + * * @return A list containing the monitoredResourceTypes. */ - java.util.List - getMonitoredResourceTypesList(); + java.util.List getMonitoredResourceTypesList(); /** + * + * *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -512,10 +590,13 @@ com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
    * 
* * repeated string monitored_resource_types = 13; + * * @return The count of monitoredResourceTypes. */ int getMonitoredResourceTypesCount(); /** + * + * *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -526,11 +607,14 @@ com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
    * 
* * repeated string monitored_resource_types = 13; + * * @param index The index of the element to return. * @return The monitoredResourceTypes at the given index. */ java.lang.String getMonitoredResourceTypes(int index); /** + * + * *
    * Read-only. If present, then a [time
    * series][google.monitoring.v3.TimeSeries], which is identified partially by
@@ -541,9 +625,9 @@ com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
    * 
* * repeated string monitored_resource_types = 13; + * * @param index The index of the value to return. * @return The bytes of the monitoredResourceTypes at the given index. */ - com.google.protobuf.ByteString - getMonitoredResourceTypesBytes(int index); + com.google.protobuf.ByteString getMonitoredResourceTypesBytes(int index); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java similarity index 64% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java index d043947697..a5756a7e21 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface MetricOrBuilder extends +public interface MetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Metric) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An existing metric type, see
    * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
@@ -15,10 +33,13 @@ public interface MetricOrBuilder extends
    * 
* * string type = 3; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * An existing metric type, see
    * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
@@ -26,12 +47,14 @@ public interface MetricOrBuilder extends
    * 
* * string type = 3; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * The set of label values that uniquely identify this metric. All
    * labels listed in the `MetricDescriptor` must be assigned values.
@@ -41,6 +64,8 @@ public interface MetricOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The set of label values that uniquely identify this metric. All
    * labels listed in the `MetricDescriptor` must be assigned values.
@@ -48,15 +73,13 @@ public interface MetricOrBuilder extends
    *
    * map<string, string> labels = 2;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * The set of label values that uniquely identify this metric. All
    * labels listed in the `MetricDescriptor` must be assigned values.
@@ -64,9 +87,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 2;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * The set of label values that uniquely identify this metric. All
    * labels listed in the `MetricDescriptor` must be assigned values.
@@ -75,11 +99,13 @@ boolean containsLabels(
    * map<string, string> labels = 2;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The set of label values that uniquely identify this metric. All
    * labels listed in the `MetricDescriptor` must be assigned values.
@@ -87,6 +113,5 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 2;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 }
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
new file mode 100644
index 0000000000..43d694522c
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java
@@ -0,0 +1,140 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java
similarity index 67%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java
index 267da7904c..1096d20d5d 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * Bind API methods to metrics. Binding a method to a metric causes that
  * metric's configured quota behaviors to apply to the method call.
@@ -11,43 +28,41 @@
  *
  * Protobuf type {@code google.api.MetricRule}
  */
-public final class MetricRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MetricRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.MetricRule)
     MetricRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MetricRule.newBuilder() to construct.
   private MetricRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MetricRule() {
     selector_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MetricRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.QuotaProto.internal_static_google_api_MetricRule_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetMetricCosts();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
@@ -57,9 +72,12 @@ protected com.google.protobuf.MapField internalGetMapField(
   }
 
   public static final int SELECTOR_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object selector_ = "";
   /**
+   *
+   *
    * 
    * Selects the methods to which this rule applies.
    *
@@ -68,6 +86,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string selector = 1; + * * @return The selector. */ @java.lang.Override @@ -76,14 +95,15 @@ public java.lang.String getSelector() { 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(); selector_ = s; return s; } } /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -92,16 +112,15 @@ public java.lang.String getSelector() {
    * 
* * string selector = 1; + * * @return The bytes for selector. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -110,32 +129,34 @@ public java.lang.String getSelector() { } public static final int METRIC_COSTS_FIELD_NUMBER = 2; + private static final class MetricCostsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.api.QuotaProto.internal_static_google_api_MetricRule_MetricCostsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.api.QuotaProto + .internal_static_google_api_MetricRule_MetricCostsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> metricCosts_; - private com.google.protobuf.MapField - internalGetMetricCosts() { + private com.google.protobuf.MapField metricCosts_; + + private com.google.protobuf.MapField internalGetMetricCosts() { if (metricCosts_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetricCostsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetricCostsDefaultEntryHolder.defaultEntry); } return metricCosts_; } + public int getMetricCostsCount() { return internalGetMetricCosts().getMap().size(); } /** + * + * *
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
@@ -148,20 +169,21 @@ public int getMetricCostsCount() {
    * map<string, int64> metric_costs = 2;
    */
   @java.lang.Override
-  public boolean containsMetricCosts(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsMetricCosts(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetMetricCosts().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getMetricCostsMap()} instead.
-   */
+  /** Use {@link #getMetricCostsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetricCosts() {
     return getMetricCostsMap();
   }
   /**
+   *
+   *
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
@@ -178,6 +200,8 @@ public java.util.Map getMetricCostsMap() {
     return internalGetMetricCosts().getMap();
   }
   /**
+   *
+   *
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
@@ -190,15 +214,16 @@ public java.util.Map getMetricCostsMap() {
    * map<string, int64> metric_costs = 2;
    */
   @java.lang.Override
-  public long getMetricCostsOrDefault(
-      java.lang.String key,
-      long defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetricCosts().getMap();
+  public long getMetricCostsOrDefault(java.lang.String key, long defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetricCosts().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
@@ -211,11 +236,11 @@ public long getMetricCostsOrDefault(
    * map<string, int64> metric_costs = 2;
    */
   @java.lang.Override
-  public long getMetricCostsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetricCosts().getMap();
+  public long getMetricCostsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetricCosts().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -223,6 +248,7 @@ public long getMetricCostsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -234,17 +260,12 @@ 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(selector_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetMetricCosts(),
-        MetricCostsDefaultEntryHolder.defaultEntry,
-        2);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetMetricCosts(), MetricCostsDefaultEntryHolder.defaultEntry, 2);
     getUnknownFields().writeTo(output);
   }
 
@@ -257,15 +278,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetMetricCosts().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      metricCosts__ = MetricCostsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, metricCosts__);
+    for (java.util.Map.Entry entry :
+        internalGetMetricCosts().getMap().entrySet()) {
+      com.google.protobuf.MapEntry metricCosts__ =
+          MetricCostsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricCosts__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -275,17 +296,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.MetricRule)) {
       return super.equals(obj);
     }
     com.google.api.MetricRule other = (com.google.api.MetricRule) obj;
 
-    if (!getSelector()
-        .equals(other.getSelector())) return false;
-    if (!internalGetMetricCosts().equals(
-        other.internalGetMetricCosts())) return false;
+    if (!getSelector().equals(other.getSelector())) return false;
+    if (!internalGetMetricCosts().equals(other.internalGetMetricCosts())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -308,99 +327,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.MetricRule parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.MetricRule parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.MetricRule 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.MetricRule parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.MetricRule parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.MetricRule 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.MetricRule parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.MetricRule 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.MetricRule 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.MetricRule 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.MetricRule 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.MetricRule 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.MetricRule parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.MetricRule 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.MetricRule 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.MetricRule 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;
   }
   /**
+   *
+   *
    * 
    * Bind API methods to metrics. Binding a method to a metric causes that
    * metric's configured quota behaviors to apply to the method call.
@@ -408,37 +431,34 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.MetricRule}
    */
-  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.MetricRule)
       com.google.api.MetricRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.QuotaProto.internal_static_google_api_MetricRule_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMetricCosts();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableMetricCosts();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
@@ -448,15 +468,12 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
     }
 
     // Construct using com.google.api.MetricRule.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -467,8 +484,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.QuotaProto.internal_static_google_api_MetricRule_descriptor;
     }
 
@@ -489,7 +505,9 @@ public com.google.api.MetricRule build() {
     @java.lang.Override
     public com.google.api.MetricRule buildPartial() {
       com.google.api.MetricRule result = new com.google.api.MetricRule(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -509,38 +527,39 @@ private void buildPartial0(com.google.api.MetricRule 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.MetricRule) {
-        return mergeFrom((com.google.api.MetricRule)other);
+        return mergeFrom((com.google.api.MetricRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -554,8 +573,7 @@ public Builder mergeFrom(com.google.api.MetricRule other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableMetricCosts().mergeFrom(
-          other.internalGetMetricCosts());
+      internalGetMutableMetricCosts().mergeFrom(other.internalGetMetricCosts());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -583,26 +601,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              selector_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              metricCosts__ = input.readMessage(
-                  MetricCostsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableMetricCosts().getMutableMap().put(
-                  metricCosts__.getKey(), metricCosts__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                selector_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry metricCosts__ =
+                    input.readMessage(
+                        MetricCostsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableMetricCosts()
+                    .getMutableMap()
+                    .put(metricCosts__.getKey(), metricCosts__.getValue());
+                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) {
@@ -612,10 +635,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object selector_ = "";
     /**
+     *
+     *
      * 
      * Selects the methods to which this rule applies.
      *
@@ -624,13 +650,13 @@ public Builder mergeFrom(
      * 
* * string selector = 1; + * * @return The selector. */ public java.lang.String getSelector() { java.lang.Object ref = selector_; 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(); selector_ = s; return s; @@ -639,6 +665,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -647,15 +675,14 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @return The bytes for selector. */ - public com.google.protobuf.ByteString - getSelectorBytes() { + public com.google.protobuf.ByteString getSelectorBytes() { java.lang.Object ref = selector_; 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); selector_ = b; return b; } else { @@ -663,6 +690,8 @@ public java.lang.String getSelector() { } } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -671,18 +700,22 @@ public java.lang.String getSelector() {
      * 
* * string selector = 1; + * * @param value The selector to set. * @return This builder for chaining. */ - public Builder setSelector( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelector(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } selector_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -691,6 +724,7 @@ public Builder setSelector(
      * 
* * string selector = 1; + * * @return This builder for chaining. */ public Builder clearSelector() { @@ -700,6 +734,8 @@ public Builder clearSelector() { return this; } /** + * + * *
      * Selects the methods to which this rule applies.
      *
@@ -708,12 +744,14 @@ public Builder clearSelector() {
      * 
* * string selector = 1; + * * @param value The bytes for selector to set. * @return This builder for chaining. */ - public Builder setSelectorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); selector_ = value; bitField0_ |= 0x00000001; @@ -721,8 +759,8 @@ public Builder setSelectorBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> metricCosts_; + private com.google.protobuf.MapField metricCosts_; + private com.google.protobuf.MapField internalGetMetricCosts() { if (metricCosts_ == null) { @@ -731,11 +769,12 @@ public Builder setSelectorBytes( } return metricCosts_; } + private com.google.protobuf.MapField internalGetMutableMetricCosts() { if (metricCosts_ == null) { - metricCosts_ = com.google.protobuf.MapField.newMapField( - MetricCostsDefaultEntryHolder.defaultEntry); + metricCosts_ = + com.google.protobuf.MapField.newMapField(MetricCostsDefaultEntryHolder.defaultEntry); } if (!metricCosts_.isMutable()) { metricCosts_ = metricCosts_.copy(); @@ -744,10 +783,13 @@ public Builder setSelectorBytes( onChanged(); return metricCosts_; } + public int getMetricCostsCount() { return internalGetMetricCosts().getMap().size(); } /** + * + * *
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
@@ -760,20 +802,21 @@ public int getMetricCostsCount() {
      * map<string, int64> metric_costs = 2;
      */
     @java.lang.Override
-    public boolean containsMetricCosts(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsMetricCosts(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetMetricCosts().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getMetricCostsMap()} instead.
-     */
+    /** Use {@link #getMetricCostsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetricCosts() {
       return getMetricCostsMap();
     }
     /**
+     *
+     *
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
@@ -790,6 +833,8 @@ public java.util.Map getMetricCostsMap() {
       return internalGetMetricCosts().getMap();
     }
     /**
+     *
+     *
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
@@ -802,15 +847,16 @@ public java.util.Map getMetricCostsMap() {
      * map<string, int64> metric_costs = 2;
      */
     @java.lang.Override
-    public long getMetricCostsOrDefault(
-        java.lang.String key,
-        long defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetricCosts().getMap();
+    public long getMetricCostsOrDefault(java.lang.String key, long defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetricCosts().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
@@ -823,23 +869,25 @@ public long getMetricCostsOrDefault(
      * map<string, int64> metric_costs = 2;
      */
     @java.lang.Override
-    public long getMetricCostsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetricCosts().getMap();
+    public long getMetricCostsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetricCosts().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearMetricCosts() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableMetricCosts().getMutableMap()
-          .clear();
+      internalGetMutableMetricCosts().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
@@ -851,23 +899,22 @@ public Builder clearMetricCosts() {
      *
      * map<string, int64> metric_costs = 2;
      */
-    public Builder removeMetricCosts(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableMetricCosts().getMutableMap()
-          .remove(key);
+    public Builder removeMetricCosts(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableMetricCosts().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableMetricCosts() {
+    public java.util.Map getMutableMetricCosts() {
       bitField0_ |= 0x00000002;
       return internalGetMutableMetricCosts().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
@@ -879,17 +926,18 @@ public Builder removeMetricCosts(
      *
      * map<string, int64> metric_costs = 2;
      */
-    public Builder putMetricCosts(
-        java.lang.String key,
-        long value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putMetricCosts(java.lang.String key, long value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
 
-      internalGetMutableMetricCosts().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetricCosts().getMutableMap().put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
@@ -901,16 +949,14 @@ public Builder putMetricCosts(
      *
      * map<string, int64> metric_costs = 2;
      */
-    public Builder putAllMetricCosts(
-        java.util.Map values) {
-      internalGetMutableMetricCosts().getMutableMap()
-          .putAll(values);
+    public Builder putAllMetricCosts(java.util.Map values) {
+      internalGetMutableMetricCosts().getMutableMap().putAll(values);
       bitField0_ |= 0x00000002;
       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);
     }
 
@@ -920,12 +966,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.MetricRule)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.MetricRule)
   private static final com.google.api.MetricRule DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.MetricRule();
   }
@@ -934,27 +980,27 @@ public static com.google.api.MetricRule getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public MetricRule 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 MetricRule 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;
@@ -969,6 +1015,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.MetricRule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java
index dc28ebdff3..5aaac1d9eb 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface MetricRuleOrBuilder extends
+public interface MetricRuleOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.MetricRule)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Selects the methods to which this rule applies.
    *
@@ -16,10 +34,13 @@ public interface MetricRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The selector. */ java.lang.String getSelector(); /** + * + * *
    * Selects the methods to which this rule applies.
    *
@@ -28,12 +49,14 @@ public interface MetricRuleOrBuilder extends
    * 
* * string selector = 1; + * * @return The bytes for selector. */ - com.google.protobuf.ByteString - getSelectorBytes(); + com.google.protobuf.ByteString getSelectorBytes(); /** + * + * *
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
@@ -47,6 +70,8 @@ public interface MetricRuleOrBuilder extends
    */
   int getMetricCostsCount();
   /**
+   *
+   *
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
@@ -58,15 +83,13 @@ public interface MetricRuleOrBuilder extends
    *
    * map<string, int64> metric_costs = 2;
    */
-  boolean containsMetricCosts(
-      java.lang.String key);
-  /**
-   * Use {@link #getMetricCostsMap()} instead.
-   */
+  boolean containsMetricCosts(java.lang.String key);
+  /** Use {@link #getMetricCostsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getMetricCosts();
+  java.util.Map getMetricCosts();
   /**
+   *
+   *
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
@@ -78,9 +101,10 @@ boolean containsMetricCosts(
    *
    * map<string, int64> metric_costs = 2;
    */
-  java.util.Map
-  getMetricCostsMap();
+  java.util.Map getMetricCostsMap();
   /**
+   *
+   *
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
@@ -92,10 +116,10 @@ boolean containsMetricCosts(
    *
    * map<string, int64> metric_costs = 2;
    */
-  long getMetricCostsOrDefault(
-      java.lang.String key,
-      long defaultValue);
+  long getMetricCostsOrDefault(java.lang.String key, long defaultValue);
   /**
+   *
+   *
    * 
    * Metrics to update when the selected methods are called, and the associated
    * cost applied to each metric.
@@ -107,6 +131,5 @@ long getMetricCostsOrDefault(
    *
    * map<string, int64> metric_costs = 2;
    */
-  long getMetricCostsOrThrow(
-      java.lang.String key);
+  long getMetricCostsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java
similarity index 67%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java
index 18c38f59dc..b957e5d136 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * An object representing a resource that can be used for monitoring, logging,
  * billing, or other purposes. Examples include virtual machine instances,
@@ -25,55 +42,58 @@
  *
  * Protobuf type {@code google.api.MonitoredResource}
  */
-public final class MonitoredResource extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MonitoredResource extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.MonitoredResource)
     MonitoredResourceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MonitoredResource.newBuilder() to construct.
   private MonitoredResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MonitoredResource() {
     type_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MonitoredResource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.api.MonitoredResourceProto
+        .internal_static_google_api_MonitoredResource_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResource_fieldAccessorTable
+    return com.google.api.MonitoredResourceProto
+        .internal_static_google_api_MonitoredResource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.api.MonitoredResource.class, com.google.api.MonitoredResource.Builder.class);
   }
 
   public static final int TYPE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object type_ = "";
   /**
+   *
+   *
    * 
    * Required. The monitored resource type. This field must match
    * the `type` field of a
@@ -85,6 +105,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string type = 1; + * * @return The type. */ @java.lang.Override @@ -93,14 +114,15 @@ public java.lang.String getType() { 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(); type_ = s; return s; } } /** + * + * *
    * Required. The monitored resource type. This field must match
    * the `type` field of a
@@ -112,16 +134,15 @@ public java.lang.String getType() {
    * 
* * string type = 1; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -130,32 +151,34 @@ public java.lang.String getType() { } public static final int LABELS_FIELD_NUMBER = 2; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResource_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.api.MonitoredResourceProto + .internal_static_google_api_MonitoredResource_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Required. Values for all of the labels listed in the associated monitored
    * resource descriptor. For example, Compute Engine VM instances use the
@@ -165,20 +188,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Required. Values for all of the labels listed in the associated monitored
    * resource descriptor. For example, Compute Engine VM instances use the
@@ -192,6 +216,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Required. Values for all of the labels listed in the associated monitored
    * resource descriptor. For example, Compute Engine VM instances use the
@@ -201,17 +227,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Required. Values for all of the labels listed in the associated monitored
    * resource descriptor. For example, Compute Engine VM instances use the
@@ -221,11 +249,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -233,6 +261,7 @@ public java.lang.String getLabelsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -244,17 +273,12 @@ 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(type_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        2);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2);
     getUnknownFields().writeTo(output);
   }
 
@@ -267,15 +291,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, labels__);
+    for (java.util.Map.Entry entry :
+        internalGetLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry labels__ =
+          LabelsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -285,17 +309,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.MonitoredResource)) {
       return super.equals(obj);
     }
     com.google.api.MonitoredResource other = (com.google.api.MonitoredResource) obj;
 
-    if (!getType()
-        .equals(other.getType())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
+    if (!getType().equals(other.getType())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -318,99 +340,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.MonitoredResource parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.MonitoredResource parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.MonitoredResource 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.MonitoredResource parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.MonitoredResource parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.MonitoredResource 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.MonitoredResource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.MonitoredResource 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.MonitoredResource 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.MonitoredResource 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.MonitoredResource 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.MonitoredResource 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.MonitoredResource parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.api.MonitoredResource 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.MonitoredResource 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;
   }
   /**
+   *
+   *
    * 
    * An object representing a resource that can be used for monitoring, logging,
    * billing, or other purposes. Examples include virtual machine instances,
@@ -432,55 +458,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.MonitoredResource}
    */
-  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.MonitoredResource)
       com.google.api.MonitoredResourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.api.MonitoredResourceProto
+          .internal_static_google_api_MonitoredResource_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResource_fieldAccessorTable
+      return com.google.api.MonitoredResourceProto
+          .internal_static_google_api_MonitoredResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.MonitoredResource.class, com.google.api.MonitoredResource.Builder.class);
+              com.google.api.MonitoredResource.class,
+              com.google.api.MonitoredResource.Builder.class);
     }
 
     // Construct using com.google.api.MonitoredResource.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -491,9 +514,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.api.MonitoredResourceProto
+          .internal_static_google_api_MonitoredResource_descriptor;
     }
 
     @java.lang.Override
@@ -513,7 +536,9 @@ public com.google.api.MonitoredResource build() {
     @java.lang.Override
     public com.google.api.MonitoredResource buildPartial() {
       com.google.api.MonitoredResource result = new com.google.api.MonitoredResource(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -533,38 +558,39 @@ private void buildPartial0(com.google.api.MonitoredResource 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.MonitoredResource) {
-        return mergeFrom((com.google.api.MonitoredResource)other);
+        return mergeFrom((com.google.api.MonitoredResource) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -578,8 +604,7 @@ public Builder mergeFrom(com.google.api.MonitoredResource other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -607,26 +632,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              type_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                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) {
@@ -636,10 +666,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object type_ = "";
     /**
+     *
+     *
      * 
      * Required. The monitored resource type. This field must match
      * the `type` field of a
@@ -651,13 +684,13 @@ public Builder mergeFrom(
      * 
* * string type = 1; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; @@ -666,6 +699,8 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. The monitored resource type. This field must match
      * the `type` field of a
@@ -677,15 +712,14 @@ public java.lang.String getType() {
      * 
* * string type = 1; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -693,6 +727,8 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. The monitored resource type. This field must match
      * the `type` field of a
@@ -704,18 +740,22 @@ public java.lang.String getType() {
      * 
* * string type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The monitored resource type. This field must match
      * the `type` field of a
@@ -727,6 +767,7 @@ public Builder setType(
      * 
* * string type = 1; + * * @return This builder for chaining. */ public Builder clearType() { @@ -736,6 +777,8 @@ public Builder clearType() { return this; } /** + * + * *
      * Required. The monitored resource type. This field must match
      * the `type` field of a
@@ -747,12 +790,14 @@ public Builder clearType() {
      * 
* * string type = 1; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000001; @@ -760,21 +805,19 @@ public Builder setTypeBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -783,10 +826,13 @@ public Builder setTypeBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Required. Values for all of the labels listed in the associated monitored
      * resource descriptor. For example, Compute Engine VM instances use the
@@ -796,20 +842,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Required. Values for all of the labels listed in the associated monitored
      * resource descriptor. For example, Compute Engine VM instances use the
@@ -823,6 +870,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Required. Values for all of the labels listed in the associated monitored
      * resource descriptor. For example, Compute Engine VM instances use the
@@ -832,17 +881,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Required. Values for all of the labels listed in the associated monitored
      * resource descriptor. For example, Compute Engine VM instances use the
@@ -852,23 +903,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Values for all of the labels listed in the associated monitored
      * resource descriptor. For example, Compute Engine VM instances use the
@@ -877,23 +930,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 2;
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000002;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Required. Values for all of the labels listed in the associated monitored
      * resource descriptor. For example, Compute Engine VM instances use the
@@ -902,17 +954,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 2;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Values for all of the labels listed in the associated monitored
      * resource descriptor. For example, Compute Engine VM instances use the
@@ -921,16 +976,14 @@ public Builder putLabels(
      *
      * map<string, string> labels = 2;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000002;
       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);
     }
 
@@ -940,12 +993,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.MonitoredResource)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.MonitoredResource)
   private static final com.google.api.MonitoredResource DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.MonitoredResource();
   }
@@ -954,27 +1007,27 @@ public static com.google.api.MonitoredResource getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public MonitoredResource 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 MonitoredResource 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;
@@ -989,6 +1042,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.MonitoredResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java
similarity index 78%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java
index c79de60bbd..15c4732d6d 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * An object that describes the schema of a
  * [MonitoredResource][google.api.MonitoredResource] object using a type name
@@ -19,15 +36,16 @@
  *
  * Protobuf type {@code google.api.MonitoredResourceDescriptor}
  */
-public final class MonitoredResourceDescriptor extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MonitoredResourceDescriptor extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.MonitoredResourceDescriptor)
     MonitoredResourceDescriptorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MonitoredResourceDescriptor.newBuilder() to construct.
   private MonitoredResourceDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MonitoredResourceDescriptor() {
     name_ = "";
     type_ = "";
@@ -39,28 +57,32 @@ private MonitoredResourceDescriptor() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MonitoredResourceDescriptor();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceDescriptor_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.api.MonitoredResourceProto
+        .internal_static_google_api_MonitoredResourceDescriptor_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable
+    return com.google.api.MonitoredResourceProto
+        .internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.api.MonitoredResourceDescriptor.class, com.google.api.MonitoredResourceDescriptor.Builder.class);
+            com.google.api.MonitoredResourceDescriptor.class,
+            com.google.api.MonitoredResourceDescriptor.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 5;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Optional. The resource name of the monitored resource descriptor:
    * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
@@ -71,6 +93,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -79,14 +102,15 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
    * Optional. The resource name of the monitored resource descriptor:
    * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
@@ -97,16 +121,15 @@ public java.lang.String getName() {
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -115,9 +138,12 @@ public java.lang.String getName() { } public static final int TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
    * Required. The monitored resource type. For example, the type
    * `"cloudsql_database"` represents databases in Google Cloud SQL.
@@ -128,6 +154,7 @@ public java.lang.String getName() {
    * 
* * string type = 1; + * * @return The type. */ @java.lang.Override @@ -136,14 +163,15 @@ public java.lang.String getType() { 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(); type_ = s; return s; } } /** + * + * *
    * Required. The monitored resource type. For example, the type
    * `"cloudsql_database"` represents databases in Google Cloud SQL.
@@ -154,16 +182,15 @@ public java.lang.String getType() {
    * 
* * string type = 1; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -172,9 +199,12 @@ public java.lang.String getType() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Optional. A concise name for the monitored resource type that might be
    * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -183,6 +213,7 @@ public java.lang.String getType() {
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -191,14 +222,15 @@ public java.lang.String getDisplayName() { 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(); displayName_ = s; return s; } } /** + * + * *
    * Optional. A concise name for the monitored resource type that might be
    * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -207,16 +239,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -225,15 +256,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A detailed description of the monitored resource type that might
    * be used in documentation.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -242,30 +277,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; } } /** + * + * *
    * Optional. A detailed description of the monitored resource type that might
    * be used in documentation.
    * 
* * string description = 3; + * * @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 { @@ -274,9 +309,12 @@ public java.lang.String getDescription() { } public static final int LABELS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List labels_; /** + * + * *
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -290,6 +328,8 @@ public java.util.List getLabelsList() {
     return labels_;
   }
   /**
+   *
+   *
    * 
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -299,11 +339,13 @@ public java.util.List getLabelsList() {
    * repeated .google.api.LabelDescriptor labels = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLabelsOrBuilderList() {
     return labels_;
   }
   /**
+   *
+   *
    * 
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -317,6 +359,8 @@ public int getLabelsCount() {
     return labels_.size();
   }
   /**
+   *
+   *
    * 
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -330,6 +374,8 @@ public com.google.api.LabelDescriptor getLabels(int index) {
     return labels_.get(index);
   }
   /**
+   *
+   *
    * 
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -339,38 +385,46 @@ public com.google.api.LabelDescriptor getLabels(int index) {
    * repeated .google.api.LabelDescriptor labels = 4;
    */
   @java.lang.Override
-  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-      int index) {
+  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
     return labels_.get(index);
   }
 
   public static final int LAUNCH_STAGE_FIELD_NUMBER = 7;
   private int launchStage_ = 0;
   /**
+   *
+   *
    * 
    * Optional. The launch stage of the monitored resource definition.
    * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override public int getLaunchStageValue() { + @java.lang.Override + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
    * Optional. The launch stage of the monitored resource definition.
    * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The launchStage. */ - @java.lang.Override public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override + public com.google.api.LaunchStage getLaunchStage() { com.google.api.LaunchStage result = com.google.api.LaunchStage.forNumber(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,8 +436,7 @@ 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(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -421,15 +474,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < labels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, launchStage_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, launchStage_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -439,23 +490,19 @@ 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.MonitoredResourceDescriptor)) { return super.equals(obj); } - com.google.api.MonitoredResourceDescriptor other = (com.google.api.MonitoredResourceDescriptor) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getLabelsList() - .equals(other.getLabelsList())) return false; + com.google.api.MonitoredResourceDescriptor other = + (com.google.api.MonitoredResourceDescriptor) obj; + + if (!getName().equals(other.getName())) return false; + if (!getType().equals(other.getType())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getLabelsList().equals(other.getLabelsList())) return false; if (launchStage_ != other.launchStage_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -487,99 +534,104 @@ public int hashCode() { return hash; } - public static com.google.api.MonitoredResourceDescriptor parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.MonitoredResourceDescriptor parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MonitoredResourceDescriptor 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.MonitoredResourceDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MonitoredResourceDescriptor 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.MonitoredResourceDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MonitoredResourceDescriptor 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.MonitoredResourceDescriptor 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.MonitoredResourceDescriptor 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.MonitoredResourceDescriptor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.api.MonitoredResourceDescriptor parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MonitoredResourceDescriptor 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.MonitoredResourceDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.MonitoredResourceDescriptor 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.MonitoredResourceDescriptor 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; } /** + * + * *
    * An object that describes the schema of a
    * [MonitoredResource][google.api.MonitoredResource] object using a type name
@@ -595,33 +647,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.MonitoredResourceDescriptor}
    */
-  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.MonitoredResourceDescriptor)
       com.google.api.MonitoredResourceDescriptorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceDescriptor_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.api.MonitoredResourceProto
+          .internal_static_google_api_MonitoredResourceDescriptor_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable
+      return com.google.api.MonitoredResourceProto
+          .internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.MonitoredResourceDescriptor.class, com.google.api.MonitoredResourceDescriptor.Builder.class);
+              com.google.api.MonitoredResourceDescriptor.class,
+              com.google.api.MonitoredResourceDescriptor.Builder.class);
     }
 
     // Construct using com.google.api.MonitoredResourceDescriptor.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -642,9 +693,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceDescriptor_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.api.MonitoredResourceProto
+          .internal_static_google_api_MonitoredResourceDescriptor_descriptor;
     }
 
     @java.lang.Override
@@ -663,9 +714,12 @@ public com.google.api.MonitoredResourceDescriptor build() {
 
     @java.lang.Override
     public com.google.api.MonitoredResourceDescriptor buildPartial() {
-      com.google.api.MonitoredResourceDescriptor result = new com.google.api.MonitoredResourceDescriptor(this);
+      com.google.api.MonitoredResourceDescriptor result =
+          new com.google.api.MonitoredResourceDescriptor(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -705,38 +759,39 @@ private void buildPartial0(com.google.api.MonitoredResourceDescriptor 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.MonitoredResourceDescriptor) {
-        return mergeFrom((com.google.api.MonitoredResourceDescriptor)other);
+        return mergeFrom((com.google.api.MonitoredResourceDescriptor) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -783,9 +838,10 @@ public Builder mergeFrom(com.google.api.MonitoredResourceDescriptor other) {
             labelsBuilder_ = null;
             labels_ = other.labels_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            labelsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLabelsFieldBuilder() : null;
+            labelsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLabelsFieldBuilder()
+                    : null;
           } else {
             labelsBuilder_.addAllMessages(other.labels_);
           }
@@ -820,50 +876,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              type_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 34: {
-              com.google.api.LabelDescriptor m =
-                  input.readMessage(
-                      com.google.api.LabelDescriptor.parser(),
-                      extensionRegistry);
-              if (labelsBuilder_ == null) {
-                ensureLabelsIsMutable();
-                labels_.add(m);
-              } else {
-                labelsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            case 42: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 42
-            case 56: {
-              launchStage_ = input.readEnum();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.api.LabelDescriptor m =
+                    input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry);
+                if (labelsBuilder_ == null) {
+                  ensureLabelsIsMutable();
+                  labels_.add(m);
+                } else {
+                  labelsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            case 42:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 42
+            case 56:
+              {
+                launchStage_ = input.readEnum();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 56
+            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) {
@@ -873,10 +934,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Optional. The resource name of the monitored resource descriptor:
      * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
@@ -887,13 +951,13 @@ public Builder mergeFrom(
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -902,6 +966,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. The resource name of the monitored resource descriptor:
      * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
@@ -912,15 +978,14 @@ public java.lang.String getName() {
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -928,6 +993,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optional. The resource name of the monitored resource descriptor:
      * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
@@ -938,18 +1005,22 @@ public java.lang.String getName() {
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. The resource name of the monitored resource descriptor:
      * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
@@ -960,6 +1031,7 @@ public Builder setName(
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { @@ -969,6 +1041,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Optional. The resource name of the monitored resource descriptor:
      * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
@@ -979,12 +1053,14 @@ public Builder clearName() {
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -994,6 +1070,8 @@ public Builder setNameBytes( private java.lang.Object type_ = ""; /** + * + * *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
@@ -1004,13 +1082,13 @@ public Builder setNameBytes(
      * 
* * string type = 1; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; @@ -1019,6 +1097,8 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
@@ -1029,15 +1109,14 @@ public java.lang.String getType() {
      * 
* * string type = 1; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -1045,6 +1124,8 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
@@ -1055,18 +1136,22 @@ public java.lang.String getType() {
      * 
* * string type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
@@ -1077,6 +1162,7 @@ public Builder setType(
      * 
* * string type = 1; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1086,6 +1172,8 @@ public Builder clearType() { return this; } /** + * + * *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
@@ -1096,12 +1184,14 @@ public Builder clearType() {
      * 
* * string type = 1; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -1111,6 +1201,8 @@ public Builder setTypeBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Optional. A concise name for the monitored resource type that might be
      * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -1119,13 +1211,13 @@ public Builder setTypeBytes(
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; @@ -1134,6 +1226,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. A concise name for the monitored resource type that might be
      * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -1142,15 +1236,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -1158,6 +1251,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Optional. A concise name for the monitored resource type that might be
      * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -1166,18 +1261,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A concise name for the monitored resource type that might be
      * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -1186,6 +1285,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1195,6 +1295,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Optional. A concise name for the monitored resource type that might be
      * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -1203,12 +1305,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1218,19 +1322,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A detailed description of the monitored resource type that might
      * be used in documentation.
      * 
* * string description = 3; + * * @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; @@ -1239,21 +1345,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A detailed description of the monitored resource type that might
      * be used in documentation.
      * 
* * string description = 3; + * * @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 { @@ -1261,30 +1368,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A detailed description of the monitored resource type that might
      * be used in documentation.
      * 
* * string description = 3; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A detailed description of the monitored resource type that might
      * be used in documentation.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1294,18 +1408,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A detailed description of the monitored resource type that might
      * be used in documentation.
      * 
* * string description = 3; + * * @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_ |= 0x00000008; @@ -1314,18 +1432,24 @@ public Builder setDescriptionBytes( } private java.util.List labels_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { labels_ = new java.util.ArrayList(labels_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> labelsBuilder_; + com.google.api.LabelDescriptor, + com.google.api.LabelDescriptor.Builder, + com.google.api.LabelDescriptorOrBuilder> + labelsBuilder_; /** + * + * *
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1342,6 +1466,8 @@ public java.util.List getLabelsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1358,6 +1484,8 @@ public int getLabelsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1374,6 +1502,8 @@ public com.google.api.LabelDescriptor getLabels(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1382,8 +1512,7 @@ public com.google.api.LabelDescriptor getLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder setLabels(
-        int index, com.google.api.LabelDescriptor value) {
+    public Builder setLabels(int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1397,6 +1526,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1405,8 +1536,7 @@ public Builder setLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder setLabels(
-        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder setLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.set(index, builderForValue.build());
@@ -1417,6 +1547,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1439,6 +1571,8 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1447,8 +1581,7 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder addLabels(
-        int index, com.google.api.LabelDescriptor value) {
+    public Builder addLabels(int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1462,6 +1595,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1470,8 +1605,7 @@ public Builder addLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder addLabels(
-        com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(builderForValue.build());
@@ -1482,6 +1616,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1490,8 +1626,7 @@ public Builder addLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder addLabels(
-        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(index, builderForValue.build());
@@ -1502,6 +1637,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1514,8 +1651,7 @@ public Builder addAllLabels(
         java.lang.Iterable values) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, labels_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_);
         onChanged();
       } else {
         labelsBuilder_.addAllMessages(values);
@@ -1523,6 +1659,8 @@ public Builder addAllLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1542,6 +1680,8 @@ public Builder clearLabels() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1561,6 +1701,8 @@ public Builder removeLabels(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1569,11 +1711,12 @@ public Builder removeLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(
-        int index) {
+    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(int index) {
       return getLabelsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1582,14 +1725,16 @@ public com.google.api.LabelDescriptor.Builder getLabelsBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-        int index) {
+    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
       if (labelsBuilder_ == null) {
-        return labels_.get(index);  } else {
+        return labels_.get(index);
+      } else {
         return labelsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1598,8 +1743,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public java.util.List 
-         getLabelsOrBuilderList() {
+    public java.util.List
+        getLabelsOrBuilderList() {
       if (labelsBuilder_ != null) {
         return labelsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1607,6 +1752,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1616,10 +1763,12 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
      * repeated .google.api.LabelDescriptor labels = 4;
      */
     public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
-      return getLabelsFieldBuilder().addBuilder(
-          com.google.api.LabelDescriptor.getDefaultInstance());
+      return getLabelsFieldBuilder()
+          .addBuilder(com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1628,12 +1777,13 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
-        int index) {
-      return getLabelsFieldBuilder().addBuilder(
-          index, com.google.api.LabelDescriptor.getDefaultInstance());
+    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(int index) {
+      return getLabelsFieldBuilder()
+          .addBuilder(index, com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -1642,20 +1792,22 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public java.util.List 
-         getLabelsBuilderList() {
+    public java.util.List getLabelsBuilderList() {
       return getLabelsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> 
+            com.google.api.LabelDescriptor,
+            com.google.api.LabelDescriptor.Builder,
+            com.google.api.LabelDescriptorOrBuilder>
         getLabelsFieldBuilder() {
       if (labelsBuilder_ == null) {
-        labelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>(
-                labels_,
-                ((bitField0_ & 0x00000010) != 0),
-                getParentForChildren(),
-                isClean());
+        labelsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.LabelDescriptor,
+                com.google.api.LabelDescriptor.Builder,
+                com.google.api.LabelDescriptorOrBuilder>(
+                labels_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
         labels_ = null;
       }
       return labelsBuilder_;
@@ -1663,22 +1815,29 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
 
     private int launchStage_ = 0;
     /**
+     *
+     *
      * 
      * Optional. The launch stage of the monitored resource definition.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override public int getLaunchStageValue() { + @java.lang.Override + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
      * Optional. The launch stage of the monitored resource definition.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ @@ -1689,11 +1848,14 @@ public Builder setLaunchStageValue(int value) { return this; } /** + * + * *
      * Optional. The launch stage of the monitored resource definition.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The launchStage. */ @java.lang.Override @@ -1702,11 +1864,14 @@ public com.google.api.LaunchStage getLaunchStage() { return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The launch stage of the monitored resource definition.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @param value The launchStage to set. * @return This builder for chaining. */ @@ -1720,11 +1885,14 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { return this; } /** + * + * *
      * Optional. The launch stage of the monitored resource definition.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return This builder for chaining. */ public Builder clearLaunchStage() { @@ -1733,9 +1901,9 @@ public Builder clearLaunchStage() { 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); } @@ -1745,12 +1913,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.MonitoredResourceDescriptor) } // @@protoc_insertion_point(class_scope:google.api.MonitoredResourceDescriptor) private static final com.google.api.MonitoredResourceDescriptor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.MonitoredResourceDescriptor(); } @@ -1759,27 +1927,27 @@ public static com.google.api.MonitoredResourceDescriptor getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonitoredResourceDescriptor 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 MonitoredResourceDescriptor 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; @@ -1794,6 +1962,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.api.MonitoredResourceDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java similarity index 82% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java index a041b3ade9..0bfc3aa309 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface MonitoredResourceDescriptorOrBuilder extends +public interface MonitoredResourceDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.MonitoredResourceDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The resource name of the monitored resource descriptor:
    * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
@@ -18,10 +36,13 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optional. The resource name of the monitored resource descriptor:
    * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
@@ -32,12 +53,14 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The monitored resource type. For example, the type
    * `"cloudsql_database"` represents databases in Google Cloud SQL.
@@ -48,10 +71,13 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    * 
* * string type = 1; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * Required. The monitored resource type. For example, the type
    * `"cloudsql_database"` represents databases in Google Cloud SQL.
@@ -62,12 +88,14 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    * 
* * string type = 1; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * Optional. A concise name for the monitored resource type that might be
    * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -76,10 +104,13 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Optional. A concise name for the monitored resource type that might be
    * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -88,34 +119,41 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. A detailed description of the monitored resource type that might
    * be used in documentation.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A detailed description of the monitored resource type that might
    * be used in documentation.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -124,9 +162,10 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 4;
    */
-  java.util.List 
-      getLabelsList();
+  java.util.List getLabelsList();
   /**
+   *
+   *
    * 
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -137,6 +176,8 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    */
   com.google.api.LabelDescriptor getLabels(int index);
   /**
+   *
+   *
    * 
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -147,6 +188,8 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -155,9 +198,10 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 4;
    */
-  java.util.List 
-      getLabelsOrBuilderList();
+  java.util.List getLabelsOrBuilderList();
   /**
+   *
+   *
    * 
    * Required. A set of labels used to describe instances of this monitored
    * resource type. For example, an individual Google Cloud SQL database is
@@ -166,24 +210,29 @@ public interface MonitoredResourceDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 4;
    */
-  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-      int index);
+  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Optional. The launch stage of the monitored resource definition.
    * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The enum numeric value on the wire for launchStage. */ int getLaunchStageValue(); /** + * + * *
    * Optional. The launch stage of the monitored resource definition.
    * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The launchStage. */ com.google.api.LaunchStage getLaunchStage(); diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java similarity index 67% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java index 574e768d71..5e673cc106 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource]
  * object. [MonitoredResource][google.api.MonitoredResource] objects contain the
@@ -15,53 +32,55 @@
  *
  * Protobuf type {@code google.api.MonitoredResourceMetadata}
  */
-public final class MonitoredResourceMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MonitoredResourceMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.MonitoredResourceMetadata)
     MonitoredResourceMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MonitoredResourceMetadata.newBuilder() to construct.
   private MonitoredResourceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private MonitoredResourceMetadata() {
-  }
+
+  private MonitoredResourceMetadata() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MonitoredResourceMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.api.MonitoredResourceProto
+        .internal_static_google_api_MonitoredResourceMetadata_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetUserLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable
+    return com.google.api.MonitoredResourceProto
+        .internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.api.MonitoredResourceMetadata.class, com.google.api.MonitoredResourceMetadata.Builder.class);
+            com.google.api.MonitoredResourceMetadata.class,
+            com.google.api.MonitoredResourceMetadata.Builder.class);
   }
 
   public static final int SYSTEM_LABELS_FIELD_NUMBER = 1;
   private com.google.protobuf.Struct systemLabels_;
   /**
+   *
+   *
    * 
    * Output only. Values for predefined system metadata labels.
    * System labels are a kind of metadata extracted by Google, including
@@ -76,6 +95,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.protobuf.Struct system_labels = 1; + * * @return Whether the systemLabels field is set. */ @java.lang.Override @@ -83,6 +103,8 @@ public boolean hasSystemLabels() { return systemLabels_ != null; } /** + * + * *
    * Output only. Values for predefined system metadata labels.
    * System labels are a kind of metadata extracted by Google, including
@@ -97,6 +119,7 @@ public boolean hasSystemLabels() {
    * 
* * .google.protobuf.Struct system_labels = 1; + * * @return The systemLabels. */ @java.lang.Override @@ -104,6 +127,8 @@ public com.google.protobuf.Struct getSystemLabels() { return systemLabels_ == null ? com.google.protobuf.Struct.getDefaultInstance() : systemLabels_; } /** + * + * *
    * Output only. Values for predefined system metadata labels.
    * System labels are a kind of metadata extracted by Google, including
@@ -125,32 +150,34 @@ public com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder() {
   }
 
   public static final int USER_LABELS_FIELD_NUMBER = 2;
+
   private static final class UserLabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.api.MonitoredResourceProto
+                .internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> userLabels_;
-  private com.google.protobuf.MapField
-  internalGetUserLabels() {
+  private com.google.protobuf.MapField userLabels_;
+
+  private com.google.protobuf.MapField internalGetUserLabels() {
     if (userLabels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          UserLabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry);
     }
     return userLabels_;
   }
+
   public int getUserLabelsCount() {
     return internalGetUserLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Output only. A map of user-defined metadata labels.
    * 
@@ -158,20 +185,21 @@ public int getUserLabelsCount() { * map<string, string> user_labels = 2; */ @java.lang.Override - public boolean containsUserLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsUserLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetUserLabels().getMap().containsKey(key); } - /** - * Use {@link #getUserLabelsMap()} instead. - */ + /** Use {@link #getUserLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUserLabels() { return getUserLabelsMap(); } /** + * + * *
    * Output only. A map of user-defined metadata labels.
    * 
@@ -183,6 +211,8 @@ public java.util.Map getUserLabelsMap() { return internalGetUserLabels().getMap(); } /** + * + * *
    * Output only. A map of user-defined metadata labels.
    * 
@@ -190,17 +220,19 @@ public java.util.Map getUserLabelsMap() { * map<string, string> user_labels = 2; */ @java.lang.Override - public /* nullable */ -java.lang.String getUserLabelsOrDefault( + public /* nullable */ java.lang.String getUserLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetUserLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetUserLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Output only. A map of user-defined metadata labels.
    * 
@@ -208,11 +240,11 @@ java.lang.String getUserLabelsOrDefault( * map<string, string> user_labels = 2; */ @java.lang.Override - public java.lang.String getUserLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetUserLabels().getMap(); + public java.lang.String getUserLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetUserLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -220,6 +252,7 @@ public java.lang.String getUserLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,17 +264,12 @@ 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 (systemLabels_ != null) { output.writeMessage(1, getSystemLabels()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetUserLabels(), - UserLabelsDefaultEntryHolder.defaultEntry, - 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @@ -252,18 +280,17 @@ public int getSerializedSize() { size = 0; if (systemLabels_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSystemLabels()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSystemLabels()); } - for (java.util.Map.Entry entry - : internalGetUserLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - userLabels__ = UserLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, userLabels__); + for (java.util.Map.Entry entry : + internalGetUserLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry userLabels__ = + UserLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, userLabels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -273,7 +300,7 @@ 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.MonitoredResourceMetadata)) { return super.equals(obj); @@ -282,11 +309,9 @@ public boolean equals(final java.lang.Object obj) { if (hasSystemLabels() != other.hasSystemLabels()) return false; if (hasSystemLabels()) { - if (!getSystemLabels() - .equals(other.getSystemLabels())) return false; + if (!getSystemLabels().equals(other.getSystemLabels())) return false; } - if (!internalGetUserLabels().equals( - other.internalGetUserLabels())) return false; + if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -311,99 +336,104 @@ public int hashCode() { return hash; } - public static com.google.api.MonitoredResourceMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.MonitoredResourceMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MonitoredResourceMetadata 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.MonitoredResourceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MonitoredResourceMetadata 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.MonitoredResourceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.MonitoredResourceMetadata 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.MonitoredResourceMetadata 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.MonitoredResourceMetadata 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.MonitoredResourceMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.api.MonitoredResourceMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MonitoredResourceMetadata 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.MonitoredResourceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.MonitoredResourceMetadata 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.MonitoredResourceMetadata 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; } /** + * + * *
    * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource]
    * object. [MonitoredResource][google.api.MonitoredResource] objects contain the
@@ -415,55 +445,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.MonitoredResourceMetadata}
    */
-  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.MonitoredResourceMetadata)
       com.google.api.MonitoredResourceMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.api.MonitoredResourceProto
+          .internal_static_google_api_MonitoredResourceMetadata_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetUserLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableUserLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable
+      return com.google.api.MonitoredResourceProto
+          .internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.MonitoredResourceMetadata.class, com.google.api.MonitoredResourceMetadata.Builder.class);
+              com.google.api.MonitoredResourceMetadata.class,
+              com.google.api.MonitoredResourceMetadata.Builder.class);
     }
 
     // Construct using com.google.api.MonitoredResourceMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,9 +505,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.api.MonitoredResourceProto.internal_static_google_api_MonitoredResourceMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.api.MonitoredResourceProto
+          .internal_static_google_api_MonitoredResourceMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -499,8 +526,11 @@ public com.google.api.MonitoredResourceMetadata build() {
 
     @java.lang.Override
     public com.google.api.MonitoredResourceMetadata buildPartial() {
-      com.google.api.MonitoredResourceMetadata result = new com.google.api.MonitoredResourceMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.api.MonitoredResourceMetadata result =
+          new com.google.api.MonitoredResourceMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -508,9 +538,8 @@ public com.google.api.MonitoredResourceMetadata buildPartial() {
     private void buildPartial0(com.google.api.MonitoredResourceMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.systemLabels_ = systemLabelsBuilder_ == null
-            ? systemLabels_
-            : systemLabelsBuilder_.build();
+        result.systemLabels_ =
+            systemLabelsBuilder_ == null ? systemLabels_ : systemLabelsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.userLabels_ = internalGetUserLabels();
@@ -522,38 +551,39 @@ private void buildPartial0(com.google.api.MonitoredResourceMetadata 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.MonitoredResourceMetadata) {
-        return mergeFrom((com.google.api.MonitoredResourceMetadata)other);
+        return mergeFrom((com.google.api.MonitoredResourceMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -565,8 +595,7 @@ public Builder mergeFrom(com.google.api.MonitoredResourceMetadata other) {
       if (other.hasSystemLabels()) {
         mergeSystemLabels(other.getSystemLabels());
       }
-      internalGetMutableUserLabels().mergeFrom(
-          other.internalGetUserLabels());
+      internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -594,28 +623,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getSystemLabelsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              userLabels__ = input.readMessage(
-                  UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableUserLabels().getMutableMap().put(
-                  userLabels__.getKey(), userLabels__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getSystemLabelsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry userLabels__ =
+                    input.readMessage(
+                        UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableUserLabels()
+                    .getMutableMap()
+                    .put(userLabels__.getKey(), userLabels__.getValue());
+                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) {
@@ -625,12 +657,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.Struct systemLabels_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> systemLabelsBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        systemLabelsBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Values for predefined system metadata labels.
      * System labels are a kind of metadata extracted by Google, including
@@ -645,12 +683,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Struct system_labels = 1; + * * @return Whether the systemLabels field is set. */ public boolean hasSystemLabels() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. Values for predefined system metadata labels.
      * System labels are a kind of metadata extracted by Google, including
@@ -665,16 +706,21 @@ public boolean hasSystemLabels() {
      * 
* * .google.protobuf.Struct system_labels = 1; + * * @return The systemLabels. */ public com.google.protobuf.Struct getSystemLabels() { if (systemLabelsBuilder_ == null) { - return systemLabels_ == null ? com.google.protobuf.Struct.getDefaultInstance() : systemLabels_; + return systemLabels_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : systemLabels_; } else { return systemLabelsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Values for predefined system metadata labels.
      * System labels are a kind of metadata extracted by Google, including
@@ -704,6 +750,8 @@ public Builder setSystemLabels(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Values for predefined system metadata labels.
      * System labels are a kind of metadata extracted by Google, including
@@ -719,8 +767,7 @@ public Builder setSystemLabels(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct system_labels = 1;
      */
-    public Builder setSystemLabels(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setSystemLabels(com.google.protobuf.Struct.Builder builderForValue) {
       if (systemLabelsBuilder_ == null) {
         systemLabels_ = builderForValue.build();
       } else {
@@ -731,6 +778,8 @@ public Builder setSystemLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Values for predefined system metadata labels.
      * System labels are a kind of metadata extracted by Google, including
@@ -748,9 +797,9 @@ public Builder setSystemLabels(
      */
     public Builder mergeSystemLabels(com.google.protobuf.Struct value) {
       if (systemLabelsBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          systemLabels_ != null &&
-          systemLabels_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && systemLabels_ != null
+            && systemLabels_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getSystemLabelsBuilder().mergeFrom(value);
         } else {
           systemLabels_ = value;
@@ -763,6 +812,8 @@ public Builder mergeSystemLabels(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Values for predefined system metadata labels.
      * System labels are a kind of metadata extracted by Google, including
@@ -789,6 +840,8 @@ public Builder clearSystemLabels() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Values for predefined system metadata labels.
      * System labels are a kind of metadata extracted by Google, including
@@ -810,6 +863,8 @@ public com.google.protobuf.Struct.Builder getSystemLabelsBuilder() {
       return getSystemLabelsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Values for predefined system metadata labels.
      * System labels are a kind of metadata extracted by Google, including
@@ -829,11 +884,14 @@ public com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder() {
       if (systemLabelsBuilder_ != null) {
         return systemLabelsBuilder_.getMessageOrBuilder();
       } else {
-        return systemLabels_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : systemLabels_;
+        return systemLabels_ == null
+            ? com.google.protobuf.Struct.getDefaultInstance()
+            : systemLabels_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Values for predefined system metadata labels.
      * System labels are a kind of metadata extracted by Google, including
@@ -850,21 +908,24 @@ public com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder() {
      * .google.protobuf.Struct system_labels = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getSystemLabelsFieldBuilder() {
       if (systemLabelsBuilder_ == null) {
-        systemLabelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getSystemLabels(),
-                getParentForChildren(),
-                isClean());
+        systemLabelsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getSystemLabels(), getParentForChildren(), isClean());
         systemLabels_ = null;
       }
       return systemLabelsBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> userLabels_;
+    private com.google.protobuf.MapField userLabels_;
+
     private com.google.protobuf.MapField
         internalGetUserLabels() {
       if (userLabels_ == null) {
@@ -873,11 +934,12 @@ public com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder() {
       }
       return userLabels_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableUserLabels() {
       if (userLabels_ == null) {
-        userLabels_ = com.google.protobuf.MapField.newMapField(
-            UserLabelsDefaultEntryHolder.defaultEntry);
+        userLabels_ =
+            com.google.protobuf.MapField.newMapField(UserLabelsDefaultEntryHolder.defaultEntry);
       }
       if (!userLabels_.isMutable()) {
         userLabels_ = userLabels_.copy();
@@ -886,10 +948,13 @@ public com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder() {
       onChanged();
       return userLabels_;
     }
+
     public int getUserLabelsCount() {
       return internalGetUserLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Output only. A map of user-defined metadata labels.
      * 
@@ -897,20 +962,21 @@ public int getUserLabelsCount() { * map<string, string> user_labels = 2; */ @java.lang.Override - public boolean containsUserLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsUserLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetUserLabels().getMap().containsKey(key); } - /** - * Use {@link #getUserLabelsMap()} instead. - */ + /** Use {@link #getUserLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUserLabels() { return getUserLabelsMap(); } /** + * + * *
      * Output only. A map of user-defined metadata labels.
      * 
@@ -922,6 +988,8 @@ public java.util.Map getUserLabelsMap() { return internalGetUserLabels().getMap(); } /** + * + * *
      * Output only. A map of user-defined metadata labels.
      * 
@@ -929,17 +997,19 @@ public java.util.Map getUserLabelsMap() { * map<string, string> user_labels = 2; */ @java.lang.Override - public /* nullable */ -java.lang.String getUserLabelsOrDefault( + public /* nullable */ java.lang.String getUserLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetUserLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetUserLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Output only. A map of user-defined metadata labels.
      * 
@@ -947,79 +1017,81 @@ java.lang.String getUserLabelsOrDefault( * map<string, string> user_labels = 2; */ @java.lang.Override - public java.lang.String getUserLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetUserLabels().getMap(); + public java.lang.String getUserLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetUserLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearUserLabels() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableUserLabels().getMutableMap() - .clear(); + internalGetMutableUserLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. A map of user-defined metadata labels.
      * 
* * map<string, string> user_labels = 2; */ - public Builder removeUserLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableUserLabels().getMutableMap() - .remove(key); + public Builder removeUserLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableUserLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableUserLabels() { + public java.util.Map getMutableUserLabels() { bitField0_ |= 0x00000002; return internalGetMutableUserLabels().getMutableMap(); } /** + * + * *
      * Output only. A map of user-defined metadata labels.
      * 
* * map<string, string> user_labels = 2; */ - public Builder putUserLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableUserLabels().getMutableMap() - .put(key, value); + public Builder putUserLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableUserLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * Output only. A map of user-defined metadata labels.
      * 
* * map<string, string> user_labels = 2; */ - public Builder putAllUserLabels( - java.util.Map values) { - internalGetMutableUserLabels().getMutableMap() - .putAll(values); + public Builder putAllUserLabels(java.util.Map values) { + internalGetMutableUserLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000002; 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); } @@ -1029,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.MonitoredResourceMetadata) } // @@protoc_insertion_point(class_scope:google.api.MonitoredResourceMetadata) private static final com.google.api.MonitoredResourceMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.MonitoredResourceMetadata(); } @@ -1043,27 +1115,27 @@ public static com.google.api.MonitoredResourceMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonitoredResourceMetadata 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 MonitoredResourceMetadata 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; @@ -1078,6 +1150,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.api.MonitoredResourceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java similarity index 72% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java index bcd98785ec..8ad34a06bf 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface MonitoredResourceMetadataOrBuilder extends +public interface MonitoredResourceMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.MonitoredResourceMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Values for predefined system metadata labels.
    * System labels are a kind of metadata extracted by Google, including
@@ -22,10 +40,13 @@ public interface MonitoredResourceMetadataOrBuilder extends
    * 
* * .google.protobuf.Struct system_labels = 1; + * * @return Whether the systemLabels field is set. */ boolean hasSystemLabels(); /** + * + * *
    * Output only. Values for predefined system metadata labels.
    * System labels are a kind of metadata extracted by Google, including
@@ -40,10 +61,13 @@ public interface MonitoredResourceMetadataOrBuilder extends
    * 
* * .google.protobuf.Struct system_labels = 1; + * * @return The systemLabels. */ com.google.protobuf.Struct getSystemLabels(); /** + * + * *
    * Output only. Values for predefined system metadata labels.
    * System labels are a kind of metadata extracted by Google, including
@@ -62,6 +86,8 @@ public interface MonitoredResourceMetadataOrBuilder extends
   com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. A map of user-defined metadata labels.
    * 
@@ -70,30 +96,31 @@ public interface MonitoredResourceMetadataOrBuilder extends */ int getUserLabelsCount(); /** + * + * *
    * Output only. A map of user-defined metadata labels.
    * 
* * map<string, string> user_labels = 2; */ - boolean containsUserLabels( - java.lang.String key); - /** - * Use {@link #getUserLabelsMap()} instead. - */ + boolean containsUserLabels(java.lang.String key); + /** Use {@link #getUserLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getUserLabels(); + java.util.Map getUserLabels(); /** + * + * *
    * Output only. A map of user-defined metadata labels.
    * 
* * map<string, string> user_labels = 2; */ - java.util.Map - getUserLabelsMap(); + java.util.Map getUserLabelsMap(); /** + * + * *
    * Output only. A map of user-defined metadata labels.
    * 
@@ -101,17 +128,18 @@ boolean containsUserLabels( * map<string, string> user_labels = 2; */ /* nullable */ -java.lang.String getUserLabelsOrDefault( + java.lang.String getUserLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Output only. A map of user-defined metadata labels.
    * 
* * map<string, string> user_labels = 2; */ - java.lang.String getUserLabelsOrThrow( - java.lang.String key); + java.lang.String getUserLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java similarity index 72% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java index b549673cee..1a2e1a72b4 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface MonitoredResourceOrBuilder extends +public interface MonitoredResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.MonitoredResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The monitored resource type. This field must match
    * the `type` field of a
@@ -19,10 +37,13 @@ public interface MonitoredResourceOrBuilder extends
    * 
* * string type = 1; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * Required. The monitored resource type. This field must match
    * the `type` field of a
@@ -34,12 +55,14 @@ public interface MonitoredResourceOrBuilder extends
    * 
* * string type = 1; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * Required. Values for all of the labels listed in the associated monitored
    * resource descriptor. For example, Compute Engine VM instances use the
@@ -50,6 +73,8 @@ public interface MonitoredResourceOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Required. Values for all of the labels listed in the associated monitored
    * resource descriptor. For example, Compute Engine VM instances use the
@@ -58,15 +83,13 @@ public interface MonitoredResourceOrBuilder extends
    *
    * map<string, string> labels = 2;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Required. Values for all of the labels listed in the associated monitored
    * resource descriptor. For example, Compute Engine VM instances use the
@@ -75,9 +98,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 2;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Required. Values for all of the labels listed in the associated monitored
    * resource descriptor. For example, Compute Engine VM instances use the
@@ -87,11 +111,13 @@ boolean containsLabels(
    * map<string, string> labels = 2;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Required. Values for all of the labels listed in the associated monitored
    * resource descriptor. For example, Compute Engine VM instances use the
@@ -100,6 +126,5 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 2;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 }
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
new file mode 100644
index 0000000000..4d4a2321fd
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java
@@ -0,0 +1,135 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java
similarity index 81%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java
index 6595cc41f2..b28f3c900e 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * Monitoring configuration of the service.
  *
@@ -61,15 +78,16 @@
  *
  * Protobuf type {@code google.api.Monitoring}
  */
-public final class Monitoring extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Monitoring extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Monitoring)
     MonitoringOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Monitoring.newBuilder() to construct.
   private Monitoring(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Monitoring() {
     producerDestinations_ = java.util.Collections.emptyList();
     consumerDestinations_ = java.util.Collections.emptyList();
@@ -77,13 +95,11 @@ private Monitoring() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Monitoring();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_descriptor;
   }
 
@@ -95,11 +111,14 @@ protected java.lang.Object newInstance(
             com.google.api.Monitoring.class, com.google.api.Monitoring.Builder.class);
   }
 
-  public interface MonitoringDestinationOrBuilder extends
+  public interface MonitoringDestinationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.api.Monitoring.MonitoringDestination)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The monitored resource type. The type must be defined in
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -107,10 +126,13 @@ public interface MonitoringDestinationOrBuilder extends
      * 
* * string monitored_resource = 1; + * * @return The monitoredResource. */ java.lang.String getMonitoredResource(); /** + * + * *
      * The monitored resource type. The type must be defined in
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -118,12 +140,14 @@ public interface MonitoringDestinationOrBuilder extends
      * 
* * string monitored_resource = 1; + * * @return The bytes for monitoredResource. */ - com.google.protobuf.ByteString - getMonitoredResourceBytes(); + com.google.protobuf.ByteString getMonitoredResourceBytes(); /** + * + * *
      * Types of the metrics to report to this monitoring destination.
      * Each type must be defined in
@@ -131,11 +155,13 @@ public interface MonitoringDestinationOrBuilder extends
      * 
* * repeated string metrics = 2; + * * @return A list containing the metrics. */ - java.util.List - getMetricsList(); + java.util.List getMetricsList(); /** + * + * *
      * Types of the metrics to report to this monitoring destination.
      * Each type must be defined in
@@ -143,10 +169,13 @@ public interface MonitoringDestinationOrBuilder extends
      * 
* * repeated string metrics = 2; + * * @return The count of metrics. */ int getMetricsCount(); /** + * + * *
      * Types of the metrics to report to this monitoring destination.
      * Each type must be defined in
@@ -154,11 +183,14 @@ public interface MonitoringDestinationOrBuilder extends
      * 
* * repeated string metrics = 2; + * * @param index The index of the element to return. * @return The metrics at the given index. */ java.lang.String getMetrics(int index); /** + * + * *
      * Types of the metrics to report to this monitoring destination.
      * Each type must be defined in
@@ -166,13 +198,15 @@ public interface MonitoringDestinationOrBuilder extends
      * 
* * repeated string metrics = 2; + * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - com.google.protobuf.ByteString - getMetricsBytes(int index); + com.google.protobuf.ByteString getMetricsBytes(int index); } /** + * + * *
    * Configuration of a specific monitoring destination (the producer project
    * or the consumer project).
@@ -180,45 +214,49 @@ public interface MonitoringDestinationOrBuilder extends
    *
    * Protobuf type {@code google.api.Monitoring.MonitoringDestination}
    */
-  public static final class MonitoringDestination extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MonitoringDestination extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.api.Monitoring.MonitoringDestination)
       MonitoringDestinationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MonitoringDestination.newBuilder() to construct.
     private MonitoringDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MonitoringDestination() {
       monitoredResource_ = "";
-      metrics_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MonitoringDestination();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_MonitoringDestination_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.api.MonitoringProto
+          .internal_static_google_api_Monitoring_MonitoringDestination_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_MonitoringDestination_fieldAccessorTable
+      return com.google.api.MonitoringProto
+          .internal_static_google_api_Monitoring_MonitoringDestination_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.Monitoring.MonitoringDestination.class, com.google.api.Monitoring.MonitoringDestination.Builder.class);
+              com.google.api.Monitoring.MonitoringDestination.class,
+              com.google.api.Monitoring.MonitoringDestination.Builder.class);
     }
 
     public static final int MONITORED_RESOURCE_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object monitoredResource_ = "";
     /**
+     *
+     *
      * 
      * The monitored resource type. The type must be defined in
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -226,6 +264,7 @@ protected java.lang.Object newInstance(
      * 
* * string monitored_resource = 1; + * * @return The monitoredResource. */ @java.lang.Override @@ -234,14 +273,15 @@ public java.lang.String getMonitoredResource() { 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(); monitoredResource_ = s; return s; } } /** + * + * *
      * The monitored resource type. The type must be defined in
      * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -249,16 +289,15 @@ public java.lang.String getMonitoredResource() {
      * 
* * string monitored_resource = 1; + * * @return The bytes for monitoredResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getMonitoredResourceBytes() { + public com.google.protobuf.ByteString getMonitoredResourceBytes() { java.lang.Object ref = monitoredResource_; 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); monitoredResource_ = b; return b; } else { @@ -267,10 +306,13 @@ public java.lang.String getMonitoredResource() { } public static final int METRICS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Types of the metrics to report to this monitoring destination.
      * Each type must be defined in
@@ -278,13 +320,15 @@ public java.lang.String getMonitoredResource() {
      * 
* * repeated string metrics = 2; + * * @return A list containing the metrics. */ - public com.google.protobuf.ProtocolStringList - getMetricsList() { + public com.google.protobuf.ProtocolStringList getMetricsList() { return metrics_; } /** + * + * *
      * Types of the metrics to report to this monitoring destination.
      * Each type must be defined in
@@ -292,12 +336,15 @@ public java.lang.String getMonitoredResource() {
      * 
* * repeated string metrics = 2; + * * @return The count of metrics. */ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
      * Types of the metrics to report to this monitoring destination.
      * Each type must be defined in
@@ -305,6 +352,7 @@ public int getMetricsCount() {
      * 
* * repeated string metrics = 2; + * * @param index The index of the element to return. * @return The metrics at the given index. */ @@ -312,6 +360,8 @@ public java.lang.String getMetrics(int index) { return metrics_.get(index); } /** + * + * *
      * Types of the metrics to report to this monitoring destination.
      * Each type must be defined in
@@ -319,15 +369,16 @@ public java.lang.String getMetrics(int index) {
      * 
* * repeated string metrics = 2; + * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - public com.google.protobuf.ByteString - getMetricsBytes(int index) { + public com.google.protobuf.ByteString getMetricsBytes(int index) { return metrics_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +390,7 @@ 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(monitoredResource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, monitoredResource_); } @@ -375,17 +425,16 @@ 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.Monitoring.MonitoringDestination)) { return super.equals(obj); } - com.google.api.Monitoring.MonitoringDestination other = (com.google.api.Monitoring.MonitoringDestination) obj; + com.google.api.Monitoring.MonitoringDestination other = + (com.google.api.Monitoring.MonitoringDestination) obj; - if (!getMonitoredResource() - .equals(other.getMonitoredResource())) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; + if (!getMonitoredResource().equals(other.getMonitoredResource())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -409,89 +458,93 @@ public int hashCode() { } public static com.google.api.Monitoring.MonitoringDestination parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Monitoring.MonitoringDestination 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.Monitoring.MonitoringDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Monitoring.MonitoringDestination 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.Monitoring.MonitoringDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Monitoring.MonitoringDestination 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.Monitoring.MonitoringDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.api.Monitoring.MonitoringDestination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Monitoring.MonitoringDestination 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.Monitoring.MonitoringDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.api.Monitoring.MonitoringDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Monitoring.MonitoringDestination 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.Monitoring.MonitoringDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.Monitoring.MonitoringDestination 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.Monitoring.MonitoringDestination 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 @@ -501,6 +554,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration of a specific monitoring destination (the producer project
      * or the consumer project).
@@ -508,47 +563,46 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.api.Monitoring.MonitoringDestination}
      */
-    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.Monitoring.MonitoringDestination)
         com.google.api.Monitoring.MonitoringDestinationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_MonitoringDestination_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.api.MonitoringProto
+            .internal_static_google_api_Monitoring_MonitoringDestination_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_MonitoringDestination_fieldAccessorTable
+        return com.google.api.MonitoringProto
+            .internal_static_google_api_Monitoring_MonitoringDestination_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.api.Monitoring.MonitoringDestination.class, com.google.api.Monitoring.MonitoringDestination.Builder.class);
+                com.google.api.Monitoring.MonitoringDestination.class,
+                com.google.api.Monitoring.MonitoringDestination.Builder.class);
       }
 
       // Construct using com.google.api.Monitoring.MonitoringDestination.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
         monitoredResource_ = "";
-        metrics_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_MonitoringDestination_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.api.MonitoringProto
+            .internal_static_google_api_Monitoring_MonitoringDestination_descriptor;
       }
 
       @java.lang.Override
@@ -567,8 +621,11 @@ public com.google.api.Monitoring.MonitoringDestination build() {
 
       @java.lang.Override
       public com.google.api.Monitoring.MonitoringDestination buildPartial() {
-        com.google.api.Monitoring.MonitoringDestination result = new com.google.api.Monitoring.MonitoringDestination(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.api.Monitoring.MonitoringDestination result =
+            new com.google.api.Monitoring.MonitoringDestination(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -588,38 +645,41 @@ private void buildPartial0(com.google.api.Monitoring.MonitoringDestination resul
       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) {
+          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.Monitoring.MonitoringDestination) {
-          return mergeFrom((com.google.api.Monitoring.MonitoringDestination)other);
+          return mergeFrom((com.google.api.Monitoring.MonitoringDestination) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -627,7 +687,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.api.Monitoring.MonitoringDestination other) {
-        if (other == com.google.api.Monitoring.MonitoringDestination.getDefaultInstance()) return this;
+        if (other == com.google.api.Monitoring.MonitoringDestination.getDefaultInstance())
+          return this;
         if (!other.getMonitoredResource().isEmpty()) {
           monitoredResource_ = other.monitoredResource_;
           bitField0_ |= 0x00000001;
@@ -669,23 +730,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                monitoredResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureMetricsIsMutable();
-                metrics_.add(s);
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  monitoredResource_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureMetricsIsMutable();
+                  metrics_.add(s);
+                  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) {
@@ -695,10 +759,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object monitoredResource_ = "";
       /**
+       *
+       *
        * 
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -706,13 +773,13 @@ public Builder mergeFrom(
        * 
* * string monitored_resource = 1; + * * @return The monitoredResource. */ public java.lang.String getMonitoredResource() { java.lang.Object ref = monitoredResource_; 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(); monitoredResource_ = s; return s; @@ -721,6 +788,8 @@ public java.lang.String getMonitoredResource() { } } /** + * + * *
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -728,15 +797,14 @@ public java.lang.String getMonitoredResource() {
        * 
* * string monitored_resource = 1; + * * @return The bytes for monitoredResource. */ - public com.google.protobuf.ByteString - getMonitoredResourceBytes() { + public com.google.protobuf.ByteString getMonitoredResourceBytes() { java.lang.Object ref = monitoredResource_; 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); monitoredResource_ = b; return b; } else { @@ -744,6 +812,8 @@ public java.lang.String getMonitoredResource() { } } /** + * + * *
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -751,18 +821,22 @@ public java.lang.String getMonitoredResource() {
        * 
* * string monitored_resource = 1; + * * @param value The monitoredResource to set. * @return This builder for chaining. */ - public Builder setMonitoredResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMonitoredResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } monitoredResource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -770,6 +844,7 @@ public Builder setMonitoredResource(
        * 
* * string monitored_resource = 1; + * * @return This builder for chaining. */ public Builder clearMonitoredResource() { @@ -779,6 +854,8 @@ public Builder clearMonitoredResource() { return this; } /** + * + * *
        * The monitored resource type. The type must be defined in
        * [Service.monitored_resources][google.api.Service.monitored_resources]
@@ -786,12 +863,14 @@ public Builder clearMonitoredResource() {
        * 
* * string monitored_resource = 1; + * * @param value The bytes for monitoredResource to set. * @return This builder for chaining. */ - public Builder setMonitoredResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMonitoredResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); monitoredResource_ = value; bitField0_ |= 0x00000001; @@ -801,6 +880,7 @@ public Builder setMonitoredResourceBytes( private com.google.protobuf.LazyStringArrayList metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMetricsIsMutable() { if (!metrics_.isModifiable()) { metrics_ = new com.google.protobuf.LazyStringArrayList(metrics_); @@ -808,6 +888,8 @@ private void ensureMetricsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
        * Types of the metrics to report to this monitoring destination.
        * Each type must be defined in
@@ -815,14 +897,16 @@ private void ensureMetricsIsMutable() {
        * 
* * repeated string metrics = 2; + * * @return A list containing the metrics. */ - public com.google.protobuf.ProtocolStringList - getMetricsList() { + public com.google.protobuf.ProtocolStringList getMetricsList() { metrics_.makeImmutable(); return metrics_; } /** + * + * *
        * Types of the metrics to report to this monitoring destination.
        * Each type must be defined in
@@ -830,12 +914,15 @@ private void ensureMetricsIsMutable() {
        * 
* * repeated string metrics = 2; + * * @return The count of metrics. */ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
        * Types of the metrics to report to this monitoring destination.
        * Each type must be defined in
@@ -843,6 +930,7 @@ public int getMetricsCount() {
        * 
* * repeated string metrics = 2; + * * @param index The index of the element to return. * @return The metrics at the given index. */ @@ -850,6 +938,8 @@ public java.lang.String getMetrics(int index) { return metrics_.get(index); } /** + * + * *
        * Types of the metrics to report to this monitoring destination.
        * Each type must be defined in
@@ -857,14 +947,16 @@ public java.lang.String getMetrics(int index) {
        * 
* * repeated string metrics = 2; + * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - public com.google.protobuf.ByteString - getMetricsBytes(int index) { + public com.google.protobuf.ByteString getMetricsBytes(int index) { return metrics_.getByteString(index); } /** + * + * *
        * Types of the metrics to report to this monitoring destination.
        * Each type must be defined in
@@ -872,13 +964,15 @@ public java.lang.String getMetrics(int index) {
        * 
* * repeated string metrics = 2; + * * @param index The index to set the value at. * @param value The metrics to set. * @return This builder for chaining. */ - public Builder setMetrics( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetrics(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMetricsIsMutable(); metrics_.set(index, value); bitField0_ |= 0x00000002; @@ -886,6 +980,8 @@ public Builder setMetrics( return this; } /** + * + * *
        * Types of the metrics to report to this monitoring destination.
        * Each type must be defined in
@@ -893,12 +989,14 @@ public Builder setMetrics(
        * 
* * repeated string metrics = 2; + * * @param value The metrics to add. * @return This builder for chaining. */ - public Builder addMetrics( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMetrics(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMetricsIsMutable(); metrics_.add(value); bitField0_ |= 0x00000002; @@ -906,6 +1004,8 @@ public Builder addMetrics( return this; } /** + * + * *
        * Types of the metrics to report to this monitoring destination.
        * Each type must be defined in
@@ -913,19 +1013,20 @@ public Builder addMetrics(
        * 
* * repeated string metrics = 2; + * * @param values The metrics to add. * @return This builder for chaining. */ - public Builder addAllMetrics( - java.lang.Iterable values) { + public Builder addAllMetrics(java.lang.Iterable values) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Types of the metrics to report to this monitoring destination.
        * Each type must be defined in
@@ -933,16 +1034,19 @@ public Builder addAllMetrics(
        * 
* * repeated string metrics = 2; + * * @return This builder for chaining. */ public Builder clearMetrics() { - metrics_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * Types of the metrics to report to this monitoring destination.
        * Each type must be defined in
@@ -950,12 +1054,14 @@ public Builder clearMetrics() {
        * 
* * repeated string metrics = 2; + * * @param value The bytes of the metrics to add. * @return This builder for chaining. */ - public Builder addMetricsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMetricsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureMetricsIsMutable(); metrics_.add(value); @@ -963,6 +1069,7 @@ public Builder addMetricsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -975,12 +1082,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Monitoring.MonitoringDestination) } // @@protoc_insertion_point(class_scope:google.api.Monitoring.MonitoringDestination) private static final com.google.api.Monitoring.MonitoringDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Monitoring.MonitoringDestination(); } @@ -989,27 +1096,28 @@ public static com.google.api.Monitoring.MonitoringDestination getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonitoringDestination 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 MonitoringDestination 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; @@ -1024,13 +1132,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Monitoring.MonitoringDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PRODUCER_DESTINATIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List producerDestinations_; /** + * + * *
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -1043,10 +1153,13 @@ public com.google.api.Monitoring.MonitoringDestination getDefaultInstanceForType
    * repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
    */
   @java.lang.Override
-  public java.util.List getProducerDestinationsList() {
+  public java.util.List
+      getProducerDestinationsList() {
     return producerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -1059,11 +1172,13 @@ public java.util.List getProduc
    * repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getProducerDestinationsOrBuilderList() {
     return producerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -1080,6 +1195,8 @@ public int getProducerDestinationsCount() {
     return producerDestinations_.size();
   }
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -1096,6 +1213,8 @@ public com.google.api.Monitoring.MonitoringDestination getProducerDestinations(i
     return producerDestinations_.get(index);
   }
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -1114,9 +1233,12 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDesti
   }
 
   public static final int CONSUMER_DESTINATIONS_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List consumerDestinations_;
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
@@ -1129,10 +1251,13 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDesti
    * repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
    */
   @java.lang.Override
-  public java.util.List getConsumerDestinationsList() {
+  public java.util.List
+      getConsumerDestinationsList() {
     return consumerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
@@ -1145,11 +1270,13 @@ public java.util.List getConsum
    * repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getConsumerDestinationsOrBuilderList() {
     return consumerDestinations_;
   }
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
@@ -1166,6 +1293,8 @@ public int getConsumerDestinationsCount() {
     return consumerDestinations_.size();
   }
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
@@ -1182,6 +1311,8 @@ public com.google.api.Monitoring.MonitoringDestination getConsumerDestinations(i
     return consumerDestinations_.get(index);
   }
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
@@ -1200,6 +1331,7 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getConsumerDesti
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1211,8 +1343,7 @@ 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 < producerDestinations_.size(); i++) {
       output.writeMessage(1, producerDestinations_.get(i));
     }
@@ -1229,12 +1360,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < producerDestinations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, producerDestinations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, producerDestinations_.get(i));
     }
     for (int i = 0; i < consumerDestinations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, consumerDestinations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(2, consumerDestinations_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1244,17 +1375,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.Monitoring)) {
       return super.equals(obj);
     }
     com.google.api.Monitoring other = (com.google.api.Monitoring) obj;
 
-    if (!getProducerDestinationsList()
-        .equals(other.getProducerDestinationsList())) return false;
-    if (!getConsumerDestinationsList()
-        .equals(other.getConsumerDestinationsList())) return false;
+    if (!getProducerDestinationsList().equals(other.getProducerDestinationsList())) return false;
+    if (!getConsumerDestinationsList().equals(other.getConsumerDestinationsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1279,99 +1408,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.Monitoring parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.Monitoring parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Monitoring 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.Monitoring parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.Monitoring parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Monitoring 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.Monitoring parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Monitoring 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.Monitoring 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.Monitoring 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.Monitoring 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.Monitoring 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.Monitoring parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.Monitoring 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.Monitoring 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.Monitoring 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;
   }
   /**
+   *
+   *
    * 
    * Monitoring configuration of the service.
    *
@@ -1429,12 +1562,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Monitoring}
    */
-  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.Monitoring)
       com.google.api.MonitoringOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_descriptor;
     }
 
@@ -1447,15 +1579,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Monitoring.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1478,8 +1607,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_descriptor;
     }
 
@@ -1501,7 +1629,9 @@ public com.google.api.Monitoring build() {
     public com.google.api.Monitoring buildPartial() {
       com.google.api.Monitoring result = new com.google.api.Monitoring(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1535,38 +1665,39 @@ private void buildPartial0(com.google.api.Monitoring 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.Monitoring) {
-        return mergeFrom((com.google.api.Monitoring)other);
+        return mergeFrom((com.google.api.Monitoring) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1593,9 +1724,10 @@ public Builder mergeFrom(com.google.api.Monitoring other) {
             producerDestinationsBuilder_ = null;
             producerDestinations_ = other.producerDestinations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            producerDestinationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getProducerDestinationsFieldBuilder() : null;
+            producerDestinationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getProducerDestinationsFieldBuilder()
+                    : null;
           } else {
             producerDestinationsBuilder_.addAllMessages(other.producerDestinations_);
           }
@@ -1619,9 +1751,10 @@ public Builder mergeFrom(com.google.api.Monitoring other) {
             consumerDestinationsBuilder_ = null;
             consumerDestinations_ = other.consumerDestinations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            consumerDestinationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getConsumerDestinationsFieldBuilder() : null;
+            consumerDestinationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getConsumerDestinationsFieldBuilder()
+                    : null;
           } else {
             consumerDestinationsBuilder_.addAllMessages(other.consumerDestinations_);
           }
@@ -1653,38 +1786,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.api.Monitoring.MonitoringDestination m =
-                  input.readMessage(
-                      com.google.api.Monitoring.MonitoringDestination.parser(),
-                      extensionRegistry);
-              if (producerDestinationsBuilder_ == null) {
-                ensureProducerDestinationsIsMutable();
-                producerDestinations_.add(m);
-              } else {
-                producerDestinationsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              com.google.api.Monitoring.MonitoringDestination m =
-                  input.readMessage(
-                      com.google.api.Monitoring.MonitoringDestination.parser(),
-                      extensionRegistry);
-              if (consumerDestinationsBuilder_ == null) {
-                ensureConsumerDestinationsIsMutable();
-                consumerDestinations_.add(m);
-              } else {
-                consumerDestinationsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.api.Monitoring.MonitoringDestination m =
+                    input.readMessage(
+                        com.google.api.Monitoring.MonitoringDestination.parser(),
+                        extensionRegistry);
+                if (producerDestinationsBuilder_ == null) {
+                  ensureProducerDestinationsIsMutable();
+                  producerDestinations_.add(m);
+                } else {
+                  producerDestinationsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.api.Monitoring.MonitoringDestination m =
+                    input.readMessage(
+                        com.google.api.Monitoring.MonitoringDestination.parser(),
+                        extensionRegistry);
+                if (consumerDestinationsBuilder_ == null) {
+                  ensureConsumerDestinationsIsMutable();
+                  consumerDestinations_.add(m);
+                } else {
+                  consumerDestinationsBuilder_.addMessage(m);
+                }
+                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) {
@@ -1694,21 +1830,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List producerDestinations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureProducerDestinationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        producerDestinations_ = new java.util.ArrayList(producerDestinations_);
+        producerDestinations_ =
+            new java.util.ArrayList(
+                producerDestinations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder> producerDestinationsBuilder_;
+            com.google.api.Monitoring.MonitoringDestination,
+            com.google.api.Monitoring.MonitoringDestination.Builder,
+            com.google.api.Monitoring.MonitoringDestinationOrBuilder>
+        producerDestinationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1720,7 +1865,8 @@ private void ensureProducerDestinationsIsMutable() {
      *
      * repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
      */
-    public java.util.List getProducerDestinationsList() {
+    public java.util.List
+        getProducerDestinationsList() {
       if (producerDestinationsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(producerDestinations_);
       } else {
@@ -1728,6 +1874,8 @@ public java.util.List getProduc
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1747,6 +1895,8 @@ public int getProducerDestinationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1766,6 +1916,8 @@ public com.google.api.Monitoring.MonitoringDestination getProducerDestinations(i
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1792,6 +1944,8 @@ public Builder setProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1815,6 +1969,8 @@ public Builder setProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1840,6 +1996,8 @@ public Builder addProducerDestinations(com.google.api.Monitoring.MonitoringDesti
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1866,6 +2024,8 @@ public Builder addProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1889,6 +2049,8 @@ public Builder addProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1912,6 +2074,8 @@ public Builder addProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1927,8 +2091,7 @@ public Builder addAllProducerDestinations(
         java.lang.Iterable values) {
       if (producerDestinationsBuilder_ == null) {
         ensureProducerDestinationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, producerDestinations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, producerDestinations_);
         onChanged();
       } else {
         producerDestinationsBuilder_.addAllMessages(values);
@@ -1936,6 +2099,8 @@ public Builder addAllProducerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1958,6 +2123,8 @@ public Builder clearProducerDestinations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1980,6 +2147,8 @@ public Builder removeProducerDestinations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -1996,6 +2165,8 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getProducerDestin
       return getProducerDestinationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -2007,14 +2178,17 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getProducerDestin
      *
      * repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
      */
-    public com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinationsOrBuilder(
-        int index) {
+    public com.google.api.Monitoring.MonitoringDestinationOrBuilder
+        getProducerDestinationsOrBuilder(int index) {
       if (producerDestinationsBuilder_ == null) {
-        return producerDestinations_.get(index);  } else {
+        return producerDestinations_.get(index);
+      } else {
         return producerDestinationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -2026,8 +2200,8 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDesti
      *
      * repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
      */
-    public java.util.List 
-         getProducerDestinationsOrBuilderList() {
+    public java.util.List
+        getProducerDestinationsOrBuilderList() {
       if (producerDestinationsBuilder_ != null) {
         return producerDestinationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2035,6 +2209,8 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDesti
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -2046,11 +2222,14 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDesti
      *
      * repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
      */
-    public com.google.api.Monitoring.MonitoringDestination.Builder addProducerDestinationsBuilder() {
-      return getProducerDestinationsFieldBuilder().addBuilder(
-          com.google.api.Monitoring.MonitoringDestination.getDefaultInstance());
+    public com.google.api.Monitoring.MonitoringDestination.Builder
+        addProducerDestinationsBuilder() {
+      return getProducerDestinationsFieldBuilder()
+          .addBuilder(com.google.api.Monitoring.MonitoringDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -2064,10 +2243,12 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addProducerDestin
      */
     public com.google.api.Monitoring.MonitoringDestination.Builder addProducerDestinationsBuilder(
         int index) {
-      return getProducerDestinationsFieldBuilder().addBuilder(
-          index, com.google.api.Monitoring.MonitoringDestination.getDefaultInstance());
+      return getProducerDestinationsFieldBuilder()
+          .addBuilder(index, com.google.api.Monitoring.MonitoringDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the producer project.
      * There can be multiple producer destinations. A monitored resource type may
@@ -2079,16 +2260,22 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addProducerDestin
      *
      * repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
      */
-    public java.util.List 
-         getProducerDestinationsBuilderList() {
+    public java.util.List
+        getProducerDestinationsBuilderList() {
       return getProducerDestinationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder> 
+            com.google.api.Monitoring.MonitoringDestination,
+            com.google.api.Monitoring.MonitoringDestination.Builder,
+            com.google.api.Monitoring.MonitoringDestinationOrBuilder>
         getProducerDestinationsFieldBuilder() {
       if (producerDestinationsBuilder_ == null) {
-        producerDestinationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder>(
+        producerDestinationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.Monitoring.MonitoringDestination,
+                com.google.api.Monitoring.MonitoringDestination.Builder,
+                com.google.api.Monitoring.MonitoringDestinationOrBuilder>(
                 producerDestinations_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -2099,18 +2286,26 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addProducerDestin
     }
 
     private java.util.List consumerDestinations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureConsumerDestinationsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        consumerDestinations_ = new java.util.ArrayList(consumerDestinations_);
+        consumerDestinations_ =
+            new java.util.ArrayList(
+                consumerDestinations_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder> consumerDestinationsBuilder_;
+            com.google.api.Monitoring.MonitoringDestination,
+            com.google.api.Monitoring.MonitoringDestination.Builder,
+            com.google.api.Monitoring.MonitoringDestinationOrBuilder>
+        consumerDestinationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2122,7 +2317,8 @@ private void ensureConsumerDestinationsIsMutable() {
      *
      * repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
      */
-    public java.util.List getConsumerDestinationsList() {
+    public java.util.List
+        getConsumerDestinationsList() {
       if (consumerDestinationsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(consumerDestinations_);
       } else {
@@ -2130,6 +2326,8 @@ public java.util.List getConsum
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2149,6 +2347,8 @@ public int getConsumerDestinationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2168,6 +2368,8 @@ public com.google.api.Monitoring.MonitoringDestination getConsumerDestinations(i
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2194,6 +2396,8 @@ public Builder setConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2217,6 +2421,8 @@ public Builder setConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2242,6 +2448,8 @@ public Builder addConsumerDestinations(com.google.api.Monitoring.MonitoringDesti
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2268,6 +2476,8 @@ public Builder addConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2291,6 +2501,8 @@ public Builder addConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2314,6 +2526,8 @@ public Builder addConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2329,8 +2543,7 @@ public Builder addAllConsumerDestinations(
         java.lang.Iterable values) {
       if (consumerDestinationsBuilder_ == null) {
         ensureConsumerDestinationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, consumerDestinations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, consumerDestinations_);
         onChanged();
       } else {
         consumerDestinationsBuilder_.addAllMessages(values);
@@ -2338,6 +2551,8 @@ public Builder addAllConsumerDestinations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2360,6 +2575,8 @@ public Builder clearConsumerDestinations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2382,6 +2599,8 @@ public Builder removeConsumerDestinations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2398,6 +2617,8 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getConsumerDestin
       return getConsumerDestinationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2409,14 +2630,17 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getConsumerDestin
      *
      * repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
      */
-    public com.google.api.Monitoring.MonitoringDestinationOrBuilder getConsumerDestinationsOrBuilder(
-        int index) {
+    public com.google.api.Monitoring.MonitoringDestinationOrBuilder
+        getConsumerDestinationsOrBuilder(int index) {
       if (consumerDestinationsBuilder_ == null) {
-        return consumerDestinations_.get(index);  } else {
+        return consumerDestinations_.get(index);
+      } else {
         return consumerDestinationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2428,8 +2652,8 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getConsumerDesti
      *
      * repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
      */
-    public java.util.List 
-         getConsumerDestinationsOrBuilderList() {
+    public java.util.List
+        getConsumerDestinationsOrBuilderList() {
       if (consumerDestinationsBuilder_ != null) {
         return consumerDestinationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2437,6 +2661,8 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getConsumerDesti
       }
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2448,11 +2674,14 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getConsumerDesti
      *
      * repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
      */
-    public com.google.api.Monitoring.MonitoringDestination.Builder addConsumerDestinationsBuilder() {
-      return getConsumerDestinationsFieldBuilder().addBuilder(
-          com.google.api.Monitoring.MonitoringDestination.getDefaultInstance());
+    public com.google.api.Monitoring.MonitoringDestination.Builder
+        addConsumerDestinationsBuilder() {
+      return getConsumerDestinationsFieldBuilder()
+          .addBuilder(com.google.api.Monitoring.MonitoringDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2466,10 +2695,12 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addConsumerDestin
      */
     public com.google.api.Monitoring.MonitoringDestination.Builder addConsumerDestinationsBuilder(
         int index) {
-      return getConsumerDestinationsFieldBuilder().addBuilder(
-          index, com.google.api.Monitoring.MonitoringDestination.getDefaultInstance());
+      return getConsumerDestinationsFieldBuilder()
+          .addBuilder(index, com.google.api.Monitoring.MonitoringDestination.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Monitoring configurations for sending metrics to the consumer project.
      * There can be multiple consumer destinations. A monitored resource type may
@@ -2481,16 +2712,22 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addConsumerDestin
      *
      * repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
      */
-    public java.util.List 
-         getConsumerDestinationsBuilderList() {
+    public java.util.List
+        getConsumerDestinationsBuilderList() {
       return getConsumerDestinationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder> 
+            com.google.api.Monitoring.MonitoringDestination,
+            com.google.api.Monitoring.MonitoringDestination.Builder,
+            com.google.api.Monitoring.MonitoringDestinationOrBuilder>
         getConsumerDestinationsFieldBuilder() {
       if (consumerDestinationsBuilder_ == null) {
-        consumerDestinationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder>(
+        consumerDestinationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.Monitoring.MonitoringDestination,
+                com.google.api.Monitoring.MonitoringDestination.Builder,
+                com.google.api.Monitoring.MonitoringDestinationOrBuilder>(
                 consumerDestinations_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2499,9 +2736,9 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addConsumerDestin
       }
       return consumerDestinationsBuilder_;
     }
+
     @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);
     }
 
@@ -2511,12 +2748,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.Monitoring)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.Monitoring)
   private static final com.google.api.Monitoring DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.Monitoring();
   }
@@ -2525,27 +2762,27 @@ public static com.google.api.Monitoring getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Monitoring 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 Monitoring 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;
@@ -2560,6 +2797,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.Monitoring getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java
similarity index 88%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java
index 8d11dd27d8..4a9cc51ca8 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface MonitoringOrBuilder extends
+public interface MonitoringOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.Monitoring)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -19,9 +37,10 @@ public interface MonitoringOrBuilder extends
    *
    * repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
    */
-  java.util.List 
-      getProducerDestinationsList();
+  java.util.List getProducerDestinationsList();
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -35,6 +54,8 @@ public interface MonitoringOrBuilder extends
    */
   com.google.api.Monitoring.MonitoringDestination getProducerDestinations(int index);
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -48,6 +69,8 @@ public interface MonitoringOrBuilder extends
    */
   int getProducerDestinationsCount();
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -59,9 +82,11 @@ public interface MonitoringOrBuilder extends
    *
    * repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
    */
-  java.util.List 
+  java.util.List
       getProducerDestinationsOrBuilderList();
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the producer project.
    * There can be multiple producer destinations. A monitored resource type may
@@ -77,6 +102,8 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations
       int index);
 
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
@@ -88,9 +115,10 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations
    *
    * repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
    */
-  java.util.List 
-      getConsumerDestinationsList();
+  java.util.List getConsumerDestinationsList();
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
@@ -104,6 +132,8 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations
    */
   com.google.api.Monitoring.MonitoringDestination getConsumerDestinations(int index);
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
@@ -117,6 +147,8 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations
    */
   int getConsumerDestinationsCount();
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
@@ -128,9 +160,11 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations
    *
    * repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
    */
-  java.util.List 
+  java.util.List
       getConsumerDestinationsOrBuilderList();
   /**
+   *
+   *
    * 
    * Monitoring configurations for sending metrics to the consumer project.
    * There can be multiple consumer destinations. A monitored resource type may
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
new file mode 100644
index 0000000000..f71eac12f1
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java
@@ -0,0 +1,80 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java
similarity index 68%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java
index 6eca0aefdc..c21feeb515 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java
@@ -1,36 +1,51 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * Settings for Node client libraries.
  * 
* * Protobuf type {@code google.api.NodeSettings} */ -public final class NodeSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodeSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.NodeSettings) NodeSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodeSettings.newBuilder() to construct. private NodeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodeSettings() { - } + + private NodeSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodeSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_NodeSettings_descriptor; } @@ -45,11 +60,14 @@ protected java.lang.Object newInstance( public static final int COMMON_FIELD_NUMBER = 1; private com.google.api.CommonLanguageSettings common_; /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -57,11 +75,14 @@ public boolean hasCommon() { return common_ != null; } /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ @java.lang.Override @@ -69,6 +90,8 @@ public com.google.api.CommonLanguageSettings getCommon() { return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; } /** + * + * *
    * Some settings.
    * 
@@ -81,6 +104,7 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +116,7 @@ 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 (common_ != null) { output.writeMessage(1, getCommon()); } @@ -107,8 +130,7 @@ public int getSerializedSize() { size = 0; if (common_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,7 +140,7 @@ 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.NodeSettings)) { return super.equals(obj); @@ -127,8 +149,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -150,111 +171,114 @@ public int hashCode() { return hash; } - public static com.google.api.NodeSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.NodeSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.NodeSettings 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.NodeSettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.NodeSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.NodeSettings 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.NodeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.NodeSettings 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.NodeSettings 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.NodeSettings 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.NodeSettings 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.NodeSettings 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.NodeSettings parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.NodeSettings 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.NodeSettings 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.NodeSettings 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; } /** + * + * *
    * Settings for Node client libraries.
    * 
* * Protobuf type {@code google.api.NodeSettings} */ - 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.NodeSettings) com.google.api.NodeSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_NodeSettings_descriptor; } @@ -267,15 +291,12 @@ public static final class Builder extends } // Construct using com.google.api.NodeSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,8 +310,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.ClientProto.internal_static_google_api_NodeSettings_descriptor; } @@ -311,7 +331,9 @@ public com.google.api.NodeSettings build() { @java.lang.Override public com.google.api.NodeSettings buildPartial() { com.google.api.NodeSettings result = new com.google.api.NodeSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +341,7 @@ public com.google.api.NodeSettings buildPartial() { private void buildPartial0(com.google.api.NodeSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); } } @@ -329,38 +349,39 @@ private void buildPartial0(com.google.api.NodeSettings 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.NodeSettings) { - return mergeFrom((com.google.api.NodeSettings)other); + return mergeFrom((com.google.api.NodeSettings) other); } else { super.mergeFrom(other); return this; @@ -398,19 +419,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + 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) { @@ -420,38 +441,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.api.CommonLanguageSettings common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> commonBuilder_; + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> + commonBuilder_; /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ public com.google.api.CommonLanguageSettings getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Some settings.
      * 
@@ -472,14 +507,15 @@ public Builder setCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; */ - public Builder setCommon( - com.google.api.CommonLanguageSettings.Builder builderForValue) { + public Builder setCommon(com.google.api.CommonLanguageSettings.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -490,6 +526,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Some settings.
      * 
@@ -498,9 +536,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - common_ != null && - common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && common_ != null + && common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -513,6 +551,8 @@ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
@@ -530,6 +570,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Some settings.
      * 
@@ -542,6 +584,8 @@ public com.google.api.CommonLanguageSettings.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Some settings.
      * 
@@ -552,11 +596,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } } /** + * + * *
      * Some settings.
      * 
@@ -564,21 +611,24 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * .google.api.CommonLanguageSettings common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; } + @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); } @@ -588,12 +638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.NodeSettings) } // @@protoc_insertion_point(class_scope:google.api.NodeSettings) private static final com.google.api.NodeSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.NodeSettings(); } @@ -602,27 +652,27 @@ public static com.google.api.NodeSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeSettings 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 NodeSettings 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; @@ -637,6 +687,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.NodeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java similarity index 54% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java index 4d94fe6520..4689e7029a 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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 interface NodeSettingsOrBuilder extends +public interface NodeSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.NodeSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ com.google.api.CommonLanguageSettings getCommon(); /** + * + * *
    * Some settings.
    * 
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java similarity index 73% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java index 13d5f6e9e2..b216508b8a 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * OAuth scopes are a way to define data and permissions on data. For example,
  * there are scopes defined for "Read-only access to Google Calendar" and
@@ -27,28 +44,27 @@
  *
  * Protobuf type {@code google.api.OAuthRequirements}
  */
-public final class OAuthRequirements extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OAuthRequirements extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.OAuthRequirements)
     OAuthRequirementsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OAuthRequirements.newBuilder() to construct.
   private OAuthRequirements(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OAuthRequirements() {
     canonicalScopes_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthRequirements();
   }
 
-  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_OAuthRequirements_descriptor;
   }
 
@@ -61,9 +77,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int CANONICAL_SCOPES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object canonicalScopes_ = "";
   /**
+   *
+   *
    * 
    * The list of publicly documented OAuth scopes that are allowed access. An
    * OAuth token containing any of these scopes will be accepted.
@@ -75,6 +94,7 @@ protected java.lang.Object newInstance(
    * 
* * string canonical_scopes = 1; + * * @return The canonicalScopes. */ @java.lang.Override @@ -83,14 +103,15 @@ public java.lang.String getCanonicalScopes() { 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(); canonicalScopes_ = s; return s; } } /** + * + * *
    * The list of publicly documented OAuth scopes that are allowed access. An
    * OAuth token containing any of these scopes will be accepted.
@@ -102,16 +123,15 @@ public java.lang.String getCanonicalScopes() {
    * 
* * string canonical_scopes = 1; + * * @return The bytes for canonicalScopes. */ @java.lang.Override - public com.google.protobuf.ByteString - getCanonicalScopesBytes() { + public com.google.protobuf.ByteString getCanonicalScopesBytes() { java.lang.Object ref = canonicalScopes_; 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); canonicalScopes_ = b; return b; } else { @@ -120,6 +140,7 @@ public java.lang.String getCanonicalScopes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,8 +152,7 @@ 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(canonicalScopes_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, canonicalScopes_); } @@ -156,15 +176,14 @@ 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.OAuthRequirements)) { return super.equals(obj); } com.google.api.OAuthRequirements other = (com.google.api.OAuthRequirements) obj; - if (!getCanonicalScopes() - .equals(other.getCanonicalScopes())) return false; + if (!getCanonicalScopes().equals(other.getCanonicalScopes())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,99 +202,103 @@ public int hashCode() { return hash; } - public static com.google.api.OAuthRequirements parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.OAuthRequirements parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.OAuthRequirements 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.OAuthRequirements parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.OAuthRequirements parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.OAuthRequirements 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.OAuthRequirements parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.OAuthRequirements 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.OAuthRequirements 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.OAuthRequirements 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.OAuthRequirements 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.OAuthRequirements 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.OAuthRequirements parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.OAuthRequirements 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.OAuthRequirements 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; } /** + * + * *
    * OAuth scopes are a way to define data and permissions on data. For example,
    * there are scopes defined for "Read-only access to Google Calendar" and
@@ -299,33 +322,31 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.OAuthRequirements}
    */
-  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.OAuthRequirements)
       com.google.api.OAuthRequirementsOrBuilder {
-    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_OAuthRequirements_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.AuthProto.internal_static_google_api_OAuthRequirements_fieldAccessorTable
+      return com.google.api.AuthProto
+          .internal_static_google_api_OAuthRequirements_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.OAuthRequirements.class, com.google.api.OAuthRequirements.Builder.class);
+              com.google.api.OAuthRequirements.class,
+              com.google.api.OAuthRequirements.Builder.class);
     }
 
     // Construct using com.google.api.OAuthRequirements.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -335,8 +356,7 @@ 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_OAuthRequirements_descriptor;
     }
 
@@ -357,7 +377,9 @@ public com.google.api.OAuthRequirements build() {
     @java.lang.Override
     public com.google.api.OAuthRequirements buildPartial() {
       com.google.api.OAuthRequirements result = new com.google.api.OAuthRequirements(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -373,38 +395,39 @@ private void buildPartial0(com.google.api.OAuthRequirements 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.OAuthRequirements) {
-        return mergeFrom((com.google.api.OAuthRequirements)other);
+        return mergeFrom((com.google.api.OAuthRequirements) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -444,17 +467,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              canonicalScopes_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                canonicalScopes_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            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) {
@@ -464,10 +489,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object canonicalScopes_ = "";
     /**
+     *
+     *
      * 
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
@@ -479,13 +507,13 @@ public Builder mergeFrom(
      * 
* * string canonical_scopes = 1; + * * @return The canonicalScopes. */ public java.lang.String getCanonicalScopes() { java.lang.Object ref = canonicalScopes_; 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(); canonicalScopes_ = s; return s; @@ -494,6 +522,8 @@ public java.lang.String getCanonicalScopes() { } } /** + * + * *
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
@@ -505,15 +535,14 @@ public java.lang.String getCanonicalScopes() {
      * 
* * string canonical_scopes = 1; + * * @return The bytes for canonicalScopes. */ - public com.google.protobuf.ByteString - getCanonicalScopesBytes() { + public com.google.protobuf.ByteString getCanonicalScopesBytes() { java.lang.Object ref = canonicalScopes_; 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); canonicalScopes_ = b; return b; } else { @@ -521,6 +550,8 @@ public java.lang.String getCanonicalScopes() { } } /** + * + * *
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
@@ -532,18 +563,22 @@ public java.lang.String getCanonicalScopes() {
      * 
* * string canonical_scopes = 1; + * * @param value The canonicalScopes to set. * @return This builder for chaining. */ - public Builder setCanonicalScopes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCanonicalScopes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } canonicalScopes_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
@@ -555,6 +590,7 @@ public Builder setCanonicalScopes(
      * 
* * string canonical_scopes = 1; + * * @return This builder for chaining. */ public Builder clearCanonicalScopes() { @@ -564,6 +600,8 @@ public Builder clearCanonicalScopes() { return this; } /** + * + * *
      * The list of publicly documented OAuth scopes that are allowed access. An
      * OAuth token containing any of these scopes will be accepted.
@@ -575,21 +613,23 @@ public Builder clearCanonicalScopes() {
      * 
* * string canonical_scopes = 1; + * * @param value The bytes for canonicalScopes to set. * @return This builder for chaining. */ - public Builder setCanonicalScopesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCanonicalScopesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); canonicalScopes_ = 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); } @@ -599,12 +639,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.OAuthRequirements) } // @@protoc_insertion_point(class_scope:google.api.OAuthRequirements) private static final com.google.api.OAuthRequirements DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.OAuthRequirements(); } @@ -613,27 +653,27 @@ public static com.google.api.OAuthRequirements getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthRequirements 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 OAuthRequirements 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; @@ -648,6 +688,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.OAuthRequirements getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java similarity index 61% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java index 7203dc9072..7415ca3162 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface OAuthRequirementsOrBuilder extends +public interface OAuthRequirementsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.OAuthRequirements) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of publicly documented OAuth scopes that are allowed access. An
    * OAuth token containing any of these scopes will be accepted.
@@ -19,10 +37,13 @@ public interface OAuthRequirementsOrBuilder extends
    * 
* * string canonical_scopes = 1; + * * @return The canonicalScopes. */ java.lang.String getCanonicalScopes(); /** + * + * *
    * The list of publicly documented OAuth scopes that are allowed access. An
    * OAuth token containing any of these scopes will be accepted.
@@ -34,8 +55,8 @@ public interface OAuthRequirementsOrBuilder extends
    * 
* * string canonical_scopes = 1; + * * @return The bytes for canonicalScopes. */ - com.google.protobuf.ByteString - getCanonicalScopesBytes(); + com.google.protobuf.ByteString getCanonicalScopesBytes(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Page.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java similarity index 77% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Page.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java index 720fc10c13..495af6988f 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Page.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Represents a documentation page. A page can contain subpages to represent
  * nested documentation set structure.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.api.Page}
  */
-public final class Page extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Page extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Page)
     PageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Page.newBuilder() to construct.
   private Page(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Page() {
     name_ = "";
     content_ = "";
@@ -28,13 +46,11 @@ private Page() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Page();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.DocumentationProto.internal_static_google_api_Page_descriptor;
   }
 
@@ -47,9 +63,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the page. It will be used as an identity of the page to
    * generate URI of the page, text of the link to this page in navigation,
@@ -68,6 +87,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -76,14 +96,15 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
    * The name of the page. It will be used as an identity of the page to
    * generate URI of the page, text of the link to this page in navigation,
@@ -102,16 +123,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -120,9 +140,12 @@ public java.lang.String getName() { } public static final int CONTENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object content_ = ""; /** + * + * *
    * The Markdown content of the page. You can use <code>&#40;== include {path}
    * ==&#41;</code> to include content from a Markdown file. The content can be
@@ -130,6 +153,7 @@ public java.lang.String getName() {
    * 
* * string content = 2; + * * @return The content. */ @java.lang.Override @@ -138,14 +162,15 @@ public java.lang.String getContent() { 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(); content_ = s; return s; } } /** + * + * *
    * The Markdown content of the page. You can use <code>&#40;== include {path}
    * ==&#41;</code> to include content from a Markdown file. The content can be
@@ -153,16 +178,15 @@ public java.lang.String getContent() {
    * 
* * string content = 2; + * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; 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); content_ = b; return b; } else { @@ -171,9 +195,12 @@ public java.lang.String getContent() { } public static final int SUBPAGES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List subpages_; /** + * + * *
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -186,6 +213,8 @@ public java.util.List getSubpagesList() {
     return subpages_;
   }
   /**
+   *
+   *
    * 
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -194,11 +223,12 @@ public java.util.List getSubpagesList() {
    * repeated .google.api.Page subpages = 3;
    */
   @java.lang.Override
-  public java.util.List 
-      getSubpagesOrBuilderList() {
+  public java.util.List getSubpagesOrBuilderList() {
     return subpages_;
   }
   /**
+   *
+   *
    * 
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -211,6 +241,8 @@ public int getSubpagesCount() {
     return subpages_.size();
   }
   /**
+   *
+   *
    * 
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -223,6 +255,8 @@ public com.google.api.Page getSubpages(int index) {
     return subpages_.get(index);
   }
   /**
+   *
+   *
    * 
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -231,12 +265,12 @@ public com.google.api.Page getSubpages(int index) {
    * repeated .google.api.Page subpages = 3;
    */
   @java.lang.Override
-  public com.google.api.PageOrBuilder getSubpagesOrBuilder(
-      int index) {
+  public com.google.api.PageOrBuilder getSubpagesOrBuilder(int index) {
     return subpages_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -248,8 +282,7 @@ 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(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -275,8 +308,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_);
     }
     for (int i = 0; i < subpages_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, subpages_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, subpages_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,19 +318,16 @@ 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.Page)) {
       return super.equals(obj);
     }
     com.google.api.Page other = (com.google.api.Page) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getContent()
-        .equals(other.getContent())) return false;
-    if (!getSubpagesList()
-        .equals(other.getSubpagesList())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getContent().equals(other.getContent())) return false;
+    if (!getSubpagesList().equals(other.getSubpagesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -323,99 +352,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.Page parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.Page parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Page 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.Page parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.Page parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Page 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.Page parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Page 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.Page 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.Page 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.Page 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.Page 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.Page parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.Page 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.Page 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.Page 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;
   }
   /**
+   *
+   *
    * 
    * Represents a documentation page. A page can contain subpages to represent
    * nested documentation set structure.
@@ -423,12 +456,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Page}
    */
-  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.Page)
       com.google.api.PageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.DocumentationProto.internal_static_google_api_Page_descriptor;
     }
 
@@ -441,15 +473,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Page.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -467,8 +496,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.DocumentationProto.internal_static_google_api_Page_descriptor;
     }
 
@@ -490,7 +518,9 @@ public com.google.api.Page build() {
     public com.google.api.Page buildPartial() {
       com.google.api.Page result = new com.google.api.Page(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -521,38 +551,39 @@ private void buildPartial0(com.google.api.Page 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.Page) {
-        return mergeFrom((com.google.api.Page)other);
+        return mergeFrom((com.google.api.Page) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -589,9 +620,10 @@ public Builder mergeFrom(com.google.api.Page other) {
             subpagesBuilder_ = null;
             subpages_ = other.subpages_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            subpagesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSubpagesFieldBuilder() : null;
+            subpagesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSubpagesFieldBuilder()
+                    : null;
           } else {
             subpagesBuilder_.addAllMessages(other.subpages_);
           }
@@ -623,35 +655,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              content_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.api.Page m =
-                  input.readMessage(
-                      com.google.api.Page.parser(),
-                      extensionRegistry);
-              if (subpagesBuilder_ == null) {
-                ensureSubpagesIsMutable();
-                subpages_.add(m);
-              } else {
-                subpagesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                content_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.api.Page m =
+                    input.readMessage(com.google.api.Page.parser(), extensionRegistry);
+                if (subpagesBuilder_ == null) {
+                  ensureSubpagesIsMutable();
+                  subpages_.add(m);
+                } else {
+                  subpagesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            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) {
@@ -661,10 +695,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the page. It will be used as an identity of the page to
      * generate URI of the page, text of the link to this page in navigation,
@@ -683,13 +720,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -698,6 +735,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the page. It will be used as an identity of the page to
      * generate URI of the page, text of the link to this page in navigation,
@@ -716,15 +755,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -732,6 +770,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the page. It will be used as an identity of the page to
      * generate URI of the page, text of the link to this page in navigation,
@@ -750,18 +790,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the page. It will be used as an identity of the page to
      * generate URI of the page, text of the link to this page in navigation,
@@ -780,6 +824,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -789,6 +834,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the page. It will be used as an identity of the page to
      * generate URI of the page, text of the link to this page in navigation,
@@ -807,12 +854,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -822,6 +871,8 @@ public Builder setNameBytes( private java.lang.Object content_ = ""; /** + * + * *
      * The Markdown content of the page. You can use <code>&#40;== include {path}
      * ==&#41;</code> to include content from a Markdown file. The content can be
@@ -829,13 +880,13 @@ public Builder setNameBytes(
      * 
* * string content = 2; + * * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; 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(); content_ = s; return s; @@ -844,6 +895,8 @@ public java.lang.String getContent() { } } /** + * + * *
      * The Markdown content of the page. You can use <code>&#40;== include {path}
      * ==&#41;</code> to include content from a Markdown file. The content can be
@@ -851,15 +904,14 @@ public java.lang.String getContent() {
      * 
* * string content = 2; + * * @return The bytes for content. */ - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; 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); content_ = b; return b; } else { @@ -867,6 +919,8 @@ public java.lang.String getContent() { } } /** + * + * *
      * The Markdown content of the page. You can use <code>&#40;== include {path}
      * ==&#41;</code> to include content from a Markdown file. The content can be
@@ -874,18 +928,22 @@ public java.lang.String getContent() {
      * 
* * string content = 2; + * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } content_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The Markdown content of the page. You can use <code>&#40;== include {path}
      * ==&#41;</code> to include content from a Markdown file. The content can be
@@ -893,6 +951,7 @@ public Builder setContent(
      * 
* * string content = 2; + * * @return This builder for chaining. */ public Builder clearContent() { @@ -902,6 +961,8 @@ public Builder clearContent() { return this; } /** + * + * *
      * The Markdown content of the page. You can use <code>&#40;== include {path}
      * ==&#41;</code> to include content from a Markdown file. The content can be
@@ -909,12 +970,14 @@ public Builder clearContent() {
      * 
* * string content = 2; + * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); content_ = value; bitField0_ |= 0x00000002; @@ -922,19 +985,22 @@ public Builder setContentBytes( return this; } - private java.util.List subpages_ = - java.util.Collections.emptyList(); + private java.util.List subpages_ = java.util.Collections.emptyList(); + private void ensureSubpagesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { subpages_ = new java.util.ArrayList(subpages_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> subpagesBuilder_; + com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> + subpagesBuilder_; /** + * + * *
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -950,6 +1016,8 @@ public java.util.List getSubpagesList() {
       }
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -965,6 +1033,8 @@ public int getSubpagesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -980,6 +1050,8 @@ public com.google.api.Page getSubpages(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -987,8 +1059,7 @@ public com.google.api.Page getSubpages(int index) {
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public Builder setSubpages(
-        int index, com.google.api.Page value) {
+    public Builder setSubpages(int index, com.google.api.Page value) {
       if (subpagesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1002,6 +1073,8 @@ public Builder setSubpages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1009,8 +1082,7 @@ public Builder setSubpages(
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public Builder setSubpages(
-        int index, com.google.api.Page.Builder builderForValue) {
+    public Builder setSubpages(int index, com.google.api.Page.Builder builderForValue) {
       if (subpagesBuilder_ == null) {
         ensureSubpagesIsMutable();
         subpages_.set(index, builderForValue.build());
@@ -1021,6 +1093,8 @@ public Builder setSubpages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1042,6 +1116,8 @@ public Builder addSubpages(com.google.api.Page value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1049,8 +1125,7 @@ public Builder addSubpages(com.google.api.Page value) {
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public Builder addSubpages(
-        int index, com.google.api.Page value) {
+    public Builder addSubpages(int index, com.google.api.Page value) {
       if (subpagesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1064,6 +1139,8 @@ public Builder addSubpages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1071,8 +1148,7 @@ public Builder addSubpages(
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public Builder addSubpages(
-        com.google.api.Page.Builder builderForValue) {
+    public Builder addSubpages(com.google.api.Page.Builder builderForValue) {
       if (subpagesBuilder_ == null) {
         ensureSubpagesIsMutable();
         subpages_.add(builderForValue.build());
@@ -1083,6 +1159,8 @@ public Builder addSubpages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1090,8 +1168,7 @@ public Builder addSubpages(
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public Builder addSubpages(
-        int index, com.google.api.Page.Builder builderForValue) {
+    public Builder addSubpages(int index, com.google.api.Page.Builder builderForValue) {
       if (subpagesBuilder_ == null) {
         ensureSubpagesIsMutable();
         subpages_.add(index, builderForValue.build());
@@ -1102,6 +1179,8 @@ public Builder addSubpages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1109,12 +1188,10 @@ public Builder addSubpages(
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public Builder addAllSubpages(
-        java.lang.Iterable values) {
+    public Builder addAllSubpages(java.lang.Iterable values) {
       if (subpagesBuilder_ == null) {
         ensureSubpagesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, subpages_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subpages_);
         onChanged();
       } else {
         subpagesBuilder_.addAllMessages(values);
@@ -1122,6 +1199,8 @@ public Builder addAllSubpages(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1140,6 +1219,8 @@ public Builder clearSubpages() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1158,6 +1239,8 @@ public Builder removeSubpages(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1165,11 +1248,12 @@ public Builder removeSubpages(int index) {
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public com.google.api.Page.Builder getSubpagesBuilder(
-        int index) {
+    public com.google.api.Page.Builder getSubpagesBuilder(int index) {
       return getSubpagesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1177,14 +1261,16 @@ public com.google.api.Page.Builder getSubpagesBuilder(
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public com.google.api.PageOrBuilder getSubpagesOrBuilder(
-        int index) {
+    public com.google.api.PageOrBuilder getSubpagesOrBuilder(int index) {
       if (subpagesBuilder_ == null) {
-        return subpages_.get(index);  } else {
+        return subpages_.get(index);
+      } else {
         return subpagesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1192,8 +1278,7 @@ public com.google.api.PageOrBuilder getSubpagesOrBuilder(
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public java.util.List 
-         getSubpagesOrBuilderList() {
+    public java.util.List getSubpagesOrBuilderList() {
       if (subpagesBuilder_ != null) {
         return subpagesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1201,6 +1286,8 @@ public com.google.api.PageOrBuilder getSubpagesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1209,10 +1296,11 @@ public com.google.api.PageOrBuilder getSubpagesOrBuilder(
      * repeated .google.api.Page subpages = 3;
      */
     public com.google.api.Page.Builder addSubpagesBuilder() {
-      return getSubpagesFieldBuilder().addBuilder(
-          com.google.api.Page.getDefaultInstance());
+      return getSubpagesFieldBuilder().addBuilder(com.google.api.Page.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1220,12 +1308,12 @@ public com.google.api.Page.Builder addSubpagesBuilder() {
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public com.google.api.Page.Builder addSubpagesBuilder(
-        int index) {
-      return getSubpagesFieldBuilder().addBuilder(
-          index, com.google.api.Page.getDefaultInstance());
+    public com.google.api.Page.Builder addSubpagesBuilder(int index) {
+      return getSubpagesFieldBuilder().addBuilder(index, com.google.api.Page.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -1233,27 +1321,25 @@ public com.google.api.Page.Builder addSubpagesBuilder(
      *
      * repeated .google.api.Page subpages = 3;
      */
-    public java.util.List 
-         getSubpagesBuilderList() {
+    public java.util.List getSubpagesBuilderList() {
       return getSubpagesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> 
+            com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder>
         getSubpagesFieldBuilder() {
       if (subpagesBuilder_ == null) {
-        subpagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder>(
-                subpages_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        subpagesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder>(
+                subpages_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         subpages_ = null;
       }
       return subpagesBuilder_;
     }
+
     @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);
     }
 
@@ -1263,12 +1349,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.Page)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.Page)
   private static final com.google.api.Page DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.Page();
   }
@@ -1277,27 +1363,27 @@ public static com.google.api.Page getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Page 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 Page 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;
@@ -1312,6 +1398,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.Page getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java
index 5f470d4715..126503118a 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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 interface PageOrBuilder extends
+public interface PageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.api.Page)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the page. It will be used as an identity of the page to
    * generate URI of the page, text of the link to this page in navigation,
@@ -26,10 +44,13 @@ public interface PageOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the page. It will be used as an identity of the page to
    * generate URI of the page, text of the link to this page in navigation,
@@ -48,12 +69,14 @@ public interface PageOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The Markdown content of the page. You can use <code>&#40;== include {path}
    * ==&#41;</code> to include content from a Markdown file. The content can be
@@ -61,10 +84,13 @@ public interface PageOrBuilder extends
    * 
* * string content = 2; + * * @return The content. */ java.lang.String getContent(); /** + * + * *
    * The Markdown content of the page. You can use <code>&#40;== include {path}
    * ==&#41;</code> to include content from a Markdown file. The content can be
@@ -72,12 +98,14 @@ public interface PageOrBuilder extends
    * 
* * string content = 2; + * * @return The bytes for content. */ - com.google.protobuf.ByteString - getContentBytes(); + com.google.protobuf.ByteString getContentBytes(); /** + * + * *
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -85,9 +113,10 @@ public interface PageOrBuilder extends
    *
    * repeated .google.api.Page subpages = 3;
    */
-  java.util.List 
-      getSubpagesList();
+  java.util.List getSubpagesList();
   /**
+   *
+   *
    * 
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -97,6 +126,8 @@ public interface PageOrBuilder extends
    */
   com.google.api.Page getSubpages(int index);
   /**
+   *
+   *
    * 
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -106,6 +137,8 @@ public interface PageOrBuilder extends
    */
   int getSubpagesCount();
   /**
+   *
+   *
    * 
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -113,9 +146,10 @@ public interface PageOrBuilder extends
    *
    * repeated .google.api.Page subpages = 3;
    */
-  java.util.List 
-      getSubpagesOrBuilderList();
+  java.util.List getSubpagesOrBuilderList();
   /**
+   *
+   *
    * 
    * Subpages of this page. The order of subpages specified here will be
    * honored in the generated docset.
@@ -123,6 +157,5 @@ public interface PageOrBuilder extends
    *
    * repeated .google.api.Page subpages = 3;
    */
-  com.google.api.PageOrBuilder getSubpagesOrBuilder(
-      int index);
+  com.google.api.PageOrBuilder getSubpagesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java
similarity index 68%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java
index 9da95ea295..34e6ad948d 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java
@@ -1,36 +1,51 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * Settings for Php client libraries.
  * 
* * Protobuf type {@code google.api.PhpSettings} */ -public final class PhpSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PhpSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.PhpSettings) PhpSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PhpSettings.newBuilder() to construct. private PhpSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PhpSettings() { - } + + private PhpSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PhpSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_PhpSettings_descriptor; } @@ -45,11 +60,14 @@ protected java.lang.Object newInstance( public static final int COMMON_FIELD_NUMBER = 1; private com.google.api.CommonLanguageSettings common_; /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -57,11 +75,14 @@ public boolean hasCommon() { return common_ != null; } /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ @java.lang.Override @@ -69,6 +90,8 @@ public com.google.api.CommonLanguageSettings getCommon() { return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; } /** + * + * *
    * Some settings.
    * 
@@ -81,6 +104,7 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +116,7 @@ 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 (common_ != null) { output.writeMessage(1, getCommon()); } @@ -107,8 +130,7 @@ public int getSerializedSize() { size = 0; if (common_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,7 +140,7 @@ 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.PhpSettings)) { return super.equals(obj); @@ -127,8 +149,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -150,111 +171,114 @@ public int hashCode() { return hash; } - public static com.google.api.PhpSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.PhpSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.PhpSettings 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.PhpSettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.PhpSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.PhpSettings 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.PhpSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.PhpSettings 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.PhpSettings 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.PhpSettings 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.PhpSettings 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.PhpSettings 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.PhpSettings parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.PhpSettings 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.PhpSettings 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.PhpSettings 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; } /** + * + * *
    * Settings for Php client libraries.
    * 
* * Protobuf type {@code google.api.PhpSettings} */ - 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.PhpSettings) com.google.api.PhpSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_PhpSettings_descriptor; } @@ -267,15 +291,12 @@ public static final class Builder extends } // Construct using com.google.api.PhpSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,8 +310,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.ClientProto.internal_static_google_api_PhpSettings_descriptor; } @@ -311,7 +331,9 @@ public com.google.api.PhpSettings build() { @java.lang.Override public com.google.api.PhpSettings buildPartial() { com.google.api.PhpSettings result = new com.google.api.PhpSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +341,7 @@ public com.google.api.PhpSettings buildPartial() { private void buildPartial0(com.google.api.PhpSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); } } @@ -329,38 +349,39 @@ private void buildPartial0(com.google.api.PhpSettings 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.PhpSettings) { - return mergeFrom((com.google.api.PhpSettings)other); + return mergeFrom((com.google.api.PhpSettings) other); } else { super.mergeFrom(other); return this; @@ -398,19 +419,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + 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) { @@ -420,38 +441,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.api.CommonLanguageSettings common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> commonBuilder_; + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> + commonBuilder_; /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ public com.google.api.CommonLanguageSettings getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Some settings.
      * 
@@ -472,14 +507,15 @@ public Builder setCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; */ - public Builder setCommon( - com.google.api.CommonLanguageSettings.Builder builderForValue) { + public Builder setCommon(com.google.api.CommonLanguageSettings.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -490,6 +526,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Some settings.
      * 
@@ -498,9 +536,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - common_ != null && - common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && common_ != null + && common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -513,6 +551,8 @@ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
@@ -530,6 +570,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Some settings.
      * 
@@ -542,6 +584,8 @@ public com.google.api.CommonLanguageSettings.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Some settings.
      * 
@@ -552,11 +596,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } } /** + * + * *
      * Some settings.
      * 
@@ -564,21 +611,24 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * .google.api.CommonLanguageSettings common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; } + @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); } @@ -588,12 +638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.PhpSettings) } // @@protoc_insertion_point(class_scope:google.api.PhpSettings) private static final com.google.api.PhpSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.PhpSettings(); } @@ -602,27 +652,27 @@ public static com.google.api.PhpSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PhpSettings 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 PhpSettings 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; @@ -637,6 +687,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.PhpSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java similarity index 54% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java index 2daf0c4259..09fa6be89a 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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 interface PhpSettingsOrBuilder extends +public interface PhpSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.PhpSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ com.google.api.CommonLanguageSettings getCommon(); /** + * + * *
    * Some settings.
    * 
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 new file mode 100644 index 0000000000..96f4f9abe8 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java @@ -0,0 +1,123 @@ +/* + * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java similarity index 73% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java index d7e80c7f54..0d8c669193 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * A descriptor for defining project properties for a service. One service may
  * have many consumer projects, and the service may want to behave differently
@@ -25,43 +42,46 @@
  *
  * Protobuf type {@code google.api.ProjectProperties}
  */
-public final class ProjectProperties extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ProjectProperties extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.ProjectProperties)
     ProjectPropertiesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ProjectProperties.newBuilder() to construct.
   private ProjectProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ProjectProperties() {
     properties_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ProjectProperties();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ConsumerProto.internal_static_google_api_ProjectProperties_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.ConsumerProto.internal_static_google_api_ProjectProperties_fieldAccessorTable
+    return com.google.api.ConsumerProto
+        .internal_static_google_api_ProjectProperties_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.api.ProjectProperties.class, com.google.api.ProjectProperties.Builder.class);
   }
 
   public static final int PROPERTIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List properties_;
   /**
+   *
+   *
    * 
    * List of per consumer project-specific properties.
    * 
@@ -73,6 +93,8 @@ public java.util.List getPropertiesList() { return properties_; } /** + * + * *
    * List of per consumer project-specific properties.
    * 
@@ -80,11 +102,12 @@ public java.util.List getPropertiesList() { * repeated .google.api.Property properties = 1; */ @java.lang.Override - public java.util.List - getPropertiesOrBuilderList() { + public java.util.List getPropertiesOrBuilderList() { return properties_; } /** + * + * *
    * List of per consumer project-specific properties.
    * 
@@ -96,6 +119,8 @@ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
    * List of per consumer project-specific properties.
    * 
@@ -107,6 +132,8 @@ public com.google.api.Property getProperties(int index) { return properties_.get(index); } /** + * + * *
    * List of per consumer project-specific properties.
    * 
@@ -114,12 +141,12 @@ public com.google.api.Property getProperties(int index) { * repeated .google.api.Property properties = 1; */ @java.lang.Override - public com.google.api.PropertyOrBuilder getPropertiesOrBuilder( - int index) { + public com.google.api.PropertyOrBuilder getPropertiesOrBuilder(int index) { return properties_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,8 +158,7 @@ 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 < properties_.size(); i++) { output.writeMessage(1, properties_.get(i)); } @@ -146,8 +172,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < properties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, properties_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, properties_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -157,15 +182,14 @@ 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.ProjectProperties)) { return super.equals(obj); } com.google.api.ProjectProperties other = (com.google.api.ProjectProperties) obj; - if (!getPropertiesList() - .equals(other.getPropertiesList())) return false; + if (!getPropertiesList().equals(other.getPropertiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,99 +210,103 @@ public int hashCode() { return hash; } - public static com.google.api.ProjectProperties parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.ProjectProperties parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.ProjectProperties 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.ProjectProperties parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.ProjectProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.ProjectProperties 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.ProjectProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.ProjectProperties 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.ProjectProperties 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.ProjectProperties 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.ProjectProperties 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.ProjectProperties 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.ProjectProperties parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.api.ProjectProperties 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.ProjectProperties 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; } /** + * + * *
    * A descriptor for defining project properties for a service. One service may
    * have many consumer projects, and the service may want to behave differently
@@ -300,33 +328,31 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.ProjectProperties}
    */
-  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.ProjectProperties)
       com.google.api.ProjectPropertiesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.ConsumerProto.internal_static_google_api_ProjectProperties_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.api.ConsumerProto.internal_static_google_api_ProjectProperties_fieldAccessorTable
+      return com.google.api.ConsumerProto
+          .internal_static_google_api_ProjectProperties_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.api.ProjectProperties.class, com.google.api.ProjectProperties.Builder.class);
+              com.google.api.ProjectProperties.class,
+              com.google.api.ProjectProperties.Builder.class);
     }
 
     // Construct using com.google.api.ProjectProperties.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -342,8 +368,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.ConsumerProto.internal_static_google_api_ProjectProperties_descriptor;
     }
 
@@ -365,7 +390,9 @@ public com.google.api.ProjectProperties build() {
     public com.google.api.ProjectProperties buildPartial() {
       com.google.api.ProjectProperties result = new com.google.api.ProjectProperties(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -390,38 +417,39 @@ private void buildPartial0(com.google.api.ProjectProperties 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.ProjectProperties) {
-        return mergeFrom((com.google.api.ProjectProperties)other);
+        return mergeFrom((com.google.api.ProjectProperties) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -448,9 +476,10 @@ public Builder mergeFrom(com.google.api.ProjectProperties other) {
             propertiesBuilder_ = null;
             properties_ = other.properties_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            propertiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPropertiesFieldBuilder() : null;
+            propertiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPropertiesFieldBuilder()
+                    : null;
           } else {
             propertiesBuilder_.addAllMessages(other.properties_);
           }
@@ -482,25 +511,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.api.Property m =
-                  input.readMessage(
-                      com.google.api.Property.parser(),
-                      extensionRegistry);
-              if (propertiesBuilder_ == null) {
-                ensurePropertiesIsMutable();
-                properties_.add(m);
-              } else {
-                propertiesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.api.Property m =
+                    input.readMessage(com.google.api.Property.parser(), extensionRegistry);
+                if (propertiesBuilder_ == null) {
+                  ensurePropertiesIsMutable();
+                  properties_.add(m);
+                } else {
+                  propertiesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            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) {
@@ -510,21 +539,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List properties_ =
-      java.util.Collections.emptyList();
+    private java.util.List properties_ = java.util.Collections.emptyList();
+
     private void ensurePropertiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         properties_ = new java.util.ArrayList(properties_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.Property, com.google.api.Property.Builder, com.google.api.PropertyOrBuilder> propertiesBuilder_;
+            com.google.api.Property,
+            com.google.api.Property.Builder,
+            com.google.api.PropertyOrBuilder>
+        propertiesBuilder_;
 
     /**
+     *
+     *
      * 
      * List of per consumer project-specific properties.
      * 
@@ -539,6 +574,8 @@ public java.util.List getPropertiesList() { } } /** + * + * *
      * List of per consumer project-specific properties.
      * 
@@ -553,6 +590,8 @@ public int getPropertiesCount() { } } /** + * + * *
      * List of per consumer project-specific properties.
      * 
@@ -567,14 +606,15 @@ public com.google.api.Property getProperties(int index) { } } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public Builder setProperties( - int index, com.google.api.Property value) { + public Builder setProperties(int index, com.google.api.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -588,14 +628,15 @@ public Builder setProperties( return this; } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public Builder setProperties( - int index, com.google.api.Property.Builder builderForValue) { + public Builder setProperties(int index, com.google.api.Property.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.set(index, builderForValue.build()); @@ -606,6 +647,8 @@ public Builder setProperties( return this; } /** + * + * *
      * List of per consumer project-specific properties.
      * 
@@ -626,14 +669,15 @@ public Builder addProperties(com.google.api.Property value) { return this; } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public Builder addProperties( - int index, com.google.api.Property value) { + public Builder addProperties(int index, com.google.api.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -647,14 +691,15 @@ public Builder addProperties( return this; } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public Builder addProperties( - com.google.api.Property.Builder builderForValue) { + public Builder addProperties(com.google.api.Property.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(builderForValue.build()); @@ -665,14 +710,15 @@ public Builder addProperties( return this; } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public Builder addProperties( - int index, com.google.api.Property.Builder builderForValue) { + public Builder addProperties(int index, com.google.api.Property.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(index, builderForValue.build()); @@ -683,18 +729,18 @@ public Builder addProperties( return this; } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public Builder addAllProperties( - java.lang.Iterable values) { + public Builder addAllProperties(java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); @@ -702,6 +748,8 @@ public Builder addAllProperties( return this; } /** + * + * *
      * List of per consumer project-specific properties.
      * 
@@ -719,6 +767,8 @@ public Builder clearProperties() { return this; } /** + * + * *
      * List of per consumer project-specific properties.
      * 
@@ -736,39 +786,43 @@ public Builder removeProperties(int index) { return this; } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public com.google.api.Property.Builder getPropertiesBuilder( - int index) { + public com.google.api.Property.Builder getPropertiesBuilder(int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public com.google.api.PropertyOrBuilder getPropertiesOrBuilder( - int index) { + public com.google.api.PropertyOrBuilder getPropertiesOrBuilder(int index) { if (propertiesBuilder_ == null) { - return properties_.get(index); } else { + return properties_.get(index); + } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public java.util.List - getPropertiesOrBuilderList() { + public java.util.List getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { @@ -776,6 +830,8 @@ public com.google.api.PropertyOrBuilder getPropertiesOrBuilder( } } /** + * + * *
      * List of per consumer project-specific properties.
      * 
@@ -783,49 +839,53 @@ public com.google.api.PropertyOrBuilder getPropertiesOrBuilder( * repeated .google.api.Property properties = 1; */ public com.google.api.Property.Builder addPropertiesBuilder() { - return getPropertiesFieldBuilder().addBuilder( - com.google.api.Property.getDefaultInstance()); + return getPropertiesFieldBuilder().addBuilder(com.google.api.Property.getDefaultInstance()); } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public com.google.api.Property.Builder addPropertiesBuilder( - int index) { - return getPropertiesFieldBuilder().addBuilder( - index, com.google.api.Property.getDefaultInstance()); + public com.google.api.Property.Builder addPropertiesBuilder(int index) { + return getPropertiesFieldBuilder() + .addBuilder(index, com.google.api.Property.getDefaultInstance()); } /** + * + * *
      * List of per consumer project-specific properties.
      * 
* * repeated .google.api.Property properties = 1; */ - public java.util.List - getPropertiesBuilderList() { + public java.util.List getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Property, com.google.api.Property.Builder, com.google.api.PropertyOrBuilder> + com.google.api.Property, + com.google.api.Property.Builder, + com.google.api.PropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { - propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.Property, com.google.api.Property.Builder, com.google.api.PropertyOrBuilder>( - properties_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + propertiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.Property, + com.google.api.Property.Builder, + com.google.api.PropertyOrBuilder>( + properties_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); properties_ = null; } return propertiesBuilder_; } + @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); } @@ -835,12 +895,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.ProjectProperties) } // @@protoc_insertion_point(class_scope:google.api.ProjectProperties) private static final com.google.api.ProjectProperties DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.ProjectProperties(); } @@ -849,27 +909,27 @@ public static com.google.api.ProjectProperties getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectProperties 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 ProjectProperties 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; @@ -884,6 +944,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.ProjectProperties getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java similarity index 54% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java index 39a04984f2..7662b29875 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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 interface ProjectPropertiesOrBuilder extends +public interface ProjectPropertiesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.ProjectProperties) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of per consumer project-specific properties.
    * 
* * repeated .google.api.Property properties = 1; */ - java.util.List - getPropertiesList(); + java.util.List getPropertiesList(); /** + * + * *
    * List of per consumer project-specific properties.
    * 
@@ -25,6 +44,8 @@ public interface ProjectPropertiesOrBuilder extends */ com.google.api.Property getProperties(int index); /** + * + * *
    * List of per consumer project-specific properties.
    * 
@@ -33,21 +54,23 @@ public interface ProjectPropertiesOrBuilder extends */ int getPropertiesCount(); /** + * + * *
    * List of per consumer project-specific properties.
    * 
* * repeated .google.api.Property properties = 1; */ - java.util.List - getPropertiesOrBuilderList(); + java.util.List getPropertiesOrBuilderList(); /** + * + * *
    * List of per consumer project-specific properties.
    * 
* * repeated .google.api.Property properties = 1; */ - com.google.api.PropertyOrBuilder getPropertiesOrBuilder( - int index); + com.google.api.PropertyOrBuilder getPropertiesOrBuilder(int index); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Property.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java similarity index 72% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Property.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java index 4de80b4b49..404b8c05f6 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Property.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Defines project properties.
  *
@@ -19,15 +36,16 @@
  *
  * Protobuf type {@code google.api.Property}
  */
-public final class Property extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Property extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Property)
     PropertyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Property.newBuilder() to construct.
   private Property(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Property() {
     name_ = "";
     type_ = 0;
@@ -36,13 +54,11 @@ private Property() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Property();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ConsumerProto.internal_static_google_api_Property_descriptor;
   }
 
@@ -55,15 +71,18 @@ protected java.lang.Object newInstance(
   }
 
   /**
+   *
+   *
    * 
    * Supported data type of the property values
    * 
* * Protobuf enum {@code google.api.Property.PropertyType} */ - public enum PropertyType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The type is unspecified, and will result in an error.
      * 
@@ -72,6 +91,8 @@ public enum PropertyType */ UNSPECIFIED(0), /** + * + * *
      * The type is `int64`.
      * 
@@ -80,6 +101,8 @@ public enum PropertyType */ INT64(1), /** + * + * *
      * The type is `bool`.
      * 
@@ -88,6 +111,8 @@ public enum PropertyType */ BOOL(2), /** + * + * *
      * The type is `string`.
      * 
@@ -96,6 +121,8 @@ public enum PropertyType */ STRING(3), /** + * + * *
      * The type is 'double'.
      * 
@@ -107,6 +134,8 @@ public enum PropertyType ; /** + * + * *
      * The type is unspecified, and will result in an error.
      * 
@@ -115,6 +144,8 @@ public enum PropertyType */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * The type is `int64`.
      * 
@@ -123,6 +154,8 @@ public enum PropertyType */ public static final int INT64_VALUE = 1; /** + * + * *
      * The type is `bool`.
      * 
@@ -131,6 +164,8 @@ public enum PropertyType */ public static final int BOOL_VALUE = 2; /** + * + * *
      * The type is `string`.
      * 
@@ -139,6 +174,8 @@ public enum PropertyType */ public static final int STRING_VALUE = 3; /** + * + * *
      * The type is 'double'.
      * 
@@ -147,7 +184,6 @@ public enum PropertyType */ public static final int DOUBLE_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -172,51 +208,53 @@ public static PropertyType valueOf(int value) { */ public static PropertyType forNumber(int value) { switch (value) { - case 0: return UNSPECIFIED; - case 1: return INT64; - case 2: return BOOL; - case 3: return STRING; - case 4: return DOUBLE; - default: return null; + case 0: + return UNSPECIFIED; + case 1: + return INT64; + case 2: + return BOOL; + case 3: + return STRING; + case 4: + return DOUBLE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PropertyType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PropertyType findValueByNumber(int number) { - return PropertyType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PropertyType findValueByNumber(int number) { + return PropertyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.api.Property.getDescriptor().getEnumTypes().get(0); } private static final PropertyType[] VALUES = values(); - public static PropertyType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PropertyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -234,14 +272,18 @@ private PropertyType(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The name of the property (a.k.a key).
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -250,29 +292,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
    * The name of the property (a.k.a key).
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -283,38 +325,51 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * The type of this property.
    * 
* * .google.api.Property.PropertyType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of this property.
    * 
* * .google.api.Property.PropertyType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.api.Property.PropertyType getType() { - com.google.api.Property.PropertyType result = com.google.api.Property.PropertyType.forNumber(type_); + @java.lang.Override + public com.google.api.Property.PropertyType getType() { + com.google.api.Property.PropertyType result = + com.google.api.Property.PropertyType.forNumber(type_); return result == null ? com.google.api.Property.PropertyType.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * The description of the property
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -323,29 +378,29 @@ 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; } } /** + * + * *
    * The description of the property
    * 
* * string description = 3; + * * @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 { @@ -354,6 +409,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,8 +421,7 @@ 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -389,8 +444,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != com.google.api.Property.PropertyType.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); @@ -403,18 +457,16 @@ 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.Property)) { return super.equals(obj); } com.google.api.Property other = (com.google.api.Property) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -437,99 +489,103 @@ public int hashCode() { return hash; } - public static com.google.api.Property parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Property parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Property 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.Property parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.Property parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Property 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.Property parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Property 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.Property 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.Property 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.Property 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.Property 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.Property parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.Property 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.Property 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.Property 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; } /** + * + * *
    * Defines project properties.
    *
@@ -545,12 +601,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Property}
    */
-  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.Property)
       com.google.api.PropertyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.ConsumerProto.internal_static_google_api_Property_descriptor;
     }
 
@@ -563,15 +618,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Property.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -583,8 +635,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.ConsumerProto.internal_static_google_api_Property_descriptor;
     }
 
@@ -605,7 +656,9 @@ public com.google.api.Property build() {
     @java.lang.Override
     public com.google.api.Property buildPartial() {
       com.google.api.Property result = new com.google.api.Property(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -627,38 +680,39 @@ private void buildPartial0(com.google.api.Property 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.Property) {
-        return mergeFrom((com.google.api.Property)other);
+        return mergeFrom((com.google.api.Property) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -706,27 +760,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            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) {
@@ -736,22 +794,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the property (a.k.a key).
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -760,20 +821,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the property (a.k.a key).
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -781,28 +843,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the property (a.k.a key).
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the property (a.k.a key).
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -812,17 +881,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the property (a.k.a key).
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -832,22 +905,29 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
      * The type of this property.
      * 
* * .google.api.Property.PropertyType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of this property.
      * 
* * .google.api.Property.PropertyType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -858,24 +938,31 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of this property.
      * 
* * .google.api.Property.PropertyType type = 2; + * * @return The type. */ @java.lang.Override public com.google.api.Property.PropertyType getType() { - com.google.api.Property.PropertyType result = com.google.api.Property.PropertyType.forNumber(type_); + com.google.api.Property.PropertyType result = + com.google.api.Property.PropertyType.forNumber(type_); return result == null ? com.google.api.Property.PropertyType.UNRECOGNIZED : result; } /** + * + * *
      * The type of this property.
      * 
* * .google.api.Property.PropertyType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -889,11 +976,14 @@ public Builder setType(com.google.api.Property.PropertyType value) { return this; } /** + * + * *
      * The type of this property.
      * 
* * .google.api.Property.PropertyType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -905,18 +995,20 @@ public Builder clearType() { private java.lang.Object description_ = ""; /** + * + * *
      * The description of the property
      * 
* * string description = 3; + * * @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; @@ -925,20 +1017,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description of the property
      * 
* * string description = 3; + * * @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 { @@ -946,28 +1039,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description of the property
      * 
* * string description = 3; + * * @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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The description of the property
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -977,26 +1077,30 @@ public Builder clearDescription() { return this; } /** + * + * *
      * The description of the property
      * 
* * string description = 3; + * * @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_ |= 0x00000004; 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); } @@ -1006,12 +1110,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Property) } // @@protoc_insertion_point(class_scope:google.api.Property) private static final com.google.api.Property DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Property(); } @@ -1020,27 +1124,27 @@ public static com.google.api.Property getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Property 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 Property 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; @@ -1055,6 +1159,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Property getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java similarity index 61% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java index fe17c3d56f..c537871c93 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java @@ -1,68 +1,100 @@ +/* + * 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 interface PropertyOrBuilder extends +public interface PropertyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Property) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the property (a.k.a key).
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the property (a.k.a key).
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The type of this property.
    * 
* * .google.api.Property.PropertyType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of this property.
    * 
* * .google.api.Property.PropertyType type = 2; + * * @return The type. */ com.google.api.Property.PropertyType getType(); /** + * + * *
    * The description of the property
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The description of the property
    * 
* * string description = 3; + * * @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/Publishing.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java similarity index 78% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Publishing.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java index 4548d90ccd..50dc04a8e4 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Publishing.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * This message configures the settings for publishing [Google Cloud Client
  * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
@@ -12,23 +29,23 @@
  *
  * Protobuf type {@code google.api.Publishing}
  */
-public final class Publishing extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Publishing extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Publishing)
     PublishingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Publishing.newBuilder() to construct.
   private Publishing(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Publishing() {
     methodSettings_ = java.util.Collections.emptyList();
     newIssueUri_ = "";
     documentationUri_ = "";
     apiShortName_ = "";
     githubLabel_ = "";
-    codeownerGithubTeams_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.emptyList();
     docTagPrefix_ = "";
     organization_ = 0;
     librarySettings_ = java.util.Collections.emptyList();
@@ -37,13 +54,11 @@ private Publishing() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Publishing();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ClientProto.internal_static_google_api_Publishing_descriptor;
   }
 
@@ -56,9 +71,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int METHOD_SETTINGS_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List methodSettings_;
   /**
+   *
+   *
    * 
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -71,6 +89,8 @@ public java.util.List getMethodSettingsList() {
     return methodSettings_;
   }
   /**
+   *
+   *
    * 
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -79,11 +99,13 @@ public java.util.List getMethodSettingsList() {
    * repeated .google.api.MethodSettings method_settings = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMethodSettingsOrBuilderList() {
     return methodSettings_;
   }
   /**
+   *
+   *
    * 
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -96,6 +118,8 @@ public int getMethodSettingsCount() {
     return methodSettings_.size();
   }
   /**
+   *
+   *
    * 
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -108,6 +132,8 @@ public com.google.api.MethodSettings getMethodSettings(int index) {
     return methodSettings_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -116,21 +142,24 @@ public com.google.api.MethodSettings getMethodSettings(int index) {
    * repeated .google.api.MethodSettings method_settings = 2;
    */
   @java.lang.Override
-  public com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
-      int index) {
+  public com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(int index) {
     return methodSettings_.get(index);
   }
 
   public static final int NEW_ISSUE_URI_FIELD_NUMBER = 101;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object newIssueUri_ = "";
   /**
+   *
+   *
    * 
    * Link to a *public* URI where users can report issues.  Example:
    * https://issuetracker.google.com/issues/new?component=190865&template=1161103
    * 
* * string new_issue_uri = 101; + * * @return The newIssueUri. */ @java.lang.Override @@ -139,30 +168,30 @@ public java.lang.String getNewIssueUri() { 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(); newIssueUri_ = s; return s; } } /** + * + * *
    * Link to a *public* URI where users can report issues.  Example:
    * https://issuetracker.google.com/issues/new?component=190865&template=1161103
    * 
* * string new_issue_uri = 101; + * * @return The bytes for newIssueUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewIssueUriBytes() { + public com.google.protobuf.ByteString getNewIssueUriBytes() { java.lang.Object ref = newIssueUri_; 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); newIssueUri_ = b; return b; } else { @@ -171,15 +200,19 @@ public java.lang.String getNewIssueUri() { } public static final int DOCUMENTATION_URI_FIELD_NUMBER = 102; + @SuppressWarnings("serial") private volatile java.lang.Object documentationUri_ = ""; /** + * + * *
    * Link to product home page.  Example:
    * https://cloud.google.com/asset-inventory/docs/overview
    * 
* * string documentation_uri = 102; + * * @return The documentationUri. */ @java.lang.Override @@ -188,30 +221,30 @@ public java.lang.String getDocumentationUri() { 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(); documentationUri_ = s; return s; } } /** + * + * *
    * Link to product home page.  Example:
    * https://cloud.google.com/asset-inventory/docs/overview
    * 
* * string documentation_uri = 102; + * * @return The bytes for documentationUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDocumentationUriBytes() { + public com.google.protobuf.ByteString getDocumentationUriBytes() { java.lang.Object ref = documentationUri_; 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); documentationUri_ = b; return b; } else { @@ -220,9 +253,12 @@ public java.lang.String getDocumentationUri() { } public static final int API_SHORT_NAME_FIELD_NUMBER = 103; + @SuppressWarnings("serial") private volatile java.lang.Object apiShortName_ = ""; /** + * + * *
    * Used as a tracking tag when collecting data about the APIs developer
    * relations artifacts like docs, packages delivered to package managers,
@@ -230,6 +266,7 @@ public java.lang.String getDocumentationUri() {
    * 
* * string api_short_name = 103; + * * @return The apiShortName. */ @java.lang.Override @@ -238,14 +275,15 @@ public java.lang.String getApiShortName() { 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(); apiShortName_ = s; return s; } } /** + * + * *
    * Used as a tracking tag when collecting data about the APIs developer
    * relations artifacts like docs, packages delivered to package managers,
@@ -253,16 +291,15 @@ public java.lang.String getApiShortName() {
    * 
* * string api_short_name = 103; + * * @return The bytes for apiShortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiShortNameBytes() { + public com.google.protobuf.ByteString getApiShortNameBytes() { java.lang.Object ref = apiShortName_; 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); apiShortName_ = b; return b; } else { @@ -271,14 +308,18 @@ public java.lang.String getApiShortName() { } public static final int GITHUB_LABEL_FIELD_NUMBER = 104; + @SuppressWarnings("serial") private volatile java.lang.Object githubLabel_ = ""; /** + * + * *
    * GitHub label to apply to issues and pull requests opened for this API.
    * 
* * string github_label = 104; + * * @return The githubLabel. */ @java.lang.Override @@ -287,29 +328,29 @@ public java.lang.String getGithubLabel() { 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(); githubLabel_ = s; return s; } } /** + * + * *
    * GitHub label to apply to issues and pull requests opened for this API.
    * 
* * string github_label = 104; + * * @return The bytes for githubLabel. */ @java.lang.Override - public com.google.protobuf.ByteString - getGithubLabelBytes() { + public com.google.protobuf.ByteString getGithubLabelBytes() { java.lang.Object ref = githubLabel_; 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); githubLabel_ = b; return b; } else { @@ -318,41 +359,50 @@ public java.lang.String getGithubLabel() { } public static final int CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER = 105; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * GitHub teams to be added to CODEOWNERS in the directory in GitHub
    * containing source code for the client libraries for this API.
    * 
* * repeated string codeowner_github_teams = 105; + * * @return A list containing the codeownerGithubTeams. */ - public com.google.protobuf.ProtocolStringList - getCodeownerGithubTeamsList() { + public com.google.protobuf.ProtocolStringList getCodeownerGithubTeamsList() { return codeownerGithubTeams_; } /** + * + * *
    * GitHub teams to be added to CODEOWNERS in the directory in GitHub
    * containing source code for the client libraries for this API.
    * 
* * repeated string codeowner_github_teams = 105; + * * @return The count of codeownerGithubTeams. */ public int getCodeownerGithubTeamsCount() { return codeownerGithubTeams_.size(); } /** + * + * *
    * GitHub teams to be added to CODEOWNERS in the directory in GitHub
    * containing source code for the client libraries for this API.
    * 
* * repeated string codeowner_github_teams = 105; + * * @param index The index of the element to return. * @return The codeownerGithubTeams at the given index. */ @@ -360,30 +410,36 @@ public java.lang.String getCodeownerGithubTeams(int index) { return codeownerGithubTeams_.get(index); } /** + * + * *
    * GitHub teams to be added to CODEOWNERS in the directory in GitHub
    * containing source code for the client libraries for this API.
    * 
* * repeated string codeowner_github_teams = 105; + * * @param index The index of the value to return. * @return The bytes of the codeownerGithubTeams at the given index. */ - public com.google.protobuf.ByteString - getCodeownerGithubTeamsBytes(int index) { + public com.google.protobuf.ByteString getCodeownerGithubTeamsBytes(int index) { return codeownerGithubTeams_.getByteString(index); } public static final int DOC_TAG_PREFIX_FIELD_NUMBER = 106; + @SuppressWarnings("serial") private volatile java.lang.Object docTagPrefix_ = ""; /** + * + * *
    * A prefix used in sample code when demarking regions to be included in
    * documentation.
    * 
* * string doc_tag_prefix = 106; + * * @return The docTagPrefix. */ @java.lang.Override @@ -392,30 +448,30 @@ public java.lang.String getDocTagPrefix() { 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(); docTagPrefix_ = s; return s; } } /** + * + * *
    * A prefix used in sample code when demarking regions to be included in
    * documentation.
    * 
* * string doc_tag_prefix = 106; + * * @return The bytes for docTagPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getDocTagPrefixBytes() { + public com.google.protobuf.ByteString getDocTagPrefixBytes() { java.lang.Object ref = docTagPrefix_; 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); docTagPrefix_ = b; return b; } else { @@ -426,33 +482,45 @@ public java.lang.String getDocTagPrefix() { public static final int ORGANIZATION_FIELD_NUMBER = 107; private int organization_ = 0; /** + * + * *
    * For whom the client library is being published.
    * 
* * .google.api.ClientLibraryOrganization organization = 107; + * * @return The enum numeric value on the wire for organization. */ - @java.lang.Override public int getOrganizationValue() { + @java.lang.Override + public int getOrganizationValue() { return organization_; } /** + * + * *
    * For whom the client library is being published.
    * 
* * .google.api.ClientLibraryOrganization organization = 107; + * * @return The organization. */ - @java.lang.Override public com.google.api.ClientLibraryOrganization getOrganization() { - com.google.api.ClientLibraryOrganization result = com.google.api.ClientLibraryOrganization.forNumber(organization_); + @java.lang.Override + public com.google.api.ClientLibraryOrganization getOrganization() { + com.google.api.ClientLibraryOrganization result = + com.google.api.ClientLibraryOrganization.forNumber(organization_); return result == null ? com.google.api.ClientLibraryOrganization.UNRECOGNIZED : result; } public static final int LIBRARY_SETTINGS_FIELD_NUMBER = 109; + @SuppressWarnings("serial") private java.util.List librarySettings_; /** + * + * *
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -466,6 +534,8 @@ public java.util.List getLibrarySettingsLi
     return librarySettings_;
   }
   /**
+   *
+   *
    * 
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -475,11 +545,13 @@ public java.util.List getLibrarySettingsLi
    * repeated .google.api.ClientLibrarySettings library_settings = 109;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLibrarySettingsOrBuilderList() {
     return librarySettings_;
   }
   /**
+   *
+   *
    * 
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -493,6 +565,8 @@ public int getLibrarySettingsCount() {
     return librarySettings_.size();
   }
   /**
+   *
+   *
    * 
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -506,6 +580,8 @@ public com.google.api.ClientLibrarySettings getLibrarySettings(int index) {
     return librarySettings_.get(index);
   }
   /**
+   *
+   *
    * 
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -515,21 +591,24 @@ public com.google.api.ClientLibrarySettings getLibrarySettings(int index) {
    * repeated .google.api.ClientLibrarySettings library_settings = 109;
    */
   @java.lang.Override
-  public com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder(
-      int index) {
+  public com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder(int index) {
     return librarySettings_.get(index);
   }
 
   public static final int PROTO_REFERENCE_DOCUMENTATION_URI_FIELD_NUMBER = 110;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object protoReferenceDocumentationUri_ = "";
   /**
+   *
+   *
    * 
    * Optional link to proto reference documentation.  Example:
    * https://cloud.google.com/pubsub/lite/docs/reference/rpc
    * 
* * string proto_reference_documentation_uri = 110; + * * @return The protoReferenceDocumentationUri. */ @java.lang.Override @@ -538,30 +617,30 @@ public java.lang.String getProtoReferenceDocumentationUri() { 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(); protoReferenceDocumentationUri_ = s; return s; } } /** + * + * *
    * Optional link to proto reference documentation.  Example:
    * https://cloud.google.com/pubsub/lite/docs/reference/rpc
    * 
* * string proto_reference_documentation_uri = 110; + * * @return The bytes for protoReferenceDocumentationUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getProtoReferenceDocumentationUriBytes() { + public com.google.protobuf.ByteString getProtoReferenceDocumentationUriBytes() { java.lang.Object ref = protoReferenceDocumentationUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protoReferenceDocumentationUri_ = b; return b; } else { @@ -570,6 +649,7 @@ public java.lang.String getProtoReferenceDocumentationUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,8 +661,7 @@ 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 < methodSettings_.size(); i++) { output.writeMessage(2, methodSettings_.get(i)); } @@ -599,19 +678,23 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 104, githubLabel_); } for (int i = 0; i < codeownerGithubTeams_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 105, codeownerGithubTeams_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 105, codeownerGithubTeams_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(docTagPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 106, docTagPrefix_); } - if (organization_ != com.google.api.ClientLibraryOrganization.CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED.getNumber()) { + if (organization_ + != com.google.api.ClientLibraryOrganization.CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED + .getNumber()) { output.writeEnum(107, organization_); } for (int i = 0; i < librarySettings_.size(); i++) { output.writeMessage(109, librarySettings_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoReferenceDocumentationUri_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 110, protoReferenceDocumentationUri_); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 110, protoReferenceDocumentationUri_); } getUnknownFields().writeTo(output); } @@ -623,8 +706,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < methodSettings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, methodSettings_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, methodSettings_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newIssueUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(101, newIssueUri_); @@ -649,16 +731,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(docTagPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(106, docTagPrefix_); } - if (organization_ != com.google.api.ClientLibraryOrganization.CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(107, organization_); + if (organization_ + != com.google.api.ClientLibraryOrganization.CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(107, organization_); } for (int i = 0; i < librarySettings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(109, librarySettings_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(109, librarySettings_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoReferenceDocumentationUri_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(110, protoReferenceDocumentationUri_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 110, protoReferenceDocumentationUri_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -668,32 +753,24 @@ 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.Publishing)) { return super.equals(obj); } com.google.api.Publishing other = (com.google.api.Publishing) obj; - if (!getMethodSettingsList() - .equals(other.getMethodSettingsList())) return false; - if (!getNewIssueUri() - .equals(other.getNewIssueUri())) return false; - if (!getDocumentationUri() - .equals(other.getDocumentationUri())) return false; - if (!getApiShortName() - .equals(other.getApiShortName())) return false; - if (!getGithubLabel() - .equals(other.getGithubLabel())) return false; - if (!getCodeownerGithubTeamsList() - .equals(other.getCodeownerGithubTeamsList())) return false; - if (!getDocTagPrefix() - .equals(other.getDocTagPrefix())) return false; + if (!getMethodSettingsList().equals(other.getMethodSettingsList())) return false; + if (!getNewIssueUri().equals(other.getNewIssueUri())) return false; + if (!getDocumentationUri().equals(other.getDocumentationUri())) return false; + if (!getApiShortName().equals(other.getApiShortName())) return false; + if (!getGithubLabel().equals(other.getGithubLabel())) return false; + if (!getCodeownerGithubTeamsList().equals(other.getCodeownerGithubTeamsList())) return false; + if (!getDocTagPrefix().equals(other.getDocTagPrefix())) return false; if (organization_ != other.organization_) return false; - if (!getLibrarySettingsList() - .equals(other.getLibrarySettingsList())) return false; - if (!getProtoReferenceDocumentationUri() - .equals(other.getProtoReferenceDocumentationUri())) return false; + if (!getLibrarySettingsList().equals(other.getLibrarySettingsList())) return false; + if (!getProtoReferenceDocumentationUri().equals(other.getProtoReferenceDocumentationUri())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -736,99 +813,103 @@ public int hashCode() { return hash; } - public static com.google.api.Publishing parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.Publishing parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Publishing 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.Publishing parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.Publishing parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Publishing 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.Publishing parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.Publishing 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.Publishing 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.Publishing 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.Publishing 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.Publishing 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.Publishing parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.Publishing 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.Publishing 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.Publishing 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; } /** + * + * *
    * This message configures the settings for publishing [Google Cloud Client
    * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
@@ -837,12 +918,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Publishing}
    */
-  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.Publishing)
       com.google.api.PublishingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.ClientProto.internal_static_google_api_Publishing_descriptor;
     }
 
@@ -855,15 +935,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Publishing.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -879,8 +956,7 @@ public Builder clear() {
       documentationUri_ = "";
       apiShortName_ = "";
       githubLabel_ = "";
-      codeownerGithubTeams_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.emptyList();
       docTagPrefix_ = "";
       organization_ = 0;
       if (librarySettingsBuilder_ == null) {
@@ -895,8 +971,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.ClientProto.internal_static_google_api_Publishing_descriptor;
     }
 
@@ -918,7 +993,9 @@ public com.google.api.Publishing build() {
     public com.google.api.Publishing buildPartial() {
       com.google.api.Publishing result = new com.google.api.Publishing(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -977,38 +1054,39 @@ private void buildPartial0(com.google.api.Publishing 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.Publishing) {
-        return mergeFrom((com.google.api.Publishing)other);
+        return mergeFrom((com.google.api.Publishing) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1035,9 +1113,10 @@ public Builder mergeFrom(com.google.api.Publishing other) {
             methodSettingsBuilder_ = null;
             methodSettings_ = other.methodSettings_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            methodSettingsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getMethodSettingsFieldBuilder() : null;
+            methodSettingsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getMethodSettingsFieldBuilder()
+                    : null;
           } else {
             methodSettingsBuilder_.addAllMessages(other.methodSettings_);
           }
@@ -1099,9 +1178,10 @@ public Builder mergeFrom(com.google.api.Publishing other) {
             librarySettingsBuilder_ = null;
             librarySettings_ = other.librarySettings_;
             bitField0_ = (bitField0_ & ~0x00000100);
-            librarySettingsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLibrarySettingsFieldBuilder() : null;
+            librarySettingsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLibrarySettingsFieldBuilder()
+                    : null;
           } else {
             librarySettingsBuilder_.addAllMessages(other.librarySettings_);
           }
@@ -1138,79 +1218,87 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              com.google.api.MethodSettings m =
-                  input.readMessage(
-                      com.google.api.MethodSettings.parser(),
-                      extensionRegistry);
-              if (methodSettingsBuilder_ == null) {
-                ensureMethodSettingsIsMutable();
-                methodSettings_.add(m);
-              } else {
-                methodSettingsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 810: {
-              newIssueUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 810
-            case 818: {
-              documentationUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 818
-            case 826: {
-              apiShortName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 826
-            case 834: {
-              githubLabel_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 834
-            case 842: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureCodeownerGithubTeamsIsMutable();
-              codeownerGithubTeams_.add(s);
-              break;
-            } // case 842
-            case 850: {
-              docTagPrefix_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 850
-            case 856: {
-              organization_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 856
-            case 874: {
-              com.google.api.ClientLibrarySettings m =
-                  input.readMessage(
-                      com.google.api.ClientLibrarySettings.parser(),
-                      extensionRegistry);
-              if (librarySettingsBuilder_ == null) {
-                ensureLibrarySettingsIsMutable();
-                librarySettings_.add(m);
-              } else {
-                librarySettingsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 874
-            case 882: {
-              protoReferenceDocumentationUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 882
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                com.google.api.MethodSettings m =
+                    input.readMessage(com.google.api.MethodSettings.parser(), extensionRegistry);
+                if (methodSettingsBuilder_ == null) {
+                  ensureMethodSettingsIsMutable();
+                  methodSettings_.add(m);
+                } else {
+                  methodSettingsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 810:
+              {
+                newIssueUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 810
+            case 818:
+              {
+                documentationUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 818
+            case 826:
+              {
+                apiShortName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 826
+            case 834:
+              {
+                githubLabel_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 834
+            case 842:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureCodeownerGithubTeamsIsMutable();
+                codeownerGithubTeams_.add(s);
+                break;
+              } // case 842
+            case 850:
+              {
+                docTagPrefix_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 850
+            case 856:
+              {
+                organization_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 856
+            case 874:
+              {
+                com.google.api.ClientLibrarySettings m =
+                    input.readMessage(
+                        com.google.api.ClientLibrarySettings.parser(), extensionRegistry);
+                if (librarySettingsBuilder_ == null) {
+                  ensureLibrarySettingsIsMutable();
+                  librarySettings_.add(m);
+                } else {
+                  librarySettingsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 874
+            case 882:
+              {
+                protoReferenceDocumentationUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 882
+            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) {
@@ -1220,21 +1308,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List methodSettings_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMethodSettingsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         methodSettings_ = new java.util.ArrayList(methodSettings_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.MethodSettings, com.google.api.MethodSettings.Builder, com.google.api.MethodSettingsOrBuilder> methodSettingsBuilder_;
+            com.google.api.MethodSettings,
+            com.google.api.MethodSettings.Builder,
+            com.google.api.MethodSettingsOrBuilder>
+        methodSettingsBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1250,6 +1345,8 @@ public java.util.List getMethodSettingsList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1265,6 +1362,8 @@ public int getMethodSettingsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1280,6 +1379,8 @@ public com.google.api.MethodSettings getMethodSettings(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1287,8 +1388,7 @@ public com.google.api.MethodSettings getMethodSettings(int index) {
      *
      * repeated .google.api.MethodSettings method_settings = 2;
      */
-    public Builder setMethodSettings(
-        int index, com.google.api.MethodSettings value) {
+    public Builder setMethodSettings(int index, com.google.api.MethodSettings value) {
       if (methodSettingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1302,6 +1402,8 @@ public Builder setMethodSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1321,6 +1423,8 @@ public Builder setMethodSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1342,6 +1446,8 @@ public Builder addMethodSettings(com.google.api.MethodSettings value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1349,8 +1455,7 @@ public Builder addMethodSettings(com.google.api.MethodSettings value) {
      *
      * repeated .google.api.MethodSettings method_settings = 2;
      */
-    public Builder addMethodSettings(
-        int index, com.google.api.MethodSettings value) {
+    public Builder addMethodSettings(int index, com.google.api.MethodSettings value) {
       if (methodSettingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1364,6 +1469,8 @@ public Builder addMethodSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1371,8 +1478,7 @@ public Builder addMethodSettings(
      *
      * repeated .google.api.MethodSettings method_settings = 2;
      */
-    public Builder addMethodSettings(
-        com.google.api.MethodSettings.Builder builderForValue) {
+    public Builder addMethodSettings(com.google.api.MethodSettings.Builder builderForValue) {
       if (methodSettingsBuilder_ == null) {
         ensureMethodSettingsIsMutable();
         methodSettings_.add(builderForValue.build());
@@ -1383,6 +1489,8 @@ public Builder addMethodSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1402,6 +1510,8 @@ public Builder addMethodSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1413,8 +1523,7 @@ public Builder addAllMethodSettings(
         java.lang.Iterable values) {
       if (methodSettingsBuilder_ == null) {
         ensureMethodSettingsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, methodSettings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, methodSettings_);
         onChanged();
       } else {
         methodSettingsBuilder_.addAllMessages(values);
@@ -1422,6 +1531,8 @@ public Builder addAllMethodSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1440,6 +1551,8 @@ public Builder clearMethodSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1458,6 +1571,8 @@ public Builder removeMethodSettings(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1465,11 +1580,12 @@ public Builder removeMethodSettings(int index) {
      *
      * repeated .google.api.MethodSettings method_settings = 2;
      */
-    public com.google.api.MethodSettings.Builder getMethodSettingsBuilder(
-        int index) {
+    public com.google.api.MethodSettings.Builder getMethodSettingsBuilder(int index) {
       return getMethodSettingsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1477,14 +1593,16 @@ public com.google.api.MethodSettings.Builder getMethodSettingsBuilder(
      *
      * repeated .google.api.MethodSettings method_settings = 2;
      */
-    public com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
-        int index) {
+    public com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(int index) {
       if (methodSettingsBuilder_ == null) {
-        return methodSettings_.get(index);  } else {
+        return methodSettings_.get(index);
+      } else {
         return methodSettingsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1492,8 +1610,8 @@ public com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
      *
      * repeated .google.api.MethodSettings method_settings = 2;
      */
-    public java.util.List 
-         getMethodSettingsOrBuilderList() {
+    public java.util.List
+        getMethodSettingsOrBuilderList() {
       if (methodSettingsBuilder_ != null) {
         return methodSettingsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1501,6 +1619,8 @@ public com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1509,10 +1629,12 @@ public com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
      * repeated .google.api.MethodSettings method_settings = 2;
      */
     public com.google.api.MethodSettings.Builder addMethodSettingsBuilder() {
-      return getMethodSettingsFieldBuilder().addBuilder(
-          com.google.api.MethodSettings.getDefaultInstance());
+      return getMethodSettingsFieldBuilder()
+          .addBuilder(com.google.api.MethodSettings.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1520,12 +1642,13 @@ public com.google.api.MethodSettings.Builder addMethodSettingsBuilder() {
      *
      * repeated .google.api.MethodSettings method_settings = 2;
      */
-    public com.google.api.MethodSettings.Builder addMethodSettingsBuilder(
-        int index) {
-      return getMethodSettingsFieldBuilder().addBuilder(
-          index, com.google.api.MethodSettings.getDefaultInstance());
+    public com.google.api.MethodSettings.Builder addMethodSettingsBuilder(int index) {
+      return getMethodSettingsFieldBuilder()
+          .addBuilder(index, com.google.api.MethodSettings.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of API method settings, e.g. the behavior for methods that use the
      * long-running operation pattern.
@@ -1533,16 +1656,21 @@ public com.google.api.MethodSettings.Builder addMethodSettingsBuilder(
      *
      * repeated .google.api.MethodSettings method_settings = 2;
      */
-    public java.util.List 
-         getMethodSettingsBuilderList() {
+    public java.util.List getMethodSettingsBuilderList() {
       return getMethodSettingsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.MethodSettings, com.google.api.MethodSettings.Builder, com.google.api.MethodSettingsOrBuilder> 
+            com.google.api.MethodSettings,
+            com.google.api.MethodSettings.Builder,
+            com.google.api.MethodSettingsOrBuilder>
         getMethodSettingsFieldBuilder() {
       if (methodSettingsBuilder_ == null) {
-        methodSettingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.MethodSettings, com.google.api.MethodSettings.Builder, com.google.api.MethodSettingsOrBuilder>(
+        methodSettingsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.MethodSettings,
+                com.google.api.MethodSettings.Builder,
+                com.google.api.MethodSettingsOrBuilder>(
                 methodSettings_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1554,19 +1682,21 @@ public com.google.api.MethodSettings.Builder addMethodSettingsBuilder(
 
     private java.lang.Object newIssueUri_ = "";
     /**
+     *
+     *
      * 
      * Link to a *public* URI where users can report issues.  Example:
      * https://issuetracker.google.com/issues/new?component=190865&template=1161103
      * 
* * string new_issue_uri = 101; + * * @return The newIssueUri. */ public java.lang.String getNewIssueUri() { java.lang.Object ref = newIssueUri_; 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(); newIssueUri_ = s; return s; @@ -1575,21 +1705,22 @@ public java.lang.String getNewIssueUri() { } } /** + * + * *
      * Link to a *public* URI where users can report issues.  Example:
      * https://issuetracker.google.com/issues/new?component=190865&template=1161103
      * 
* * string new_issue_uri = 101; + * * @return The bytes for newIssueUri. */ - public com.google.protobuf.ByteString - getNewIssueUriBytes() { + public com.google.protobuf.ByteString getNewIssueUriBytes() { java.lang.Object ref = newIssueUri_; 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); newIssueUri_ = b; return b; } else { @@ -1597,30 +1728,37 @@ public java.lang.String getNewIssueUri() { } } /** + * + * *
      * Link to a *public* URI where users can report issues.  Example:
      * https://issuetracker.google.com/issues/new?component=190865&template=1161103
      * 
* * string new_issue_uri = 101; + * * @param value The newIssueUri to set. * @return This builder for chaining. */ - public Builder setNewIssueUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewIssueUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } newIssueUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Link to a *public* URI where users can report issues.  Example:
      * https://issuetracker.google.com/issues/new?component=190865&template=1161103
      * 
* * string new_issue_uri = 101; + * * @return This builder for chaining. */ public Builder clearNewIssueUri() { @@ -1630,18 +1768,22 @@ public Builder clearNewIssueUri() { return this; } /** + * + * *
      * Link to a *public* URI where users can report issues.  Example:
      * https://issuetracker.google.com/issues/new?component=190865&template=1161103
      * 
* * string new_issue_uri = 101; + * * @param value The bytes for newIssueUri to set. * @return This builder for chaining. */ - public Builder setNewIssueUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNewIssueUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); newIssueUri_ = value; bitField0_ |= 0x00000002; @@ -1651,19 +1793,21 @@ public Builder setNewIssueUriBytes( private java.lang.Object documentationUri_ = ""; /** + * + * *
      * Link to product home page.  Example:
      * https://cloud.google.com/asset-inventory/docs/overview
      * 
* * string documentation_uri = 102; + * * @return The documentationUri. */ public java.lang.String getDocumentationUri() { java.lang.Object ref = documentationUri_; 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(); documentationUri_ = s; return s; @@ -1672,21 +1816,22 @@ public java.lang.String getDocumentationUri() { } } /** + * + * *
      * Link to product home page.  Example:
      * https://cloud.google.com/asset-inventory/docs/overview
      * 
* * string documentation_uri = 102; + * * @return The bytes for documentationUri. */ - public com.google.protobuf.ByteString - getDocumentationUriBytes() { + public com.google.protobuf.ByteString getDocumentationUriBytes() { java.lang.Object ref = documentationUri_; 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); documentationUri_ = b; return b; } else { @@ -1694,30 +1839,37 @@ public java.lang.String getDocumentationUri() { } } /** + * + * *
      * Link to product home page.  Example:
      * https://cloud.google.com/asset-inventory/docs/overview
      * 
* * string documentation_uri = 102; + * * @param value The documentationUri to set. * @return This builder for chaining. */ - public Builder setDocumentationUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocumentationUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } documentationUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Link to product home page.  Example:
      * https://cloud.google.com/asset-inventory/docs/overview
      * 
* * string documentation_uri = 102; + * * @return This builder for chaining. */ public Builder clearDocumentationUri() { @@ -1727,18 +1879,22 @@ public Builder clearDocumentationUri() { return this; } /** + * + * *
      * Link to product home page.  Example:
      * https://cloud.google.com/asset-inventory/docs/overview
      * 
* * string documentation_uri = 102; + * * @param value The bytes for documentationUri to set. * @return This builder for chaining. */ - public Builder setDocumentationUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocumentationUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); documentationUri_ = value; bitField0_ |= 0x00000004; @@ -1748,6 +1904,8 @@ public Builder setDocumentationUriBytes( private java.lang.Object apiShortName_ = ""; /** + * + * *
      * Used as a tracking tag when collecting data about the APIs developer
      * relations artifacts like docs, packages delivered to package managers,
@@ -1755,13 +1913,13 @@ public Builder setDocumentationUriBytes(
      * 
* * string api_short_name = 103; + * * @return The apiShortName. */ public java.lang.String getApiShortName() { java.lang.Object ref = apiShortName_; 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(); apiShortName_ = s; return s; @@ -1770,6 +1928,8 @@ public java.lang.String getApiShortName() { } } /** + * + * *
      * Used as a tracking tag when collecting data about the APIs developer
      * relations artifacts like docs, packages delivered to package managers,
@@ -1777,15 +1937,14 @@ public java.lang.String getApiShortName() {
      * 
* * string api_short_name = 103; + * * @return The bytes for apiShortName. */ - public com.google.protobuf.ByteString - getApiShortNameBytes() { + public com.google.protobuf.ByteString getApiShortNameBytes() { java.lang.Object ref = apiShortName_; 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); apiShortName_ = b; return b; } else { @@ -1793,6 +1952,8 @@ public java.lang.String getApiShortName() { } } /** + * + * *
      * Used as a tracking tag when collecting data about the APIs developer
      * relations artifacts like docs, packages delivered to package managers,
@@ -1800,18 +1961,22 @@ public java.lang.String getApiShortName() {
      * 
* * string api_short_name = 103; + * * @param value The apiShortName to set. * @return This builder for chaining. */ - public Builder setApiShortName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiShortName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } apiShortName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Used as a tracking tag when collecting data about the APIs developer
      * relations artifacts like docs, packages delivered to package managers,
@@ -1819,6 +1984,7 @@ public Builder setApiShortName(
      * 
* * string api_short_name = 103; + * * @return This builder for chaining. */ public Builder clearApiShortName() { @@ -1828,6 +1994,8 @@ public Builder clearApiShortName() { return this; } /** + * + * *
      * Used as a tracking tag when collecting data about the APIs developer
      * relations artifacts like docs, packages delivered to package managers,
@@ -1835,12 +2003,14 @@ public Builder clearApiShortName() {
      * 
* * string api_short_name = 103; + * * @param value The bytes for apiShortName to set. * @return This builder for chaining. */ - public Builder setApiShortNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiShortNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); apiShortName_ = value; bitField0_ |= 0x00000008; @@ -1850,18 +2020,20 @@ public Builder setApiShortNameBytes( private java.lang.Object githubLabel_ = ""; /** + * + * *
      * GitHub label to apply to issues and pull requests opened for this API.
      * 
* * string github_label = 104; + * * @return The githubLabel. */ public java.lang.String getGithubLabel() { java.lang.Object ref = githubLabel_; 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(); githubLabel_ = s; return s; @@ -1870,20 +2042,21 @@ public java.lang.String getGithubLabel() { } } /** + * + * *
      * GitHub label to apply to issues and pull requests opened for this API.
      * 
* * string github_label = 104; + * * @return The bytes for githubLabel. */ - public com.google.protobuf.ByteString - getGithubLabelBytes() { + public com.google.protobuf.ByteString getGithubLabelBytes() { java.lang.Object ref = githubLabel_; 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); githubLabel_ = b; return b; } else { @@ -1891,28 +2064,35 @@ public java.lang.String getGithubLabel() { } } /** + * + * *
      * GitHub label to apply to issues and pull requests opened for this API.
      * 
* * string github_label = 104; + * * @param value The githubLabel to set. * @return This builder for chaining. */ - public Builder setGithubLabel( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGithubLabel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } githubLabel_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * GitHub label to apply to issues and pull requests opened for this API.
      * 
* * string github_label = 104; + * * @return This builder for chaining. */ public Builder clearGithubLabel() { @@ -1922,17 +2102,21 @@ public Builder clearGithubLabel() { return this; } /** + * + * *
      * GitHub label to apply to issues and pull requests opened for this API.
      * 
* * string github_label = 104; + * * @param value The bytes for githubLabel to set. * @return This builder for chaining. */ - public Builder setGithubLabelBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGithubLabelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); githubLabel_ = value; bitField0_ |= 0x00000010; @@ -1942,6 +2126,7 @@ public Builder setGithubLabelBytes( private com.google.protobuf.LazyStringArrayList codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureCodeownerGithubTeamsIsMutable() { if (!codeownerGithubTeams_.isModifiable()) { codeownerGithubTeams_ = new com.google.protobuf.LazyStringArrayList(codeownerGithubTeams_); @@ -1949,38 +2134,46 @@ private void ensureCodeownerGithubTeamsIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
      * GitHub teams to be added to CODEOWNERS in the directory in GitHub
      * containing source code for the client libraries for this API.
      * 
* * repeated string codeowner_github_teams = 105; + * * @return A list containing the codeownerGithubTeams. */ - public com.google.protobuf.ProtocolStringList - getCodeownerGithubTeamsList() { + public com.google.protobuf.ProtocolStringList getCodeownerGithubTeamsList() { codeownerGithubTeams_.makeImmutable(); return codeownerGithubTeams_; } /** + * + * *
      * GitHub teams to be added to CODEOWNERS in the directory in GitHub
      * containing source code for the client libraries for this API.
      * 
* * repeated string codeowner_github_teams = 105; + * * @return The count of codeownerGithubTeams. */ public int getCodeownerGithubTeamsCount() { return codeownerGithubTeams_.size(); } /** + * + * *
      * GitHub teams to be added to CODEOWNERS in the directory in GitHub
      * containing source code for the client libraries for this API.
      * 
* * repeated string codeowner_github_teams = 105; + * * @param index The index of the element to return. * @return The codeownerGithubTeams at the given index. */ @@ -1988,33 +2181,39 @@ public java.lang.String getCodeownerGithubTeams(int index) { return codeownerGithubTeams_.get(index); } /** + * + * *
      * GitHub teams to be added to CODEOWNERS in the directory in GitHub
      * containing source code for the client libraries for this API.
      * 
* * repeated string codeowner_github_teams = 105; + * * @param index The index of the value to return. * @return The bytes of the codeownerGithubTeams at the given index. */ - public com.google.protobuf.ByteString - getCodeownerGithubTeamsBytes(int index) { + public com.google.protobuf.ByteString getCodeownerGithubTeamsBytes(int index) { return codeownerGithubTeams_.getByteString(index); } /** + * + * *
      * GitHub teams to be added to CODEOWNERS in the directory in GitHub
      * containing source code for the client libraries for this API.
      * 
* * repeated string codeowner_github_teams = 105; + * * @param index The index to set the value at. * @param value The codeownerGithubTeams to set. * @return This builder for chaining. */ - public Builder setCodeownerGithubTeams( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCodeownerGithubTeams(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCodeownerGithubTeamsIsMutable(); codeownerGithubTeams_.set(index, value); bitField0_ |= 0x00000020; @@ -2022,18 +2221,22 @@ public Builder setCodeownerGithubTeams( return this; } /** + * + * *
      * GitHub teams to be added to CODEOWNERS in the directory in GitHub
      * containing source code for the client libraries for this API.
      * 
* * repeated string codeowner_github_teams = 105; + * * @param value The codeownerGithubTeams to add. * @return This builder for chaining. */ - public Builder addCodeownerGithubTeams( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCodeownerGithubTeams(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCodeownerGithubTeamsIsMutable(); codeownerGithubTeams_.add(value); bitField0_ |= 0x00000020; @@ -2041,53 +2244,61 @@ public Builder addCodeownerGithubTeams( return this; } /** + * + * *
      * GitHub teams to be added to CODEOWNERS in the directory in GitHub
      * containing source code for the client libraries for this API.
      * 
* * repeated string codeowner_github_teams = 105; + * * @param values The codeownerGithubTeams to add. * @return This builder for chaining. */ - public Builder addAllCodeownerGithubTeams( - java.lang.Iterable values) { + public Builder addAllCodeownerGithubTeams(java.lang.Iterable values) { ensureCodeownerGithubTeamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, codeownerGithubTeams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, codeownerGithubTeams_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * GitHub teams to be added to CODEOWNERS in the directory in GitHub
      * containing source code for the client libraries for this API.
      * 
* * repeated string codeowner_github_teams = 105; + * * @return This builder for chaining. */ public Builder clearCodeownerGithubTeams() { - codeownerGithubTeams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + codeownerGithubTeams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
      * GitHub teams to be added to CODEOWNERS in the directory in GitHub
      * containing source code for the client libraries for this API.
      * 
* * repeated string codeowner_github_teams = 105; + * * @param value The bytes of the codeownerGithubTeams to add. * @return This builder for chaining. */ - public Builder addCodeownerGithubTeamsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCodeownerGithubTeamsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureCodeownerGithubTeamsIsMutable(); codeownerGithubTeams_.add(value); @@ -2098,19 +2309,21 @@ public Builder addCodeownerGithubTeamsBytes( private java.lang.Object docTagPrefix_ = ""; /** + * + * *
      * A prefix used in sample code when demarking regions to be included in
      * documentation.
      * 
* * string doc_tag_prefix = 106; + * * @return The docTagPrefix. */ public java.lang.String getDocTagPrefix() { java.lang.Object ref = docTagPrefix_; 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(); docTagPrefix_ = s; return s; @@ -2119,21 +2332,22 @@ public java.lang.String getDocTagPrefix() { } } /** + * + * *
      * A prefix used in sample code when demarking regions to be included in
      * documentation.
      * 
* * string doc_tag_prefix = 106; + * * @return The bytes for docTagPrefix. */ - public com.google.protobuf.ByteString - getDocTagPrefixBytes() { + public com.google.protobuf.ByteString getDocTagPrefixBytes() { java.lang.Object ref = docTagPrefix_; 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); docTagPrefix_ = b; return b; } else { @@ -2141,30 +2355,37 @@ public java.lang.String getDocTagPrefix() { } } /** + * + * *
      * A prefix used in sample code when demarking regions to be included in
      * documentation.
      * 
* * string doc_tag_prefix = 106; + * * @param value The docTagPrefix to set. * @return This builder for chaining. */ - public Builder setDocTagPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocTagPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } docTagPrefix_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * A prefix used in sample code when demarking regions to be included in
      * documentation.
      * 
* * string doc_tag_prefix = 106; + * * @return This builder for chaining. */ public Builder clearDocTagPrefix() { @@ -2174,18 +2395,22 @@ public Builder clearDocTagPrefix() { return this; } /** + * + * *
      * A prefix used in sample code when demarking regions to be included in
      * documentation.
      * 
* * string doc_tag_prefix = 106; + * * @param value The bytes for docTagPrefix to set. * @return This builder for chaining. */ - public Builder setDocTagPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocTagPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); docTagPrefix_ = value; bitField0_ |= 0x00000040; @@ -2195,22 +2420,29 @@ public Builder setDocTagPrefixBytes( private int organization_ = 0; /** + * + * *
      * For whom the client library is being published.
      * 
* * .google.api.ClientLibraryOrganization organization = 107; + * * @return The enum numeric value on the wire for organization. */ - @java.lang.Override public int getOrganizationValue() { + @java.lang.Override + public int getOrganizationValue() { return organization_; } /** + * + * *
      * For whom the client library is being published.
      * 
* * .google.api.ClientLibraryOrganization organization = 107; + * * @param value The enum numeric value on the wire for organization to set. * @return This builder for chaining. */ @@ -2221,24 +2453,31 @@ public Builder setOrganizationValue(int value) { return this; } /** + * + * *
      * For whom the client library is being published.
      * 
* * .google.api.ClientLibraryOrganization organization = 107; + * * @return The organization. */ @java.lang.Override public com.google.api.ClientLibraryOrganization getOrganization() { - com.google.api.ClientLibraryOrganization result = com.google.api.ClientLibraryOrganization.forNumber(organization_); + com.google.api.ClientLibraryOrganization result = + com.google.api.ClientLibraryOrganization.forNumber(organization_); return result == null ? com.google.api.ClientLibraryOrganization.UNRECOGNIZED : result; } /** + * + * *
      * For whom the client library is being published.
      * 
* * .google.api.ClientLibraryOrganization organization = 107; + * * @param value The organization to set. * @return This builder for chaining. */ @@ -2252,11 +2491,14 @@ public Builder setOrganization(com.google.api.ClientLibraryOrganization value) { return this; } /** + * + * *
      * For whom the client library is being published.
      * 
* * .google.api.ClientLibraryOrganization organization = 107; + * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -2267,18 +2509,25 @@ public Builder clearOrganization() { } private java.util.List librarySettings_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLibrarySettingsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - librarySettings_ = new java.util.ArrayList(librarySettings_); + librarySettings_ = + new java.util.ArrayList(librarySettings_); bitField0_ |= 0x00000100; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.ClientLibrarySettings, com.google.api.ClientLibrarySettings.Builder, com.google.api.ClientLibrarySettingsOrBuilder> librarySettingsBuilder_; + com.google.api.ClientLibrarySettings, + com.google.api.ClientLibrarySettings.Builder, + com.google.api.ClientLibrarySettingsOrBuilder> + librarySettingsBuilder_; /** + * + * *
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2295,6 +2544,8 @@ public java.util.List getLibrarySettingsLi
       }
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2311,6 +2562,8 @@ public int getLibrarySettingsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2327,6 +2580,8 @@ public com.google.api.ClientLibrarySettings getLibrarySettings(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2335,8 +2590,7 @@ public com.google.api.ClientLibrarySettings getLibrarySettings(int index) {
      *
      * repeated .google.api.ClientLibrarySettings library_settings = 109;
      */
-    public Builder setLibrarySettings(
-        int index, com.google.api.ClientLibrarySettings value) {
+    public Builder setLibrarySettings(int index, com.google.api.ClientLibrarySettings value) {
       if (librarySettingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2350,6 +2604,8 @@ public Builder setLibrarySettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2370,6 +2626,8 @@ public Builder setLibrarySettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2392,6 +2650,8 @@ public Builder addLibrarySettings(com.google.api.ClientLibrarySettings value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2400,8 +2660,7 @@ public Builder addLibrarySettings(com.google.api.ClientLibrarySettings value) {
      *
      * repeated .google.api.ClientLibrarySettings library_settings = 109;
      */
-    public Builder addLibrarySettings(
-        int index, com.google.api.ClientLibrarySettings value) {
+    public Builder addLibrarySettings(int index, com.google.api.ClientLibrarySettings value) {
       if (librarySettingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2415,6 +2674,8 @@ public Builder addLibrarySettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2435,6 +2696,8 @@ public Builder addLibrarySettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2455,6 +2718,8 @@ public Builder addLibrarySettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2467,8 +2732,7 @@ public Builder addAllLibrarySettings(
         java.lang.Iterable values) {
       if (librarySettingsBuilder_ == null) {
         ensureLibrarySettingsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, librarySettings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, librarySettings_);
         onChanged();
       } else {
         librarySettingsBuilder_.addAllMessages(values);
@@ -2476,6 +2740,8 @@ public Builder addAllLibrarySettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2495,6 +2761,8 @@ public Builder clearLibrarySettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2514,6 +2782,8 @@ public Builder removeLibrarySettings(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2522,11 +2792,12 @@ public Builder removeLibrarySettings(int index) {
      *
      * repeated .google.api.ClientLibrarySettings library_settings = 109;
      */
-    public com.google.api.ClientLibrarySettings.Builder getLibrarySettingsBuilder(
-        int index) {
+    public com.google.api.ClientLibrarySettings.Builder getLibrarySettingsBuilder(int index) {
       return getLibrarySettingsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2535,14 +2806,16 @@ public com.google.api.ClientLibrarySettings.Builder getLibrarySettingsBuilder(
      *
      * repeated .google.api.ClientLibrarySettings library_settings = 109;
      */
-    public com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder(
-        int index) {
+    public com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder(int index) {
       if (librarySettingsBuilder_ == null) {
-        return librarySettings_.get(index);  } else {
+        return librarySettings_.get(index);
+      } else {
         return librarySettingsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2551,8 +2824,8 @@ public com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder
      *
      * repeated .google.api.ClientLibrarySettings library_settings = 109;
      */
-    public java.util.List 
-         getLibrarySettingsOrBuilderList() {
+    public java.util.List
+        getLibrarySettingsOrBuilderList() {
       if (librarySettingsBuilder_ != null) {
         return librarySettingsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2560,6 +2833,8 @@ public com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2569,10 +2844,12 @@ public com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder
      * repeated .google.api.ClientLibrarySettings library_settings = 109;
      */
     public com.google.api.ClientLibrarySettings.Builder addLibrarySettingsBuilder() {
-      return getLibrarySettingsFieldBuilder().addBuilder(
-          com.google.api.ClientLibrarySettings.getDefaultInstance());
+      return getLibrarySettingsFieldBuilder()
+          .addBuilder(com.google.api.ClientLibrarySettings.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2581,12 +2858,13 @@ public com.google.api.ClientLibrarySettings.Builder addLibrarySettingsBuilder()
      *
      * repeated .google.api.ClientLibrarySettings library_settings = 109;
      */
-    public com.google.api.ClientLibrarySettings.Builder addLibrarySettingsBuilder(
-        int index) {
-      return getLibrarySettingsFieldBuilder().addBuilder(
-          index, com.google.api.ClientLibrarySettings.getDefaultInstance());
+    public com.google.api.ClientLibrarySettings.Builder addLibrarySettingsBuilder(int index) {
+      return getLibrarySettingsFieldBuilder()
+          .addBuilder(index, com.google.api.ClientLibrarySettings.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Client library settings.  If the same version string appears multiple
      * times in this list, then the last one wins.  Settings from earlier
@@ -2595,16 +2873,22 @@ public com.google.api.ClientLibrarySettings.Builder addLibrarySettingsBuilder(
      *
      * repeated .google.api.ClientLibrarySettings library_settings = 109;
      */
-    public java.util.List 
-         getLibrarySettingsBuilderList() {
+    public java.util.List
+        getLibrarySettingsBuilderList() {
       return getLibrarySettingsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.ClientLibrarySettings, com.google.api.ClientLibrarySettings.Builder, com.google.api.ClientLibrarySettingsOrBuilder> 
+            com.google.api.ClientLibrarySettings,
+            com.google.api.ClientLibrarySettings.Builder,
+            com.google.api.ClientLibrarySettingsOrBuilder>
         getLibrarySettingsFieldBuilder() {
       if (librarySettingsBuilder_ == null) {
-        librarySettingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.ClientLibrarySettings, com.google.api.ClientLibrarySettings.Builder, com.google.api.ClientLibrarySettingsOrBuilder>(
+        librarySettingsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.ClientLibrarySettings,
+                com.google.api.ClientLibrarySettings.Builder,
+                com.google.api.ClientLibrarySettingsOrBuilder>(
                 librarySettings_,
                 ((bitField0_ & 0x00000100) != 0),
                 getParentForChildren(),
@@ -2616,19 +2900,21 @@ public com.google.api.ClientLibrarySettings.Builder addLibrarySettingsBuilder(
 
     private java.lang.Object protoReferenceDocumentationUri_ = "";
     /**
+     *
+     *
      * 
      * Optional link to proto reference documentation.  Example:
      * https://cloud.google.com/pubsub/lite/docs/reference/rpc
      * 
* * string proto_reference_documentation_uri = 110; + * * @return The protoReferenceDocumentationUri. */ public java.lang.String getProtoReferenceDocumentationUri() { java.lang.Object ref = protoReferenceDocumentationUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protoReferenceDocumentationUri_ = s; return s; @@ -2637,21 +2923,22 @@ public java.lang.String getProtoReferenceDocumentationUri() { } } /** + * + * *
      * Optional link to proto reference documentation.  Example:
      * https://cloud.google.com/pubsub/lite/docs/reference/rpc
      * 
* * string proto_reference_documentation_uri = 110; + * * @return The bytes for protoReferenceDocumentationUri. */ - public com.google.protobuf.ByteString - getProtoReferenceDocumentationUriBytes() { + public com.google.protobuf.ByteString getProtoReferenceDocumentationUriBytes() { java.lang.Object ref = protoReferenceDocumentationUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); protoReferenceDocumentationUri_ = b; return b; } else { @@ -2659,30 +2946,37 @@ public java.lang.String getProtoReferenceDocumentationUri() { } } /** + * + * *
      * Optional link to proto reference documentation.  Example:
      * https://cloud.google.com/pubsub/lite/docs/reference/rpc
      * 
* * string proto_reference_documentation_uri = 110; + * * @param value The protoReferenceDocumentationUri to set. * @return This builder for chaining. */ - public Builder setProtoReferenceDocumentationUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtoReferenceDocumentationUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } protoReferenceDocumentationUri_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Optional link to proto reference documentation.  Example:
      * https://cloud.google.com/pubsub/lite/docs/reference/rpc
      * 
* * string proto_reference_documentation_uri = 110; + * * @return This builder for chaining. */ public Builder clearProtoReferenceDocumentationUri() { @@ -2692,27 +2986,31 @@ public Builder clearProtoReferenceDocumentationUri() { return this; } /** + * + * *
      * Optional link to proto reference documentation.  Example:
      * https://cloud.google.com/pubsub/lite/docs/reference/rpc
      * 
* * string proto_reference_documentation_uri = 110; + * * @param value The bytes for protoReferenceDocumentationUri to set. * @return This builder for chaining. */ - public Builder setProtoReferenceDocumentationUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProtoReferenceDocumentationUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); protoReferenceDocumentationUri_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2722,12 +3020,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.Publishing) } // @@protoc_insertion_point(class_scope:google.api.Publishing) private static final com.google.api.Publishing DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.Publishing(); } @@ -2736,27 +3034,27 @@ public static com.google.api.Publishing getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Publishing 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 Publishing 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; @@ -2771,6 +3069,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.Publishing getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java similarity index 83% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java index b0b98fc977..5e78d789d7 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface PublishingOrBuilder extends +public interface PublishingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Publishing) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -15,9 +33,10 @@ public interface PublishingOrBuilder extends
    *
    * repeated .google.api.MethodSettings method_settings = 2;
    */
-  java.util.List 
-      getMethodSettingsList();
+  java.util.List getMethodSettingsList();
   /**
+   *
+   *
    * 
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -27,6 +46,8 @@ public interface PublishingOrBuilder extends
    */
   com.google.api.MethodSettings getMethodSettings(int index);
   /**
+   *
+   *
    * 
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -36,6 +57,8 @@ public interface PublishingOrBuilder extends
    */
   int getMethodSettingsCount();
   /**
+   *
+   *
    * 
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -43,9 +66,10 @@ public interface PublishingOrBuilder extends
    *
    * repeated .google.api.MethodSettings method_settings = 2;
    */
-  java.util.List 
-      getMethodSettingsOrBuilderList();
+  java.util.List getMethodSettingsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of API method settings, e.g. the behavior for methods that use the
    * long-running operation pattern.
@@ -53,54 +77,65 @@ public interface PublishingOrBuilder extends
    *
    * repeated .google.api.MethodSettings method_settings = 2;
    */
-  com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
-      int index);
+  com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Link to a *public* URI where users can report issues.  Example:
    * https://issuetracker.google.com/issues/new?component=190865&template=1161103
    * 
* * string new_issue_uri = 101; + * * @return The newIssueUri. */ java.lang.String getNewIssueUri(); /** + * + * *
    * Link to a *public* URI where users can report issues.  Example:
    * https://issuetracker.google.com/issues/new?component=190865&template=1161103
    * 
* * string new_issue_uri = 101; + * * @return The bytes for newIssueUri. */ - com.google.protobuf.ByteString - getNewIssueUriBytes(); + com.google.protobuf.ByteString getNewIssueUriBytes(); /** + * + * *
    * Link to product home page.  Example:
    * https://cloud.google.com/asset-inventory/docs/overview
    * 
* * string documentation_uri = 102; + * * @return The documentationUri. */ java.lang.String getDocumentationUri(); /** + * + * *
    * Link to product home page.  Example:
    * https://cloud.google.com/asset-inventory/docs/overview
    * 
* * string documentation_uri = 102; + * * @return The bytes for documentationUri. */ - com.google.protobuf.ByteString - getDocumentationUriBytes(); + com.google.protobuf.ByteString getDocumentationUriBytes(); /** + * + * *
    * Used as a tracking tag when collecting data about the APIs developer
    * relations artifacts like docs, packages delivered to package managers,
@@ -108,10 +143,13 @@ com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
    * 
* * string api_short_name = 103; + * * @return The apiShortName. */ java.lang.String getApiShortName(); /** + * + * *
    * Used as a tracking tag when collecting data about the APIs developer
    * relations artifacts like docs, packages delivered to package managers,
@@ -119,118 +157,146 @@ com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
    * 
* * string api_short_name = 103; + * * @return The bytes for apiShortName. */ - com.google.protobuf.ByteString - getApiShortNameBytes(); + com.google.protobuf.ByteString getApiShortNameBytes(); /** + * + * *
    * GitHub label to apply to issues and pull requests opened for this API.
    * 
* * string github_label = 104; + * * @return The githubLabel. */ java.lang.String getGithubLabel(); /** + * + * *
    * GitHub label to apply to issues and pull requests opened for this API.
    * 
* * string github_label = 104; + * * @return The bytes for githubLabel. */ - com.google.protobuf.ByteString - getGithubLabelBytes(); + com.google.protobuf.ByteString getGithubLabelBytes(); /** + * + * *
    * GitHub teams to be added to CODEOWNERS in the directory in GitHub
    * containing source code for the client libraries for this API.
    * 
* * repeated string codeowner_github_teams = 105; + * * @return A list containing the codeownerGithubTeams. */ - java.util.List - getCodeownerGithubTeamsList(); + java.util.List getCodeownerGithubTeamsList(); /** + * + * *
    * GitHub teams to be added to CODEOWNERS in the directory in GitHub
    * containing source code for the client libraries for this API.
    * 
* * repeated string codeowner_github_teams = 105; + * * @return The count of codeownerGithubTeams. */ int getCodeownerGithubTeamsCount(); /** + * + * *
    * GitHub teams to be added to CODEOWNERS in the directory in GitHub
    * containing source code for the client libraries for this API.
    * 
* * repeated string codeowner_github_teams = 105; + * * @param index The index of the element to return. * @return The codeownerGithubTeams at the given index. */ java.lang.String getCodeownerGithubTeams(int index); /** + * + * *
    * GitHub teams to be added to CODEOWNERS in the directory in GitHub
    * containing source code for the client libraries for this API.
    * 
* * repeated string codeowner_github_teams = 105; + * * @param index The index of the value to return. * @return The bytes of the codeownerGithubTeams at the given index. */ - com.google.protobuf.ByteString - getCodeownerGithubTeamsBytes(int index); + com.google.protobuf.ByteString getCodeownerGithubTeamsBytes(int index); /** + * + * *
    * A prefix used in sample code when demarking regions to be included in
    * documentation.
    * 
* * string doc_tag_prefix = 106; + * * @return The docTagPrefix. */ java.lang.String getDocTagPrefix(); /** + * + * *
    * A prefix used in sample code when demarking regions to be included in
    * documentation.
    * 
* * string doc_tag_prefix = 106; + * * @return The bytes for docTagPrefix. */ - com.google.protobuf.ByteString - getDocTagPrefixBytes(); + com.google.protobuf.ByteString getDocTagPrefixBytes(); /** + * + * *
    * For whom the client library is being published.
    * 
* * .google.api.ClientLibraryOrganization organization = 107; + * * @return The enum numeric value on the wire for organization. */ int getOrganizationValue(); /** + * + * *
    * For whom the client library is being published.
    * 
* * .google.api.ClientLibraryOrganization organization = 107; + * * @return The organization. */ com.google.api.ClientLibraryOrganization getOrganization(); /** + * + * *
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -239,9 +305,10 @@ com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
    *
    * repeated .google.api.ClientLibrarySettings library_settings = 109;
    */
-  java.util.List 
-      getLibrarySettingsList();
+  java.util.List getLibrarySettingsList();
   /**
+   *
+   *
    * 
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -252,6 +319,8 @@ com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
    */
   com.google.api.ClientLibrarySettings getLibrarySettings(int index);
   /**
+   *
+   *
    * 
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -262,6 +331,8 @@ com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
    */
   int getLibrarySettingsCount();
   /**
+   *
+   *
    * 
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -270,9 +341,11 @@ com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
    *
    * repeated .google.api.ClientLibrarySettings library_settings = 109;
    */
-  java.util.List 
+  java.util.List
       getLibrarySettingsOrBuilderList();
   /**
+   *
+   *
    * 
    * Client library settings.  If the same version string appears multiple
    * times in this list, then the last one wins.  Settings from earlier
@@ -281,28 +354,32 @@ com.google.api.MethodSettingsOrBuilder getMethodSettingsOrBuilder(
    *
    * repeated .google.api.ClientLibrarySettings library_settings = 109;
    */
-  com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder(
-      int index);
+  com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Optional link to proto reference documentation.  Example:
    * https://cloud.google.com/pubsub/lite/docs/reference/rpc
    * 
* * string proto_reference_documentation_uri = 110; + * * @return The protoReferenceDocumentationUri. */ java.lang.String getProtoReferenceDocumentationUri(); /** + * + * *
    * Optional link to proto reference documentation.  Example:
    * https://cloud.google.com/pubsub/lite/docs/reference/rpc
    * 
* * string proto_reference_documentation_uri = 110; + * * @return The bytes for protoReferenceDocumentationUri. */ - com.google.protobuf.ByteString - getProtoReferenceDocumentationUriBytes(); + com.google.protobuf.ByteString getProtoReferenceDocumentationUriBytes(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java similarity index 69% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java index d281b1f37c..f658940d62 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java @@ -1,36 +1,51 @@ +/* + * 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; /** + * + * *
  * Settings for Python client libraries.
  * 
* * Protobuf type {@code google.api.PythonSettings} */ -public final class PythonSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PythonSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.api.PythonSettings) PythonSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PythonSettings.newBuilder() to construct. private PythonSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PythonSettings() { - } + + private PythonSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PythonSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_PythonSettings_descriptor; } @@ -45,11 +60,14 @@ protected java.lang.Object newInstance( public static final int COMMON_FIELD_NUMBER = 1; private com.google.api.CommonLanguageSettings common_; /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -57,11 +75,14 @@ public boolean hasCommon() { return common_ != null; } /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ @java.lang.Override @@ -69,6 +90,8 @@ public com.google.api.CommonLanguageSettings getCommon() { return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; } /** + * + * *
    * Some settings.
    * 
@@ -81,6 +104,7 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +116,7 @@ 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 (common_ != null) { output.writeMessage(1, getCommon()); } @@ -107,8 +130,7 @@ public int getSerializedSize() { size = 0; if (common_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,7 +140,7 @@ 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.PythonSettings)) { return super.equals(obj); @@ -127,8 +149,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -150,111 +171,114 @@ public int hashCode() { return hash; } - public static com.google.api.PythonSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.PythonSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.PythonSettings 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.PythonSettings parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.PythonSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.PythonSettings 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.PythonSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.PythonSettings 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.PythonSettings 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.PythonSettings 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.PythonSettings 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.PythonSettings 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.PythonSettings parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.PythonSettings 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.PythonSettings 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.PythonSettings 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; } /** + * + * *
    * Settings for Python client libraries.
    * 
* * Protobuf type {@code google.api.PythonSettings} */ - 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.PythonSettings) com.google.api.PythonSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_PythonSettings_descriptor; } @@ -267,15 +291,12 @@ public static final class Builder extends } // Construct using com.google.api.PythonSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,8 +310,7 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.api.ClientProto.internal_static_google_api_PythonSettings_descriptor; } @@ -311,7 +331,9 @@ public com.google.api.PythonSettings build() { @java.lang.Override public com.google.api.PythonSettings buildPartial() { com.google.api.PythonSettings result = new com.google.api.PythonSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +341,7 @@ public com.google.api.PythonSettings buildPartial() { private void buildPartial0(com.google.api.PythonSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); } } @@ -329,38 +349,39 @@ private void buildPartial0(com.google.api.PythonSettings 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.PythonSettings) { - return mergeFrom((com.google.api.PythonSettings)other); + return mergeFrom((com.google.api.PythonSettings) other); } else { super.mergeFrom(other); return this; @@ -398,19 +419,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + 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) { @@ -420,38 +441,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.api.CommonLanguageSettings common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> commonBuilder_; + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> + commonBuilder_; /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ public com.google.api.CommonLanguageSettings getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Some settings.
      * 
@@ -472,14 +507,15 @@ public Builder setCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
* * .google.api.CommonLanguageSettings common = 1; */ - public Builder setCommon( - com.google.api.CommonLanguageSettings.Builder builderForValue) { + public Builder setCommon(com.google.api.CommonLanguageSettings.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -490,6 +526,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Some settings.
      * 
@@ -498,9 +536,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - common_ != null && - common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && common_ != null + && common_ != com.google.api.CommonLanguageSettings.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -513,6 +551,8 @@ public Builder mergeCommon(com.google.api.CommonLanguageSettings value) { return this; } /** + * + * *
      * Some settings.
      * 
@@ -530,6 +570,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Some settings.
      * 
@@ -542,6 +584,8 @@ public com.google.api.CommonLanguageSettings.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Some settings.
      * 
@@ -552,11 +596,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.api.CommonLanguageSettings.getDefaultInstance() : common_; + return common_ == null + ? com.google.api.CommonLanguageSettings.getDefaultInstance() + : common_; } } /** + * + * *
      * Some settings.
      * 
@@ -564,21 +611,24 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * .google.api.CommonLanguageSettings common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.CommonLanguageSettings, + com.google.api.CommonLanguageSettings.Builder, + com.google.api.CommonLanguageSettingsOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; } + @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); } @@ -588,12 +638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.PythonSettings) } // @@protoc_insertion_point(class_scope:google.api.PythonSettings) private static final com.google.api.PythonSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.PythonSettings(); } @@ -602,27 +652,27 @@ public static com.google.api.PythonSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PythonSettings 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 PythonSettings 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; @@ -637,6 +687,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.PythonSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java similarity index 54% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java index 5641e81648..9880ed0bfe 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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 interface PythonSettingsOrBuilder extends +public interface PythonSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.PythonSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Some settings.
    * 
* * .google.api.CommonLanguageSettings common = 1; + * * @return The common. */ com.google.api.CommonLanguageSettings getCommon(); /** + * + * *
    * Some settings.
    * 
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Quota.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java similarity index 76% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Quota.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java index 1bad387a6f..5d2263e4d2 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/Quota.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * Quota configuration helps to achieve fairness and budgeting in service
  * usage.
@@ -58,15 +75,16 @@
  *
  * Protobuf type {@code google.api.Quota}
  */
-public final class Quota extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Quota extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.Quota)
     QuotaOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Quota.newBuilder() to construct.
   private Quota(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Quota() {
     limits_ = java.util.Collections.emptyList();
     metricRules_ = java.util.Collections.emptyList();
@@ -74,13 +92,11 @@ private Quota() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Quota();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.QuotaProto.internal_static_google_api_Quota_descriptor;
   }
 
@@ -93,9 +109,12 @@ protected java.lang.Object newInstance(
   }
 
   public static final int LIMITS_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private java.util.List limits_;
   /**
+   *
+   *
    * 
    * List of QuotaLimit definitions for the service.
    * 
@@ -107,6 +126,8 @@ public java.util.List getLimitsList() { return limits_; } /** + * + * *
    * List of QuotaLimit definitions for the service.
    * 
@@ -114,11 +135,12 @@ public java.util.List getLimitsList() { * repeated .google.api.QuotaLimit limits = 3; */ @java.lang.Override - public java.util.List - getLimitsOrBuilderList() { + public java.util.List getLimitsOrBuilderList() { return limits_; } /** + * + * *
    * List of QuotaLimit definitions for the service.
    * 
@@ -130,6 +152,8 @@ public int getLimitsCount() { return limits_.size(); } /** + * + * *
    * List of QuotaLimit definitions for the service.
    * 
@@ -141,6 +165,8 @@ public com.google.api.QuotaLimit getLimits(int index) { return limits_.get(index); } /** + * + * *
    * List of QuotaLimit definitions for the service.
    * 
@@ -148,15 +174,17 @@ public com.google.api.QuotaLimit getLimits(int index) { * repeated .google.api.QuotaLimit limits = 3; */ @java.lang.Override - public com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder( - int index) { + public com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder(int index) { return limits_.get(index); } public static final int METRIC_RULES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List metricRules_; /** + * + * *
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -169,6 +197,8 @@ public java.util.List getMetricRulesList() {
     return metricRules_;
   }
   /**
+   *
+   *
    * 
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -177,11 +207,13 @@ public java.util.List getMetricRulesList() {
    * repeated .google.api.MetricRule metric_rules = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricRulesOrBuilderList() {
     return metricRules_;
   }
   /**
+   *
+   *
    * 
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -194,6 +226,8 @@ public int getMetricRulesCount() {
     return metricRules_.size();
   }
   /**
+   *
+   *
    * 
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -206,6 +240,8 @@ public com.google.api.MetricRule getMetricRules(int index) {
     return metricRules_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -214,12 +250,12 @@ public com.google.api.MetricRule getMetricRules(int index) {
    * repeated .google.api.MetricRule metric_rules = 4;
    */
   @java.lang.Override
-  public com.google.api.MetricRuleOrBuilder getMetricRulesOrBuilder(
-      int index) {
+  public com.google.api.MetricRuleOrBuilder getMetricRulesOrBuilder(int index) {
     return metricRules_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -231,8 +267,7 @@ 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 < limits_.size(); i++) {
       output.writeMessage(3, limits_.get(i));
     }
@@ -249,12 +284,10 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < limits_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, limits_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, limits_.get(i));
     }
     for (int i = 0; i < metricRules_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, metricRules_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, metricRules_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -264,17 +297,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.Quota)) {
       return super.equals(obj);
     }
     com.google.api.Quota other = (com.google.api.Quota) obj;
 
-    if (!getLimitsList()
-        .equals(other.getLimitsList())) return false;
-    if (!getMetricRulesList()
-        .equals(other.getMetricRulesList())) return false;
+    if (!getLimitsList().equals(other.getLimitsList())) return false;
+    if (!getMetricRulesList().equals(other.getMetricRulesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -299,99 +330,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.api.Quota parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.api.Quota parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Quota 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.Quota parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.api.Quota parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Quota 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.Quota parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.api.Quota 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.Quota 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.Quota 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.Quota 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.Quota 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.Quota parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.api.Quota 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.Quota 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.Quota 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;
   }
   /**
+   *
+   *
    * 
    * Quota configuration helps to achieve fairness and budgeting in service
    * usage.
@@ -446,12 +481,11 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.Quota}
    */
-  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.Quota)
       com.google.api.QuotaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.QuotaProto.internal_static_google_api_Quota_descriptor;
     }
 
@@ -464,15 +498,12 @@ public static final class Builder extends
     }
 
     // Construct using com.google.api.Quota.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -495,8 +526,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.QuotaProto.internal_static_google_api_Quota_descriptor;
     }
 
@@ -518,7 +548,9 @@ public com.google.api.Quota build() {
     public com.google.api.Quota buildPartial() {
       com.google.api.Quota result = new com.google.api.Quota(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -552,38 +584,39 @@ private void buildPartial0(com.google.api.Quota 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.Quota) {
-        return mergeFrom((com.google.api.Quota)other);
+        return mergeFrom((com.google.api.Quota) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -610,9 +643,10 @@ public Builder mergeFrom(com.google.api.Quota other) {
             limitsBuilder_ = null;
             limits_ = other.limits_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            limitsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLimitsFieldBuilder() : null;
+            limitsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLimitsFieldBuilder()
+                    : null;
           } else {
             limitsBuilder_.addAllMessages(other.limits_);
           }
@@ -636,9 +670,10 @@ public Builder mergeFrom(com.google.api.Quota other) {
             metricRulesBuilder_ = null;
             metricRules_ = other.metricRules_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            metricRulesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getMetricRulesFieldBuilder() : null;
+            metricRulesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getMetricRulesFieldBuilder()
+                    : null;
           } else {
             metricRulesBuilder_.addAllMessages(other.metricRules_);
           }
@@ -670,38 +705,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 26: {
-              com.google.api.QuotaLimit m =
-                  input.readMessage(
-                      com.google.api.QuotaLimit.parser(),
-                      extensionRegistry);
-              if (limitsBuilder_ == null) {
-                ensureLimitsIsMutable();
-                limits_.add(m);
-              } else {
-                limitsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 34: {
-              com.google.api.MetricRule m =
-                  input.readMessage(
-                      com.google.api.MetricRule.parser(),
-                      extensionRegistry);
-              if (metricRulesBuilder_ == null) {
-                ensureMetricRulesIsMutable();
-                metricRules_.add(m);
-              } else {
-                metricRulesBuilder_.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.QuotaLimit m =
+                    input.readMessage(com.google.api.QuotaLimit.parser(), extensionRegistry);
+                if (limitsBuilder_ == null) {
+                  ensureLimitsIsMutable();
+                  limits_.add(m);
+                } else {
+                  limitsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.api.MetricRule m =
+                    input.readMessage(com.google.api.MetricRule.parser(), extensionRegistry);
+                if (metricRulesBuilder_ == null) {
+                  ensureMetricRulesIsMutable();
+                  metricRules_.add(m);
+                } else {
+                  metricRulesBuilder_.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) {
@@ -711,21 +745,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List limits_ =
-      java.util.Collections.emptyList();
+    private java.util.List limits_ = java.util.Collections.emptyList();
+
     private void ensureLimitsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         limits_ = new java.util.ArrayList(limits_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.QuotaLimit, com.google.api.QuotaLimit.Builder, com.google.api.QuotaLimitOrBuilder> limitsBuilder_;
+            com.google.api.QuotaLimit,
+            com.google.api.QuotaLimit.Builder,
+            com.google.api.QuotaLimitOrBuilder>
+        limitsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of QuotaLimit definitions for the service.
      * 
@@ -740,6 +780,8 @@ public java.util.List getLimitsList() { } } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
@@ -754,6 +796,8 @@ public int getLimitsCount() { } } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
@@ -768,14 +812,15 @@ public com.google.api.QuotaLimit getLimits(int index) { } } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public Builder setLimits( - int index, com.google.api.QuotaLimit value) { + public Builder setLimits(int index, com.google.api.QuotaLimit value) { if (limitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,14 +834,15 @@ public Builder setLimits( return this; } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public Builder setLimits( - int index, com.google.api.QuotaLimit.Builder builderForValue) { + public Builder setLimits(int index, com.google.api.QuotaLimit.Builder builderForValue) { if (limitsBuilder_ == null) { ensureLimitsIsMutable(); limits_.set(index, builderForValue.build()); @@ -807,6 +853,8 @@ public Builder setLimits( return this; } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
@@ -827,14 +875,15 @@ public Builder addLimits(com.google.api.QuotaLimit value) { return this; } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public Builder addLimits( - int index, com.google.api.QuotaLimit value) { + public Builder addLimits(int index, com.google.api.QuotaLimit value) { if (limitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -848,14 +897,15 @@ public Builder addLimits( return this; } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public Builder addLimits( - com.google.api.QuotaLimit.Builder builderForValue) { + public Builder addLimits(com.google.api.QuotaLimit.Builder builderForValue) { if (limitsBuilder_ == null) { ensureLimitsIsMutable(); limits_.add(builderForValue.build()); @@ -866,14 +916,15 @@ public Builder addLimits( return this; } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public Builder addLimits( - int index, com.google.api.QuotaLimit.Builder builderForValue) { + public Builder addLimits(int index, com.google.api.QuotaLimit.Builder builderForValue) { if (limitsBuilder_ == null) { ensureLimitsIsMutable(); limits_.add(index, builderForValue.build()); @@ -884,18 +935,18 @@ public Builder addLimits( return this; } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public Builder addAllLimits( - java.lang.Iterable values) { + public Builder addAllLimits(java.lang.Iterable values) { if (limitsBuilder_ == null) { ensureLimitsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, limits_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, limits_); onChanged(); } else { limitsBuilder_.addAllMessages(values); @@ -903,6 +954,8 @@ public Builder addAllLimits( return this; } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
@@ -920,6 +973,8 @@ public Builder clearLimits() { return this; } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
@@ -937,39 +992,43 @@ public Builder removeLimits(int index) { return this; } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public com.google.api.QuotaLimit.Builder getLimitsBuilder( - int index) { + public com.google.api.QuotaLimit.Builder getLimitsBuilder(int index) { return getLimitsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder( - int index) { + public com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder(int index) { if (limitsBuilder_ == null) { - return limits_.get(index); } else { + return limits_.get(index); + } else { return limitsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public java.util.List - getLimitsOrBuilderList() { + public java.util.List getLimitsOrBuilderList() { if (limitsBuilder_ != null) { return limitsBuilder_.getMessageOrBuilderList(); } else { @@ -977,6 +1036,8 @@ public com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder( } } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
@@ -984,60 +1045,70 @@ public com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder( * repeated .google.api.QuotaLimit limits = 3; */ public com.google.api.QuotaLimit.Builder addLimitsBuilder() { - return getLimitsFieldBuilder().addBuilder( - com.google.api.QuotaLimit.getDefaultInstance()); + return getLimitsFieldBuilder().addBuilder(com.google.api.QuotaLimit.getDefaultInstance()); } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public com.google.api.QuotaLimit.Builder addLimitsBuilder( - int index) { - return getLimitsFieldBuilder().addBuilder( - index, com.google.api.QuotaLimit.getDefaultInstance()); + public com.google.api.QuotaLimit.Builder addLimitsBuilder(int index) { + return getLimitsFieldBuilder() + .addBuilder(index, com.google.api.QuotaLimit.getDefaultInstance()); } /** + * + * *
      * List of QuotaLimit definitions for the service.
      * 
* * repeated .google.api.QuotaLimit limits = 3; */ - public java.util.List - getLimitsBuilderList() { + public java.util.List getLimitsBuilderList() { return getLimitsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.QuotaLimit, com.google.api.QuotaLimit.Builder, com.google.api.QuotaLimitOrBuilder> + com.google.api.QuotaLimit, + com.google.api.QuotaLimit.Builder, + com.google.api.QuotaLimitOrBuilder> getLimitsFieldBuilder() { if (limitsBuilder_ == null) { - limitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.QuotaLimit, com.google.api.QuotaLimit.Builder, com.google.api.QuotaLimitOrBuilder>( - limits_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + limitsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.QuotaLimit, + com.google.api.QuotaLimit.Builder, + com.google.api.QuotaLimitOrBuilder>( + limits_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); limits_ = null; } return limitsBuilder_; } private java.util.List metricRules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricRulesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { metricRules_ = new java.util.ArrayList(metricRules_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MetricRule, com.google.api.MetricRule.Builder, com.google.api.MetricRuleOrBuilder> metricRulesBuilder_; + com.google.api.MetricRule, + com.google.api.MetricRule.Builder, + com.google.api.MetricRuleOrBuilder> + metricRulesBuilder_; /** + * + * *
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1053,6 +1124,8 @@ public java.util.List getMetricRulesList() {
       }
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1068,6 +1141,8 @@ public int getMetricRulesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1083,6 +1158,8 @@ public com.google.api.MetricRule getMetricRules(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1090,8 +1167,7 @@ public com.google.api.MetricRule getMetricRules(int index) {
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public Builder setMetricRules(
-        int index, com.google.api.MetricRule value) {
+    public Builder setMetricRules(int index, com.google.api.MetricRule value) {
       if (metricRulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1105,6 +1181,8 @@ public Builder setMetricRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1112,8 +1190,7 @@ public Builder setMetricRules(
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public Builder setMetricRules(
-        int index, com.google.api.MetricRule.Builder builderForValue) {
+    public Builder setMetricRules(int index, com.google.api.MetricRule.Builder builderForValue) {
       if (metricRulesBuilder_ == null) {
         ensureMetricRulesIsMutable();
         metricRules_.set(index, builderForValue.build());
@@ -1124,6 +1201,8 @@ public Builder setMetricRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1145,6 +1224,8 @@ public Builder addMetricRules(com.google.api.MetricRule value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1152,8 +1233,7 @@ public Builder addMetricRules(com.google.api.MetricRule value) {
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public Builder addMetricRules(
-        int index, com.google.api.MetricRule value) {
+    public Builder addMetricRules(int index, com.google.api.MetricRule value) {
       if (metricRulesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1167,6 +1247,8 @@ public Builder addMetricRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1174,8 +1256,7 @@ public Builder addMetricRules(
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public Builder addMetricRules(
-        com.google.api.MetricRule.Builder builderForValue) {
+    public Builder addMetricRules(com.google.api.MetricRule.Builder builderForValue) {
       if (metricRulesBuilder_ == null) {
         ensureMetricRulesIsMutable();
         metricRules_.add(builderForValue.build());
@@ -1186,6 +1267,8 @@ public Builder addMetricRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1193,8 +1276,7 @@ public Builder addMetricRules(
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public Builder addMetricRules(
-        int index, com.google.api.MetricRule.Builder builderForValue) {
+    public Builder addMetricRules(int index, com.google.api.MetricRule.Builder builderForValue) {
       if (metricRulesBuilder_ == null) {
         ensureMetricRulesIsMutable();
         metricRules_.add(index, builderForValue.build());
@@ -1205,6 +1287,8 @@ public Builder addMetricRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1216,8 +1300,7 @@ public Builder addAllMetricRules(
         java.lang.Iterable values) {
       if (metricRulesBuilder_ == null) {
         ensureMetricRulesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metricRules_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricRules_);
         onChanged();
       } else {
         metricRulesBuilder_.addAllMessages(values);
@@ -1225,6 +1308,8 @@ public Builder addAllMetricRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1243,6 +1328,8 @@ public Builder clearMetricRules() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1261,6 +1348,8 @@ public Builder removeMetricRules(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1268,11 +1357,12 @@ public Builder removeMetricRules(int index) {
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public com.google.api.MetricRule.Builder getMetricRulesBuilder(
-        int index) {
+    public com.google.api.MetricRule.Builder getMetricRulesBuilder(int index) {
       return getMetricRulesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1280,14 +1370,16 @@ public com.google.api.MetricRule.Builder getMetricRulesBuilder(
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public com.google.api.MetricRuleOrBuilder getMetricRulesOrBuilder(
-        int index) {
+    public com.google.api.MetricRuleOrBuilder getMetricRulesOrBuilder(int index) {
       if (metricRulesBuilder_ == null) {
-        return metricRules_.get(index);  } else {
+        return metricRules_.get(index);
+      } else {
         return metricRulesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1295,8 +1387,8 @@ public com.google.api.MetricRuleOrBuilder getMetricRulesOrBuilder(
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public java.util.List 
-         getMetricRulesOrBuilderList() {
+    public java.util.List
+        getMetricRulesOrBuilderList() {
       if (metricRulesBuilder_ != null) {
         return metricRulesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1304,6 +1396,8 @@ public com.google.api.MetricRuleOrBuilder getMetricRulesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1312,10 +1406,12 @@ public com.google.api.MetricRuleOrBuilder getMetricRulesOrBuilder(
      * repeated .google.api.MetricRule metric_rules = 4;
      */
     public com.google.api.MetricRule.Builder addMetricRulesBuilder() {
-      return getMetricRulesFieldBuilder().addBuilder(
-          com.google.api.MetricRule.getDefaultInstance());
+      return getMetricRulesFieldBuilder()
+          .addBuilder(com.google.api.MetricRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1323,12 +1419,13 @@ public com.google.api.MetricRule.Builder addMetricRulesBuilder() {
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public com.google.api.MetricRule.Builder addMetricRulesBuilder(
-        int index) {
-      return getMetricRulesFieldBuilder().addBuilder(
-          index, com.google.api.MetricRule.getDefaultInstance());
+    public com.google.api.MetricRule.Builder addMetricRulesBuilder(int index) {
+      return getMetricRulesFieldBuilder()
+          .addBuilder(index, com.google.api.MetricRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
@@ -1336,27 +1433,29 @@ public com.google.api.MetricRule.Builder addMetricRulesBuilder(
      *
      * repeated .google.api.MetricRule metric_rules = 4;
      */
-    public java.util.List 
-         getMetricRulesBuilderList() {
+    public java.util.List getMetricRulesBuilderList() {
       return getMetricRulesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.MetricRule, com.google.api.MetricRule.Builder, com.google.api.MetricRuleOrBuilder> 
+            com.google.api.MetricRule,
+            com.google.api.MetricRule.Builder,
+            com.google.api.MetricRuleOrBuilder>
         getMetricRulesFieldBuilder() {
       if (metricRulesBuilder_ == null) {
-        metricRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.MetricRule, com.google.api.MetricRule.Builder, com.google.api.MetricRuleOrBuilder>(
-                metricRules_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        metricRulesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.MetricRule,
+                com.google.api.MetricRule.Builder,
+                com.google.api.MetricRuleOrBuilder>(
+                metricRules_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         metricRules_ = null;
       }
       return metricRulesBuilder_;
     }
+
     @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);
     }
 
@@ -1366,12 +1465,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.api.Quota)
   }
 
   // @@protoc_insertion_point(class_scope:google.api.Quota)
   private static final com.google.api.Quota DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.api.Quota();
   }
@@ -1380,27 +1479,27 @@ public static com.google.api.Quota getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Quota 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 Quota 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;
@@ -1415,6 +1514,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.api.Quota getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java
similarity index 75%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java
index e8644c0180..52dbb2e8e9 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * `QuotaLimit` defines a specific limit that applies over a specified duration
  * for a limit type. There can be at most one limit for a duration and limit
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.api.QuotaLimit}
  */
-public final class QuotaLimit extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class QuotaLimit extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.QuotaLimit)
     QuotaLimitOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use QuotaLimit.newBuilder() to construct.
   private QuotaLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private QuotaLimit() {
     name_ = "";
     description_ = "";
@@ -32,28 +50,25 @@ private QuotaLimit() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new QuotaLimit();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.QuotaProto.internal_static_google_api_QuotaLimit_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 10:
         return internalGetValues();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
@@ -63,9 +78,12 @@ protected com.google.protobuf.MapField internalGetMapField(
   }
 
   public static final int NAME_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Name of the quota limit.
    *
@@ -76,6 +94,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -84,14 +103,15 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
    * Name of the quota limit.
    *
@@ -102,16 +122,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -120,9 +139,12 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. User-visible, extended description for this quota limit.
    * Should be used only when more context is needed to understand this limit
@@ -130,6 +152,7 @@ public java.lang.String getName() {
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -138,14 +161,15 @@ 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; } } /** + * + * *
    * Optional. User-visible, extended description for this quota limit.
    * Should be used only when more context is needed to understand this limit
@@ -153,16 +177,15 @@ public java.lang.String getDescription() {
    * 
* * 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 { @@ -173,6 +196,8 @@ public java.lang.String getDescription() { public static final int DEFAULT_LIMIT_FIELD_NUMBER = 3; private long defaultLimit_ = 0L; /** + * + * *
    * Default number of tokens that can be consumed during the specified
    * duration. This is the number of tokens assigned when a client
@@ -187,6 +212,7 @@ public java.lang.String getDescription() {
    * 
* * int64 default_limit = 3; + * * @return The defaultLimit. */ @java.lang.Override @@ -197,6 +223,8 @@ public long getDefaultLimit() { public static final int MAX_LIMIT_FIELD_NUMBER = 4; private long maxLimit_ = 0L; /** + * + * *
    * Maximum number of tokens that can be consumed during the specified
    * duration. Client application developers can override the default limit up
@@ -210,6 +238,7 @@ public long getDefaultLimit() {
    * 
* * int64 max_limit = 4; + * * @return The maxLimit. */ @java.lang.Override @@ -220,6 +249,8 @@ public long getMaxLimit() { public static final int FREE_TIER_FIELD_NUMBER = 7; private long freeTier_ = 0L; /** + * + * *
    * Free tier value displayed in the Developers Console for this limit.
    * The free tier is the number of tokens that will be subtracted from the
@@ -232,6 +263,7 @@ public long getMaxLimit() {
    * 
* * int64 free_tier = 7; + * * @return The freeTier. */ @java.lang.Override @@ -240,9 +272,12 @@ public long getFreeTier() { } public static final int DURATION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object duration_ = ""; /** + * + * *
    * Duration of this limit in textual notation. Must be "100s" or "1d".
    *
@@ -250,6 +285,7 @@ public long getFreeTier() {
    * 
* * string duration = 5; + * * @return The duration. */ @java.lang.Override @@ -258,14 +294,15 @@ public java.lang.String getDuration() { 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(); duration_ = s; return s; } } /** + * + * *
    * Duration of this limit in textual notation. Must be "100s" or "1d".
    *
@@ -273,16 +310,15 @@ public java.lang.String getDuration() {
    * 
* * string duration = 5; + * * @return The bytes for duration. */ @java.lang.Override - public com.google.protobuf.ByteString - getDurationBytes() { + public com.google.protobuf.ByteString getDurationBytes() { java.lang.Object ref = duration_; 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); duration_ = b; return b; } else { @@ -291,9 +327,12 @@ public java.lang.String getDuration() { } public static final int METRIC_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object metric_ = ""; /** + * + * *
    * The name of the metric this quota limit applies to. The quota limits with
    * the same metric will be checked together during runtime. The metric must be
@@ -301,6 +340,7 @@ public java.lang.String getDuration() {
    * 
* * string metric = 8; + * * @return The metric. */ @java.lang.Override @@ -309,14 +349,15 @@ public java.lang.String getMetric() { 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(); metric_ = s; return s; } } /** + * + * *
    * The name of the metric this quota limit applies to. The quota limits with
    * the same metric will be checked together during runtime. The metric must be
@@ -324,16 +365,15 @@ public java.lang.String getMetric() {
    * 
* * string metric = 8; + * * @return The bytes for metric. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetricBytes() { + public com.google.protobuf.ByteString getMetricBytes() { java.lang.Object ref = metric_; 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); metric_ = b; return b; } else { @@ -342,9 +382,12 @@ public java.lang.String getMetric() { } public static final int UNIT_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object unit_ = ""; /** + * + * *
    * Specify the unit of the quota limit. It uses the same syntax as
    * [Metric.unit][]. The supported unit kinds are determined by the quota
@@ -358,6 +401,7 @@ public java.lang.String getMetric() {
    * 
* * string unit = 9; + * * @return The unit. */ @java.lang.Override @@ -366,14 +410,15 @@ public java.lang.String getUnit() { 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(); unit_ = s; return s; } } /** + * + * *
    * Specify the unit of the quota limit. It uses the same syntax as
    * [Metric.unit][]. The supported unit kinds are determined by the quota
@@ -387,16 +432,15 @@ public java.lang.String getUnit() {
    * 
* * string unit = 9; + * * @return The bytes for unit. */ @java.lang.Override - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; 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); unit_ = b; return b; } else { @@ -405,32 +449,33 @@ public java.lang.String getUnit() { } public static final int VALUES_FIELD_NUMBER = 10; + private static final class ValuesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.api.QuotaProto.internal_static_google_api_QuotaLimit_ValuesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.api.QuotaProto.internal_static_google_api_QuotaLimit_ValuesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> values_; - private com.google.protobuf.MapField - internalGetValues() { + private com.google.protobuf.MapField values_; + + private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ValuesDefaultEntryHolder.defaultEntry); } return values_; } + public int getValuesCount() { return internalGetValues().getMap().size(); } /** + * + * *
    * Tiered limit values. You must specify this as a key:value pair, with an
    * integer value that is the maximum number of requests allowed for the
@@ -440,20 +485,21 @@ public int getValuesCount() {
    * map<string, int64> values = 10;
    */
   @java.lang.Override
-  public boolean containsValues(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsValues(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetValues().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getValuesMap()} instead.
-   */
+  /** Use {@link #getValuesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getValues() {
     return getValuesMap();
   }
   /**
+   *
+   *
    * 
    * Tiered limit values. You must specify this as a key:value pair, with an
    * integer value that is the maximum number of requests allowed for the
@@ -467,6 +513,8 @@ public java.util.Map getValuesMap() {
     return internalGetValues().getMap();
   }
   /**
+   *
+   *
    * 
    * Tiered limit values. You must specify this as a key:value pair, with an
    * integer value that is the maximum number of requests allowed for the
@@ -476,15 +524,16 @@ public java.util.Map getValuesMap() {
    * map<string, int64> values = 10;
    */
   @java.lang.Override
-  public long getValuesOrDefault(
-      java.lang.String key,
-      long defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetValues().getMap();
+  public long getValuesOrDefault(java.lang.String key, long defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetValues().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Tiered limit values. You must specify this as a key:value pair, with an
    * integer value that is the maximum number of requests allowed for the
@@ -494,11 +543,11 @@ public long getValuesOrDefault(
    * map<string, int64> values = 10;
    */
   @java.lang.Override
-  public long getValuesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetValues().getMap();
+  public long getValuesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetValues().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -506,9 +555,12 @@ public long getValuesOrThrow(
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 12;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * User-visible display name for this limit.
    * Optional. If not set, the UI will provide a default display name based on
@@ -517,6 +569,7 @@ public long getValuesOrThrow(
    * 
* * string display_name = 12; + * * @return The displayName. */ @java.lang.Override @@ -525,14 +578,15 @@ public java.lang.String getDisplayName() { 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(); displayName_ = s; return s; } } /** + * + * *
    * User-visible display name for this limit.
    * Optional. If not set, the UI will provide a default display name based on
@@ -541,16 +595,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 12; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -559,6 +612,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -570,8 +624,7 @@ 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_); } @@ -596,12 +649,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, unit_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetValues(), - ValuesDefaultEntryHolder.defaultEntry, - 10); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetValues(), ValuesDefaultEntryHolder.defaultEntry, 10); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, displayName_); } @@ -618,12 +667,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (defaultLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, defaultLimit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, defaultLimit_); } if (maxLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, maxLimit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, maxLimit_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(duration_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, duration_); @@ -632,8 +679,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (freeTier_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, freeTier_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, freeTier_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, metric_); @@ -641,15 +687,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, unit_); } - for (java.util.Map.Entry entry - : internalGetValues().getMap().entrySet()) { - com.google.protobuf.MapEntry - values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, values__); + for (java.util.Map.Entry entry : + internalGetValues().getMap().entrySet()) { + com.google.protobuf.MapEntry values__ = + ValuesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, values__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, displayName_); @@ -662,33 +708,23 @@ 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.QuotaLimit)) { return super.equals(obj); } com.google.api.QuotaLimit other = (com.google.api.QuotaLimit) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (getDefaultLimit() - != other.getDefaultLimit()) return false; - if (getMaxLimit() - != other.getMaxLimit()) return false; - if (getFreeTier() - != other.getFreeTier()) return false; - if (!getDuration() - .equals(other.getDuration())) return false; - if (!getMetric() - .equals(other.getMetric())) return false; - if (!getUnit() - .equals(other.getUnit())) return false; - if (!internalGetValues().equals( - other.internalGetValues())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getDefaultLimit() != other.getDefaultLimit()) return false; + if (getMaxLimit() != other.getMaxLimit()) return false; + if (getFreeTier() != other.getFreeTier()) return false; + if (!getDuration().equals(other.getDuration())) return false; + if (!getMetric().equals(other.getMetric())) return false; + if (!getUnit().equals(other.getUnit())) return false; + if (!internalGetValues().equals(other.internalGetValues())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -705,14 +741,11 @@ public int hashCode() { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + DEFAULT_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDefaultLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDefaultLimit()); hash = (37 * hash) + MAX_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxLimit()); hash = (37 * hash) + FREE_TIER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFreeTier()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFreeTier()); hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + getDuration().hashCode(); hash = (37 * hash) + METRIC_FIELD_NUMBER; @@ -730,99 +763,103 @@ public int hashCode() { return hash; } - public static com.google.api.QuotaLimit parseFrom( - java.nio.ByteBuffer data) + public static com.google.api.QuotaLimit parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.QuotaLimit 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.QuotaLimit parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.api.QuotaLimit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.QuotaLimit 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.QuotaLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.api.QuotaLimit 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.QuotaLimit 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.QuotaLimit 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.QuotaLimit 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.QuotaLimit 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.QuotaLimit parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.api.QuotaLimit 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.QuotaLimit 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.QuotaLimit 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; } /** + * + * *
    * `QuotaLimit` defines a specific limit that applies over a specified duration
    * for a limit type. There can be at most one limit for a duration and limit
@@ -831,37 +868,34 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.api.QuotaLimit}
    */
-  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.QuotaLimit)
       com.google.api.QuotaLimitOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.QuotaProto.internal_static_google_api_QuotaLimit_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 10:
           return internalGetValues();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 10:
           return internalGetMutableValues();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
@@ -871,15 +905,12 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
     }
 
     // Construct using com.google.api.QuotaLimit.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -898,8 +929,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.api.QuotaProto.internal_static_google_api_QuotaLimit_descriptor;
     }
 
@@ -920,7 +950,9 @@ public com.google.api.QuotaLimit build() {
     @java.lang.Override
     public com.google.api.QuotaLimit buildPartial() {
       com.google.api.QuotaLimit result = new com.google.api.QuotaLimit(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -964,38 +996,39 @@ private void buildPartial0(com.google.api.QuotaLimit 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.QuotaLimit) {
-        return mergeFrom((com.google.api.QuotaLimit)other);
+        return mergeFrom((com.google.api.QuotaLimit) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1038,8 +1071,7 @@ public Builder mergeFrom(com.google.api.QuotaLimit other) {
         bitField0_ |= 0x00000080;
         onChanged();
       }
-      internalGetMutableValues().mergeFrom(
-          other.internalGetValues());
+      internalGetMutableValues().mergeFrom(other.internalGetValues());
       bitField0_ |= 0x00000100;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
@@ -1072,66 +1104,79 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              defaultLimit_ = input.readInt64();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 32: {
-              maxLimit_ = input.readInt64();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              duration_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 50: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 50
-            case 56: {
-              freeTier_ = input.readInt64();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 56
-            case 66: {
-              metric_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 66
-            case 74: {
-              unit_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 74
-            case 82: {
-              com.google.protobuf.MapEntry
-              values__ = input.readMessage(
-                  ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableValues().getMutableMap().put(
-                  values__.getKey(), values__.getValue());
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 82
-            case 98: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 98
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                defaultLimit_ = input.readInt64();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 32:
+              {
+                maxLimit_ = input.readInt64();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                duration_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 50:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 50
+            case 56:
+              {
+                freeTier_ = input.readInt64();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 56
+            case 66:
+              {
+                metric_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 66
+            case 74:
+              {
+                unit_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 74
+            case 82:
+              {
+                com.google.protobuf.MapEntry values__ =
+                    input.readMessage(
+                        ValuesDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableValues()
+                    .getMutableMap()
+                    .put(values__.getKey(), values__.getValue());
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 82
+            case 98:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 98
+            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) {
@@ -1141,10 +1186,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of the quota limit.
      *
@@ -1155,13 +1203,13 @@ public Builder mergeFrom(
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -1170,6 +1218,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the quota limit.
      *
@@ -1180,15 +1230,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -1196,6 +1245,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the quota limit.
      *
@@ -1206,18 +1257,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of the quota limit.
      *
@@ -1228,6 +1283,7 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1237,6 +1293,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Name of the quota limit.
      *
@@ -1247,12 +1305,14 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1262,6 +1322,8 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. User-visible, extended description for this quota limit.
      * Should be used only when more context is needed to understand this limit
@@ -1269,13 +1331,13 @@ public Builder setNameBytes(
      * 
* * 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; @@ -1284,6 +1346,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. User-visible, extended description for this quota limit.
      * Should be used only when more context is needed to understand this limit
@@ -1291,15 +1355,14 @@ public java.lang.String getDescription() {
      * 
* * 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 { @@ -1307,6 +1370,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. User-visible, extended description for this quota limit.
      * Should be used only when more context is needed to understand this limit
@@ -1314,18 +1379,22 @@ public java.lang.String getDescription() {
      * 
* * 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_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. User-visible, extended description for this quota limit.
      * Should be used only when more context is needed to understand this limit
@@ -1333,6 +1402,7 @@ public Builder setDescription(
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1342,6 +1412,8 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. User-visible, extended description for this quota limit.
      * Should be used only when more context is needed to understand this limit
@@ -1349,12 +1421,14 @@ public Builder clearDescription() {
      * 
* * 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_ |= 0x00000002; @@ -1362,8 +1436,10 @@ public Builder setDescriptionBytes( return this; } - private long defaultLimit_ ; + private long defaultLimit_; /** + * + * *
      * Default number of tokens that can be consumed during the specified
      * duration. This is the number of tokens assigned when a client
@@ -1378,6 +1454,7 @@ public Builder setDescriptionBytes(
      * 
* * int64 default_limit = 3; + * * @return The defaultLimit. */ @java.lang.Override @@ -1385,6 +1462,8 @@ public long getDefaultLimit() { return defaultLimit_; } /** + * + * *
      * Default number of tokens that can be consumed during the specified
      * duration. This is the number of tokens assigned when a client
@@ -1399,6 +1478,7 @@ public long getDefaultLimit() {
      * 
* * int64 default_limit = 3; + * * @param value The defaultLimit to set. * @return This builder for chaining. */ @@ -1410,6 +1490,8 @@ public Builder setDefaultLimit(long value) { return this; } /** + * + * *
      * Default number of tokens that can be consumed during the specified
      * duration. This is the number of tokens assigned when a client
@@ -1424,6 +1506,7 @@ public Builder setDefaultLimit(long value) {
      * 
* * int64 default_limit = 3; + * * @return This builder for chaining. */ public Builder clearDefaultLimit() { @@ -1433,8 +1516,10 @@ public Builder clearDefaultLimit() { return this; } - private long maxLimit_ ; + private long maxLimit_; /** + * + * *
      * Maximum number of tokens that can be consumed during the specified
      * duration. Client application developers can override the default limit up
@@ -1448,6 +1533,7 @@ public Builder clearDefaultLimit() {
      * 
* * int64 max_limit = 4; + * * @return The maxLimit. */ @java.lang.Override @@ -1455,6 +1541,8 @@ public long getMaxLimit() { return maxLimit_; } /** + * + * *
      * Maximum number of tokens that can be consumed during the specified
      * duration. Client application developers can override the default limit up
@@ -1468,6 +1556,7 @@ public long getMaxLimit() {
      * 
* * int64 max_limit = 4; + * * @param value The maxLimit to set. * @return This builder for chaining. */ @@ -1479,6 +1568,8 @@ public Builder setMaxLimit(long value) { return this; } /** + * + * *
      * Maximum number of tokens that can be consumed during the specified
      * duration. Client application developers can override the default limit up
@@ -1492,6 +1583,7 @@ public Builder setMaxLimit(long value) {
      * 
* * int64 max_limit = 4; + * * @return This builder for chaining. */ public Builder clearMaxLimit() { @@ -1501,8 +1593,10 @@ public Builder clearMaxLimit() { return this; } - private long freeTier_ ; + private long freeTier_; /** + * + * *
      * Free tier value displayed in the Developers Console for this limit.
      * The free tier is the number of tokens that will be subtracted from the
@@ -1515,6 +1609,7 @@ public Builder clearMaxLimit() {
      * 
* * int64 free_tier = 7; + * * @return The freeTier. */ @java.lang.Override @@ -1522,6 +1617,8 @@ public long getFreeTier() { return freeTier_; } /** + * + * *
      * Free tier value displayed in the Developers Console for this limit.
      * The free tier is the number of tokens that will be subtracted from the
@@ -1534,6 +1631,7 @@ public long getFreeTier() {
      * 
* * int64 free_tier = 7; + * * @param value The freeTier to set. * @return This builder for chaining. */ @@ -1545,6 +1643,8 @@ public Builder setFreeTier(long value) { return this; } /** + * + * *
      * Free tier value displayed in the Developers Console for this limit.
      * The free tier is the number of tokens that will be subtracted from the
@@ -1557,6 +1657,7 @@ public Builder setFreeTier(long value) {
      * 
* * int64 free_tier = 7; + * * @return This builder for chaining. */ public Builder clearFreeTier() { @@ -1568,6 +1669,8 @@ public Builder clearFreeTier() { private java.lang.Object duration_ = ""; /** + * + * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
      *
@@ -1575,13 +1678,13 @@ public Builder clearFreeTier() {
      * 
* * string duration = 5; + * * @return The duration. */ public java.lang.String getDuration() { java.lang.Object ref = duration_; 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(); duration_ = s; return s; @@ -1590,6 +1693,8 @@ public java.lang.String getDuration() { } } /** + * + * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
      *
@@ -1597,15 +1702,14 @@ public java.lang.String getDuration() {
      * 
* * string duration = 5; + * * @return The bytes for duration. */ - public com.google.protobuf.ByteString - getDurationBytes() { + public com.google.protobuf.ByteString getDurationBytes() { java.lang.Object ref = duration_; 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); duration_ = b; return b; } else { @@ -1613,6 +1717,8 @@ public java.lang.String getDuration() { } } /** + * + * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
      *
@@ -1620,18 +1726,22 @@ public java.lang.String getDuration() {
      * 
* * string duration = 5; + * * @param value The duration to set. * @return This builder for chaining. */ - public Builder setDuration( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDuration(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } duration_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
      *
@@ -1639,6 +1749,7 @@ public Builder setDuration(
      * 
* * string duration = 5; + * * @return This builder for chaining. */ public Builder clearDuration() { @@ -1648,6 +1759,8 @@ public Builder clearDuration() { return this; } /** + * + * *
      * Duration of this limit in textual notation. Must be "100s" or "1d".
      *
@@ -1655,12 +1768,14 @@ public Builder clearDuration() {
      * 
* * string duration = 5; + * * @param value The bytes for duration to set. * @return This builder for chaining. */ - public Builder setDurationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDurationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); duration_ = value; bitField0_ |= 0x00000020; @@ -1670,6 +1785,8 @@ public Builder setDurationBytes( private java.lang.Object metric_ = ""; /** + * + * *
      * The name of the metric this quota limit applies to. The quota limits with
      * the same metric will be checked together during runtime. The metric must be
@@ -1677,13 +1794,13 @@ public Builder setDurationBytes(
      * 
* * string metric = 8; + * * @return The metric. */ public java.lang.String getMetric() { java.lang.Object ref = metric_; 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(); metric_ = s; return s; @@ -1692,6 +1809,8 @@ public java.lang.String getMetric() { } } /** + * + * *
      * The name of the metric this quota limit applies to. The quota limits with
      * the same metric will be checked together during runtime. The metric must be
@@ -1699,15 +1818,14 @@ public java.lang.String getMetric() {
      * 
* * string metric = 8; + * * @return The bytes for metric. */ - public com.google.protobuf.ByteString - getMetricBytes() { + public com.google.protobuf.ByteString getMetricBytes() { java.lang.Object ref = metric_; 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); metric_ = b; return b; } else { @@ -1715,6 +1833,8 @@ public java.lang.String getMetric() { } } /** + * + * *
      * The name of the metric this quota limit applies to. The quota limits with
      * the same metric will be checked together during runtime. The metric must be
@@ -1722,18 +1842,22 @@ public java.lang.String getMetric() {
      * 
* * string metric = 8; + * * @param value The metric to set. * @return This builder for chaining. */ - public Builder setMetric( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetric(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } metric_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The name of the metric this quota limit applies to. The quota limits with
      * the same metric will be checked together during runtime. The metric must be
@@ -1741,6 +1865,7 @@ public Builder setMetric(
      * 
* * string metric = 8; + * * @return This builder for chaining. */ public Builder clearMetric() { @@ -1750,6 +1875,8 @@ public Builder clearMetric() { return this; } /** + * + * *
      * The name of the metric this quota limit applies to. The quota limits with
      * the same metric will be checked together during runtime. The metric must be
@@ -1757,12 +1884,14 @@ public Builder clearMetric() {
      * 
* * string metric = 8; + * * @param value The bytes for metric to set. * @return This builder for chaining. */ - public Builder setMetricBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetricBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); metric_ = value; bitField0_ |= 0x00000040; @@ -1772,6 +1901,8 @@ public Builder setMetricBytes( private java.lang.Object unit_ = ""; /** + * + * *
      * Specify the unit of the quota limit. It uses the same syntax as
      * [Metric.unit][]. The supported unit kinds are determined by the quota
@@ -1785,13 +1916,13 @@ public Builder setMetricBytes(
      * 
* * string unit = 9; + * * @return The unit. */ public java.lang.String getUnit() { java.lang.Object ref = unit_; 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(); unit_ = s; return s; @@ -1800,6 +1931,8 @@ public java.lang.String getUnit() { } } /** + * + * *
      * Specify the unit of the quota limit. It uses the same syntax as
      * [Metric.unit][]. The supported unit kinds are determined by the quota
@@ -1813,15 +1946,14 @@ public java.lang.String getUnit() {
      * 
* * string unit = 9; + * * @return The bytes for unit. */ - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; 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); unit_ = b; return b; } else { @@ -1829,6 +1961,8 @@ public java.lang.String getUnit() { } } /** + * + * *
      * Specify the unit of the quota limit. It uses the same syntax as
      * [Metric.unit][]. The supported unit kinds are determined by the quota
@@ -1842,18 +1976,22 @@ public java.lang.String getUnit() {
      * 
* * string unit = 9; + * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnit(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } unit_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Specify the unit of the quota limit. It uses the same syntax as
      * [Metric.unit][]. The supported unit kinds are determined by the quota
@@ -1867,6 +2005,7 @@ public Builder setUnit(
      * 
* * string unit = 9; + * * @return This builder for chaining. */ public Builder clearUnit() { @@ -1876,6 +2015,8 @@ public Builder clearUnit() { return this; } /** + * + * *
      * Specify the unit of the quota limit. It uses the same syntax as
      * [Metric.unit][]. The supported unit kinds are determined by the quota
@@ -1889,12 +2030,14 @@ public Builder clearUnit() {
      * 
* * string unit = 9; + * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnitBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); unit_ = value; bitField0_ |= 0x00000080; @@ -1902,21 +2045,19 @@ public Builder setUnitBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> values_; - private com.google.protobuf.MapField - internalGetValues() { + private com.google.protobuf.MapField values_; + + private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ValuesDefaultEntryHolder.defaultEntry); } return values_; } + private com.google.protobuf.MapField internalGetMutableValues() { if (values_ == null) { - values_ = com.google.protobuf.MapField.newMapField( - ValuesDefaultEntryHolder.defaultEntry); + values_ = com.google.protobuf.MapField.newMapField(ValuesDefaultEntryHolder.defaultEntry); } if (!values_.isMutable()) { values_ = values_.copy(); @@ -1925,10 +2066,13 @@ public Builder setUnitBytes( onChanged(); return values_; } + public int getValuesCount() { return internalGetValues().getMap().size(); } /** + * + * *
      * Tiered limit values. You must specify this as a key:value pair, with an
      * integer value that is the maximum number of requests allowed for the
@@ -1938,20 +2082,21 @@ public int getValuesCount() {
      * map<string, int64> values = 10;
      */
     @java.lang.Override
-    public boolean containsValues(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsValues(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetValues().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getValuesMap()} instead.
-     */
+    /** Use {@link #getValuesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getValues() {
       return getValuesMap();
     }
     /**
+     *
+     *
      * 
      * Tiered limit values. You must specify this as a key:value pair, with an
      * integer value that is the maximum number of requests allowed for the
@@ -1965,6 +2110,8 @@ public java.util.Map getValuesMap() {
       return internalGetValues().getMap();
     }
     /**
+     *
+     *
      * 
      * Tiered limit values. You must specify this as a key:value pair, with an
      * integer value that is the maximum number of requests allowed for the
@@ -1974,15 +2121,16 @@ public java.util.Map getValuesMap() {
      * map<string, int64> values = 10;
      */
     @java.lang.Override
-    public long getValuesOrDefault(
-        java.lang.String key,
-        long defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetValues().getMap();
+    public long getValuesOrDefault(java.lang.String key, long defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetValues().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Tiered limit values. You must specify this as a key:value pair, with an
      * integer value that is the maximum number of requests allowed for the
@@ -1992,23 +2140,25 @@ public long getValuesOrDefault(
      * map<string, int64> values = 10;
      */
     @java.lang.Override
-    public long getValuesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetValues().getMap();
+    public long getValuesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetValues().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearValues() {
       bitField0_ = (bitField0_ & ~0x00000100);
-      internalGetMutableValues().getMutableMap()
-          .clear();
+      internalGetMutableValues().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Tiered limit values. You must specify this as a key:value pair, with an
      * integer value that is the maximum number of requests allowed for the
@@ -2017,23 +2167,22 @@ public Builder clearValues() {
      *
      * map<string, int64> values = 10;
      */
-    public Builder removeValues(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableValues().getMutableMap()
-          .remove(key);
+    public Builder removeValues(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableValues().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableValues() {
+    public java.util.Map getMutableValues() {
       bitField0_ |= 0x00000100;
       return internalGetMutableValues().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Tiered limit values. You must specify this as a key:value pair, with an
      * integer value that is the maximum number of requests allowed for the
@@ -2042,17 +2191,18 @@ public Builder removeValues(
      *
      * map<string, int64> values = 10;
      */
-    public Builder putValues(
-        java.lang.String key,
-        long value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putValues(java.lang.String key, long value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
 
-      internalGetMutableValues().getMutableMap()
-          .put(key, value);
+      internalGetMutableValues().getMutableMap().put(key, value);
       bitField0_ |= 0x00000100;
       return this;
     }
     /**
+     *
+     *
      * 
      * Tiered limit values. You must specify this as a key:value pair, with an
      * integer value that is the maximum number of requests allowed for the
@@ -2061,16 +2211,16 @@ public Builder putValues(
      *
      * map<string, int64> values = 10;
      */
-    public Builder putAllValues(
-        java.util.Map values) {
-      internalGetMutableValues().getMutableMap()
-          .putAll(values);
+    public Builder putAllValues(java.util.Map values) {
+      internalGetMutableValues().getMutableMap().putAll(values);
       bitField0_ |= 0x00000100;
       return this;
     }
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * User-visible display name for this limit.
      * Optional. If not set, the UI will provide a default display name based on
@@ -2079,13 +2229,13 @@ public Builder putAllValues(
      * 
* * string display_name = 12; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; @@ -2094,6 +2244,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-visible display name for this limit.
      * Optional. If not set, the UI will provide a default display name based on
@@ -2102,15 +2254,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 12; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -2118,6 +2269,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-visible display name for this limit.
      * Optional. If not set, the UI will provide a default display name based on
@@ -2126,18 +2279,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 12; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * User-visible display name for this limit.
      * Optional. If not set, the UI will provide a default display name based on
@@ -2146,6 +2303,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 12; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2155,6 +2313,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-visible display name for this limit.
      * Optional. If not set, the UI will provide a default display name based on
@@ -2163,21 +2323,23 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 12; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000200; 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); } @@ -2187,12 +2349,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.api.QuotaLimit) } // @@protoc_insertion_point(class_scope:google.api.QuotaLimit) private static final com.google.api.QuotaLimit DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.api.QuotaLimit(); } @@ -2201,27 +2363,27 @@ public static com.google.api.QuotaLimit getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuotaLimit 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 QuotaLimit 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; @@ -2236,6 +2398,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.api.QuotaLimit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java similarity index 83% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java index 6fe2193682..5a11650910 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 interface QuotaLimitOrBuilder extends +public interface QuotaLimitOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.QuotaLimit) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the quota limit.
    *
@@ -18,10 +36,13 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the quota limit.
    *
@@ -32,12 +53,14 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. User-visible, extended description for this quota limit.
    * Should be used only when more context is needed to understand this limit
@@ -45,10 +68,13 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. User-visible, extended description for this quota limit.
    * Should be used only when more context is needed to understand this limit
@@ -56,12 +82,14 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Default number of tokens that can be consumed during the specified
    * duration. This is the number of tokens assigned when a client
@@ -76,11 +104,14 @@ public interface QuotaLimitOrBuilder extends
    * 
* * int64 default_limit = 3; + * * @return The defaultLimit. */ long getDefaultLimit(); /** + * + * *
    * Maximum number of tokens that can be consumed during the specified
    * duration. Client application developers can override the default limit up
@@ -94,11 +125,14 @@ public interface QuotaLimitOrBuilder extends
    * 
* * int64 max_limit = 4; + * * @return The maxLimit. */ long getMaxLimit(); /** + * + * *
    * Free tier value displayed in the Developers Console for this limit.
    * The free tier is the number of tokens that will be subtracted from the
@@ -111,11 +145,14 @@ public interface QuotaLimitOrBuilder extends
    * 
* * int64 free_tier = 7; + * * @return The freeTier. */ long getFreeTier(); /** + * + * *
    * Duration of this limit in textual notation. Must be "100s" or "1d".
    *
@@ -123,10 +160,13 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string duration = 5; + * * @return The duration. */ java.lang.String getDuration(); /** + * + * *
    * Duration of this limit in textual notation. Must be "100s" or "1d".
    *
@@ -134,12 +174,14 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string duration = 5; + * * @return The bytes for duration. */ - com.google.protobuf.ByteString - getDurationBytes(); + com.google.protobuf.ByteString getDurationBytes(); /** + * + * *
    * The name of the metric this quota limit applies to. The quota limits with
    * the same metric will be checked together during runtime. The metric must be
@@ -147,10 +189,13 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string metric = 8; + * * @return The metric. */ java.lang.String getMetric(); /** + * + * *
    * The name of the metric this quota limit applies to. The quota limits with
    * the same metric will be checked together during runtime. The metric must be
@@ -158,12 +203,14 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string metric = 8; + * * @return The bytes for metric. */ - com.google.protobuf.ByteString - getMetricBytes(); + com.google.protobuf.ByteString getMetricBytes(); /** + * + * *
    * Specify the unit of the quota limit. It uses the same syntax as
    * [Metric.unit][]. The supported unit kinds are determined by the quota
@@ -177,10 +224,13 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string unit = 9; + * * @return The unit. */ java.lang.String getUnit(); /** + * + * *
    * Specify the unit of the quota limit. It uses the same syntax as
    * [Metric.unit][]. The supported unit kinds are determined by the quota
@@ -194,12 +244,14 @@ public interface QuotaLimitOrBuilder extends
    * 
* * string unit = 9; + * * @return The bytes for unit. */ - com.google.protobuf.ByteString - getUnitBytes(); + com.google.protobuf.ByteString getUnitBytes(); /** + * + * *
    * Tiered limit values. You must specify this as a key:value pair, with an
    * integer value that is the maximum number of requests allowed for the
@@ -210,6 +262,8 @@ public interface QuotaLimitOrBuilder extends
    */
   int getValuesCount();
   /**
+   *
+   *
    * 
    * Tiered limit values. You must specify this as a key:value pair, with an
    * integer value that is the maximum number of requests allowed for the
@@ -218,15 +272,13 @@ public interface QuotaLimitOrBuilder extends
    *
    * map<string, int64> values = 10;
    */
-  boolean containsValues(
-      java.lang.String key);
-  /**
-   * Use {@link #getValuesMap()} instead.
-   */
+  boolean containsValues(java.lang.String key);
+  /** Use {@link #getValuesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getValues();
+  java.util.Map getValues();
   /**
+   *
+   *
    * 
    * Tiered limit values. You must specify this as a key:value pair, with an
    * integer value that is the maximum number of requests allowed for the
@@ -235,9 +287,10 @@ boolean containsValues(
    *
    * map<string, int64> values = 10;
    */
-  java.util.Map
-  getValuesMap();
+  java.util.Map getValuesMap();
   /**
+   *
+   *
    * 
    * Tiered limit values. You must specify this as a key:value pair, with an
    * integer value that is the maximum number of requests allowed for the
@@ -246,10 +299,10 @@ boolean containsValues(
    *
    * map<string, int64> values = 10;
    */
-  long getValuesOrDefault(
-      java.lang.String key,
-      long defaultValue);
+  long getValuesOrDefault(java.lang.String key, long defaultValue);
   /**
+   *
+   *
    * 
    * Tiered limit values. You must specify this as a key:value pair, with an
    * integer value that is the maximum number of requests allowed for the
@@ -258,10 +311,11 @@ long getValuesOrDefault(
    *
    * map<string, int64> values = 10;
    */
-  long getValuesOrThrow(
-      java.lang.String key);
+  long getValuesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * User-visible display name for this limit.
    * Optional. If not set, the UI will provide a default display name based on
@@ -270,10 +324,13 @@ long getValuesOrThrow(
    * 
* * string display_name = 12; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-visible display name for this limit.
    * Optional. If not set, the UI will provide a default display name based on
@@ -282,8 +339,8 @@ long getValuesOrThrow(
    * 
* * string display_name = 12; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java similarity index 65% rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java index dfe7eda37c..e54a0c5fd3 100644 --- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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 interface QuotaOrBuilder extends +public interface QuotaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.api.Quota) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of QuotaLimit definitions for the service.
    * 
* * repeated .google.api.QuotaLimit limits = 3; */ - java.util.List - getLimitsList(); + java.util.List getLimitsList(); /** + * + * *
    * List of QuotaLimit definitions for the service.
    * 
@@ -25,6 +44,8 @@ public interface QuotaOrBuilder extends */ com.google.api.QuotaLimit getLimits(int index); /** + * + * *
    * List of QuotaLimit definitions for the service.
    * 
@@ -33,25 +54,29 @@ public interface QuotaOrBuilder extends */ int getLimitsCount(); /** + * + * *
    * List of QuotaLimit definitions for the service.
    * 
* * repeated .google.api.QuotaLimit limits = 3; */ - java.util.List - getLimitsOrBuilderList(); + java.util.List getLimitsOrBuilderList(); /** + * + * *
    * List of QuotaLimit definitions for the service.
    * 
* * repeated .google.api.QuotaLimit limits = 3; */ - com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder( - int index); + com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder(int index); /** + * + * *
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -59,9 +84,10 @@ com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder(
    *
    * repeated .google.api.MetricRule metric_rules = 4;
    */
-  java.util.List 
-      getMetricRulesList();
+  java.util.List getMetricRulesList();
   /**
+   *
+   *
    * 
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -71,6 +97,8 @@ com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder(
    */
   com.google.api.MetricRule getMetricRules(int index);
   /**
+   *
+   *
    * 
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -80,6 +108,8 @@ com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder(
    */
   int getMetricRulesCount();
   /**
+   *
+   *
    * 
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -87,9 +117,10 @@ com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder(
    *
    * repeated .google.api.MetricRule metric_rules = 4;
    */
-  java.util.List 
-      getMetricRulesOrBuilderList();
+  java.util.List getMetricRulesOrBuilderList();
   /**
+   *
+   *
    * 
    * List of MetricRule definitions, each one mapping a selected method to one
    * or more metrics.
@@ -97,6 +128,5 @@ com.google.api.QuotaLimitOrBuilder getLimitsOrBuilder(
    *
    * repeated .google.api.MetricRule metric_rules = 4;
    */
-  com.google.api.MetricRuleOrBuilder getMetricRulesOrBuilder(
-      int index);
+  com.google.api.MetricRuleOrBuilder getMetricRulesOrBuilder(int index);
 }
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
new file mode 100644
index 0000000000..33c663c8ef
--- /dev/null
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java
@@ -0,0 +1,129 @@
+/*
+ * 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/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java
similarity index 82%
rename from owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java
rename to java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java
index bb392f273d..c8e2e3d48f 100644
--- a/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java
@@ -1,9 +1,26 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * A simple descriptor of a resource type.
  *
@@ -56,19 +73,19 @@
  *
  * Protobuf type {@code google.api.ResourceDescriptor}
  */
-public final class ResourceDescriptor extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ResourceDescriptor extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.api.ResourceDescriptor)
     ResourceDescriptorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ResourceDescriptor.newBuilder() to construct.
   private ResourceDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ResourceDescriptor() {
     type_ = "";
-    pattern_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    pattern_ = com.google.protobuf.LazyStringArrayList.emptyList();
     nameField_ = "";
     history_ = 0;
     plural_ = "";
@@ -78,25 +95,27 @@ private ResourceDescriptor() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResourceDescriptor();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.ResourceProto.internal_static_google_api_ResourceDescriptor_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.api.ResourceProto.internal_static_google_api_ResourceDescriptor_fieldAccessorTable
+    return com.google.api.ResourceProto
+        .internal_static_google_api_ResourceDescriptor_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.api.ResourceDescriptor.class, com.google.api.ResourceDescriptor.Builder.class);
+            com.google.api.ResourceDescriptor.class,
+            com.google.api.ResourceDescriptor.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * A description of the historical or future-looking state of the
    * resource pattern.
@@ -104,9 +123,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.api.ResourceDescriptor.History}
    */
-  public enum History
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum History implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The "unset" value.
      * 
@@ -115,6 +135,8 @@ public enum History */ HISTORY_UNSPECIFIED(0), /** + * + * *
      * The resource originally had one pattern and launched as such, and
      * additional patterns were added later.
@@ -124,6 +146,8 @@ public enum History
      */
     ORIGINALLY_SINGLE_PATTERN(1),
     /**
+     *
+     *
      * 
      * The resource has one pattern, but the API owner expects to add more
      * later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
@@ -137,6 +161,8 @@ public enum History
     ;
 
     /**
+     *
+     *
      * 
      * The "unset" value.
      * 
@@ -145,6 +171,8 @@ public enum History */ public static final int HISTORY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The resource originally had one pattern and launched as such, and
      * additional patterns were added later.
@@ -154,6 +182,8 @@ public enum History
      */
     public static final int ORIGINALLY_SINGLE_PATTERN_VALUE = 1;
     /**
+     *
+     *
      * 
      * The resource has one pattern, but the API owner expects to add more
      * later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
@@ -164,7 +194,6 @@ public enum History
      */
     public static final int FUTURE_MULTI_PATTERN_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -189,49 +218,49 @@ public static History valueOf(int value) {
      */
     public static History forNumber(int value) {
       switch (value) {
-        case 0: return HISTORY_UNSPECIFIED;
-        case 1: return ORIGINALLY_SINGLE_PATTERN;
-        case 2: return FUTURE_MULTI_PATTERN;
-        default: return null;
+        case 0:
+          return HISTORY_UNSPECIFIED;
+        case 1:
+          return ORIGINALLY_SINGLE_PATTERN;
+        case 2:
+          return FUTURE_MULTI_PATTERN;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        History> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public History findValueByNumber(int number) {
-              return History.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public History findValueByNumber(int number) {
+            return History.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.api.ResourceDescriptor.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final History[] VALUES = values();
 
-    public static History valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static History valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -249,15 +278,18 @@ private History(int value) {
   }
 
   /**
+   *
+   *
    * 
    * A flag representing a specific style that a resource claims to conform to.
    * 
* * Protobuf enum {@code google.api.ResourceDescriptor.Style} */ - public enum Style - implements com.google.protobuf.ProtocolMessageEnum { + public enum Style implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The unspecified value. Do not use.
      * 
@@ -266,6 +298,8 @@ public enum Style */ STYLE_UNSPECIFIED(0), /** + * + * *
      * This resource is intended to be "declarative-friendly".
      *
@@ -284,6 +318,8 @@ public enum Style
     ;
 
     /**
+     *
+     *
      * 
      * The unspecified value. Do not use.
      * 
@@ -292,6 +328,8 @@ public enum Style */ public static final int STYLE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This resource is intended to be "declarative-friendly".
      *
@@ -307,7 +345,6 @@ public enum Style
      */
     public static final int DECLARATIVE_FRIENDLY_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -332,48 +369,47 @@ public static Style valueOf(int value) {
      */
     public static Style forNumber(int value) {
       switch (value) {
-        case 0: return STYLE_UNSPECIFIED;
-        case 1: return DECLARATIVE_FRIENDLY;
-        default: return null;
+        case 0:
+          return STYLE_UNSPECIFIED;
+        case 1:
+          return DECLARATIVE_FRIENDLY;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap