Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [container] add a FastSocket API #8842

Merged
merged 2 commits into from
Nov 28, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
🦉 Updates from OwlBot post-processor
  • Loading branch information
gcf-owl-bot[bot] committed Nov 28, 2022
commit 8fd307b797a08fc972aa081ffa86a407eed9b00a

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/container/v1/cluster_service.proto

package com.google.container.v1;

public interface AcceleratorConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.container.v1.AcceleratorConfig)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* The number of the accelerator cards exposed to an instance.
* </pre>
*
* <code>int64 accelerator_count = 1;</code>
*
* @return The acceleratorCount.
*/
long getAcceleratorCount();

/**
*
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
*
* @return The acceleratorType.
*/
java.lang.String getAcceleratorType();
/**
*
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
*
* @return The bytes for acceleratorType.
*/
com.google.protobuf.ByteString getAcceleratorTypeBytes();

/**
*
*
* <pre>
* Size of partitions to create on the GPU. Valid values are described in the
* NVIDIA [mig user
* guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
* </pre>
*
* <code>string gpu_partition_size = 3;</code>
*
* @return The gpuPartitionSize.
*/
java.lang.String getGpuPartitionSize();
/**
*
*
* <pre>
* Size of partitions to create on the GPU. Valid values are described in the
* NVIDIA [mig user
* guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
* </pre>
*
* <code>string gpu_partition_size = 3;</code>
*
* @return The bytes for gpuPartitionSize.
*/
com.google.protobuf.ByteString getGpuPartitionSizeBytes();

/**
*
*
* <pre>
* The configuration for GPU sharing options.
* </pre>
*
* <code>optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5;</code>
*
* @return Whether the gpuSharingConfig field is set.
*/
boolean hasGpuSharingConfig();
/**
*
*
* <pre>
* The configuration for GPU sharing options.
* </pre>
*
* <code>optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5;</code>
*
* @return The gpuSharingConfig.
*/
com.google.container.v1.GPUSharingConfig getGpuSharingConfig();
/**
*
*
* <pre>
* The configuration for GPU sharing options.
* </pre>
*
* <code>optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5;</code>
*/
com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder();
}
Loading