Class Hardware.MachineInfo.Builder (0.10.0)

public static final class Hardware.MachineInfo.Builder extends GeneratedMessageV3.Builder<Hardware.MachineInfo.Builder> implements Hardware.MachineInfoOrBuilder

Information about individual machines vendors will provide during turnup.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDiskInfos(Iterable<? extends Hardware.DiskInfo> values)

public Hardware.MachineInfo.Builder addAllDiskInfos(Iterable<? extends Hardware.DiskInfo> values)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo>
Returns
Type Description
Hardware.MachineInfo.Builder

addAllMacAddresses(Iterable<? extends Hardware.MacAddress> values)

public Hardware.MachineInfo.Builder addAllMacAddresses(Iterable<? extends Hardware.MacAddress> values)

Output only. Each associated MAC address.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress>
Returns
Type Description
Hardware.MachineInfo.Builder

addDiskInfos(Hardware.DiskInfo value)

public Hardware.MachineInfo.Builder addDiskInfos(Hardware.DiskInfo value)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Hardware.DiskInfo
Returns
Type Description
Hardware.MachineInfo.Builder

addDiskInfos(Hardware.DiskInfo.Builder builderForValue)

public Hardware.MachineInfo.Builder addDiskInfos(Hardware.DiskInfo.Builder builderForValue)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Hardware.DiskInfo.Builder
Returns
Type Description
Hardware.MachineInfo.Builder

addDiskInfos(int index, Hardware.DiskInfo value)

public Hardware.MachineInfo.Builder addDiskInfos(int index, Hardware.DiskInfo value)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Hardware.DiskInfo
Returns
Type Description
Hardware.MachineInfo.Builder

addDiskInfos(int index, Hardware.DiskInfo.Builder builderForValue)

public Hardware.MachineInfo.Builder addDiskInfos(int index, Hardware.DiskInfo.Builder builderForValue)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Hardware.DiskInfo.Builder
Returns
Type Description
Hardware.MachineInfo.Builder

addDiskInfosBuilder()

public Hardware.DiskInfo.Builder addDiskInfosBuilder()

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Hardware.DiskInfo.Builder

addDiskInfosBuilder(int index)

public Hardware.DiskInfo.Builder addDiskInfosBuilder(int index)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Hardware.DiskInfo.Builder

addMacAddresses(Hardware.MacAddress value)

public Hardware.MachineInfo.Builder addMacAddresses(Hardware.MacAddress value)

Output only. Each associated MAC address.

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

Parameter
Name Description
value Hardware.MacAddress
Returns
Type Description
Hardware.MachineInfo.Builder

addMacAddresses(Hardware.MacAddress.Builder builderForValue)

public Hardware.MachineInfo.Builder addMacAddresses(Hardware.MacAddress.Builder builderForValue)

Output only. Each associated MAC address.

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

Parameter
Name Description
builderForValue Hardware.MacAddress.Builder
Returns
Type Description
Hardware.MachineInfo.Builder

addMacAddresses(int index, Hardware.MacAddress value)

public Hardware.MachineInfo.Builder addMacAddresses(int index, Hardware.MacAddress value)

Output only. Each associated MAC address.

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

Parameters
Name Description
index int
value Hardware.MacAddress
Returns
Type Description
Hardware.MachineInfo.Builder

addMacAddresses(int index, Hardware.MacAddress.Builder builderForValue)

public Hardware.MachineInfo.Builder addMacAddresses(int index, Hardware.MacAddress.Builder builderForValue)

Output only. Each associated MAC address.

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

Parameters
Name Description
index int
builderForValue Hardware.MacAddress.Builder
Returns
Type Description
Hardware.MachineInfo.Builder

addMacAddressesBuilder()

public Hardware.MacAddress.Builder addMacAddressesBuilder()

Output only. Each associated MAC address.

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

Returns
Type Description
Hardware.MacAddress.Builder

addMacAddressesBuilder(int index)

public Hardware.MacAddress.Builder addMacAddressesBuilder(int index)

Output only. Each associated MAC address.

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

Parameter
Name Description
index int
Returns
Type Description
Hardware.MacAddress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Hardware.MachineInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides

build()

public Hardware.MachineInfo build()
Returns
Type Description
Hardware.MachineInfo

buildPartial()

public Hardware.MachineInfo buildPartial()
Returns
Type Description
Hardware.MachineInfo

clear()

public Hardware.MachineInfo.Builder clear()
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides

clearDiskInfos()

public Hardware.MachineInfo.Builder clearDiskInfos()

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Hardware.MachineInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public Hardware.MachineInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides

clearMacAddresses()

public Hardware.MachineInfo.Builder clearMacAddresses()

Output only. Each associated MAC address.

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

Returns
Type Description
Hardware.MachineInfo.Builder

clearName()

public Hardware.MachineInfo.Builder clearName()

Output only. Machine name.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Hardware.MachineInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Hardware.MachineInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides

clearServiceTag()

public Hardware.MachineInfo.Builder clearServiceTag()

Output only. Machine service tag.

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

Returns
Type Description
Hardware.MachineInfo.Builder

This builder for chaining.

clone()

public Hardware.MachineInfo.Builder clone()
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides

getDefaultInstanceForType()

public Hardware.MachineInfo getDefaultInstanceForType()
Returns
Type Description
Hardware.MachineInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDiskInfos(int index)

public Hardware.DiskInfo getDiskInfos(int index)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Hardware.DiskInfo

getDiskInfosBuilder(int index)

public Hardware.DiskInfo.Builder getDiskInfosBuilder(int index)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Hardware.DiskInfo.Builder

getDiskInfosBuilderList()

public List<Hardware.DiskInfo.Builder> getDiskInfosBuilderList()

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getDiskInfosCount()

public int getDiskInfosCount()

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDiskInfosList()

public List<Hardware.DiskInfo> getDiskInfosList()

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DiskInfo>

getDiskInfosOrBuilder(int index)

public Hardware.DiskInfoOrBuilder getDiskInfosOrBuilder(int index)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Hardware.DiskInfoOrBuilder

getDiskInfosOrBuilderList()

public List<? extends Hardware.DiskInfoOrBuilder> getDiskInfosOrBuilderList()

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfoOrBuilder>

getMacAddresses(int index)

public Hardware.MacAddress getMacAddresses(int index)

Output only. Each associated MAC address.

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

Parameter
Name Description
index int
Returns
Type Description
Hardware.MacAddress

getMacAddressesBuilder(int index)

public Hardware.MacAddress.Builder getMacAddressesBuilder(int index)

Output only. Each associated MAC address.

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

Parameter
Name Description
index int
Returns
Type Description
Hardware.MacAddress.Builder

getMacAddressesBuilderList()

public List<Hardware.MacAddress.Builder> getMacAddressesBuilderList()

Output only. Each associated MAC address.

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

Returns
Type Description
List<Builder>

getMacAddressesCount()

public int getMacAddressesCount()

Output only. Each associated MAC address.

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

Returns
Type Description
int

getMacAddressesList()

public List<Hardware.MacAddress> getMacAddressesList()

Output only. Each associated MAC address.

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

Returns
Type Description
List<MacAddress>

getMacAddressesOrBuilder(int index)

public Hardware.MacAddressOrBuilder getMacAddressesOrBuilder(int index)

Output only. Each associated MAC address.

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

Parameter
Name Description
index int
Returns
Type Description
Hardware.MacAddressOrBuilder

getMacAddressesOrBuilderList()

public List<? extends Hardware.MacAddressOrBuilder> getMacAddressesOrBuilderList()

Output only. Each associated MAC address.

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

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddressOrBuilder>

getName()

public String getName()

Output only. Machine name.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Machine name.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getServiceTag()

public String getServiceTag()

Output only. Machine service tag.

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

Returns
Type Description
String

The serviceTag.

getServiceTagBytes()

public ByteString getServiceTagBytes()

Output only. Machine service tag.

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

Returns
Type Description
ByteString

The bytes for serviceTag.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Hardware.MachineInfo other)

public Hardware.MachineInfo.Builder mergeFrom(Hardware.MachineInfo other)
Parameter
Name Description
other Hardware.MachineInfo
Returns
Type Description
Hardware.MachineInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Hardware.MachineInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Hardware.MachineInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Hardware.MachineInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides

removeDiskInfos(int index)

public Hardware.MachineInfo.Builder removeDiskInfos(int index)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Hardware.MachineInfo.Builder

removeMacAddresses(int index)

public Hardware.MachineInfo.Builder removeMacAddresses(int index)

Output only. Each associated MAC address.

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

Parameter
Name Description
index int
Returns
Type Description
Hardware.MachineInfo.Builder

setDiskInfos(int index, Hardware.DiskInfo value)

public Hardware.MachineInfo.Builder setDiskInfos(int index, Hardware.DiskInfo value)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Hardware.DiskInfo
Returns
Type Description
Hardware.MachineInfo.Builder

setDiskInfos(int index, Hardware.DiskInfo.Builder builderForValue)

public Hardware.MachineInfo.Builder setDiskInfos(int index, Hardware.DiskInfo.Builder builderForValue)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Hardware.DiskInfo.Builder
Returns
Type Description
Hardware.MachineInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Hardware.MachineInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides

setMacAddresses(int index, Hardware.MacAddress value)

public Hardware.MachineInfo.Builder setMacAddresses(int index, Hardware.MacAddress value)

Output only. Each associated MAC address.

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

Parameters
Name Description
index int
value Hardware.MacAddress
Returns
Type Description
Hardware.MachineInfo.Builder

setMacAddresses(int index, Hardware.MacAddress.Builder builderForValue)

public Hardware.MachineInfo.Builder setMacAddresses(int index, Hardware.MacAddress.Builder builderForValue)

Output only. Each associated MAC address.

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

Parameters
Name Description
index int
builderForValue Hardware.MacAddress.Builder
Returns
Type Description
Hardware.MachineInfo.Builder

setName(String value)

public Hardware.MachineInfo.Builder setName(String value)

Output only. Machine name.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Hardware.MachineInfo.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Hardware.MachineInfo.Builder setNameBytes(ByteString value)

Output only. Machine name.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Hardware.MachineInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Hardware.MachineInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides

setServiceTag(String value)

public Hardware.MachineInfo.Builder setServiceTag(String value)

Output only. Machine service tag.

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

Parameter
Name Description
value String

The serviceTag to set.

Returns
Type Description
Hardware.MachineInfo.Builder

This builder for chaining.

setServiceTagBytes(ByteString value)

public Hardware.MachineInfo.Builder setServiceTagBytes(ByteString value)

Output only. Machine service tag.

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

Parameter
Name Description
value ByteString

The bytes for serviceTag to set.

Returns
Type Description
Hardware.MachineInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Hardware.MachineInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Hardware.MachineInfo.Builder
Overrides