com.google.cloud.tpu.v2.stub.TpuStub Maven / Gradle / Ivy
Show all versions of google-cloud-tpu Show documentation
/*
* Copyright 2024 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.v2.stub;
import static com.google.cloud.tpu.v2.TpuClient.ListAcceleratorTypesPagedResponse;
import static com.google.cloud.tpu.v2.TpuClient.ListLocationsPagedResponse;
import static com.google.cloud.tpu.v2.TpuClient.ListNodesPagedResponse;
import static com.google.cloud.tpu.v2.TpuClient.ListRuntimeVersionsPagedResponse;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.cloud.tpu.v2.AcceleratorType;
import com.google.cloud.tpu.v2.CreateNodeRequest;
import com.google.cloud.tpu.v2.DeleteNodeRequest;
import com.google.cloud.tpu.v2.GenerateServiceIdentityRequest;
import com.google.cloud.tpu.v2.GenerateServiceIdentityResponse;
import com.google.cloud.tpu.v2.GetAcceleratorTypeRequest;
import com.google.cloud.tpu.v2.GetGuestAttributesRequest;
import com.google.cloud.tpu.v2.GetGuestAttributesResponse;
import com.google.cloud.tpu.v2.GetNodeRequest;
import com.google.cloud.tpu.v2.GetRuntimeVersionRequest;
import com.google.cloud.tpu.v2.ListAcceleratorTypesRequest;
import com.google.cloud.tpu.v2.ListAcceleratorTypesResponse;
import com.google.cloud.tpu.v2.ListNodesRequest;
import com.google.cloud.tpu.v2.ListNodesResponse;
import com.google.cloud.tpu.v2.ListRuntimeVersionsRequest;
import com.google.cloud.tpu.v2.ListRuntimeVersionsResponse;
import com.google.cloud.tpu.v2.Node;
import com.google.cloud.tpu.v2.OperationMetadata;
import com.google.cloud.tpu.v2.RuntimeVersion;
import com.google.cloud.tpu.v2.StartNodeRequest;
import com.google.cloud.tpu.v2.StopNodeRequest;
import com.google.cloud.tpu.v2.UpdateNodeRequest;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
import com.google.protobuf.Empty;
import javax.annotation.Generated;
// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Base stub class for the Tpu service API.
*
* This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
public abstract class TpuStub implements BackgroundResource {
public OperationsStub getOperationsStub() {
return null;
}
public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() {
return null;
}
public UnaryCallable listNodesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listNodesPagedCallable()");
}
public UnaryCallable listNodesCallable() {
throw new UnsupportedOperationException("Not implemented: listNodesCallable()");
}
public UnaryCallable getNodeCallable() {
throw new UnsupportedOperationException("Not implemented: getNodeCallable()");
}
public OperationCallable
createNodeOperationCallable() {
throw new UnsupportedOperationException("Not implemented: createNodeOperationCallable()");
}
public UnaryCallable createNodeCallable() {
throw new UnsupportedOperationException("Not implemented: createNodeCallable()");
}
public OperationCallable
deleteNodeOperationCallable() {
throw new UnsupportedOperationException("Not implemented: deleteNodeOperationCallable()");
}
public UnaryCallable deleteNodeCallable() {
throw new UnsupportedOperationException("Not implemented: deleteNodeCallable()");
}
public OperationCallable stopNodeOperationCallable() {
throw new UnsupportedOperationException("Not implemented: stopNodeOperationCallable()");
}
public UnaryCallable stopNodeCallable() {
throw new UnsupportedOperationException("Not implemented: stopNodeCallable()");
}
public OperationCallable startNodeOperationCallable() {
throw new UnsupportedOperationException("Not implemented: startNodeOperationCallable()");
}
public UnaryCallable startNodeCallable() {
throw new UnsupportedOperationException("Not implemented: startNodeCallable()");
}
public OperationCallable
updateNodeOperationCallable() {
throw new UnsupportedOperationException("Not implemented: updateNodeOperationCallable()");
}
public UnaryCallable updateNodeCallable() {
throw new UnsupportedOperationException("Not implemented: updateNodeCallable()");
}
public UnaryCallable
generateServiceIdentityCallable() {
throw new UnsupportedOperationException("Not implemented: generateServiceIdentityCallable()");
}
public UnaryCallable
listAcceleratorTypesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listAcceleratorTypesPagedCallable()");
}
public UnaryCallable
listAcceleratorTypesCallable() {
throw new UnsupportedOperationException("Not implemented: listAcceleratorTypesCallable()");
}
public UnaryCallable getAcceleratorTypeCallable() {
throw new UnsupportedOperationException("Not implemented: getAcceleratorTypeCallable()");
}
public UnaryCallable
listRuntimeVersionsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listRuntimeVersionsPagedCallable()");
}
public UnaryCallable
listRuntimeVersionsCallable() {
throw new UnsupportedOperationException("Not implemented: listRuntimeVersionsCallable()");
}
public UnaryCallable getRuntimeVersionCallable() {
throw new UnsupportedOperationException("Not implemented: getRuntimeVersionCallable()");
}
public UnaryCallable
getGuestAttributesCallable() {
throw new UnsupportedOperationException("Not implemented: getGuestAttributesCallable()");
}
public UnaryCallable
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
}
public UnaryCallable listLocationsCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
}
public UnaryCallable getLocationCallable() {
throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
}
@Override
public abstract void close();
}