Class AdditionalNodeNetworkConfig.Builder (2.56.0)

public static final class AdditionalNodeNetworkConfig.Builder extends GeneratedMessageV3.Builder<AdditionalNodeNetworkConfig.Builder> implements AdditionalNodeNetworkConfigOrBuilder

AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message

Protobuf type google.container.v1.AdditionalNodeNetworkConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdditionalNodeNetworkConfig build()
Returns
Type Description
AdditionalNodeNetworkConfig

buildPartial()

public AdditionalNodeNetworkConfig buildPartial()
Returns
Type Description
AdditionalNodeNetworkConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetwork()

public AdditionalNodeNetworkConfig.Builder clearNetwork()

Name of the VPC where the additional interface belongs

string network = 1;

Returns
Type Description
AdditionalNodeNetworkConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubnetwork()

public AdditionalNodeNetworkConfig.Builder clearSubnetwork()

Name of the subnetwork where the additional interface belongs

string subnetwork = 2;

Returns
Type Description
AdditionalNodeNetworkConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AdditionalNodeNetworkConfig getDefaultInstanceForType()
Returns
Type Description
AdditionalNodeNetworkConfig

getDescriptorForType()

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

getNetwork()

public String getNetwork()

Name of the VPC where the additional interface belongs

string network = 1;

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Name of the VPC where the additional interface belongs

string network = 1;

Returns
Type Description
ByteString

The bytes for network.

getSubnetwork()

public String getSubnetwork()

Name of the subnetwork where the additional interface belongs

string subnetwork = 2;

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

Name of the subnetwork where the additional interface belongs

string subnetwork = 2;

Returns
Type Description
ByteString

The bytes for subnetwork.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AdditionalNodeNetworkConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetwork(String value)

public AdditionalNodeNetworkConfig.Builder setNetwork(String value)

Name of the VPC where the additional interface belongs

string network = 1;

Parameter
Name Description
value String

The network to set.

Returns
Type Description
AdditionalNodeNetworkConfig.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public AdditionalNodeNetworkConfig.Builder setNetworkBytes(ByteString value)

Name of the VPC where the additional interface belongs

string network = 1;

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
AdditionalNodeNetworkConfig.Builder

This builder for chaining.

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

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

setSubnetwork(String value)

public AdditionalNodeNetworkConfig.Builder setSubnetwork(String value)

Name of the subnetwork where the additional interface belongs

string subnetwork = 2;

Parameter
Name Description
value String

The subnetwork to set.

Returns
Type Description
AdditionalNodeNetworkConfig.Builder

This builder for chaining.

setSubnetworkBytes(ByteString value)

public AdditionalNodeNetworkConfig.Builder setSubnetworkBytes(ByteString value)

Name of the subnetwork where the additional interface belongs

string subnetwork = 2;

Parameter
Name Description
value ByteString

The bytes for subnetwork to set.

Returns
Type Description
AdditionalNodeNetworkConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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