public static final class Hardware.MacAddress.Builder extends GeneratedMessageV3.Builder<Hardware.MacAddress.Builder> implements Hardware.MacAddressOrBuilder
Message to describe the MAC address of a machine.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Hardware.MacAddress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Hardware.MacAddress build()
buildPartial()
public Hardware.MacAddress buildPartial()
clear()
public Hardware.MacAddress.Builder clear()
Overrides
clearAddress()
public Hardware.MacAddress.Builder clearAddress()
Output only. Address string.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public Hardware.MacAddress.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Hardware.MacAddress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public Hardware.MacAddress.Builder clearType()
Output only. Address type for this MAC address.
.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress.AddressType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public Hardware.MacAddress.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Hardware.MacAddress other)
public Hardware.MacAddress.Builder mergeFrom(Hardware.MacAddress other)
public Hardware.MacAddress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Hardware.MacAddress.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Hardware.MacAddress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAddress(String value)
public Hardware.MacAddress.Builder setAddress(String value)
Output only. Address string.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
String
The address to set.
|
setAddressBytes(ByteString value)
public Hardware.MacAddress.Builder setAddressBytes(ByteString value)
Output only. Address string.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
ByteString
The bytes for address to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Hardware.MacAddress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Hardware.MacAddress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setType(Hardware.MacAddress.AddressType value)
public Hardware.MacAddress.Builder setType(Hardware.MacAddress.AddressType value)
Output only. Address type for this MAC address.
.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress.AddressType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setTypeValue(int value)
public Hardware.MacAddress.Builder setTypeValue(int value)
Output only. Address type for this MAC address.
.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress.AddressType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Hardware.MacAddress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides