Interface AcceleratorConfigOrBuilder (0.37.0)

publicinterface AcceleratorConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceleratorCount()

publicabstractintgetAcceleratorCount()

Optional. The number of the guest accelerator cards exposed to this instance.

optional int32 accelerator_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The acceleratorCount.

getAcceleratorType()

publicabstractStringgetAcceleratorType()

Optional. Full or partial URL of the accelerator type resource to attach to this instance.

optional string accelerator_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The acceleratorType.

getAcceleratorTypeBytes()

publicabstractByteStringgetAcceleratorTypeBytes()

Optional. Full or partial URL of the accelerator type resource to attach to this instance.

optional string accelerator_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for acceleratorType.

hasAcceleratorCount()

publicabstractbooleanhasAcceleratorCount()

Optional. The number of the guest accelerator cards exposed to this instance.

optional int32 accelerator_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the acceleratorCount field is set.

hasAcceleratorType()

publicabstractbooleanhasAcceleratorType()

Optional. Full or partial URL of the accelerator type resource to attach to this instance.

optional string accelerator_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the acceleratorType field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.