Class InstanceConfig.NetworkAddress.Builder (0.53.0)

public static final class InstanceConfig.NetworkAddress.Builder extends GeneratedMessageV3.Builder<InstanceConfig.NetworkAddress.Builder> implements InstanceConfig.NetworkAddressOrBuilder

A network.

Protobuf type google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceConfig.NetworkAddress build()
Returns
Type Description
InstanceConfig.NetworkAddress

buildPartial()

public InstanceConfig.NetworkAddress buildPartial()
Returns
Type Description
InstanceConfig.NetworkAddress

clear()

public InstanceConfig.NetworkAddress.Builder clear()
Returns
Type Description
InstanceConfig.NetworkAddress.Builder
Overrides

clearAddress()

public InstanceConfig.NetworkAddress.Builder clearAddress()

IPv4 address to be assigned to the server.

string address = 2;

Returns
Type Description
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

clearExistingNetworkId()

public InstanceConfig.NetworkAddress.Builder clearExistingNetworkId()

Name of the existing network to use.

string existing_network_id = 3;

Returns
Type Description
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkId()

public InstanceConfig.NetworkAddress.Builder clearNetworkId()

Id of the network to use, within the same ProvisioningConfig request.

string network_id = 1;

Returns
Type Description
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public InstanceConfig.NetworkAddress.Builder clone()
Returns
Type Description
InstanceConfig.NetworkAddress.Builder
Overrides

getAddress()

public String getAddress()

IPv4 address to be assigned to the server.

string address = 2;

Returns
Type Description
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

IPv4 address to be assigned to the server.

string address = 2;

Returns
Type Description
ByteString

The bytes for address.

getDefaultInstanceForType()

public InstanceConfig.NetworkAddress getDefaultInstanceForType()
Returns
Type Description
InstanceConfig.NetworkAddress

getDescriptorForType()

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

getExistingNetworkId()

public String getExistingNetworkId()

Name of the existing network to use.

string existing_network_id = 3;

Returns
Type Description
String

The existingNetworkId.

getExistingNetworkIdBytes()

public ByteString getExistingNetworkIdBytes()

Name of the existing network to use.

string existing_network_id = 3;

Returns
Type Description
ByteString

The bytes for existingNetworkId.

getNetworkId()

public String getNetworkId()

Id of the network to use, within the same ProvisioningConfig request.

string network_id = 1;

Returns
Type Description
String

The networkId.

getNetworkIdBytes()

public ByteString getNetworkIdBytes()

Id of the network to use, within the same ProvisioningConfig request.

string network_id = 1;

Returns
Type Description
ByteString

The bytes for networkId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceConfig.NetworkAddress other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAddress(String value)

public InstanceConfig.NetworkAddress.Builder setAddress(String value)

IPv4 address to be assigned to the server.

string address = 2;

Parameter
Name Description
value String

The address to set.

Returns
Type Description
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

setAddressBytes(ByteString value)

public InstanceConfig.NetworkAddress.Builder setAddressBytes(ByteString value)

IPv4 address to be assigned to the server.

string address = 2;

Parameter
Name Description
value ByteString

The bytes for address to set.

Returns
Type Description
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

setExistingNetworkId(String value)

public InstanceConfig.NetworkAddress.Builder setExistingNetworkId(String value)

Name of the existing network to use.

string existing_network_id = 3;

Parameter
Name Description
value String

The existingNetworkId to set.

Returns
Type Description
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

setExistingNetworkIdBytes(ByteString value)

public InstanceConfig.NetworkAddress.Builder setExistingNetworkIdBytes(ByteString value)

Name of the existing network to use.

string existing_network_id = 3;

Parameter
Name Description
value ByteString

The bytes for existingNetworkId to set.

Returns
Type Description
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkId(String value)

public InstanceConfig.NetworkAddress.Builder setNetworkId(String value)

Id of the network to use, within the same ProvisioningConfig request.

string network_id = 1;

Parameter
Name Description
value String

The networkId to set.

Returns
Type Description
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

setNetworkIdBytes(ByteString value)

public InstanceConfig.NetworkAddress.Builder setNetworkIdBytes(ByteString value)

Id of the network to use, within the same ProvisioningConfig request.

string network_id = 1;

Parameter
Name Description
value ByteString

The bytes for networkId to set.

Returns
Type Description
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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