Class Hardware.MachineInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Hardware.MachineInfo.Builder>
com.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfo.Builder
- All Implemented Interfaces:
Hardware.MachineInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Hardware.MachineInfo
public static final class Hardware.MachineInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Hardware.MachineInfo.Builder>
implements Hardware.MachineInfoOrBuilder
Information about individual machines vendors will provide during turnup.Protobuf type
google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllDiskInfos(Iterable<? extends Hardware.DiskInfo> values) Output only.addAllMacAddresses(Iterable<? extends Hardware.MacAddress> values) Output only.addDiskInfos(int index, Hardware.DiskInfo value) Output only.addDiskInfos(int index, Hardware.DiskInfo.Builder builderForValue) Output only.addDiskInfos(Hardware.DiskInfo value) Output only.addDiskInfos(Hardware.DiskInfo.Builder builderForValue) Output only.Output only.addDiskInfosBuilder(int index) Output only.addMacAddresses(int index, Hardware.MacAddress value) Output only.addMacAddresses(int index, Hardware.MacAddress.Builder builderForValue) Output only.Output only.addMacAddresses(Hardware.MacAddress.Builder builderForValue) Output only.Output only.addMacAddressesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDiskInfos(int index) Output only.getDiskInfosBuilder(int index) Output only.Output only.intOutput only.Output only.getDiskInfosOrBuilder(int index) Output only.List<? extends Hardware.DiskInfoOrBuilder>Output only.getMacAddresses(int index) Output only.getMacAddressesBuilder(int index) Output only.Output only.intOutput only.Output only.getMacAddressesOrBuilder(int index) Output only.List<? extends Hardware.MacAddressOrBuilder>Output only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Hardware.MachineInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDiskInfos(int index) Output only.removeMacAddresses(int index) Output only.setDiskInfos(int index, Hardware.DiskInfo value) Output only.setDiskInfos(int index, Hardware.DiskInfo.Builder builderForValue) Output only.setMacAddresses(int index, Hardware.MacAddress value) Output only.setMacAddresses(int index, Hardware.MacAddress.Builder builderForValue) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setServiceTag(String value) Output only.setServiceTagBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Hardware.MachineInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Hardware.MachineInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Hardware.MachineInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Hardware.MachineInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Hardware.MachineInfo.Builder>
-
mergeFrom
public Hardware.MachineInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Hardware.MachineInfo.Builder>- Throws:
IOException
-
getServiceTag
Output only. Machine service tag.
string service_tag = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceTagin interfaceHardware.MachineInfoOrBuilder- Returns:
- The serviceTag.
-
getServiceTagBytes
public com.google.protobuf.ByteString getServiceTagBytes()Output only. Machine service tag.
string service_tag = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceTagBytesin interfaceHardware.MachineInfoOrBuilder- Returns:
- The bytes for serviceTag.
-
setServiceTag
Output only. Machine service tag.
string service_tag = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The serviceTag to set.- Returns:
- This builder for chaining.
-
clearServiceTag
Output only. Machine service tag.
string service_tag = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setServiceTagBytes
Output only. Machine service tag.
string service_tag = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for serviceTag to set.- Returns:
- This builder for chaining.
-
getMacAddressesList
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMacAddressesListin interfaceHardware.MachineInfoOrBuilder
-
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];- Specified by:
getMacAddressesCountin interfaceHardware.MachineInfoOrBuilder
-
getMacAddresses
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMacAddressesin interfaceHardware.MachineInfoOrBuilder
-
setMacAddresses
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMacAddresses
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]; -
addMacAddresses
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addMacAddresses
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addMacAddresses
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addMacAddresses
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]; -
addAllMacAddresses
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]; -
clearMacAddresses
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeMacAddresses
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMacAddressesBuilder
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMacAddressesOrBuilder
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMacAddressesOrBuilderin interfaceHardware.MachineInfoOrBuilder
-
getMacAddressesOrBuilderList
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMacAddressesOrBuilderListin interfaceHardware.MachineInfoOrBuilder
-
addMacAddressesBuilder
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addMacAddressesBuilder
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMacAddressesBuilderList
Output only. Each associated MAC address.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getName
Output only. Machine name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceHardware.MachineInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Machine name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceHardware.MachineInfoOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Machine name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Machine name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Machine name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDiskInfosList
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDiskInfosListin interfaceHardware.MachineInfoOrBuilder
-
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];- Specified by:
getDiskInfosCountin interfaceHardware.MachineInfoOrBuilder
-
getDiskInfos
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDiskInfosin interfaceHardware.MachineInfoOrBuilder
-
setDiskInfos
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDiskInfos
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]; -
addDiskInfos
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addDiskInfos
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addDiskInfos
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addDiskInfos
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]; -
addAllDiskInfos
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDiskInfos
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeDiskInfos
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDiskInfosBuilder
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDiskInfosOrBuilder
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDiskInfosOrBuilderin interfaceHardware.MachineInfoOrBuilder
-
getDiskInfosOrBuilderList
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDiskInfosOrBuilderListin interfaceHardware.MachineInfoOrBuilder
-
addDiskInfosBuilder
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addDiskInfosBuilder
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDiskInfosBuilderList
Output only. Information for each disk installed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-