Class AzureVmPlatformDetails.Builder

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

public static final class AzureVmPlatformDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<AzureVmPlatformDetails.Builder> implements AzureVmPlatformDetailsOrBuilder
 Azure VM specific details.
 
Protobuf type google.cloud.migrationcenter.v1.AzureVmPlatformDetails
  • 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<AzureVmPlatformDetails.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<AzureVmPlatformDetails.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<AzureVmPlatformDetails.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public AzureVmPlatformDetails.Builder setMachineTypeLabelBytes(com.google.protobuf.ByteString value)
       Azure 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 Azure format.
       
      string location = 2;
      Specified by:
      getLocation in interface AzureVmPlatformDetailsOrBuilder
      Returns:
      The location.
    • getLocationBytes

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

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

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

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

      public String getProvisioningState()
       Azure platform's provisioning state.
       
      string provisioning_state = 3;
      Specified by:
      getProvisioningState in interface AzureVmPlatformDetailsOrBuilder
      Returns:
      The provisioningState.
    • getProvisioningStateBytes

      public com.google.protobuf.ByteString getProvisioningStateBytes()
       Azure platform's provisioning state.
       
      string provisioning_state = 3;
      Specified by:
      getProvisioningStateBytes in interface AzureVmPlatformDetailsOrBuilder
      Returns:
      The bytes for provisioningState.
    • setProvisioningState

      public AzureVmPlatformDetails.Builder setProvisioningState(String value)
       Azure platform's provisioning state.
       
      string provisioning_state = 3;
      Parameters:
      value - The provisioningState to set.
      Returns:
      This builder for chaining.
    • clearProvisioningState

      public AzureVmPlatformDetails.Builder clearProvisioningState()
       Azure platform's provisioning state.
       
      string provisioning_state = 3;
      Returns:
      This builder for chaining.
    • setProvisioningStateBytes

      public AzureVmPlatformDetails.Builder setProvisioningStateBytes(com.google.protobuf.ByteString value)
       Azure platform's provisioning state.
       
      string provisioning_state = 3;
      Parameters:
      value - The bytes for provisioningState to set.
      Returns:
      This builder for chaining.