Class NetworkInterface (1.88.0)

public final class NetworkInterface extends GeneratedMessageV3 implements NetworkInterfaceOrBuilder

A network interface resource attached to an instance.

Protobuf type google.cloud.compute.v1.NetworkInterface

Static Fields

ACCESS_CONFIGS_FIELD_NUMBER

public static final int ACCESS_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

ALIAS_IP_RANGES_FIELD_NUMBER

public static final int ALIAS_IP_RANGES_FIELD_NUMBER
Field Value
Type Description
int

FINGERPRINT_FIELD_NUMBER

public static final int FINGERPRINT_FIELD_NUMBER
Field Value
Type Description
int

INTERNAL_IPV6_PREFIX_LENGTH_FIELD_NUMBER

public static final int INTERNAL_IPV6_PREFIX_LENGTH_FIELD_NUMBER
Field Value
Type Description
int

IPV6_ACCESS_CONFIGS_FIELD_NUMBER

public static final int IPV6_ACCESS_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

IPV6_ACCESS_TYPE_FIELD_NUMBER

public static final int IPV6_ACCESS_TYPE_FIELD_NUMBER
Field Value
Type Description
int

IPV6_ADDRESS_FIELD_NUMBER

public static final int IPV6_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_ATTACHMENT_FIELD_NUMBER

public static final int NETWORK_ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_I_P_FIELD_NUMBER

public static final int NETWORK_I_P_FIELD_NUMBER
Field Value
Type Description
int

NIC_TYPE_FIELD_NUMBER

public static final int NIC_TYPE_FIELD_NUMBER
Field Value
Type Description
int

PARENT_NIC_NAME_FIELD_NUMBER

public static final int PARENT_NIC_NAME_FIELD_NUMBER
Field Value
Type Description
int

QUEUE_COUNT_FIELD_NUMBER

public static final int QUEUE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

STACK_TYPE_FIELD_NUMBER

public static final int STACK_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
Type Description
int

VLAN_FIELD_NUMBER

public static final int VLAN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworkInterface getDefaultInstance()
Returns
Type Description
NetworkInterface

getDescriptor()

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

newBuilder()

public static NetworkInterface.Builder newBuilder()
Returns
Type Description
NetworkInterface.Builder

newBuilder(NetworkInterface prototype)

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

parseDelimitedFrom(InputStream input)

public static NetworkInterface parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkInterface
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static NetworkInterface parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static NetworkInterface parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkInterface
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static NetworkInterface parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkInterface
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkInterface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)