Class MachineNetworkDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MachineNetworkDetails.Builder>
com.google.cloud.migrationcenter.v1.MachineNetworkDetails.Builder
All Implemented Interfaces:
MachineNetworkDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MachineNetworkDetails

public static final class MachineNetworkDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<MachineNetworkDetails.Builder> implements MachineNetworkDetailsOrBuilder
 Details of network adapters and settings.
 
Protobuf type google.cloud.migrationcenter.v1.MachineNetworkDetails
  • 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<MachineNetworkDetails.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<MachineNetworkDetails.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<MachineNetworkDetails.Builder>
    • getDefaultInstanceForType

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

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

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

      public MachineNetworkDetails.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<MachineNetworkDetails.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<MachineNetworkDetails.Builder>
    • mergeFrom

      public MachineNetworkDetails.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<MachineNetworkDetails.Builder>
      Throws:
      IOException
    • getPrimaryIpAddress

      public String getPrimaryIpAddress()
       The primary IP address of the machine.
       
      string primary_ip_address = 1;
      Specified by:
      getPrimaryIpAddress in interface MachineNetworkDetailsOrBuilder
      Returns:
      The primaryIpAddress.
    • getPrimaryIpAddressBytes

      public com.google.protobuf.ByteString getPrimaryIpAddressBytes()
       The primary IP address of the machine.
       
      string primary_ip_address = 1;
      Specified by:
      getPrimaryIpAddressBytes in interface MachineNetworkDetailsOrBuilder
      Returns:
      The bytes for primaryIpAddress.
    • setPrimaryIpAddress

      public MachineNetworkDetails.Builder setPrimaryIpAddress(String value)
       The primary IP address of the machine.
       
      string primary_ip_address = 1;
      Parameters:
      value - The primaryIpAddress to set.
      Returns:
      This builder for chaining.
    • clearPrimaryIpAddress

      public MachineNetworkDetails.Builder clearPrimaryIpAddress()
       The primary IP address of the machine.
       
      string primary_ip_address = 1;
      Returns:
      This builder for chaining.
    • setPrimaryIpAddressBytes

      public MachineNetworkDetails.Builder setPrimaryIpAddressBytes(com.google.protobuf.ByteString value)
       The primary IP address of the machine.
       
      string primary_ip_address = 1;
      Parameters:
      value - The bytes for primaryIpAddress to set.
      Returns:
      This builder for chaining.
    • getPublicIpAddress

      public String getPublicIpAddress()
       The public IP address of the machine.
       
      string public_ip_address = 2;
      Specified by:
      getPublicIpAddress in interface MachineNetworkDetailsOrBuilder
      Returns:
      The publicIpAddress.
    • getPublicIpAddressBytes

      public com.google.protobuf.ByteString getPublicIpAddressBytes()
       The public IP address of the machine.
       
      string public_ip_address = 2;
      Specified by:
      getPublicIpAddressBytes in interface MachineNetworkDetailsOrBuilder
      Returns:
      The bytes for publicIpAddress.
    • setPublicIpAddress

      public MachineNetworkDetails.Builder setPublicIpAddress(String value)
       The public IP address of the machine.
       
      string public_ip_address = 2;
      Parameters:
      value - The publicIpAddress to set.
      Returns:
      This builder for chaining.
    • clearPublicIpAddress

      public MachineNetworkDetails.Builder clearPublicIpAddress()
       The public IP address of the machine.
       
      string public_ip_address = 2;
      Returns:
      This builder for chaining.
    • setPublicIpAddressBytes

      public MachineNetworkDetails.Builder setPublicIpAddressBytes(com.google.protobuf.ByteString value)
       The public IP address of the machine.
       
      string public_ip_address = 2;
      Parameters:
      value - The bytes for publicIpAddress to set.
      Returns:
      This builder for chaining.
    • getPrimaryMacAddress

      public String getPrimaryMacAddress()
       MAC address of the machine.
       This property is used to uniqly identify the machine.
       
      string primary_mac_address = 3;
      Specified by:
      getPrimaryMacAddress in interface MachineNetworkDetailsOrBuilder
      Returns:
      The primaryMacAddress.
    • getPrimaryMacAddressBytes

      public com.google.protobuf.ByteString getPrimaryMacAddressBytes()
       MAC address of the machine.
       This property is used to uniqly identify the machine.
       
      string primary_mac_address = 3;
      Specified by:
      getPrimaryMacAddressBytes in interface MachineNetworkDetailsOrBuilder
      Returns:
      The bytes for primaryMacAddress.
    • setPrimaryMacAddress

      public MachineNetworkDetails.Builder setPrimaryMacAddress(String value)
       MAC address of the machine.
       This property is used to uniqly identify the machine.
       
      string primary_mac_address = 3;
      Parameters:
      value - The primaryMacAddress to set.
      Returns:
      This builder for chaining.
    • clearPrimaryMacAddress

      public MachineNetworkDetails.Builder clearPrimaryMacAddress()
       MAC address of the machine.
       This property is used to uniqly identify the machine.
       
      string primary_mac_address = 3;
      Returns:
      This builder for chaining.
    • setPrimaryMacAddressBytes

      public MachineNetworkDetails.Builder setPrimaryMacAddressBytes(com.google.protobuf.ByteString value)
       MAC address of the machine.
       This property is used to uniqly identify the machine.
       
      string primary_mac_address = 3;
      Parameters:
      value - The bytes for primaryMacAddress to set.
      Returns:
      This builder for chaining.
    • hasAdapters

      public boolean hasAdapters()
       List of network adapters.
       
      .google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
      Specified by:
      hasAdapters in interface MachineNetworkDetailsOrBuilder
      Returns:
      Whether the adapters field is set.
    • getAdapters

      public NetworkAdapterList getAdapters()
       List of network adapters.
       
      .google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
      Specified by:
      getAdapters in interface MachineNetworkDetailsOrBuilder
      Returns:
      The adapters.
    • setAdapters

       List of network adapters.
       
      .google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
    • setAdapters

      public MachineNetworkDetails.Builder setAdapters(NetworkAdapterList.Builder builderForValue)
       List of network adapters.
       
      .google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
    • mergeAdapters

      public MachineNetworkDetails.Builder mergeAdapters(NetworkAdapterList value)
       List of network adapters.
       
      .google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
    • clearAdapters

      public MachineNetworkDetails.Builder clearAdapters()
       List of network adapters.
       
      .google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
    • getAdaptersBuilder

      public NetworkAdapterList.Builder getAdaptersBuilder()
       List of network adapters.
       
      .google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
    • getAdaptersOrBuilder

      public NetworkAdapterListOrBuilder getAdaptersOrBuilder()
       List of network adapters.
       
      .google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;
      Specified by:
      getAdaptersOrBuilder in interface MachineNetworkDetailsOrBuilder