Class Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder (0.1.0)
public static final class Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder extends GeneratedMessageV3.Builder<Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder> implements Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfigOrBuilder
A specification of the type and number of accelerator cards attached to
the instance.
Protobuf type
google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig build()
buildPartial()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig buildPartial()
clear()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder clear()
Overrides
clearCount()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder clearCount()
The number of the guest accelerator cards exposed to this instance.
int32 count = 2;
clearField(Descriptors.FieldDescriptor field)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder clearType()
clone()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder clone()
Overrides
getCount()
The number of the guest accelerator cards exposed to this instance.
int32 count = 2;
| Returns |
| Type |
Description |
int |
The count.
|
getDefaultInstanceForType()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getType()
| Returns |
| Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for type.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig other)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder mergeFrom(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig other)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCount(int value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder setCount(int value)
The number of the guest accelerator cards exposed to this instance.
int32 count = 2;
| Parameter |
| Name |
Description |
value |
int
The count to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setType(String value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder setType(String value)
| Parameter |
| Name |
Description |
value |
String
The type to set.
|
setTypeBytes(ByteString value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder setTypeBytes(ByteString value)
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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-10-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]