Class InstanceConfig.NetworkAddress (0.43.0)

public static final class InstanceConfig.NetworkAddress extends GeneratedMessageV3 implements InstanceConfig.NetworkAddressOrBuilder

A network.

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

Static Fields

ADDRESS_FIELD_NUMBER

public static final int ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

EXISTING_NETWORK_ID_FIELD_NUMBER

public static final int EXISTING_NETWORK_ID_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_ID_FIELD_NUMBER

public static final int NETWORK_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InstanceConfig.NetworkAddress getDefaultInstance()
Returns
Type Description
InstanceConfig.NetworkAddress

getDescriptor()

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

newBuilder()

public static InstanceConfig.NetworkAddress.Builder newBuilder()
Returns
Type Description
InstanceConfig.NetworkAddress.Builder

newBuilder(InstanceConfig.NetworkAddress prototype)

public static InstanceConfig.NetworkAddress.Builder newBuilder(InstanceConfig.NetworkAddress prototype)
Parameter
Name Description
prototype InstanceConfig.NetworkAddress
Returns
Type Description
InstanceConfig.NetworkAddress.Builder

parseDelimitedFrom(InputStream input)

public static InstanceConfig.NetworkAddress parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InstanceConfig.NetworkAddress parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstanceConfig.NetworkAddress parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstanceConfig.NetworkAddress parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InstanceConfig.NetworkAddress parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InstanceConfig.NetworkAddress parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceConfig.NetworkAddress
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InstanceConfig.NetworkAddress> parser()
Returns
Type Description
Parser<NetworkAddress>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<InstanceConfig.NetworkAddress> getParserForType()
Returns
Type Description
Parser<NetworkAddress>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InstanceConfig.NetworkAddress.Builder newBuilderForType()
Returns
Type Description
InstanceConfig.NetworkAddress.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstanceConfig.NetworkAddress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InstanceConfig.NetworkAddress.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InstanceConfig.NetworkAddress.Builder toBuilder()
Returns
Type Description
InstanceConfig.NetworkAddress.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException