Class AwsEc2PlatformDetails.Builder

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

public static final class AwsEc2PlatformDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<AwsEc2PlatformDetails.Builder> implements AwsEc2PlatformDetailsOrBuilder
 AWS EC2 specific details.
 
Protobuf type google.cloud.migrationcenter.v1.AwsEc2PlatformDetails
  • 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<AwsEc2PlatformDetails.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<AwsEc2PlatformDetails.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<AwsEc2PlatformDetails.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AwsEc2PlatformDetails.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<AwsEc2PlatformDetails.Builder>
      Throws:
      IOException
    • getMachineTypeLabel

      public String getMachineTypeLabel()
       AWS platform's machine type label.
       
      string machine_type_label = 1;
      Specified by:
      getMachineTypeLabel in interface AwsEc2PlatformDetailsOrBuilder
      Returns:
      The machineTypeLabel.
    • getMachineTypeLabelBytes

      public com.google.protobuf.ByteString getMachineTypeLabelBytes()
       AWS platform's machine type label.
       
      string machine_type_label = 1;
      Specified by:
      getMachineTypeLabelBytes in interface AwsEc2PlatformDetailsOrBuilder
      Returns:
      The bytes for machineTypeLabel.
    • setMachineTypeLabel

      public AwsEc2PlatformDetails.Builder setMachineTypeLabel(String value)
       AWS platform's machine type label.
       
      string machine_type_label = 1;
      Parameters:
      value - The machineTypeLabel to set.
      Returns:
      This builder for chaining.
    • clearMachineTypeLabel

      public AwsEc2PlatformDetails.Builder clearMachineTypeLabel()
       AWS platform's machine type label.
       
      string machine_type_label = 1;
      Returns:
      This builder for chaining.
    • setMachineTypeLabelBytes

      public AwsEc2PlatformDetails.Builder setMachineTypeLabelBytes(com.google.protobuf.ByteString value)
       AWS platform's machine type label.
       
      string machine_type_label = 1;
      Parameters:
      value - The bytes for machineTypeLabel to set.
      Returns:
      This builder for chaining.
    • getLocation

      public String getLocation()
       The location of the machine in the AWS format.
       
      string location = 2;
      Specified by:
      getLocation in interface AwsEc2PlatformDetailsOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       The location of the machine in the AWS format.
       
      string location = 2;
      Specified by:
      getLocationBytes in interface AwsEc2PlatformDetailsOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public AwsEc2PlatformDetails.Builder setLocation(String value)
       The location of the machine in the AWS format.
       
      string location = 2;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public AwsEc2PlatformDetails.Builder clearLocation()
       The location of the machine in the AWS format.
       
      string location = 2;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public AwsEc2PlatformDetails.Builder setLocationBytes(com.google.protobuf.ByteString value)
       The location of the machine in the AWS format.
       
      string location = 2;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.