public static final class Hardware.MacAddress extends GeneratedMessageV3 implements Hardware.MacAddressOrBuilder
Message to describe the MAC address of a machine.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Hardware.MacAddressImplements
Hardware.MacAddressOrBuilderStatic Fields
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IPV4_ADDRESS_FIELD_NUMBER
public static final int IPV4_ADDRESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Hardware.MacAddress getDefaultInstance()
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Hardware.MacAddress.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Hardware.MacAddress.Builder |
newBuilder(Hardware.MacAddress prototype)
public static Hardware.MacAddress.Builder newBuilder(Hardware.MacAddress prototype)
Parameter | |
---|---|
Name | Description |
prototype |
Hardware.MacAddress |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress.Builder |
parseDelimitedFrom(InputStream input)
public static Hardware.MacAddress parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Hardware.MacAddress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Hardware.MacAddress parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Hardware.MacAddress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Hardware.MacAddress parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Hardware.MacAddress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Hardware.MacAddress parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Hardware.MacAddress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Hardware.MacAddress parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Hardware.MacAddress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Hardware.MacAddress parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Hardware.MacAddress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Hardware.MacAddress> parser()
Returns | |
---|---|
Type | Description |
Parser<MacAddress> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getAddress()
public String getAddress()
Output only. Address string.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The address. |
getAddressBytes()
public ByteString getAddressBytes()
Output only. Address string.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for address. |
getDefaultInstanceForType()
public Hardware.MacAddress getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Hardware.MacAddress |
getIpv4Address()
public 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 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. |
getParserForType()
public Parser<Hardware.MacAddress> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<MacAddress> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getType()
public 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 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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Hardware.MacAddress.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Hardware.MacAddress.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Hardware.MacAddress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
Hardware.MacAddress.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Hardware.MacAddress.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Hardware.MacAddress.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |