Class VirtualNIC.Builder (2.56.0)

public static final class VirtualNIC.Builder extends GeneratedMessageV3.Builder<VirtualNIC.Builder> implements VirtualNICOrBuilder

Configuration of gVNIC feature.

Protobuf type google.container.v1.VirtualNIC

Implements

VirtualNICOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VirtualNIC.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VirtualNIC.Builder
Overrides

build()

public VirtualNIC build()
Returns
Type Description
VirtualNIC

buildPartial()

public VirtualNIC buildPartial()
Returns
Type Description
VirtualNIC

clear()

public VirtualNIC.Builder clear()
Returns
Type Description
VirtualNIC.Builder
Overrides

clearEnabled()

public VirtualNIC.Builder clearEnabled()

Whether gVNIC features are enabled in the node pool.

bool enabled = 1;

Returns
Type Description
VirtualNIC.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VirtualNIC.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VirtualNIC.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VirtualNIC.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VirtualNIC.Builder
Overrides

clone()

public VirtualNIC.Builder clone()
Returns
Type Description
VirtualNIC.Builder
Overrides

getDefaultInstanceForType()

public VirtualNIC getDefaultInstanceForType()
Returns
Type Description
VirtualNIC

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether gVNIC features are enabled in the node pool.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VirtualNIC other)

public VirtualNIC.Builder mergeFrom(VirtualNIC other)
Parameter
Name Description
other VirtualNIC
Returns
Type Description
VirtualNIC.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VirtualNIC.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualNIC.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VirtualNIC.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VirtualNIC.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VirtualNIC.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VirtualNIC.Builder
Overrides

setEnabled(boolean value)

public VirtualNIC.Builder setEnabled(boolean value)

Whether gVNIC features are enabled in the node pool.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
VirtualNIC.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VirtualNIC.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VirtualNIC.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VirtualNIC.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VirtualNIC.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VirtualNIC.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VirtualNIC.Builder
Overrides