diff --git a/java-tpu/grpc-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/TpuGrpc.java b/java-tpu/grpc-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/TpuGrpc.java deleted file mode 100644 index 9820ab5a867f..000000000000 --- a/java-tpu/grpc-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/TpuGrpc.java +++ /dev/null @@ -1,1463 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.tpu.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Manages TPU nodes and other resources - * TPU API v1 - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/tpu/v1/cloud_tpu.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TpuGrpc { - - private TpuGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.tpu.v1.Tpu"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.tpu.v1.ListNodesRequest, com.google.cloud.tpu.v1.ListNodesResponse> - getListNodesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNodes", - requestType = com.google.cloud.tpu.v1.ListNodesRequest.class, - responseType = com.google.cloud.tpu.v1.ListNodesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.tpu.v1.ListNodesRequest, com.google.cloud.tpu.v1.ListNodesResponse> - getListNodesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.tpu.v1.ListNodesRequest, com.google.cloud.tpu.v1.ListNodesResponse> - getListNodesMethod; - if ((getListNodesMethod = TpuGrpc.getListNodesMethod) == null) { - synchronized (TpuGrpc.class) { - if ((getListNodesMethod = TpuGrpc.getListNodesMethod) == null) { - TpuGrpc.getListNodesMethod = - getListNodesMethod = - io.grpc.MethodDescriptor - .
- * Manages TPU nodes and other resources - * TPU API v1 - *- */ - public abstract static class TpuImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Lists nodes. - *- */ - public void listNodes( - com.google.cloud.tpu.v1.ListNodesRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a node. - *- */ - public void getNode( - com.google.cloud.tpu.v1.GetNodeRequest request, - io.grpc.stub.StreamObserver
- * Creates a node. - *- */ - public void createNode( - com.google.cloud.tpu.v1.CreateNodeRequest request, - io.grpc.stub.StreamObserver
- * Deletes a node. - *- */ - public void deleteNode( - com.google.cloud.tpu.v1.DeleteNodeRequest request, - io.grpc.stub.StreamObserver
- * Reimages a node's OS. - *- */ - public void reimageNode( - com.google.cloud.tpu.v1.ReimageNodeRequest request, - io.grpc.stub.StreamObserver
- * Stops a node, this operation is only available with single TPU nodes. - *- */ - public void stopNode( - com.google.cloud.tpu.v1.StopNodeRequest request, - io.grpc.stub.StreamObserver
- * Starts a node. - *- */ - public void startNode( - com.google.cloud.tpu.v1.StartNodeRequest request, - io.grpc.stub.StreamObserver
- * List TensorFlow versions supported by this API. - *- */ - public void listTensorFlowVersions( - com.google.cloud.tpu.v1.ListTensorFlowVersionsRequest request, - io.grpc.stub.StreamObserver
- * Gets TensorFlow Version. - *- */ - public void getTensorFlowVersion( - com.google.cloud.tpu.v1.GetTensorFlowVersionRequest request, - io.grpc.stub.StreamObserver
- * Lists accelerator types supported by this API. - *- */ - public void listAcceleratorTypes( - com.google.cloud.tpu.v1.ListAcceleratorTypesRequest request, - io.grpc.stub.StreamObserver
- * Gets AcceleratorType. - *- */ - public void getAcceleratorType( - com.google.cloud.tpu.v1.GetAcceleratorTypeRequest request, - io.grpc.stub.StreamObserver
- * Manages TPU nodes and other resources - * TPU API v1 - *- */ - public static final class TpuStub extends io.grpc.stub.AbstractAsyncStub
- * Lists nodes. - *- */ - public void listNodes( - com.google.cloud.tpu.v1.ListNodesRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a node. - *- */ - public void getNode( - com.google.cloud.tpu.v1.GetNodeRequest request, - io.grpc.stub.StreamObserver
- * Creates a node. - *- */ - public void createNode( - com.google.cloud.tpu.v1.CreateNodeRequest request, - io.grpc.stub.StreamObserver
- * Deletes a node. - *- */ - public void deleteNode( - com.google.cloud.tpu.v1.DeleteNodeRequest request, - io.grpc.stub.StreamObserver
- * Reimages a node's OS. - *- */ - public void reimageNode( - com.google.cloud.tpu.v1.ReimageNodeRequest request, - io.grpc.stub.StreamObserver
- * Stops a node, this operation is only available with single TPU nodes. - *- */ - public void stopNode( - com.google.cloud.tpu.v1.StopNodeRequest request, - io.grpc.stub.StreamObserver
- * Starts a node. - *- */ - public void startNode( - com.google.cloud.tpu.v1.StartNodeRequest request, - io.grpc.stub.StreamObserver
- * List TensorFlow versions supported by this API. - *- */ - public void listTensorFlowVersions( - com.google.cloud.tpu.v1.ListTensorFlowVersionsRequest request, - io.grpc.stub.StreamObserver
- * Gets TensorFlow Version. - *- */ - public void getTensorFlowVersion( - com.google.cloud.tpu.v1.GetTensorFlowVersionRequest request, - io.grpc.stub.StreamObserver
- * Lists accelerator types supported by this API. - *- */ - public void listAcceleratorTypes( - com.google.cloud.tpu.v1.ListAcceleratorTypesRequest request, - io.grpc.stub.StreamObserver
- * Gets AcceleratorType. - *- */ - public void getAcceleratorType( - com.google.cloud.tpu.v1.GetAcceleratorTypeRequest request, - io.grpc.stub.StreamObserver
- * Manages TPU nodes and other resources - * TPU API v1 - *- */ - public static final class TpuBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Lists nodes. - *- */ - public com.google.cloud.tpu.v1.ListNodesResponse listNodes( - com.google.cloud.tpu.v1.ListNodesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNodesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets the details of a node. - *- */ - public com.google.cloud.tpu.v1.Node getNode(com.google.cloud.tpu.v1.GetNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a node. - *- */ - public com.google.longrunning.Operation createNode( - com.google.cloud.tpu.v1.CreateNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a node. - *- */ - public com.google.longrunning.Operation deleteNode( - com.google.cloud.tpu.v1.DeleteNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Reimages a node's OS. - *- */ - public com.google.longrunning.Operation reimageNode( - com.google.cloud.tpu.v1.ReimageNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReimageNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Stops a node, this operation is only available with single TPU nodes. - *- */ - public com.google.longrunning.Operation stopNode( - com.google.cloud.tpu.v1.StopNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStopNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Starts a node. - *- */ - public com.google.longrunning.Operation startNode( - com.google.cloud.tpu.v1.StartNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * List TensorFlow versions supported by this API. - *- */ - public com.google.cloud.tpu.v1.ListTensorFlowVersionsResponse listTensorFlowVersions( - com.google.cloud.tpu.v1.ListTensorFlowVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTensorFlowVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets TensorFlow Version. - *- */ - public com.google.cloud.tpu.v1.TensorFlowVersion getTensorFlowVersion( - com.google.cloud.tpu.v1.GetTensorFlowVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTensorFlowVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists accelerator types supported by this API. - *- */ - public com.google.cloud.tpu.v1.ListAcceleratorTypesResponse listAcceleratorTypes( - com.google.cloud.tpu.v1.ListAcceleratorTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAcceleratorTypesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets AcceleratorType. - *- */ - public com.google.cloud.tpu.v1.AcceleratorType getAcceleratorType( - com.google.cloud.tpu.v1.GetAcceleratorTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAcceleratorTypeMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * Manages TPU nodes and other resources - * TPU API v1 - *- */ - public static final class TpuFutureStub extends io.grpc.stub.AbstractFutureStub
- * Lists nodes. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v1.ListNodesResponse> - listNodes(com.google.cloud.tpu.v1.ListNodesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNodesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets the details of a node. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Creates a node. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a node. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Reimages a node's OS. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Stops a node, this operation is only available with single TPU nodes. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Starts a node. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * List TensorFlow versions supported by this API. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v1.ListTensorFlowVersionsResponse> - listTensorFlowVersions(com.google.cloud.tpu.v1.ListTensorFlowVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTensorFlowVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets TensorFlow Version. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v1.TensorFlowVersion> - getTensorFlowVersion(com.google.cloud.tpu.v1.GetTensorFlowVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTensorFlowVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists accelerator types supported by this API. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v1.ListAcceleratorTypesResponse> - listAcceleratorTypes(com.google.cloud.tpu.v1.ListAcceleratorTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAcceleratorTypesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets AcceleratorType. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v1.AcceleratorType> - getAcceleratorType(com.google.cloud.tpu.v1.GetAcceleratorTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAcceleratorTypeMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_NODES = 0; - private static final int METHODID_GET_NODE = 1; - private static final int METHODID_CREATE_NODE = 2; - private static final int METHODID_DELETE_NODE = 3; - private static final int METHODID_REIMAGE_NODE = 4; - private static final int METHODID_STOP_NODE = 5; - private static final int METHODID_START_NODE = 6; - private static final int METHODID_LIST_TENSOR_FLOW_VERSIONS = 7; - private static final int METHODID_GET_TENSOR_FLOW_VERSION = 8; - private static final int METHODID_LIST_ACCELERATOR_TYPES = 9; - private static final int METHODID_GET_ACCELERATOR_TYPE = 10; - - private static final class MethodHandlers
- * Manages TPU nodes and other resources - * TPU API v2alpha1 - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/tpu/v2alpha1/cloud_tpu.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TpuGrpc { - - private TpuGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.tpu.v2alpha1.Tpu"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.tpu.v2alpha1.ListNodesRequest, - com.google.cloud.tpu.v2alpha1.ListNodesResponse> - getListNodesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNodes", - requestType = com.google.cloud.tpu.v2alpha1.ListNodesRequest.class, - responseType = com.google.cloud.tpu.v2alpha1.ListNodesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.tpu.v2alpha1.ListNodesRequest, - com.google.cloud.tpu.v2alpha1.ListNodesResponse> - getListNodesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.tpu.v2alpha1.ListNodesRequest, - com.google.cloud.tpu.v2alpha1.ListNodesResponse> - getListNodesMethod; - if ((getListNodesMethod = TpuGrpc.getListNodesMethod) == null) { - synchronized (TpuGrpc.class) { - if ((getListNodesMethod = TpuGrpc.getListNodesMethod) == null) { - TpuGrpc.getListNodesMethod = - getListNodesMethod = - io.grpc.MethodDescriptor - .
- * Manages TPU nodes and other resources - * TPU API v2alpha1 - *- */ - public abstract static class TpuImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Lists nodes. - *- */ - public void listNodes( - com.google.cloud.tpu.v2alpha1.ListNodesRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a node. - *- */ - public void getNode( - com.google.cloud.tpu.v2alpha1.GetNodeRequest request, - io.grpc.stub.StreamObserver
- * Creates a node. - *- */ - public void createNode( - com.google.cloud.tpu.v2alpha1.CreateNodeRequest request, - io.grpc.stub.StreamObserver
- * Deletes a node. - *- */ - public void deleteNode( - com.google.cloud.tpu.v2alpha1.DeleteNodeRequest request, - io.grpc.stub.StreamObserver
- * Stops a node. This operation is only available with single TPU nodes. - *- */ - public void stopNode( - com.google.cloud.tpu.v2alpha1.StopNodeRequest request, - io.grpc.stub.StreamObserver
- * Starts a node. - *- */ - public void startNode( - com.google.cloud.tpu.v2alpha1.StartNodeRequest request, - io.grpc.stub.StreamObserver
- * Updates the configurations of a node. - *- */ - public void updateNode( - com.google.cloud.tpu.v2alpha1.UpdateNodeRequest request, - io.grpc.stub.StreamObserver
- * Generates the Cloud TPU service identity for the project. - *- */ - public void generateServiceIdentity( - com.google.cloud.tpu.v2alpha1.GenerateServiceIdentityRequest request, - io.grpc.stub.StreamObserver
- * Lists accelerator types supported by this API. - *- */ - public void listAcceleratorTypes( - com.google.cloud.tpu.v2alpha1.ListAcceleratorTypesRequest request, - io.grpc.stub.StreamObserver
- * Gets AcceleratorType. - *- */ - public void getAcceleratorType( - com.google.cloud.tpu.v2alpha1.GetAcceleratorTypeRequest request, - io.grpc.stub.StreamObserver
- * Lists runtime versions supported by this API. - *- */ - public void listRuntimeVersions( - com.google.cloud.tpu.v2alpha1.ListRuntimeVersionsRequest request, - io.grpc.stub.StreamObserver
- * Gets a runtime version. - *- */ - public void getRuntimeVersion( - com.google.cloud.tpu.v2alpha1.GetRuntimeVersionRequest request, - io.grpc.stub.StreamObserver
- * Retrieves the guest attributes for the node. - *- */ - public void getGuestAttributes( - com.google.cloud.tpu.v2alpha1.GetGuestAttributesRequest request, - io.grpc.stub.StreamObserver
- * Manages TPU nodes and other resources - * TPU API v2alpha1 - *- */ - public static final class TpuStub extends io.grpc.stub.AbstractAsyncStub
- * Lists nodes. - *- */ - public void listNodes( - com.google.cloud.tpu.v2alpha1.ListNodesRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a node. - *- */ - public void getNode( - com.google.cloud.tpu.v2alpha1.GetNodeRequest request, - io.grpc.stub.StreamObserver
- * Creates a node. - *- */ - public void createNode( - com.google.cloud.tpu.v2alpha1.CreateNodeRequest request, - io.grpc.stub.StreamObserver
- * Deletes a node. - *- */ - public void deleteNode( - com.google.cloud.tpu.v2alpha1.DeleteNodeRequest request, - io.grpc.stub.StreamObserver
- * Stops a node. This operation is only available with single TPU nodes. - *- */ - public void stopNode( - com.google.cloud.tpu.v2alpha1.StopNodeRequest request, - io.grpc.stub.StreamObserver
- * Starts a node. - *- */ - public void startNode( - com.google.cloud.tpu.v2alpha1.StartNodeRequest request, - io.grpc.stub.StreamObserver
- * Updates the configurations of a node. - *- */ - public void updateNode( - com.google.cloud.tpu.v2alpha1.UpdateNodeRequest request, - io.grpc.stub.StreamObserver
- * Generates the Cloud TPU service identity for the project. - *- */ - public void generateServiceIdentity( - com.google.cloud.tpu.v2alpha1.GenerateServiceIdentityRequest request, - io.grpc.stub.StreamObserver
- * Lists accelerator types supported by this API. - *- */ - public void listAcceleratorTypes( - com.google.cloud.tpu.v2alpha1.ListAcceleratorTypesRequest request, - io.grpc.stub.StreamObserver
- * Gets AcceleratorType. - *- */ - public void getAcceleratorType( - com.google.cloud.tpu.v2alpha1.GetAcceleratorTypeRequest request, - io.grpc.stub.StreamObserver
- * Lists runtime versions supported by this API. - *- */ - public void listRuntimeVersions( - com.google.cloud.tpu.v2alpha1.ListRuntimeVersionsRequest request, - io.grpc.stub.StreamObserver
- * Gets a runtime version. - *- */ - public void getRuntimeVersion( - com.google.cloud.tpu.v2alpha1.GetRuntimeVersionRequest request, - io.grpc.stub.StreamObserver
- * Retrieves the guest attributes for the node. - *- */ - public void getGuestAttributes( - com.google.cloud.tpu.v2alpha1.GetGuestAttributesRequest request, - io.grpc.stub.StreamObserver
- * Manages TPU nodes and other resources - * TPU API v2alpha1 - *- */ - public static final class TpuBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Lists nodes. - *- */ - public com.google.cloud.tpu.v2alpha1.ListNodesResponse listNodes( - com.google.cloud.tpu.v2alpha1.ListNodesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNodesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets the details of a node. - *- */ - public com.google.cloud.tpu.v2alpha1.Node getNode( - com.google.cloud.tpu.v2alpha1.GetNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a node. - *- */ - public com.google.longrunning.Operation createNode( - com.google.cloud.tpu.v2alpha1.CreateNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a node. - *- */ - public com.google.longrunning.Operation deleteNode( - com.google.cloud.tpu.v2alpha1.DeleteNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Stops a node. This operation is only available with single TPU nodes. - *- */ - public com.google.longrunning.Operation stopNode( - com.google.cloud.tpu.v2alpha1.StopNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStopNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Starts a node. - *- */ - public com.google.longrunning.Operation startNode( - com.google.cloud.tpu.v2alpha1.StartNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates the configurations of a node. - *- */ - public com.google.longrunning.Operation updateNode( - com.google.cloud.tpu.v2alpha1.UpdateNodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateNodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Generates the Cloud TPU service identity for the project. - *- */ - public com.google.cloud.tpu.v2alpha1.GenerateServiceIdentityResponse generateServiceIdentity( - com.google.cloud.tpu.v2alpha1.GenerateServiceIdentityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateServiceIdentityMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists accelerator types supported by this API. - *- */ - public com.google.cloud.tpu.v2alpha1.ListAcceleratorTypesResponse listAcceleratorTypes( - com.google.cloud.tpu.v2alpha1.ListAcceleratorTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAcceleratorTypesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets AcceleratorType. - *- */ - public com.google.cloud.tpu.v2alpha1.AcceleratorType getAcceleratorType( - com.google.cloud.tpu.v2alpha1.GetAcceleratorTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAcceleratorTypeMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists runtime versions supported by this API. - *- */ - public com.google.cloud.tpu.v2alpha1.ListRuntimeVersionsResponse listRuntimeVersions( - com.google.cloud.tpu.v2alpha1.ListRuntimeVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRuntimeVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets a runtime version. - *- */ - public com.google.cloud.tpu.v2alpha1.RuntimeVersion getRuntimeVersion( - com.google.cloud.tpu.v2alpha1.GetRuntimeVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRuntimeVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Retrieves the guest attributes for the node. - *- */ - public com.google.cloud.tpu.v2alpha1.GetGuestAttributesResponse getGuestAttributes( - com.google.cloud.tpu.v2alpha1.GetGuestAttributesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGuestAttributesMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * Manages TPU nodes and other resources - * TPU API v2alpha1 - *- */ - public static final class TpuFutureStub extends io.grpc.stub.AbstractFutureStub
- * Lists nodes. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v2alpha1.ListNodesResponse> - listNodes(com.google.cloud.tpu.v2alpha1.ListNodesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNodesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets the details of a node. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Creates a node. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a node. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Stops a node. This operation is only available with single TPU nodes. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Starts a node. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates the configurations of a node. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Generates the Cloud TPU service identity for the project. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v2alpha1.GenerateServiceIdentityResponse> - generateServiceIdentity( - com.google.cloud.tpu.v2alpha1.GenerateServiceIdentityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateServiceIdentityMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists accelerator types supported by this API. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v2alpha1.ListAcceleratorTypesResponse> - listAcceleratorTypes(com.google.cloud.tpu.v2alpha1.ListAcceleratorTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAcceleratorTypesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets AcceleratorType. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v2alpha1.AcceleratorType> - getAcceleratorType(com.google.cloud.tpu.v2alpha1.GetAcceleratorTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAcceleratorTypeMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists runtime versions supported by this API. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v2alpha1.ListRuntimeVersionsResponse> - listRuntimeVersions(com.google.cloud.tpu.v2alpha1.ListRuntimeVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRuntimeVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets a runtime version. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v2alpha1.RuntimeVersion> - getRuntimeVersion(com.google.cloud.tpu.v2alpha1.GetRuntimeVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRuntimeVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Retrieves the guest attributes for the node. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tpu.v2alpha1.GetGuestAttributesResponse> - getGuestAttributes(com.google.cloud.tpu.v2alpha1.GetGuestAttributesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGuestAttributesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_NODES = 0; - private static final int METHODID_GET_NODE = 1; - private static final int METHODID_CREATE_NODE = 2; - private static final int METHODID_DELETE_NODE = 3; - private static final int METHODID_STOP_NODE = 4; - private static final int METHODID_START_NODE = 5; - private static final int METHODID_UPDATE_NODE = 6; - private static final int METHODID_GENERATE_SERVICE_IDENTITY = 7; - private static final int METHODID_LIST_ACCELERATOR_TYPES = 8; - private static final int METHODID_GET_ACCELERATOR_TYPE = 9; - private static final int METHODID_LIST_RUNTIME_VERSIONS = 10; - private static final int METHODID_GET_RUNTIME_VERSION = 11; - private static final int METHODID_GET_GUEST_ATTRIBUTES = 12; - - private static final class MethodHandlers
- * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetAcceleratorTypeRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetAcceleratorTypeRequestOrBuilder.java
deleted file mode 100644
index 236bc019d8bc..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetAcceleratorTypeRequestOrBuilder.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v1;
-
-public interface GetAcceleratorTypeRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v1.GetAcceleratorTypeRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetNodeRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetNodeRequestOrBuilder.java
deleted file mode 100644
index 283d187a5fbe..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetNodeRequestOrBuilder.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v1;
-
-public interface GetNodeRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v1.GetNodeRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequestOrBuilder.java
deleted file mode 100644
index ed5597d5bf9f..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequestOrBuilder.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v1;
-
-public interface GetTensorFlowVersionRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v1.GetTensorFlowVersionRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/SchedulingConfigOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/SchedulingConfigOrBuilder.java
deleted file mode 100644
index d747b81c351f..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/SchedulingConfigOrBuilder.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v1;
-
-public interface SchedulingConfigOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v1.SchedulingConfig)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Defines whether the node is preemptible. - *- * - *
bool preemptible = 1;
- *
- * @return The preemptible.
- */
- boolean getPreemptible();
-
- /**
- *
- *
- * - * Whether the node is created under a reservation. - *- * - *
bool reserved = 2;
- *
- * @return The reserved.
- */
- boolean getReserved();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/StartNodeRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/StartNodeRequestOrBuilder.java
deleted file mode 100644
index 23baa871358e..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/StartNodeRequestOrBuilder.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v1;
-
-public interface StartNodeRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v1.StartNodeRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/StopNodeRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/StopNodeRequestOrBuilder.java
deleted file mode 100644
index e340f41716e2..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/StopNodeRequestOrBuilder.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v1;
-
-public interface StopNodeRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v1.StopNodeRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/AcceleratorTypeOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/AcceleratorTypeOrBuilder.java
deleted file mode 100644
index eec7e4782b8d..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/AcceleratorTypeOrBuilder.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface AcceleratorTypeOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.AcceleratorType)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-
- /**
- *
- *
- * - * the accelerator type. - *- * - *
string type = 2;
- *
- * @return The type.
- */
- java.lang.String getType();
- /**
- *
- *
- * - * the accelerator type. - *- * - *
string type = 2;
- *
- * @return The bytes for type.
- */
- com.google.protobuf.ByteString getTypeBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java
deleted file mode 100644
index ec199bd8634f..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java
+++ /dev/null
@@ -1,741 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public final class CloudTpuProto {
- private CloudTpuProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GuestAttributes_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GuestAttributes_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GuestAttributesValue_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GuestAttributesValue_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GuestAttributesEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GuestAttributesEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_AttachedDisk_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_AttachedDisk_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_SchedulingConfig_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_SchedulingConfig_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_NetworkEndpoint_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_NetworkEndpoint_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_AccessConfig_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_AccessConfig_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_NetworkConfig_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_NetworkConfig_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_ServiceAccount_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_ServiceAccount_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_Node_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_Node_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_Node_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_Node_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_Node_MetadataEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_Node_MetadataEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_ListNodesRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_ListNodesRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_ListNodesResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_ListNodesResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GetNodeRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GetNodeRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_CreateNodeRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_CreateNodeRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_DeleteNodeRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_DeleteNodeRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_StopNodeRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_StopNodeRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_StartNodeRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_StartNodeRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_UpdateNodeRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_UpdateNodeRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_ServiceIdentity_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_ServiceIdentity_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GenerateServiceIdentityRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GenerateServiceIdentityRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GenerateServiceIdentityResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GenerateServiceIdentityResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_AcceleratorType_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_AcceleratorType_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GetAcceleratorTypeRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GetAcceleratorTypeRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_ListAcceleratorTypesRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_ListAcceleratorTypesRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_ListAcceleratorTypesResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_ListAcceleratorTypesResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_OperationMetadata_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_OperationMetadata_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_RuntimeVersion_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_RuntimeVersion_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GetRuntimeVersionRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GetRuntimeVersionRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_ListRuntimeVersionsRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_ListRuntimeVersionsRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_ListRuntimeVersionsResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_ListRuntimeVersionsResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_Symptom_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_Symptom_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GetGuestAttributesRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GetGuestAttributesRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_GetGuestAttributesResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_GetGuestAttributesResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_tpu_v2alpha1_ShieldedInstanceConfig_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_tpu_v2alpha1_ShieldedInstanceConfig_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n)google/cloud/tpu/v2alpha1/cloud_tpu.pr"
- + "oto\022\031google.cloud.tpu.v2alpha1\032\034google/a"
- + "pi/annotations.proto\032\027google/api/client."
- + "proto\032\037google/api/field_behavior.proto\032\031"
- + "google/api/resource.proto\032#google/longru"
- + "nning/operations.proto\032 google/protobuf/"
- + "field_mask.proto\032\037google/protobuf/timest"
- + "amp.proto\"k\n\017GuestAttributes\022\022\n\nquery_pa"
- + "th\030\001 \001(\t\022D\n\013query_value\030\002 \001(\0132/.google.c"
- + "loud.tpu.v2alpha1.GuestAttributesValue\"V"
- + "\n\024GuestAttributesValue\022>\n\005items\030\001 \003(\0132/."
- + "google.cloud.tpu.v2alpha1.GuestAttribute"
- + "sEntry\"E\n\024GuestAttributesEntry\022\021\n\tnamesp"
- + "ace\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\022\r\n\005value\030\003 \001(\t\"\251\001"
- + "\n\014AttachedDisk\022\023\n\013source_disk\030\003 \001(\t\022>\n\004m"
- + "ode\030\004 \001(\01620.google.cloud.tpu.v2alpha1.At"
- + "tachedDisk.DiskMode\"D\n\010DiskMode\022\031\n\025DISK_"
- + "MODE_UNSPECIFIED\020\000\022\016\n\nREAD_WRITE\020\001\022\r\n\tRE"
- + "AD_ONLY\020\002\"9\n\020SchedulingConfig\022\023\n\013preempt"
- + "ible\030\001 \001(\010\022\020\n\010reserved\030\002 \001(\010\"s\n\017NetworkE"
- + "ndpoint\022\022\n\nip_address\030\001 \001(\t\022\014\n\004port\030\002 \001("
- + "\005\022>\n\raccess_config\030\005 \001(\0132\'.google.cloud."
- + "tpu.v2alpha1.AccessConfig\"(\n\014AccessConfi"
- + "g\022\030\n\013external_ip\030\001 \001(\tB\003\340A\003\"Q\n\rNetworkCo"
- + "nfig\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001("
- + "\t\022\033\n\023enable_external_ips\030\003 \001(\010\".\n\016Servic"
- + "eAccount\022\r\n\005email\030\001 \001(\t\022\r\n\005scope\030\002 \003(\t\"\360"
- + "\014\n\004Node\022\024\n\004name\030\001 \001(\tB\006\340A\003\340A\005\022\023\n\013descrip"
- + "tion\030\003 \001(\t\022\035\n\020accelerator_type\030\005 \001(\tB\003\340A"
- + "\002\0229\n\005state\030\t \001(\0162%.google.cloud.tpu.v2al"
- + "pha1.Node.StateB\003\340A\003\022\037\n\022health_descripti"
- + "on\030\n \001(\tB\003\340A\003\022\034\n\017runtime_version\030\013 \001(\tB\003"
- + "\340A\002\022@\n\016network_config\030$ \001(\0132(.google.clo"
- + "ud.tpu.v2alpha1.NetworkConfig\022\022\n\ncidr_bl"
- + "ock\030\r \001(\t\022B\n\017service_account\030% \001(\0132).goo"
- + "gle.cloud.tpu.v2alpha1.ServiceAccount\0224\n"
- + "\013create_time\030\020 \001(\0132\032.google.protobuf.Tim"
- + "estampB\003\340A\003\022F\n\021scheduling_config\030\021 \001(\0132+"
- + ".google.cloud.tpu.v2alpha1.SchedulingCon"
- + "fig\022J\n\021network_endpoints\030\025 \003(\0132*.google."
- + "cloud.tpu.v2alpha1.NetworkEndpointB\003\340A\003\022"
- + "6\n\006health\030\026 \001(\0162&.google.cloud.tpu.v2alp"
- + "ha1.Node.Health\022;\n\006labels\030\030 \003(\0132+.google"
- + ".cloud.tpu.v2alpha1.Node.LabelsEntry\022?\n\010"
- + "metadata\030\" \003(\0132-.google.cloud.tpu.v2alph"
- + "a1.Node.MetadataEntry\022\014\n\004tags\030( \003(\t\022\017\n\002i"
- + "d\030! \001(\003B\003\340A\003\022;\n\ndata_disks\030) \003(\0132\'.googl"
- + "e.cloud.tpu.v2alpha1.AttachedDisk\022D\n\013api"
- + "_version\030& \001(\0162*.google.cloud.tpu.v2alph"
- + "a1.Node.ApiVersionB\003\340A\003\0229\n\010symptoms\030\' \003("
- + "\0132\".google.cloud.tpu.v2alpha1.SymptomB\003\340"
- + "A\003\022S\n\030shielded_instance_config\030- \001(\01321.g"
- + "oogle.cloud.tpu.v2alpha1.ShieldedInstanc"
- + "eConfig\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
- + "alue\030\002 \001(\t:\0028\001\032/\n\rMetadataEntry\022\013\n\003key\030\001"
- + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\341\001\n\005State\022\025\n\021STA"
- + "TE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020"
- + "\002\022\016\n\nRESTARTING\020\003\022\r\n\tREIMAGING\020\004\022\014\n\010DELE"
- + "TING\020\005\022\r\n\tREPAIRING\020\006\022\013\n\007STOPPED\020\010\022\014\n\010ST"
- + "OPPING\020\t\022\014\n\010STARTING\020\n\022\r\n\tPREEMPTED\020\013\022\016\n"
- + "\nTERMINATED\020\014\022\n\n\006HIDING\020\r\022\n\n\006HIDDEN\020\016\022\014\n"
- + "\010UNHIDING\020\017\"o\n\006Health\022\026\n\022HEALTH_UNSPECIF"
- + "IED\020\000\022\013\n\007HEALTHY\020\001\022\013\n\007TIMEOUT\020\003\022\030\n\024UNHEA"
- + "LTHY_TENSORFLOW\020\004\022\031\n\025UNHEALTHY_MAINTENAN"
- + "CE\020\005\"O\n\nApiVersion\022\033\n\027API_VERSION_UNSPEC"
- + "IFIED\020\000\022\r\n\tV1_ALPHA1\020\001\022\006\n\002V1\020\002\022\r\n\tV2_ALP"
- + "HA1\020\003:R\352AO\n\027tpu.googleapis.com/Node\0224pro"
- + "jects/{project}/locations/{location}/nod"
- + "es/{node}\"j\n\020ListNodesRequest\022/\n\006parent\030"
- + "\001 \001(\tB\037\340A\002\372A\031\n\027tpu.googleapis.com/Node\022\021"
- + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n"
- + "\021ListNodesResponse\022.\n\005nodes\030\001 \003(\0132\037.goog"
- + "le.cloud.tpu.v2alpha1.Node\022\027\n\017next_page_"
- + "token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"?\n\016GetN"
- + "odeRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027tpu.go"
- + "ogleapis.com/Node\"\223\001\n\021CreateNodeRequest\022"
- + "9\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googl"
- + "eapis.com/Location\022\017\n\007node_id\030\002 \001(\t\0222\n\004n"
- + "ode\030\003 \001(\0132\037.google.cloud.tpu.v2alpha1.No"
- + "deB\003\340A\002\"B\n\021DeleteNodeRequest\022-\n\004name\030\001 \001"
- + "(\tB\037\340A\002\372A\031\n\027tpu.googleapis.com/Node\"\037\n\017S"
- + "topNodeRequest\022\014\n\004name\030\001 \001(\t\" \n\020StartNod"
- + "eRequest\022\014\n\004name\030\001 \001(\t\"}\n\021UpdateNodeRequ"
- + "est\0224\n\013update_mask\030\001 \001(\0132\032.google.protob"
- + "uf.FieldMaskB\003\340A\002\0222\n\004node\030\002 \001(\0132\037.google"
- + ".cloud.tpu.v2alpha1.NodeB\003\340A\002\" \n\017Service"
- + "Identity\022\r\n\005email\030\001 \001(\t\"[\n\036GenerateServi"
- + "ceIdentityRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A"
- + "#\n!locations.googleapis.com/Location\"_\n\037"
- + "GenerateServiceIdentityResponse\022<\n\010ident"
- + "ity\030\001 \001(\0132*.google.cloud.tpu.v2alpha1.Se"
- + "rviceIdentity\"\243\001\n\017AcceleratorType\022\014\n\004nam"
- + "e\030\001 \001(\t\022\014\n\004type\030\002 \001(\t:t\352Aq\n\"tpu.googleap"
- + "is.com/AcceleratorType\022Kprojects/{projec"
- + "t}/locations/{location}/acceleratorTypes"
- + "/{accelerator_type}\"U\n\031GetAcceleratorTyp"
- + "eRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"tpu.goog"
- + "leapis.com/AcceleratorType\"\242\001\n\033ListAccel"
- + "eratorTypesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372"
- + "A$\n\"tpu.googleapis.com/AcceleratorType\022\021"
- + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n"
- + "\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\"\223\001\n\034List"
- + "AcceleratorTypesResponse\022E\n\021accelerator_"
- + "types\030\001 \003(\0132*.google.cloud.tpu.v2alpha1."
- + "AcceleratorType\022\027\n\017next_page_token\030\002 \001(\t"
- + "\022\023\n\013unreachable\030\003 \003(\t\"\326\001\n\021OperationMetad"
- + "ata\022/\n\013create_time\030\001 \001(\0132\032.google.protob"
- + "uf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google."
- + "protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004ve"
- + "rb\030\004 \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\030\n\020cance"
- + "l_requested\030\006 \001(\010\022\023\n\013api_version\030\007 \001(\t\"\242"
- + "\001\n\016RuntimeVersion\022\014\n\004name\030\001 \001(\t\022\017\n\007versi"
- + "on\030\002 \001(\t:q\352An\n!tpu.googleapis.com/Runtim"
- + "eVersion\022Iprojects/{project}/locations/{"
- + "location}/runtimeVersions/{runtime_versi"
- + "on}\"S\n\030GetRuntimeVersionRequest\0227\n\004name\030"
- + "\001 \001(\tB)\340A\002\372A#\n!tpu.googleapis.com/Runtim"
- + "eVersion\"\240\001\n\032ListRuntimeVersionsRequest\022"
- + "9\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!tpu.googleapis."
- + "com/RuntimeVersion\022\021\n\tpage_size\030\002 \001(\005\022\022\n"
- + "\npage_token\030\003 \001(\t\022\016\n\006filter\030\005 \001(\t\022\020\n\010ord"
- + "er_by\030\006 \001(\t\"\220\001\n\033ListRuntimeVersionsRespo"
- + "nse\022C\n\020runtime_versions\030\001 \003(\0132).google.c"
- + "loud.tpu.v2alpha1.RuntimeVersion\022\027\n\017next"
- + "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"\313"
- + "\002\n\007Symptom\022/\n\013create_time\030\001 \001(\0132\032.google"
- + ".protobuf.Timestamp\022D\n\014symptom_type\030\002 \001("
- + "\0162..google.cloud.tpu.v2alpha1.Symptom.Sy"
- + "mptomType\022\017\n\007details\030\003 \001(\t\022\021\n\tworker_id\030"
- + "\004 \001(\t\"\244\001\n\013SymptomType\022\034\n\030SYMPTOM_TYPE_UN"
- + "SPECIFIED\020\000\022\016\n\nLOW_MEMORY\020\001\022\021\n\rOUT_OF_ME"
- + "MORY\020\002\022\025\n\021EXECUTE_TIMED_OUT\020\003\022\023\n\017MESH_BU"
- + "ILD_FAIL\020\004\022\025\n\021HBM_OUT_OF_MEMORY\020\005\022\021\n\rPRO"
- + "JECT_ABUSE\020\006\"r\n\031GetGuestAttributesReques"
- + "t\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027tpu.googleapis."
- + "com/Node\022\022\n\nquery_path\030\002 \001(\t\022\022\n\nworker_i"
- + "ds\030\003 \003(\t\"b\n\032GetGuestAttributesResponse\022D"
- + "\n\020guest_attributes\030\001 \003(\0132*.google.cloud."
- + "tpu.v2alpha1.GuestAttributes\"4\n\026Shielded"
- + "InstanceConfig\022\032\n\022enable_secure_boot\030\001 \001"
- + "(\0102\263\024\n\003Tpu\022\250\001\n\tListNodes\022+.google.cloud."
- + "tpu.v2alpha1.ListNodesRequest\032,.google.c"
- + "loud.tpu.v2alpha1.ListNodesResponse\"@\202\323\344"
- + "\223\0021\022//v2alpha1/{parent=projects/*/locati"
- + "ons/*}/nodes\332A\006parent\022\225\001\n\007GetNode\022).goog"
- + "le.cloud.tpu.v2alpha1.GetNodeRequest\032\037.g"
- + "oogle.cloud.tpu.v2alpha1.Node\">\202\323\344\223\0021\022//"
- + "v2alpha1/{name=projects/*/locations/*/no"
- + "des/*}\332A\004name\022\312\001\n\nCreateNode\022,.google.cl"
- + "oud.tpu.v2alpha1.CreateNodeRequest\032\035.goo"
- + "gle.longrunning.Operation\"o\202\323\344\223\0027\"//v2al"
- + "pha1/{parent=projects/*/locations/*}/nod"
- + "es:\004node\332A\023parent,node,node_id\312A\031\n\004Node\022"
- + "\021OperationMetadata\022\265\001\n\nDeleteNode\022,.goog"
- + "le.cloud.tpu.v2alpha1.DeleteNodeRequest\032"
- + "\035.google.longrunning.Operation\"Z\202\323\344\223\0021*/"
- + "/v2alpha1/{name=projects/*/locations/*/n"
- + "odes/*}\332A\004name\312A\031\n\004Node\022\021OperationMetada"
- + "ta\022\262\001\n\010StopNode\022*.google.cloud.tpu.v2alp"
- + "ha1.StopNodeRequest\032\035.google.longrunning"
- + ".Operation\"[\202\323\344\223\0029\"4/v2alpha1/{name=proj"
- + "ects/*/locations/*/nodes/*}:stop:\001*\312A\031\n\004"
- + "Node\022\021OperationMetadata\022\265\001\n\tStartNode\022+."
- + "google.cloud.tpu.v2alpha1.StartNodeReque"
- + "st\032\035.google.longrunning.Operation\"\\\202\323\344\223\002"
- + ":\"5/v2alpha1/{name=projects/*/locations/"
- + "*/nodes/*}:start:\001*\312A\031\n\004Node\022\021OperationM"
- + "etadata\022\314\001\n\nUpdateNode\022,.google.cloud.tp"
- + "u.v2alpha1.UpdateNodeRequest\032\035.google.lo"
- + "ngrunning.Operation\"q\202\323\344\223\002<24/v2alpha1/{"
- + "node.name=projects/*/locations/*/nodes/*"
- + "}:\004node\332A\020node,update_mask\312A\031\n\004Node\022\021Ope"
- + "rationMetadata\022\336\001\n\027GenerateServiceIdenti"
- + "ty\0229.google.cloud.tpu.v2alpha1.GenerateS"
- + "erviceIdentityRequest\032:.google.cloud.tpu"
- + ".v2alpha1.GenerateServiceIdentityRespons"
- + "e\"L\202\323\344\223\002F\"A/v2alpha1/{parent=projects/*/"
- + "locations/*}:generateServiceIdentity:\001*\022"
- + "\324\001\n\024ListAcceleratorTypes\0226.google.cloud."
- + "tpu.v2alpha1.ListAcceleratorTypesRequest"
- + "\0327.google.cloud.tpu.v2alpha1.ListAcceler"
- + "atorTypesResponse\"K\202\323\344\223\002<\022:/v2alpha1/{pa"
- + "rent=projects/*/locations/*}/accelerator"
- + "Types\332A\006parent\022\301\001\n\022GetAcceleratorType\0224."
- + "google.cloud.tpu.v2alpha1.GetAccelerator"
- + "TypeRequest\032*.google.cloud.tpu.v2alpha1."
- + "AcceleratorType\"I\202\323\344\223\002<\022:/v2alpha1/{name"
- + "=projects/*/locations/*/acceleratorTypes"
- + "/*}\332A\004name\022\320\001\n\023ListRuntimeVersions\0225.goo"
- + "gle.cloud.tpu.v2alpha1.ListRuntimeVersio"
- + "nsRequest\0326.google.cloud.tpu.v2alpha1.Li"
- + "stRuntimeVersionsResponse\"J\202\323\344\223\002;\0229/v2al"
- + "pha1/{parent=projects/*/locations/*}/run"
- + "timeVersions\332A\006parent\022\275\001\n\021GetRuntimeVers"
- + "ion\0223.google.cloud.tpu.v2alpha1.GetRunti"
- + "meVersionRequest\032).google.cloud.tpu.v2al"
- + "pha1.RuntimeVersion\"H\202\323\344\223\002;\0229/v2alpha1/{"
- + "name=projects/*/locations/*/runtimeVersi"
- + "ons/*}\332A\004name\022\320\001\n\022GetGuestAttributes\0224.g"
- + "oogle.cloud.tpu.v2alpha1.GetGuestAttribu"
- + "tesRequest\0325.google.cloud.tpu.v2alpha1.G"
- + "etGuestAttributesResponse\"M\202\323\344\223\002G\"B/v2al"
- + "pha1/{name=projects/*/locations/*/nodes/"
- + "*}:getGuestAttributes:\001*\032F\312A\022tpu.googlea"
- + "pis.com\322A.https://www.googleapis.com/aut"
- + "h/cloud-platformBn\n\035com.google.cloud.tpu"
- + ".v2alpha1B\rCloudTpuProtoP\001Z
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityRequestOrBuilder.java
deleted file mode 100644
index 042477062e60..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityRequestOrBuilder.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface GenerateServiceIdentityRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.GenerateServiceIdentityRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The parent resource name. - *- * - *
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The parent.
- */
- java.lang.String getParent();
- /**
- *
- *
- * - * Required. The parent resource name. - *- * - *
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for parent.
- */
- com.google.protobuf.ByteString getParentBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetAcceleratorTypeRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetAcceleratorTypeRequestOrBuilder.java
deleted file mode 100644
index 67b073762756..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetAcceleratorTypeRequestOrBuilder.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface GetAcceleratorTypeRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.GetAcceleratorTypeRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetNodeRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetNodeRequestOrBuilder.java
deleted file mode 100644
index 736eca1d4a67..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetNodeRequestOrBuilder.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface GetNodeRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.GetNodeRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetRuntimeVersionRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetRuntimeVersionRequestOrBuilder.java
deleted file mode 100644
index 4a05c691b07e..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetRuntimeVersionRequestOrBuilder.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface GetRuntimeVersionRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.GetRuntimeVersionRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The resource name. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/SchedulingConfigOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/SchedulingConfigOrBuilder.java
deleted file mode 100644
index 4f174ebe747d..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/SchedulingConfigOrBuilder.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface SchedulingConfigOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.SchedulingConfig)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Defines whether the node is preemptible. - *- * - *
bool preemptible = 1;
- *
- * @return The preemptible.
- */
- boolean getPreemptible();
-
- /**
- *
- *
- * - * Whether the node is created under a reservation. - *- * - *
bool reserved = 2;
- *
- * @return The reserved.
- */
- boolean getReserved();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ServiceIdentityOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ServiceIdentityOrBuilder.java
deleted file mode 100644
index 41e7346d40ba..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ServiceIdentityOrBuilder.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface ServiceIdentityOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.ServiceIdentity)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The email address of the service identity. - *- * - *
string email = 1;
- *
- * @return The email.
- */
- java.lang.String getEmail();
- /**
- *
- *
- * - * The email address of the service identity. - *- * - *
string email = 1;
- *
- * @return The bytes for email.
- */
- com.google.protobuf.ByteString getEmailBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ShieldedInstanceConfigOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ShieldedInstanceConfigOrBuilder.java
deleted file mode 100644
index 6172d0e72cd5..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ShieldedInstanceConfigOrBuilder.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface ShieldedInstanceConfigOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.ShieldedInstanceConfig)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Defines whether the instance has Secure Boot enabled. - *- * - *
bool enable_secure_boot = 1;
- *
- * @return The enableSecureBoot.
- */
- boolean getEnableSecureBoot();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/StartNodeRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/StartNodeRequestOrBuilder.java
deleted file mode 100644
index 4621b0d678b8..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/StartNodeRequestOrBuilder.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface StartNodeRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.StartNodeRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/StopNodeRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/StopNodeRequestOrBuilder.java
deleted file mode 100644
index 84b166f5ba99..000000000000
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/StopNodeRequestOrBuilder.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/tpu/v2alpha1/cloud_tpu.proto
-
-package com.google.cloud.tpu.v2alpha1;
-
-public interface StopNodeRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.StopNodeRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * The resource name. - *- * - *
string name = 1;
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuClient.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuClient.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuClient.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuClient.java
diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuSettings.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuSettings.java
similarity index 99%
rename from java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuSettings.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuSettings.java
index ecc8d3709c05..7d549ca1f20c 100644
--- a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuSettings.java
+++ b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/TpuSettings.java
@@ -31,6 +31,7 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.location.GetLocationRequest;
diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/gapic_metadata.json b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/gapic_metadata.json
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/gapic_metadata.json
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/gapic_metadata.json
diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/package-info.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/package-info.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/package-info.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/package-info.java
diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuCallableFactory.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuCallableFactory.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuCallableFactory.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuCallableFactory.java
diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuStub.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuStub.java
similarity index 99%
rename from java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuStub.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuStub.java
index d6b4c7cb878a..684e2301247d 100644
--- a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuStub.java
+++ b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/GrpcTpuStub.java
@@ -56,6 +56,7 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
+import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;
diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/TpuStub.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/TpuStub.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/TpuStub.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/TpuStub.java
diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/TpuStubSettings.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/TpuStubSettings.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/TpuStubSettings.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/TpuStubSettings.java
diff --git a/java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockLocations.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockLocations.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockLocations.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockLocations.java
diff --git a/java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockLocationsImpl.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockLocationsImpl.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockLocationsImpl.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockLocationsImpl.java
diff --git a/java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockTpu.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockTpu.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockTpu.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockTpu.java
diff --git a/java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockTpuImpl.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockTpuImpl.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockTpuImpl.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/MockTpuImpl.java
diff --git a/java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/TpuClientTest.java b/owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/TpuClientTest.java
similarity index 100%
rename from java-tpu/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/TpuClientTest.java
rename to owl-bot-staging/java-tpu/v1/google-cloud-tpu/src/test/java/com/google/cloud/tpu/v1/TpuClientTest.java
diff --git a/owl-bot-staging/java-tpu/v1/grpc-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/TpuGrpc.java b/owl-bot-staging/java-tpu/v1/grpc-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/TpuGrpc.java
new file mode 100644
index 000000000000..f238d10a4880
--- /dev/null
+++ b/owl-bot-staging/java-tpu/v1/grpc-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/TpuGrpc.java
@@ -0,0 +1,1168 @@
+package com.google.cloud.tpu.v1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ * + * Manages TPU nodes and other resources + * TPU API v1 + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/tpu/v1/cloud_tpu.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TpuGrpc { + + private TpuGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.tpu.v1.Tpu"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor
+ * Manages TPU nodes and other resources + * TPU API v1 + *+ */ + public static abstract class TpuImplBase implements io.grpc.BindableService { + + /** + *
+ * Lists nodes. + *+ */ + public void listNodes(com.google.cloud.tpu.v1.ListNodesRequest request, + io.grpc.stub.StreamObserver
+ * Gets the details of a node. + *+ */ + public void getNode(com.google.cloud.tpu.v1.GetNodeRequest request, + io.grpc.stub.StreamObserver
+ * Creates a node. + *+ */ + public void createNode(com.google.cloud.tpu.v1.CreateNodeRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a node. + *+ */ + public void deleteNode(com.google.cloud.tpu.v1.DeleteNodeRequest request, + io.grpc.stub.StreamObserver
+ * Reimages a node's OS. + *+ */ + public void reimageNode(com.google.cloud.tpu.v1.ReimageNodeRequest request, + io.grpc.stub.StreamObserver
+ * Stops a node, this operation is only available with single TPU nodes. + *+ */ + public void stopNode(com.google.cloud.tpu.v1.StopNodeRequest request, + io.grpc.stub.StreamObserver
+ * Starts a node. + *+ */ + public void startNode(com.google.cloud.tpu.v1.StartNodeRequest request, + io.grpc.stub.StreamObserver
+ * List TensorFlow versions supported by this API. + *+ */ + public void listTensorFlowVersions(com.google.cloud.tpu.v1.ListTensorFlowVersionsRequest request, + io.grpc.stub.StreamObserver
+ * Gets TensorFlow Version. + *+ */ + public void getTensorFlowVersion(com.google.cloud.tpu.v1.GetTensorFlowVersionRequest request, + io.grpc.stub.StreamObserver
+ * Lists accelerator types supported by this API. + *+ */ + public void listAcceleratorTypes(com.google.cloud.tpu.v1.ListAcceleratorTypesRequest request, + io.grpc.stub.StreamObserver
+ * Gets AcceleratorType. + *+ */ + public void getAcceleratorType(com.google.cloud.tpu.v1.GetAcceleratorTypeRequest request, + io.grpc.stub.StreamObserver
+ * Manages TPU nodes and other resources + * TPU API v1 + *+ */ + public static final class TpuStub extends io.grpc.stub.AbstractAsyncStub
+ * Lists nodes. + *+ */ + public void listNodes(com.google.cloud.tpu.v1.ListNodesRequest request, + io.grpc.stub.StreamObserver
+ * Gets the details of a node. + *+ */ + public void getNode(com.google.cloud.tpu.v1.GetNodeRequest request, + io.grpc.stub.StreamObserver
+ * Creates a node. + *+ */ + public void createNode(com.google.cloud.tpu.v1.CreateNodeRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a node. + *+ */ + public void deleteNode(com.google.cloud.tpu.v1.DeleteNodeRequest request, + io.grpc.stub.StreamObserver
+ * Reimages a node's OS. + *+ */ + public void reimageNode(com.google.cloud.tpu.v1.ReimageNodeRequest request, + io.grpc.stub.StreamObserver
+ * Stops a node, this operation is only available with single TPU nodes. + *+ */ + public void stopNode(com.google.cloud.tpu.v1.StopNodeRequest request, + io.grpc.stub.StreamObserver
+ * Starts a node. + *+ */ + public void startNode(com.google.cloud.tpu.v1.StartNodeRequest request, + io.grpc.stub.StreamObserver
+ * List TensorFlow versions supported by this API. + *+ */ + public void listTensorFlowVersions(com.google.cloud.tpu.v1.ListTensorFlowVersionsRequest request, + io.grpc.stub.StreamObserver
+ * Gets TensorFlow Version. + *+ */ + public void getTensorFlowVersion(com.google.cloud.tpu.v1.GetTensorFlowVersionRequest request, + io.grpc.stub.StreamObserver
+ * Lists accelerator types supported by this API. + *+ */ + public void listAcceleratorTypes(com.google.cloud.tpu.v1.ListAcceleratorTypesRequest request, + io.grpc.stub.StreamObserver
+ * Gets AcceleratorType. + *+ */ + public void getAcceleratorType(com.google.cloud.tpu.v1.GetAcceleratorTypeRequest request, + io.grpc.stub.StreamObserver
+ * Manages TPU nodes and other resources + * TPU API v1 + *+ */ + public static final class TpuBlockingStub extends io.grpc.stub.AbstractBlockingStub
+ * Lists nodes. + *+ */ + public com.google.cloud.tpu.v1.ListNodesResponse listNodes(com.google.cloud.tpu.v1.ListNodesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNodesMethod(), getCallOptions(), request); + } + + /** + *
+ * Gets the details of a node. + *+ */ + public com.google.cloud.tpu.v1.Node getNode(com.google.cloud.tpu.v1.GetNodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNodeMethod(), getCallOptions(), request); + } + + /** + *
+ * Creates a node. + *+ */ + public com.google.longrunning.Operation createNode(com.google.cloud.tpu.v1.CreateNodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNodeMethod(), getCallOptions(), request); + } + + /** + *
+ * Deletes a node. + *+ */ + public com.google.longrunning.Operation deleteNode(com.google.cloud.tpu.v1.DeleteNodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNodeMethod(), getCallOptions(), request); + } + + /** + *
+ * Reimages a node's OS. + *+ */ + public com.google.longrunning.Operation reimageNode(com.google.cloud.tpu.v1.ReimageNodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReimageNodeMethod(), getCallOptions(), request); + } + + /** + *
+ * Stops a node, this operation is only available with single TPU nodes. + *+ */ + public com.google.longrunning.Operation stopNode(com.google.cloud.tpu.v1.StopNodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStopNodeMethod(), getCallOptions(), request); + } + + /** + *
+ * Starts a node. + *+ */ + public com.google.longrunning.Operation startNode(com.google.cloud.tpu.v1.StartNodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartNodeMethod(), getCallOptions(), request); + } + + /** + *
+ * List TensorFlow versions supported by this API. + *+ */ + public com.google.cloud.tpu.v1.ListTensorFlowVersionsResponse listTensorFlowVersions(com.google.cloud.tpu.v1.ListTensorFlowVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTensorFlowVersionsMethod(), getCallOptions(), request); + } + + /** + *
+ * Gets TensorFlow Version. + *+ */ + public com.google.cloud.tpu.v1.TensorFlowVersion getTensorFlowVersion(com.google.cloud.tpu.v1.GetTensorFlowVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTensorFlowVersionMethod(), getCallOptions(), request); + } + + /** + *
+ * Lists accelerator types supported by this API. + *+ */ + public com.google.cloud.tpu.v1.ListAcceleratorTypesResponse listAcceleratorTypes(com.google.cloud.tpu.v1.ListAcceleratorTypesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAcceleratorTypesMethod(), getCallOptions(), request); + } + + /** + *
+ * Gets AcceleratorType. + *+ */ + public com.google.cloud.tpu.v1.AcceleratorType getAcceleratorType(com.google.cloud.tpu.v1.GetAcceleratorTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAcceleratorTypeMethod(), getCallOptions(), request); + } + } + + /** + *
+ * Manages TPU nodes and other resources + * TPU API v1 + *+ */ + public static final class TpuFutureStub extends io.grpc.stub.AbstractFutureStub
+ * Lists nodes. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Gets the details of a node. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Creates a node. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Deletes a node. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Reimages a node's OS. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Stops a node, this operation is only available with single TPU nodes. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Starts a node. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * List TensorFlow versions supported by this API. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Gets TensorFlow Version. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Lists accelerator types supported by this API. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Gets AcceleratorType. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
* A accelerator type that a Node can be configured with. ** * Protobuf type {@code google.cloud.tpu.v1.AcceleratorType} */ -public final class AcceleratorType extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AcceleratorType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tpu.v1.AcceleratorType) AcceleratorTypeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AcceleratorType.newBuilder() to construct. private AcceleratorType(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private AcceleratorType() { name_ = ""; type_ = ""; @@ -44,41 +26,37 @@ private AcceleratorType() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AcceleratorType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tpu.v1.CloudTpuProto - .internal_static_google_cloud_tpu_v1_AcceleratorType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tpu.v1.CloudTpuProto.internal_static_google_cloud_tpu_v1_AcceleratorType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tpu.v1.CloudTpuProto - .internal_static_google_cloud_tpu_v1_AcceleratorType_fieldAccessorTable + return com.google.cloud.tpu.v1.CloudTpuProto.internal_static_google_cloud_tpu_v1_AcceleratorType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tpu.v1.AcceleratorType.class, - com.google.cloud.tpu.v1.AcceleratorType.Builder.class); + com.google.cloud.tpu.v1.AcceleratorType.class, com.google.cloud.tpu.v1.AcceleratorType.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
* The resource name. ** *
string name = 1;
- *
* @return The name.
*/
@java.lang.Override
@@ -87,29 +65,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. ** *
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,14 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() {
public static final int TYPE_FIELD_NUMBER = 2;
private volatile java.lang.Object type_;
/**
- *
- *
* * the accelerator type. ** *
string type = 2;
- *
* @return The type.
*/
@java.lang.Override
@@ -136,29 +111,29 @@ 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 accelerator type. ** *
string type = 2;
- *
* @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 {
@@ -167,7 +142,6 @@ public com.google.protobuf.ByteString getTypeBytes() {
}
private byte memoizedIsInitialized = -1;
-
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
@@ -179,7 +153,8 @@ public final boolean isInitialized() {
}
@java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
@@ -209,15 +184,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.cloud.tpu.v1.AcceleratorType)) {
return super.equals(obj);
}
com.google.cloud.tpu.v1.AcceleratorType other = (com.google.cloud.tpu.v1.AcceleratorType) obj;
- if (!getName().equals(other.getName())) return false;
- if (!getType().equals(other.getType())) return false;
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (!getType()
+ .equals(other.getType())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -238,136 +215,130 @@ public int hashCode() {
return hash;
}
- public static com.google.cloud.tpu.v1.AcceleratorType parseFrom(java.nio.ByteBuffer data)
+ public static com.google.cloud.tpu.v1.AcceleratorType parseFrom(
+ java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
-
public static com.google.cloud.tpu.v1.AcceleratorType 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.cloud.tpu.v1.AcceleratorType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
-
public static com.google.cloud.tpu.v1.AcceleratorType 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.cloud.tpu.v1.AcceleratorType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
-
public static com.google.cloud.tpu.v1.AcceleratorType 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.cloud.tpu.v1.AcceleratorType 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.cloud.tpu.v1.AcceleratorType 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.cloud.tpu.v1.AcceleratorType parseDelimitedFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ public static com.google.cloud.tpu.v1.AcceleratorType parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
}
-
public static com.google.cloud.tpu.v1.AcceleratorType 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.cloud.tpu.v1.AcceleratorType 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.cloud.tpu.v1.AcceleratorType 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.cloud.tpu.v1.AcceleratorType 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 accelerator type that a Node can be configured with. ** * Protobuf type {@code google.cloud.tpu.v1.AcceleratorType} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
* The resource name. ** *
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;
@@ -540,21 +504,20 @@ public java.lang.String getName() {
}
}
/**
- *
- *
* * The resource name. ** *
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 {
@@ -562,61 +525,54 @@ public com.google.protobuf.ByteString getNameBytes() {
}
}
/**
- *
- *
* * The resource name. ** *
string name = 1;
- *
* @param value The name to set.
* @return This builder for chaining.
*/
- public Builder setName(java.lang.String value) {
+ public Builder setName(
+ java.lang.String value) {
if (value == null) {
- throw new NullPointerException();
- }
-
+ throw new NullPointerException();
+ }
+
name_ = value;
onChanged();
return this;
}
/**
- *
- *
* * The resource name. ** *
string name = 1;
- *
* @return This builder for chaining.
*/
public Builder clearName() {
-
+
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
- *
- *
* * The resource name. ** *
string name = 1;
- *
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
- public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
name_ = value;
onChanged();
return this;
@@ -624,20 +580,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
private java.lang.Object type_ = "";
/**
- *
- *
* * the accelerator type. ** *
string type = 2;
- *
* @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;
@@ -646,21 +600,20 @@ public java.lang.String getType() {
}
}
/**
- *
- *
* * the accelerator type. ** *
string type = 2;
- *
* @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 {
@@ -668,68 +621,61 @@ public com.google.protobuf.ByteString getTypeBytes() {
}
}
/**
- *
- *
* * the accelerator type. ** *
string type = 2;
- *
* @param value The type to set.
* @return This builder for chaining.
*/
- public Builder setType(java.lang.String value) {
+ public Builder setType(
+ java.lang.String value) {
if (value == null) {
- throw new NullPointerException();
- }
-
+ throw new NullPointerException();
+ }
+
type_ = value;
onChanged();
return this;
}
/**
- *
- *
* * the accelerator type. ** *
string type = 2;
- *
* @return This builder for chaining.
*/
public Builder clearType() {
-
+
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
- *
- *
* * the accelerator type. ** *
string type = 2;
- *
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
- public Builder setTypeBytes(com.google.protobuf.ByteString value) {
+ public Builder setTypeBytes(
+ com.google.protobuf.ByteString value) {
if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
type_ = value;
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);
}
@@ -739,12 +685,12 @@ public final Builder mergeUnknownFields(
return super.mergeUnknownFields(unknownFields);
}
+
// @@protoc_insertion_point(builder_scope:google.cloud.tpu.v1.AcceleratorType)
}
// @@protoc_insertion_point(class_scope:google.cloud.tpu.v1.AcceleratorType)
private static final com.google.cloud.tpu.v1.AcceleratorType DEFAULT_INSTANCE;
-
static {
DEFAULT_INSTANCE = new com.google.cloud.tpu.v1.AcceleratorType();
}
@@ -753,27 +699,27 @@ public static com.google.cloud.tpu.v1.AcceleratorType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser* The resource name. ** *
string name = 1;
- *
* @return The name.
*/
java.lang.String getName();
/**
- *
- *
* * The resource name. ** *
string name = 1;
- *
* @return The bytes for name.
*/
- com.google.protobuf.ByteString getNameBytes();
+ com.google.protobuf.ByteString
+ getNameBytes();
/**
- *
- *
* * the accelerator type. ** *
string type = 2;
- *
* @return The type.
*/
java.lang.String getType();
/**
- *
- *
* * the accelerator type. ** *
string type = 2;
- *
* @return The bytes for type.
*/
- com.google.protobuf.ByteString getTypeBytes();
+ com.google.protobuf.ByteString
+ getTypeBytes();
}
diff --git a/owl-bot-staging/java-tpu/v1/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java b/owl-bot-staging/java-tpu/v1/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java
new file mode 100644
index 000000000000..19b329211135
--- /dev/null
+++ b/owl-bot-staging/java-tpu/v1/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java
@@ -0,0 +1,454 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/tpu/v1/cloud_tpu.proto
+
+package com.google.cloud.tpu.v1;
+
+public final class CloudTpuProto {
+ private CloudTpuProto() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_SchedulingConfig_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_SchedulingConfig_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_NetworkEndpoint_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_NetworkEndpoint_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_Node_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_Node_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_Node_LabelsEntry_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_Node_LabelsEntry_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_ListNodesRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_ListNodesRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_ListNodesResponse_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_ListNodesResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_GetNodeRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_GetNodeRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_CreateNodeRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_CreateNodeRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_DeleteNodeRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_DeleteNodeRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_ReimageNodeRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_ReimageNodeRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_StopNodeRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_StopNodeRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_StartNodeRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_StartNodeRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_TensorFlowVersion_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_TensorFlowVersion_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_GetTensorFlowVersionRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_GetTensorFlowVersionRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsResponse_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_AcceleratorType_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_AcceleratorType_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_GetAcceleratorTypeRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_GetAcceleratorTypeRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesRequest_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesResponse_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_OperationMetadata_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_OperationMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_tpu_v1_Symptom_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_tpu_v1_Symptom_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n#google/cloud/tpu/v1/cloud_tpu.proto\022\023g" +
+ "oogle.cloud.tpu.v1\032\034google/api/annotatio" +
+ "ns.proto\032\027google/api/client.proto\032\037googl" +
+ "e/api/field_behavior.proto\032\031google/api/r" +
+ "esource.proto\032#google/longrunning/operat" +
+ "ions.proto\032\037google/protobuf/timestamp.pr" +
+ "oto\"9\n\020SchedulingConfig\022\023\n\013preemptible\030\001" +
+ " \001(\010\022\020\n\010reserved\030\002 \001(\010\"3\n\017NetworkEndpoin" +
+ "t\022\022\n\nip_address\030\001 \001(\t\022\014\n\004port\030\002 \001(\005\"\264\n\n\004" +
+ "Node\022\024\n\004name\030\001 \001(\tB\006\340A\005\340A\003\022\023\n\013descriptio" +
+ "n\030\003 \001(\t\022\035\n\020accelerator_type\030\005 \001(\tB\003\340A\002\022\026" +
+ "\n\nip_address\030\010 \001(\tB\002\030\001\022\020\n\004port\030\016 \001(\tB\002\030\001" +
+ "\0223\n\005state\030\t \001(\0162\037.google.cloud.tpu.v1.No" +
+ "de.StateB\003\340A\003\022\037\n\022health_description\030\n \001(" +
+ "\tB\003\340A\003\022\037\n\022tensorflow_version\030\013 \001(\tB\003\340A\002\022" +
+ "\017\n\007network\030\014 \001(\t\022\022\n\ncidr_block\030\r \001(\t\022\034\n\017" +
+ "service_account\030\017 \001(\tB\003\340A\003\0224\n\013create_tim" +
+ "e\030\020 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" +
+ "\022@\n\021scheduling_config\030\021 \001(\0132%.google.clo" +
+ "ud.tpu.v1.SchedulingConfig\022D\n\021network_en" +
+ "dpoints\030\025 \003(\0132$.google.cloud.tpu.v1.Netw" +
+ "orkEndpointB\003\340A\003\0220\n\006health\030\026 \001(\0162 .googl" +
+ "e.cloud.tpu.v1.Node.Health\0225\n\006labels\030\030 \003" +
+ "(\0132%.google.cloud.tpu.v1.Node.LabelsEntr" +
+ "y\022\036\n\026use_service_networking\030\033 \001(\010\022>\n\013api" +
+ "_version\030& \001(\0162$.google.cloud.tpu.v1.Nod" +
+ "e.ApiVersionB\003\340A\003\0223\n\010symptoms\030\' \003(\0132\034.go" +
+ "ogle.cloud.tpu.v1.SymptomB\003\340A\003\032-\n\013Labels" +
+ "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\341\001" +
+ "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATI" +
+ "NG\020\001\022\t\n\005READY\020\002\022\016\n\nRESTARTING\020\003\022\r\n\tREIMA" +
+ "GING\020\004\022\014\n\010DELETING\020\005\022\r\n\tREPAIRING\020\006\022\013\n\007S" +
+ "TOPPED\020\010\022\014\n\010STOPPING\020\t\022\014\n\010STARTING\020\n\022\r\n\t" +
+ "PREEMPTED\020\013\022\016\n\nTERMINATED\020\014\022\n\n\006HIDING\020\r\022" +
+ "\n\n\006HIDDEN\020\016\022\014\n\010UNHIDING\020\017\"\211\001\n\006Health\022\026\n\022" +
+ "HEALTH_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022\030\n\024DEP" +
+ "RECATED_UNHEALTHY\020\002\022\013\n\007TIMEOUT\020\003\022\030\n\024UNHE" +
+ "ALTHY_TENSORFLOW\020\004\022\031\n\025UNHEALTHY_MAINTENA" +
+ "NCE\020\005\"O\n\nApiVersion\022\033\n\027API_VERSION_UNSPE" +
+ "CIFIED\020\000\022\r\n\tV1_ALPHA1\020\001\022\006\n\002V1\020\002\022\r\n\tV2_AL" +
+ "PHA1\020\003:R\352AO\n\027tpu.googleapis.com/Node\0224pr" +
+ "ojects/{project}/locations/{location}/no" +
+ "des/{node}\"j\n\020ListNodesRequest\022/\n\006parent" +
+ "\030\001 \001(\tB\037\340A\002\372A\031\022\027tpu.googleapis.com/Node\022" +
+ "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"k" +
+ "\n\021ListNodesResponse\022(\n\005nodes\030\001 \003(\0132\031.goo" +
+ "gle.cloud.tpu.v1.Node\022\027\n\017next_page_token" +
+ "\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"?\n\016GetNodeRe" +
+ "quest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027tpu.googlea" +
+ "pis.com/Node\"\203\001\n\021CreateNodeRequest\022/\n\006pa" +
+ "rent\030\001 \001(\tB\037\340A\002\372A\031\022\027tpu.googleapis.com/N" +
+ "ode\022\017\n\007node_id\030\002 \001(\t\022,\n\004node\030\003 \001(\0132\031.goo" +
+ "gle.cloud.tpu.v1.NodeB\003\340A\002\"B\n\021DeleteNode" +
+ "Request\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027tpu.googl" +
+ "eapis.com/Node\">\n\022ReimageNodeRequest\022\014\n\004" +
+ "name\030\001 \001(\t\022\032\n\022tensorflow_version\030\002 \001(\t\"\037" +
+ "\n\017StopNodeRequest\022\014\n\004name\030\001 \001(\t\" \n\020Start" +
+ "NodeRequest\022\014\n\004name\030\001 \001(\t\"\257\001\n\021TensorFlow" +
+ "Version\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:{" +
+ "\352Ax\n$tpu.googleapis.com/TensorFlowVersio" +
+ "n\022Pprojects/{project}/locations/{locatio" +
+ "n}/tensorFlowVersions/{tensor_flow_versi" +
+ "on}\"Y\n\033GetTensorFlowVersionRequest\022:\n\004na" +
+ "me\030\001 \001(\tB,\340A\002\372A&\n$tpu.googleapis.com/Ten" +
+ "sorFlowVersion\"\246\001\n\035ListTensorFlowVersion" +
+ "sRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$tpu.go" +
+ "ogleapis.com/TensorFlowVersion\022\021\n\tpage_s" +
+ "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030" +
+ "\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\"\223\001\n\036ListTensorFl" +
+ "owVersionsResponse\022C\n\023tensorflow_version" +
+ "s\030\001 \003(\0132&.google.cloud.tpu.v1.TensorFlow" +
+ "Version\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unre" +
+ "achable\030\003 \003(\t\"\243\001\n\017AcceleratorType\022\014\n\004nam" +
+ "e\030\001 \001(\t\022\014\n\004type\030\002 \001(\t:t\352Aq\n\"tpu.googleap" +
+ "is.com/AcceleratorType\022Kprojects/{projec" +
+ "t}/locations/{location}/acceleratorTypes" +
+ "/{accelerator_type}\"U\n\031GetAcceleratorTyp" +
+ "eRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"tpu.goog" +
+ "leapis.com/AcceleratorType\"\242\001\n\033ListAccel" +
+ "eratorTypesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372" +
+ "A$\n\"tpu.googleapis.com/AcceleratorType\022\021" +
+ "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n" +
+ "\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\"\215\001\n\034List" +
+ "AcceleratorTypesResponse\022?\n\021accelerator_" +
+ "types\030\001 \003(\0132$.google.cloud.tpu.v1.Accele" +
+ "ratorType\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013un" +
+ "reachable\030\003 \003(\t\"\326\001\n\021OperationMetadata\022/\n" +
+ "\013create_time\030\001 \001(\0132\032.google.protobuf.Tim" +
+ "estamp\022,\n\010end_time\030\002 \001(\0132\032.google.protob" +
+ "uf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001" +
+ "(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\030\n\020cancel_requ" +
+ "ested\030\006 \001(\010\022\023\n\013api_version\030\007 \001(\t\"\305\002\n\007Sym" +
+ "ptom\022/\n\013create_time\030\001 \001(\0132\032.google.proto" +
+ "buf.Timestamp\022>\n\014symptom_type\030\002 \001(\0162(.go" +
+ "ogle.cloud.tpu.v1.Symptom.SymptomType\022\017\n" +
+ "\007details\030\003 \001(\t\022\021\n\tworker_id\030\004 \001(\t\"\244\001\n\013Sy" +
+ "mptomType\022\034\n\030SYMPTOM_TYPE_UNSPECIFIED\020\000\022" +
+ "\016\n\nLOW_MEMORY\020\001\022\021\n\rOUT_OF_MEMORY\020\002\022\025\n\021EX" +
+ "ECUTE_TIMED_OUT\020\003\022\023\n\017MESH_BUILD_FAIL\020\004\022\025" +
+ "\n\021HBM_OUT_OF_MEMORY\020\005\022\021\n\rPROJECT_ABUSE\020\006" +
+ "2\336\017\n\003Tpu\022\226\001\n\tListNodes\022%.google.cloud.tp" +
+ "u.v1.ListNodesRequest\032&.google.cloud.tpu" +
+ ".v1.ListNodesResponse\":\202\323\344\223\002+\022)/v1/{pare" +
+ "nt=projects/*/locations/*}/nodes\332A\006paren" +
+ "t\022\203\001\n\007GetNode\022#.google.cloud.tpu.v1.GetN" +
+ "odeRequest\032\031.google.cloud.tpu.v1.Node\"8\202" +
+ "\323\344\223\002+\022)/v1/{name=projects/*/locations/*/" +
+ "nodes/*}\332A\004name\022\276\001\n\nCreateNode\022&.google." +
+ "cloud.tpu.v1.CreateNodeRequest\032\035.google." +
+ "longrunning.Operation\"i\202\323\344\223\0021\")/v1/{pare" +
+ "nt=projects/*/locations/*}/nodes:\004node\332A" +
+ "\023parent,node,node_id\312A\031\n\004Node\022\021Operation" +
+ "Metadata\022\251\001\n\nDeleteNode\022&.google.cloud.t" +
+ "pu.v1.DeleteNodeRequest\032\035.google.longrun" +
+ "ning.Operation\"T\202\323\344\223\002+*)/v1/{name=projec" +
+ "ts/*/locations/*/nodes/*}\332A\004name\312A\031\n\004Nod" +
+ "e\022\021OperationMetadata\022\257\001\n\013ReimageNode\022\'.g" +
+ "oogle.cloud.tpu.v1.ReimageNodeRequest\032\035." +
+ "google.longrunning.Operation\"X\202\323\344\223\0026\"1/v" +
+ "1/{name=projects/*/locations/*/nodes/*}:" +
+ "reimage:\001*\312A\031\n\004Node\022\021OperationMetadata\022\246" +
+ "\001\n\010StopNode\022$.google.cloud.tpu.v1.StopNo" +
+ "deRequest\032\035.google.longrunning.Operation" +
+ "\"U\202\323\344\223\0023\"./v1/{name=projects/*/locations" +
+ "/*/nodes/*}:stop:\001*\312A\031\n\004Node\022\021OperationM" +
+ "etadata\022\251\001\n\tStartNode\022%.google.cloud.tpu" +
+ ".v1.StartNodeRequest\032\035.google.longrunnin" +
+ "g.Operation\"V\202\323\344\223\0024\"//v1/{name=projects/" +
+ "*/locations/*/nodes/*}:start:\001*\312A\031\n\004Node" +
+ "\022\021OperationMetadata\022\312\001\n\026ListTensorFlowVe" +
+ "rsions\0222.google.cloud.tpu.v1.ListTensorF" +
+ "lowVersionsRequest\0323.google.cloud.tpu.v1" +
+ ".ListTensorFlowVersionsResponse\"G\202\323\344\223\0028\022" +
+ "6/v1/{parent=projects/*/locations/*}/ten" +
+ "sorflowVersions\332A\006parent\022\267\001\n\024GetTensorFl" +
+ "owVersion\0220.google.cloud.tpu.v1.GetTenso" +
+ "rFlowVersionRequest\032&.google.cloud.tpu.v" +
+ "1.TensorFlowVersion\"E\202\323\344\223\0028\0226/v1/{name=p" +
+ "rojects/*/locations/*/tensorflowVersions" +
+ "/*}\332A\004name\022\302\001\n\024ListAcceleratorTypes\0220.go" +
+ "ogle.cloud.tpu.v1.ListAcceleratorTypesRe" +
+ "quest\0321.google.cloud.tpu.v1.ListAccelera" +
+ "torTypesResponse\"E\202\323\344\223\0026\0224/v1/{parent=pr" +
+ "ojects/*/locations/*}/acceleratorTypes\332A" +
+ "\006parent\022\257\001\n\022GetAcceleratorType\022..google." +
+ "cloud.tpu.v1.GetAcceleratorTypeRequest\032$" +
+ ".google.cloud.tpu.v1.AcceleratorType\"C\202\323" +
+ "\344\223\0026\0224/v1/{name=projects/*/locations/*/a" +
+ "cceleratorTypes/*}\332A\004name\032F\312A\022tpu.google" +
+ "apis.com\322A.https://www.googleapis.com/au" +
+ "th/cloud-platformBb\n\027com.google.cloud.tp" +
+ "u.v1B\rCloudTpuProtoP\001Z6google.golang.org" +
+ "/genproto/googleapis/cloud/tpu/v1;tpub\006p" +
+ "roto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ClientProto.getDescriptor(),
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.longrunning.OperationsProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
+ internal_static_google_cloud_tpu_v1_SchedulingConfig_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_google_cloud_tpu_v1_SchedulingConfig_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_SchedulingConfig_descriptor,
+ new java.lang.String[] { "Preemptible", "Reserved", });
+ internal_static_google_cloud_tpu_v1_NetworkEndpoint_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_google_cloud_tpu_v1_NetworkEndpoint_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_NetworkEndpoint_descriptor,
+ new java.lang.String[] { "IpAddress", "Port", });
+ internal_static_google_cloud_tpu_v1_Node_descriptor =
+ getDescriptor().getMessageTypes().get(2);
+ internal_static_google_cloud_tpu_v1_Node_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_Node_descriptor,
+ new java.lang.String[] { "Name", "Description", "AcceleratorType", "IpAddress", "Port", "State", "HealthDescription", "TensorflowVersion", "Network", "CidrBlock", "ServiceAccount", "CreateTime", "SchedulingConfig", "NetworkEndpoints", "Health", "Labels", "UseServiceNetworking", "ApiVersion", "Symptoms", });
+ internal_static_google_cloud_tpu_v1_Node_LabelsEntry_descriptor =
+ internal_static_google_cloud_tpu_v1_Node_descriptor.getNestedTypes().get(0);
+ internal_static_google_cloud_tpu_v1_Node_LabelsEntry_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_Node_LabelsEntry_descriptor,
+ new java.lang.String[] { "Key", "Value", });
+ internal_static_google_cloud_tpu_v1_ListNodesRequest_descriptor =
+ getDescriptor().getMessageTypes().get(3);
+ internal_static_google_cloud_tpu_v1_ListNodesRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_ListNodesRequest_descriptor,
+ new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+ internal_static_google_cloud_tpu_v1_ListNodesResponse_descriptor =
+ getDescriptor().getMessageTypes().get(4);
+ internal_static_google_cloud_tpu_v1_ListNodesResponse_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_ListNodesResponse_descriptor,
+ new java.lang.String[] { "Nodes", "NextPageToken", "Unreachable", });
+ internal_static_google_cloud_tpu_v1_GetNodeRequest_descriptor =
+ getDescriptor().getMessageTypes().get(5);
+ internal_static_google_cloud_tpu_v1_GetNodeRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_GetNodeRequest_descriptor,
+ new java.lang.String[] { "Name", });
+ internal_static_google_cloud_tpu_v1_CreateNodeRequest_descriptor =
+ getDescriptor().getMessageTypes().get(6);
+ internal_static_google_cloud_tpu_v1_CreateNodeRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_CreateNodeRequest_descriptor,
+ new java.lang.String[] { "Parent", "NodeId", "Node", });
+ internal_static_google_cloud_tpu_v1_DeleteNodeRequest_descriptor =
+ getDescriptor().getMessageTypes().get(7);
+ internal_static_google_cloud_tpu_v1_DeleteNodeRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_DeleteNodeRequest_descriptor,
+ new java.lang.String[] { "Name", });
+ internal_static_google_cloud_tpu_v1_ReimageNodeRequest_descriptor =
+ getDescriptor().getMessageTypes().get(8);
+ internal_static_google_cloud_tpu_v1_ReimageNodeRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_ReimageNodeRequest_descriptor,
+ new java.lang.String[] { "Name", "TensorflowVersion", });
+ internal_static_google_cloud_tpu_v1_StopNodeRequest_descriptor =
+ getDescriptor().getMessageTypes().get(9);
+ internal_static_google_cloud_tpu_v1_StopNodeRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_StopNodeRequest_descriptor,
+ new java.lang.String[] { "Name", });
+ internal_static_google_cloud_tpu_v1_StartNodeRequest_descriptor =
+ getDescriptor().getMessageTypes().get(10);
+ internal_static_google_cloud_tpu_v1_StartNodeRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_StartNodeRequest_descriptor,
+ new java.lang.String[] { "Name", });
+ internal_static_google_cloud_tpu_v1_TensorFlowVersion_descriptor =
+ getDescriptor().getMessageTypes().get(11);
+ internal_static_google_cloud_tpu_v1_TensorFlowVersion_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_TensorFlowVersion_descriptor,
+ new java.lang.String[] { "Name", "Version", });
+ internal_static_google_cloud_tpu_v1_GetTensorFlowVersionRequest_descriptor =
+ getDescriptor().getMessageTypes().get(12);
+ internal_static_google_cloud_tpu_v1_GetTensorFlowVersionRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_GetTensorFlowVersionRequest_descriptor,
+ new java.lang.String[] { "Name", });
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsRequest_descriptor =
+ getDescriptor().getMessageTypes().get(13);
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsRequest_descriptor,
+ new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", });
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsResponse_descriptor =
+ getDescriptor().getMessageTypes().get(14);
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsResponse_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_ListTensorFlowVersionsResponse_descriptor,
+ new java.lang.String[] { "TensorflowVersions", "NextPageToken", "Unreachable", });
+ internal_static_google_cloud_tpu_v1_AcceleratorType_descriptor =
+ getDescriptor().getMessageTypes().get(15);
+ internal_static_google_cloud_tpu_v1_AcceleratorType_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_AcceleratorType_descriptor,
+ new java.lang.String[] { "Name", "Type", });
+ internal_static_google_cloud_tpu_v1_GetAcceleratorTypeRequest_descriptor =
+ getDescriptor().getMessageTypes().get(16);
+ internal_static_google_cloud_tpu_v1_GetAcceleratorTypeRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_GetAcceleratorTypeRequest_descriptor,
+ new java.lang.String[] { "Name", });
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesRequest_descriptor =
+ getDescriptor().getMessageTypes().get(17);
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesRequest_descriptor,
+ new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", });
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesResponse_descriptor =
+ getDescriptor().getMessageTypes().get(18);
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesResponse_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_ListAcceleratorTypesResponse_descriptor,
+ new java.lang.String[] { "AcceleratorTypes", "NextPageToken", "Unreachable", });
+ internal_static_google_cloud_tpu_v1_OperationMetadata_descriptor =
+ getDescriptor().getMessageTypes().get(19);
+ internal_static_google_cloud_tpu_v1_OperationMetadata_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_OperationMetadata_descriptor,
+ new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "CancelRequested", "ApiVersion", });
+ internal_static_google_cloud_tpu_v1_Symptom_descriptor =
+ getDescriptor().getMessageTypes().get(20);
+ internal_static_google_cloud_tpu_v1_Symptom_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_tpu_v1_Symptom_descriptor,
+ new java.lang.String[] { "CreateTime", "SymptomType", "Details", "WorkerId", });
+ com.google.protobuf.ExtensionRegistry registry =
+ com.google.protobuf.ExtensionRegistry.newInstance();
+ registry.add(com.google.api.ClientProto.defaultHost);
+ registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+ registry.add(com.google.api.AnnotationsProto.http);
+ registry.add(com.google.api.ClientProto.methodSignature);
+ registry.add(com.google.api.ClientProto.oauthScopes);
+ registry.add(com.google.api.ResourceProto.resource);
+ registry.add(com.google.api.ResourceProto.resourceReference);
+ registry.add(com.google.longrunning.OperationsProto.operationInfo);
+ com.google.protobuf.Descriptors.FileDescriptor
+ .internalUpdateFileDescriptor(descriptor, registry);
+ com.google.api.AnnotationsProto.getDescriptor();
+ com.google.api.ClientProto.getDescriptor();
+ com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
+ com.google.longrunning.OperationsProto.getDescriptor();
+ com.google.protobuf.TimestampProto.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CreateNodeRequest.java b/owl-bot-staging/java-tpu/v1/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CreateNodeRequest.java
similarity index 66%
rename from java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CreateNodeRequest.java
rename to owl-bot-staging/java-tpu/v1/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CreateNodeRequest.java
index 93f0d5f0ea2b..05efff182e19 100644
--- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CreateNodeRequest.java
+++ b/owl-bot-staging/java-tpu/v1/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CreateNodeRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/tpu/v1/cloud_tpu.proto
package com.google.cloud.tpu.v1;
/**
- *
- *
* * Request for [CreateNode][google.cloud.tpu.v1.Tpu.CreateNode]. ** * Protobuf type {@code google.cloud.tpu.v1.CreateNodeRequest} */ -public final class CreateNodeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateNodeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tpu.v1.CreateNodeRequest) CreateNodeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateNodeRequest.newBuilder() to construct. private CreateNodeRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private CreateNodeRequest() { parent_ = ""; nodeId_ = ""; @@ -44,43 +26,37 @@ private CreateNodeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateNodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tpu.v1.CloudTpuProto - .internal_static_google_cloud_tpu_v1_CreateNodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tpu.v1.CloudTpuProto.internal_static_google_cloud_tpu_v1_CreateNodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tpu.v1.CloudTpuProto - .internal_static_google_cloud_tpu_v1_CreateNodeRequest_fieldAccessorTable + return com.google.cloud.tpu.v1.CloudTpuProto.internal_static_google_cloud_tpu_v1_CreateNodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tpu.v1.CreateNodeRequest.class, - com.google.cloud.tpu.v1.CreateNodeRequest.Builder.class); + com.google.cloud.tpu.v1.CreateNodeRequest.class, com.google.cloud.tpu.v1.CreateNodeRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
* Required. The parent resource name. ** - *
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* @return The parent.
*/
@java.lang.Override
@@ -89,31 +65,29 @@ public java.lang.String getParent() {
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();
parent_ = s;
return s;
}
}
/**
- *
- *
* * Required. The parent resource name. ** - *
- * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* @return The bytes for parent.
*/
@java.lang.Override
- public com.google.protobuf.ByteString getParentBytes() {
+ public com.google.protobuf.ByteString
+ getParentBytes() {
java.lang.Object ref = parent_;
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);
parent_ = b;
return b;
} else {
@@ -124,14 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() {
public static final int NODE_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object nodeId_;
/**
- *
- *
* * The unqualified resource name. ** *
string node_id = 2;
- *
* @return The nodeId.
*/
@java.lang.Override
@@ -140,29 +111,29 @@ public java.lang.String getNodeId() {
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();
nodeId_ = s;
return s;
}
}
/**
- *
- *
* * The unqualified resource name. ** *
string node_id = 2;
- *
* @return The bytes for nodeId.
*/
@java.lang.Override
- public com.google.protobuf.ByteString getNodeIdBytes() {
+ public com.google.protobuf.ByteString
+ getNodeIdBytes() {
java.lang.Object ref = nodeId_;
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);
nodeId_ = b;
return b;
} else {
@@ -173,14 +144,11 @@ public com.google.protobuf.ByteString getNodeIdBytes() {
public static final int NODE_FIELD_NUMBER = 3;
private com.google.cloud.tpu.v1.Node node_;
/**
- *
- *
* * Required. The node. ** *
.google.cloud.tpu.v1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];
- *
* @return Whether the node field is set.
*/
@java.lang.Override
@@ -188,14 +156,11 @@ public boolean hasNode() {
return node_ != null;
}
/**
- *
- *
* * Required. The node. ** *
.google.cloud.tpu.v1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];
- *
* @return The node.
*/
@java.lang.Override
@@ -203,8 +168,6 @@ public com.google.cloud.tpu.v1.Node getNode() {
return node_ == null ? com.google.cloud.tpu.v1.Node.getDefaultInstance() : node_;
}
/**
- *
- *
* * Required. The node. *@@ -217,7 +180,6 @@ public com.google.cloud.tpu.v1.NodeOrBuilder getNodeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -255,7 +218,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nodeId_); } if (node_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getNode()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getNode()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -265,19 +229,21 @@ 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.cloud.tpu.v1.CreateNodeRequest)) { return super.equals(obj); } - com.google.cloud.tpu.v1.CreateNodeRequest other = - (com.google.cloud.tpu.v1.CreateNodeRequest) obj; + com.google.cloud.tpu.v1.CreateNodeRequest other = (com.google.cloud.tpu.v1.CreateNodeRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getNodeId().equals(other.getNodeId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getNodeId() + .equals(other.getNodeId())) return false; if (hasNode() != other.hasNode()) return false; if (hasNode()) { - if (!getNode().equals(other.getNode())) return false; + if (!getNode() + .equals(other.getNode())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -303,136 +269,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.tpu.v1.CreateNodeRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tpu.v1.CreateNodeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tpu.v1.CreateNodeRequest 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.cloud.tpu.v1.CreateNodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tpu.v1.CreateNodeRequest 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.cloud.tpu.v1.CreateNodeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tpu.v1.CreateNodeRequest 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.cloud.tpu.v1.CreateNodeRequest 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.cloud.tpu.v1.CreateNodeRequest 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.cloud.tpu.v1.CreateNodeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tpu.v1.CreateNodeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tpu.v1.CreateNodeRequest 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.cloud.tpu.v1.CreateNodeRequest 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.cloud.tpu.v1.CreateNodeRequest 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.cloud.tpu.v1.CreateNodeRequest 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; } /** - * - * *
* Request for [CreateNode][google.cloud.tpu.v1.Tpu.CreateNode]. ** * Protobuf type {@code google.cloud.tpu.v1.CreateNodeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder