Interface NetworkInterfaceOrBuilder (1.74.0)

public interface NetworkInterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExternalIp()

public abstract String getExternalIp()

Optional. The external IP to define in the NIC.

string external_ip = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The externalIp.

getExternalIpBytes()

public abstract ByteString getExternalIpBytes()

Optional. The external IP to define in the NIC.

string external_ip = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for externalIp.

getInternalIp()

public abstract String getInternalIp()

Optional. The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.

string internal_ip = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The internalIp.

getInternalIpBytes()

public abstract ByteString getInternalIpBytes()

Optional. The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.

string internal_ip = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for internalIp.

getNetwork()

public abstract String getNetwork()

Optional. The network to connect the NIC to.

string network = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

Optional. The network to connect the NIC to.

string network = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for network.

getNetworkTier()

public abstract ComputeEngineNetworkTier getNetworkTier()

Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.

.google.cloud.vmmigration.v1.ComputeEngineNetworkTier network_tier = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeEngineNetworkTier

The networkTier.

getNetworkTierValue()

public abstract int getNetworkTierValue()

Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.

.google.cloud.vmmigration.v1.ComputeEngineNetworkTier network_tier = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for networkTier.

getSubnetwork()

public abstract String getSubnetwork()

Optional. The subnetwork to connect the NIC to.

string subnetwork = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

Optional. The subnetwork to connect the NIC to.

string subnetwork = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for subnetwork.