Class AdditionalNodeNetworkConfig.Builder (2.42.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdditionalNodeNetworkConfig build()
Returns
TypeDescription
AdditionalNodeNetworkConfig

buildPartial()

public AdditionalNodeNetworkConfig buildPartial()
Returns
TypeDescription
AdditionalNodeNetworkConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetwork()

public AdditionalNodeNetworkConfig.Builder clearNetwork()

Name of the VPC where the additional interface belongs

string network = 1;

Returns
TypeDescription
AdditionalNodeNetworkConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubnetwork()

public AdditionalNodeNetworkConfig.Builder clearSubnetwork()

Name of the subnetwork where the additional interface belongs

string subnetwork = 2;

Returns
TypeDescription
AdditionalNodeNetworkConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AdditionalNodeNetworkConfig getDefaultInstanceForType()
Returns
TypeDescription
AdditionalNodeNetworkConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNetwork()

public String getNetwork()

Name of the VPC where the additional interface belongs

string network = 1;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Name of the VPC where the additional interface belongs

string network = 1;

Returns
TypeDescription
ByteString

The bytes for network.

getSubnetwork()

public String getSubnetwork()

Name of the subnetwork where the additional interface belongs

string subnetwork = 2;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

Name of the subnetwork where the additional interface belongs

string subnetwork = 2;

Returns
TypeDescription
ByteString

The bytes for subnetwork.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AdditionalNodeNetworkConfig other)

public AdditionalNodeNetworkConfig.Builder mergeFrom(AdditionalNodeNetworkConfig other)
Parameter
NameDescription
otherAdditionalNodeNetworkConfig
Returns
TypeDescription
AdditionalNodeNetworkConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdditionalNodeNetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AdditionalNodeNetworkConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AdditionalNodeNetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The network to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for network to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The subnetwork to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for subnetwork to set.

Returns
TypeDescription
AdditionalNodeNetworkConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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