public static final class WorkstationConfig.Host.GceInstance.Accelerator.Builder extends GeneratedMessageV3.Builder<WorkstationConfig.Host.GceInstance.Accelerator.Builder> implements WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder
An accelerator card attached to the instance.
Protobuf type
google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.Accelerator
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 WorkstationConfig.Host.GceInstance.Accelerator.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WorkstationConfig.Host.GceInstance.Accelerator build()
buildPartial()
public WorkstationConfig.Host.GceInstance.Accelerator buildPartial()
clear()
public WorkstationConfig.Host.GceInstance.Accelerator.Builder clear()
Overrides
clearCount()
public WorkstationConfig.Host.GceInstance.Accelerator.Builder clearCount()
Number of accelerator cards exposed to the instance.
int32 count = 2;
clearField(Descriptors.FieldDescriptor field)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public WorkstationConfig.Host.GceInstance.Accelerator.Builder clearType()
Type of accelerator resource to attach to the instance, for example,
"nvidia-tesla-p100".
string type = 1;
clone()
public WorkstationConfig.Host.GceInstance.Accelerator.Builder clone()
Overrides
getCount()
Number of accelerator cards exposed to the instance.
int32 count = 2;
Returns |
---|
Type | Description |
int | The count.
|
getDefaultInstanceForType()
public WorkstationConfig.Host.GceInstance.Accelerator getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getType()
Type of accelerator resource to attach to the instance, for example,
"nvidia-tesla-p100".
string type = 1;
Returns |
---|
Type | Description |
String | The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Type of accelerator resource to attach to the instance, for example,
"nvidia-tesla-p100".
string type = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for type.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WorkstationConfig.Host.GceInstance.Accelerator other)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder mergeFrom(WorkstationConfig.Host.GceInstance.Accelerator other)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationConfig.Host.GceInstance.Accelerator.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCount(int value)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder setCount(int value)
Number of accelerator cards exposed to the instance.
int32 count = 2;
Parameter |
---|
Name | Description |
value | int
The count to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setType(String value)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder setType(String value)
Type of accelerator resource to attach to the instance, for example,
"nvidia-tesla-p100".
string type = 1;
Parameter |
---|
Name | Description |
value | String
The type to set.
|
setTypeBytes(ByteString value)
public WorkstationConfig.Host.GceInstance.Accelerator.Builder setTypeBytes(ByteString value)
Type of accelerator resource to attach to the instance, for example,
"nvidia-tesla-p100".
string type = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationConfig.Host.GceInstance.Accelerator.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides