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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Hardware.MachineInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Hardware.MachineInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Hardware.MachineInfo.Builder>
    • getDefaultInstanceForType

      public Hardware.MachineInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Hardware.MachineInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Hardware.MachineInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Hardware.MachineInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Hardware.MachineInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Hardware.MachineInfo.Builder>
      Throws:
      IOException
    • getServiceTag

      public String getServiceTag()
       Output only. Machine service tag.
       
      string service_tag = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceTag in interface Hardware.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:
      getServiceTagBytes in interface Hardware.MachineInfoOrBuilder
      Returns:
      The bytes for serviceTag.
    • setServiceTag

      public Hardware.MachineInfo.Builder setServiceTag(String value)
       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

      public Hardware.MachineInfo.Builder clearServiceTag()
       Output only. Machine service tag.
       
      string service_tag = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setServiceTagBytes

      public Hardware.MachineInfo.Builder setServiceTagBytes(com.google.protobuf.ByteString value)
       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

      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];
      Specified by:
      getMacAddressesList in interface Hardware.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:
      getMacAddressesCount in interface Hardware.MachineInfoOrBuilder
    • getMacAddresses

      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];
      Specified by:
      getMacAddresses in interface Hardware.MachineInfoOrBuilder
    • setMacAddresses

      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];
    • 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

      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];
    • addMacAddresses

      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];
    • addMacAddresses

      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];
    • 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

      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];
    • removeMacAddresses

      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];
    • getMacAddressesBuilder

      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];
    • getMacAddressesOrBuilder

      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];
      Specified by:
      getMacAddressesOrBuilder in interface Hardware.MachineInfoOrBuilder
    • 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];
      Specified by:
      getMacAddressesOrBuilderList in interface Hardware.MachineInfoOrBuilder
    • 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];
    • addMacAddressesBuilder

      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];
    • 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];
    • getName

      public String getName()
       Output only. Machine name.
       
      string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface Hardware.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:
      getNameBytes in interface Hardware.MachineInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Hardware.MachineInfo.Builder setName(String value)
       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

      public Hardware.MachineInfo.Builder clearName()
       Output only. Machine name.
       
      string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Hardware.MachineInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       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

      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];
      Specified by:
      getDiskInfosList in interface Hardware.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:
      getDiskInfosCount in interface Hardware.MachineInfoOrBuilder
    • getDiskInfos

      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];
      Specified by:
      getDiskInfos in interface Hardware.MachineInfoOrBuilder
    • setDiskInfos

      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];
    • 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

      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];
    • addDiskInfos

      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];
    • addDiskInfos

      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];
    • 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

      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];
    • 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];
    • removeDiskInfos

      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];
    • getDiskInfosBuilder

      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];
    • getDiskInfosOrBuilder

      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];
      Specified by:
      getDiskInfosOrBuilder in interface Hardware.MachineInfoOrBuilder
    • 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];
      Specified by:
      getDiskInfosOrBuilderList in interface Hardware.MachineInfoOrBuilder
    • 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];
    • addDiskInfosBuilder

      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];
    • 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];