Class InstanceConfig.NetworkAddress (0.35.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
TypeDescription
int

EXISTING_NETWORK_ID_FIELD_NUMBER

public static final int EXISTING_NETWORK_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_ID_FIELD_NUMBER

public static final int NETWORK_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InstanceConfig.NetworkAddress getDefaultInstance()
Returns
TypeDescription
InstanceConfig.NetworkAddress

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InstanceConfig.NetworkAddress.Builder newBuilder()
Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder

newBuilder(InstanceConfig.NetworkAddress prototype)

public static InstanceConfig.NetworkAddress.Builder newBuilder(InstanceConfig.NetworkAddress prototype)
Parameter
NameDescription
prototypeInstanceConfig.NetworkAddress
Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder

parseDelimitedFrom(InputStream input)

public static InstanceConfig.NetworkAddress parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InstanceConfig.NetworkAddress parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstanceConfig.NetworkAddress parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstanceConfig.NetworkAddress parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InstanceConfig.NetworkAddress parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InstanceConfig.NetworkAddress parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstanceConfig.NetworkAddress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceConfig.NetworkAddress
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InstanceConfig.NetworkAddress.Builder newBuilderForType()
Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstanceConfig.NetworkAddress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InstanceConfig.NetworkAddress.Builder toBuilder()
Returns
TypeDescription
InstanceConfig.NetworkAddress.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException