publicstaticfinalclass AcceleratorConfig.BuilderextendsGeneratedMessageV3.Builder<AcceleratorConfig.Builder>implementsAcceleratorConfigOrBuilder
A specification of the type and number of accelerator cards attached to the
instance.
Protobuf type google.cloud.backupdr.v1.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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicAcceleratorConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicAcceleratorConfigbuild()
buildPartial()
publicAcceleratorConfigbuildPartial()
clear()
publicAcceleratorConfig.Builderclear()
Overrides
clearAcceleratorCount()
publicAcceleratorConfig.BuilderclearAcceleratorCount()
Optional. The number of the guest accelerator cards exposed to this
instance.
optional int32 accelerator_count = 2 [(.google.api.field_behavior) = OPTIONAL];
clearAcceleratorType()
publicAcceleratorConfig.BuilderclearAcceleratorType()
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];
clearField(Descriptors.FieldDescriptor field)
publicAcceleratorConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicAcceleratorConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicAcceleratorConfig.Builderclone()
Overrides
getAcceleratorCount()
publicintgetAcceleratorCount()
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()
publicStringgetAcceleratorType()
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()
publicByteStringgetAcceleratorTypeBytes()
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.
|
getDefaultInstanceForType()
publicAcceleratorConfiggetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
hasAcceleratorCount()
publicbooleanhasAcceleratorCount()
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()
publicbooleanhasAcceleratorType()
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.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(AcceleratorConfig other)
publicAcceleratorConfig.BuildermergeFrom(AcceleratorConfigother)
publicAcceleratorConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicAcceleratorConfig.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalAcceleratorConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setAcceleratorCount(int value)
publicAcceleratorConfig.BuildersetAcceleratorCount(intvalue)
Optional. The number of the guest accelerator cards exposed to this
instance.
optional int32 accelerator_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
int
The acceleratorCount to set.
|
setAcceleratorType(String value)
publicAcceleratorConfig.BuildersetAcceleratorType(Stringvalue)
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];
| Parameter |
| Name |
Description |
value |
String
The acceleratorType to set.
|
setAcceleratorTypeBytes(ByteString value)
publicAcceleratorConfig.BuildersetAcceleratorTypeBytes(ByteStringvalue)
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];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for acceleratorType to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
publicAcceleratorConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicAcceleratorConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalAcceleratorConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides