Class InstanceConfig.NetworkAddress.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceConfig.NetworkAddress build()
Returns
TypeDescription
InstanceConfig.NetworkAddress

buildPartial()

public InstanceConfig.NetworkAddress buildPartial()
Returns
TypeDescription
InstanceConfig.NetworkAddress

clear()

public InstanceConfig.NetworkAddress.Builder clear()
Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder
Overrides

clearAddress()

public InstanceConfig.NetworkAddress.Builder clearAddress()

IPv4 address to be assigned to the server.

string address = 2;

Returns
TypeDescription
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
TypeDescription
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InstanceConfig.NetworkAddress.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public InstanceConfig.NetworkAddress.Builder clone()
Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder
Overrides

getAddress()

public String getAddress()

IPv4 address to be assigned to the server.

string address = 2;

Returns
TypeDescription
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

IPv4 address to be assigned to the server.

string address = 2;

Returns
TypeDescription
ByteString

The bytes for address.

getDefaultInstanceForType()

public InstanceConfig.NetworkAddress getDefaultInstanceForType()
Returns
TypeDescription
InstanceConfig.NetworkAddress

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExistingNetworkId()

public String getExistingNetworkId()

Name of the existing network to use.

string existing_network_id = 3;

Returns
TypeDescription
String

The existingNetworkId.

getExistingNetworkIdBytes()

public ByteString getExistingNetworkIdBytes()

Name of the existing network to use.

string existing_network_id = 3;

Returns
TypeDescription
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
TypeDescription
String

The networkId.

getNetworkIdBytes()

public ByteString getNetworkIdBytes()

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

string network_id = 1;

Returns
TypeDescription
ByteString

The bytes for networkId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceConfig.NetworkAddress other)

public InstanceConfig.NetworkAddress.Builder mergeFrom(InstanceConfig.NetworkAddress other)
Parameter
NameDescription
otherInstanceConfig.NetworkAddress
Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The address to set.

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

The bytes for address to set.

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

The existingNetworkId to set.

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

The bytes for existingNetworkId to set.

Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The networkId to set.

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

The bytes for networkId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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