Interface Hardware.MacAddressOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Hardware.MacAddress,Hardware.MacAddress.Builder
- Enclosing class:
- Hardware
public static interface Hardware.MacAddressOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getType()Output only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAddress
String getAddress()Output only. Address string.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The address.
-
getAddressBytes
com.google.protobuf.ByteString getAddressBytes()Output only. Address string.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for address.
-
getTypeValue
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:
- The enum numeric value on the wire for type.
-
getType
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:
- The type.
-
getIpv4Address
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:
- The ipv4Address.
-
getIpv4AddressBytes
com.google.protobuf.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:
- The bytes for ipv4Address.
-