Class VirtualNIC.Builder (2.9.0)

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

Configuration of gVNIC feature.

Protobuf type google.container.v1beta1.VirtualNIC

Implements

VirtualNICOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VirtualNIC.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VirtualNIC.Builder
Overrides

build()

public VirtualNIC build()
Returns
TypeDescription
VirtualNIC

buildPartial()

public VirtualNIC buildPartial()
Returns
TypeDescription
VirtualNIC

clear()

public VirtualNIC.Builder clear()
Returns
TypeDescription
VirtualNIC.Builder
Overrides

clearEnabled()

public VirtualNIC.Builder clearEnabled()

Whether gVNIC features are enabled in the node pool.

bool enabled = 1;

Returns
TypeDescription
VirtualNIC.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VirtualNIC.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VirtualNIC.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VirtualNIC.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VirtualNIC.Builder
Overrides

clone()

public VirtualNIC.Builder clone()
Returns
TypeDescription
VirtualNIC.Builder
Overrides

getDefaultInstanceForType()

public VirtualNIC getDefaultInstanceForType()
Returns
TypeDescription
VirtualNIC

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether gVNIC features are enabled in the node pool.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VirtualNIC other)

public VirtualNIC.Builder mergeFrom(VirtualNIC other)
Parameter
NameDescription
otherVirtualNIC
Returns
TypeDescription
VirtualNIC.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VirtualNIC.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VirtualNIC.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VirtualNIC.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VirtualNIC.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VirtualNIC.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
VirtualNIC.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VirtualNIC.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VirtualNIC.Builder
Overrides

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

public VirtualNIC.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VirtualNIC.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VirtualNIC.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VirtualNIC.Builder
Overrides