Class GuestOsDetails.Builder

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

public static final class GuestOsDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<GuestOsDetails.Builder> implements GuestOsDetailsOrBuilder
 Information from Guest-level collections.
 
Protobuf type google.cloud.migrationcenter.v1.GuestOsDetails
  • 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<GuestOsDetails.Builder>
    • clear

      public GuestOsDetails.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<GuestOsDetails.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<GuestOsDetails.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GuestOsDetails.Builder mergeFrom(GuestOsDetails other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GuestOsDetails.Builder>
    • mergeFrom

      public GuestOsDetails.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<GuestOsDetails.Builder>
      Throws:
      IOException
    • getOsName

      public String getOsName()
       The name of the operating system.
       
      string os_name = 1;
      Specified by:
      getOsName in interface GuestOsDetailsOrBuilder
      Returns:
      The osName.
    • getOsNameBytes

      public com.google.protobuf.ByteString getOsNameBytes()
       The name of the operating system.
       
      string os_name = 1;
      Specified by:
      getOsNameBytes in interface GuestOsDetailsOrBuilder
      Returns:
      The bytes for osName.
    • setOsName

      public GuestOsDetails.Builder setOsName(String value)
       The name of the operating system.
       
      string os_name = 1;
      Parameters:
      value - The osName to set.
      Returns:
      This builder for chaining.
    • clearOsName

      public GuestOsDetails.Builder clearOsName()
       The name of the operating system.
       
      string os_name = 1;
      Returns:
      This builder for chaining.
    • setOsNameBytes

      public GuestOsDetails.Builder setOsNameBytes(com.google.protobuf.ByteString value)
       The name of the operating system.
       
      string os_name = 1;
      Parameters:
      value - The bytes for osName to set.
      Returns:
      This builder for chaining.
    • getFamilyValue

      public int getFamilyValue()
       What family the OS belong to, if known.
       
      .google.cloud.migrationcenter.v1.OperatingSystemFamily family = 2;
      Specified by:
      getFamilyValue in interface GuestOsDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for family.
    • setFamilyValue

      public GuestOsDetails.Builder setFamilyValue(int value)
       What family the OS belong to, if known.
       
      .google.cloud.migrationcenter.v1.OperatingSystemFamily family = 2;
      Parameters:
      value - The enum numeric value on the wire for family to set.
      Returns:
      This builder for chaining.
    • getFamily

      public OperatingSystemFamily getFamily()
       What family the OS belong to, if known.
       
      .google.cloud.migrationcenter.v1.OperatingSystemFamily family = 2;
      Specified by:
      getFamily in interface GuestOsDetailsOrBuilder
      Returns:
      The family.
    • setFamily

       What family the OS belong to, if known.
       
      .google.cloud.migrationcenter.v1.OperatingSystemFamily family = 2;
      Parameters:
      value - The family to set.
      Returns:
      This builder for chaining.
    • clearFamily

      public GuestOsDetails.Builder clearFamily()
       What family the OS belong to, if known.
       
      .google.cloud.migrationcenter.v1.OperatingSystemFamily family = 2;
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       The version of the operating system.
       
      string version = 3;
      Specified by:
      getVersion in interface GuestOsDetailsOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       The version of the operating system.
       
      string version = 3;
      Specified by:
      getVersionBytes in interface GuestOsDetailsOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public GuestOsDetails.Builder setVersion(String value)
       The version of the operating system.
       
      string version = 3;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public GuestOsDetails.Builder clearVersion()
       The version of the operating system.
       
      string version = 3;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public GuestOsDetails.Builder setVersionBytes(com.google.protobuf.ByteString value)
       The version of the operating system.
       
      string version = 3;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • hasConfig

      public boolean hasConfig()
       OS and app configuration.
       
      .google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;
      Specified by:
      hasConfig in interface GuestOsDetailsOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public GuestConfigDetails getConfig()
       OS and app configuration.
       
      .google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;
      Specified by:
      getConfig in interface GuestOsDetailsOrBuilder
      Returns:
      The config.
    • setConfig

      public GuestOsDetails.Builder setConfig(GuestConfigDetails value)
       OS and app configuration.
       
      .google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;
    • setConfig

      public GuestOsDetails.Builder setConfig(GuestConfigDetails.Builder builderForValue)
       OS and app configuration.
       
      .google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;
    • mergeConfig

      public GuestOsDetails.Builder mergeConfig(GuestConfigDetails value)
       OS and app configuration.
       
      .google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;
    • clearConfig

      public GuestOsDetails.Builder clearConfig()
       OS and app configuration.
       
      .google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;
    • getConfigBuilder

      public GuestConfigDetails.Builder getConfigBuilder()
       OS and app configuration.
       
      .google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;
    • getConfigOrBuilder

      public GuestConfigDetailsOrBuilder getConfigOrBuilder()
       OS and app configuration.
       
      .google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;
      Specified by:
      getConfigOrBuilder in interface GuestOsDetailsOrBuilder
    • hasRuntime

      public boolean hasRuntime()
       Runtime information.
       
      .google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;
      Specified by:
      hasRuntime in interface GuestOsDetailsOrBuilder
      Returns:
      Whether the runtime field is set.
    • getRuntime

      public GuestRuntimeDetails getRuntime()
       Runtime information.
       
      .google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;
      Specified by:
      getRuntime in interface GuestOsDetailsOrBuilder
      Returns:
      The runtime.
    • setRuntime

      public GuestOsDetails.Builder setRuntime(GuestRuntimeDetails value)
       Runtime information.
       
      .google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;
    • setRuntime

      public GuestOsDetails.Builder setRuntime(GuestRuntimeDetails.Builder builderForValue)
       Runtime information.
       
      .google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;
    • mergeRuntime

      public GuestOsDetails.Builder mergeRuntime(GuestRuntimeDetails value)
       Runtime information.
       
      .google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;
    • clearRuntime

      public GuestOsDetails.Builder clearRuntime()
       Runtime information.
       
      .google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;
    • getRuntimeBuilder

      public GuestRuntimeDetails.Builder getRuntimeBuilder()
       Runtime information.
       
      .google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;
    • getRuntimeOrBuilder

      public GuestRuntimeDetailsOrBuilder getRuntimeOrBuilder()
       Runtime information.
       
      .google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;
      Specified by:
      getRuntimeOrBuilder in interface GuestOsDetailsOrBuilder