Interface Hardware.MacAddressOrBuilder (0.10.0)

public static interface Hardware.MacAddressOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAddress()

public abstract String getAddress()

Output only. Address string.

string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The address.

getAddressBytes()

public abstract ByteString getAddressBytes()

Output only. Address string.

string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for address.

getIpv4Address()

public abstract String getIpv4Address()

Output only. Static IP address (if used) that is associated with the MAC address. Only applicable for VIRTUAL MAC address type.

string ipv4_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The ipv4Address.

getIpv4AddressBytes()

public abstract ByteString getIpv4AddressBytes()

Output only. Static IP address (if used) that is associated with the MAC address. Only applicable for VIRTUAL MAC address type.

string ipv4_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for ipv4Address.

getType()

public abstract Hardware.MacAddress.AddressType getType()

Output only. Address type for this MAC address.

.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress.AddressType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Hardware.MacAddress.AddressType

The type.

getTypeValue()

public abstract int getTypeValue()

Output only. Address type for this MAC address.

.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress.AddressType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.