- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class AcceleratorConfig.Builder extends GeneratedMessageV3.Builder<AcceleratorConfig.Builder> implements AcceleratorConfigOrBuilder
AcceleratorConfig represents a Hardware Accelerator request.
Protobuf type google.container.v1beta1.AcceleratorConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AcceleratorConfig.BuilderImplements
AcceleratorConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AcceleratorConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AcceleratorConfig.Builder |
build()
public AcceleratorConfig build()
Type | Description |
AcceleratorConfig |
buildPartial()
public AcceleratorConfig buildPartial()
Type | Description |
AcceleratorConfig |
clear()
public AcceleratorConfig.Builder clear()
Type | Description |
AcceleratorConfig.Builder |
clearAcceleratorCount()
public AcceleratorConfig.Builder clearAcceleratorCount()
The number of the accelerator cards exposed to an instance.
int64 accelerator_count = 1;
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
clearAcceleratorType()
public AcceleratorConfig.Builder clearAcceleratorType()
The accelerator type resource name. List of supported accelerators here
string accelerator_type = 2;
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AcceleratorConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AcceleratorConfig.Builder |
clearGpuPartitionSize()
public AcceleratorConfig.Builder clearGpuPartitionSize()
Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
string gpu_partition_size = 3;
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
clearGpuSharingConfig()
public AcceleratorConfig.Builder clearGpuSharingConfig()
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;
Type | Description |
AcceleratorConfig.Builder |
clearMaxTimeSharedClientsPerGpu() (deprecated)
public AcceleratorConfig.Builder clearMaxTimeSharedClientsPerGpu()
Deprecated. google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. See google/container/v1beta1/cluster_service.proto;l=4119
The number of time-shared GPU resources to expose for each physical GPU.
int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AcceleratorConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AcceleratorConfig.Builder |
clone()
public AcceleratorConfig.Builder clone()
Type | Description |
AcceleratorConfig.Builder |
getAcceleratorCount()
public long getAcceleratorCount()
The number of the accelerator cards exposed to an instance.
int64 accelerator_count = 1;
Type | Description |
long | The acceleratorCount. |
getAcceleratorType()
public String getAcceleratorType()
The accelerator type resource name. List of supported accelerators here
string accelerator_type = 2;
Type | Description |
String | The acceleratorType. |
getAcceleratorTypeBytes()
public ByteString getAcceleratorTypeBytes()
The accelerator type resource name. List of supported accelerators here
string accelerator_type = 2;
Type | Description |
ByteString | The bytes for acceleratorType. |
getDefaultInstanceForType()
public AcceleratorConfig getDefaultInstanceForType()
Type | Description |
AcceleratorConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGpuPartitionSize()
public String getGpuPartitionSize()
Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
string gpu_partition_size = 3;
Type | Description |
String | The gpuPartitionSize. |
getGpuPartitionSizeBytes()
public ByteString getGpuPartitionSizeBytes()
Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
string gpu_partition_size = 3;
Type | Description |
ByteString | The bytes for gpuPartitionSize. |
getGpuSharingConfig()
public GPUSharingConfig getGpuSharingConfig()
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;
Type | Description |
GPUSharingConfig | The gpuSharingConfig. |
getGpuSharingConfigBuilder()
public GPUSharingConfig.Builder getGpuSharingConfigBuilder()
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;
Type | Description |
GPUSharingConfig.Builder |
getGpuSharingConfigOrBuilder()
public GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder()
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;
Type | Description |
GPUSharingConfigOrBuilder |
getMaxTimeSharedClientsPerGpu() (deprecated)
public long getMaxTimeSharedClientsPerGpu()
Deprecated. google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. See google/container/v1beta1/cluster_service.proto;l=4119
The number of time-shared GPU resources to expose for each physical GPU.
int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];
Type | Description |
long | The maxTimeSharedClientsPerGpu. |
hasGpuSharingConfig()
public boolean hasGpuSharingConfig()
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;
Type | Description |
boolean | Whether the gpuSharingConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AcceleratorConfig other)
public AcceleratorConfig.Builder mergeFrom(AcceleratorConfig other)
Name | Description |
other | AcceleratorConfig |
Type | Description |
AcceleratorConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AcceleratorConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AcceleratorConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AcceleratorConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AcceleratorConfig.Builder |
mergeGpuSharingConfig(GPUSharingConfig value)
public AcceleratorConfig.Builder mergeGpuSharingConfig(GPUSharingConfig value)
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;
Name | Description |
value | GPUSharingConfig |
Type | Description |
AcceleratorConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AcceleratorConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AcceleratorConfig.Builder |
setAcceleratorCount(long value)
public AcceleratorConfig.Builder setAcceleratorCount(long value)
The number of the accelerator cards exposed to an instance.
int64 accelerator_count = 1;
Name | Description |
value | long The acceleratorCount to set. |
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
setAcceleratorType(String value)
public AcceleratorConfig.Builder setAcceleratorType(String value)
The accelerator type resource name. List of supported accelerators here
string accelerator_type = 2;
Name | Description |
value | String The acceleratorType to set. |
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
setAcceleratorTypeBytes(ByteString value)
public AcceleratorConfig.Builder setAcceleratorTypeBytes(ByteString value)
The accelerator type resource name. List of supported accelerators here
string accelerator_type = 2;
Name | Description |
value | ByteString The bytes for acceleratorType to set. |
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AcceleratorConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AcceleratorConfig.Builder |
setGpuPartitionSize(String value)
public AcceleratorConfig.Builder setGpuPartitionSize(String value)
Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
string gpu_partition_size = 3;
Name | Description |
value | String The gpuPartitionSize to set. |
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
setGpuPartitionSizeBytes(ByteString value)
public AcceleratorConfig.Builder setGpuPartitionSizeBytes(ByteString value)
Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
string gpu_partition_size = 3;
Name | Description |
value | ByteString The bytes for gpuPartitionSize to set. |
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
setGpuSharingConfig(GPUSharingConfig value)
public AcceleratorConfig.Builder setGpuSharingConfig(GPUSharingConfig value)
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;
Name | Description |
value | GPUSharingConfig |
Type | Description |
AcceleratorConfig.Builder |
setGpuSharingConfig(GPUSharingConfig.Builder builderForValue)
public AcceleratorConfig.Builder setGpuSharingConfig(GPUSharingConfig.Builder builderForValue)
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;
Name | Description |
builderForValue | GPUSharingConfig.Builder |
Type | Description |
AcceleratorConfig.Builder |
setMaxTimeSharedClientsPerGpu(long value) (deprecated)
public AcceleratorConfig.Builder setMaxTimeSharedClientsPerGpu(long value)
Deprecated. google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. See google/container/v1beta1/cluster_service.proto;l=4119
The number of time-shared GPU resources to expose for each physical GPU.
int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];
Name | Description |
value | long The maxTimeSharedClientsPerGpu to set. |
Type | Description |
AcceleratorConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AcceleratorConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AcceleratorConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AcceleratorConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AcceleratorConfig.Builder |