Class AvailableUpdates.Builder

  • All Implemented Interfaces:
    AvailableUpdatesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    AvailableUpdates

    public static final class AvailableUpdates.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>
    implements AvailableUpdatesOrBuilder
     Holds informatiom about the available versions for upgrade.
     
    Protobuf type google.cloud.vmmigration.v1.AvailableUpdates
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>
      • clear

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

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

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

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

        public AvailableUpdates.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>
      • setField

        public AvailableUpdates.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>
      • clearField

        public AvailableUpdates.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>
      • clearOneof

        public AvailableUpdates.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>
      • setRepeatedField

        public AvailableUpdates.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>
      • addRepeatedField

        public AvailableUpdates.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>
      • mergeFrom

        public AvailableUpdates.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<AvailableUpdates.Builder>
      • isInitialized

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

        public AvailableUpdates.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<AvailableUpdates.Builder>
        Throws:
        IOException
      • hasNewDeployableAppliance

        public boolean hasNewDeployableAppliance()
         The newest deployable version of the appliance.
         The current appliance can't be updated into this version, and the owner
         must manually deploy this OVA to a new appliance.
         
        .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
        Specified by:
        hasNewDeployableAppliance in interface AvailableUpdatesOrBuilder
        Returns:
        Whether the newDeployableAppliance field is set.
      • getNewDeployableAppliance

        public ApplianceVersion getNewDeployableAppliance()
         The newest deployable version of the appliance.
         The current appliance can't be updated into this version, and the owner
         must manually deploy this OVA to a new appliance.
         
        .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
        Specified by:
        getNewDeployableAppliance in interface AvailableUpdatesOrBuilder
        Returns:
        The newDeployableAppliance.
      • setNewDeployableAppliance

        public AvailableUpdates.Builder setNewDeployableAppliance​(ApplianceVersion value)
         The newest deployable version of the appliance.
         The current appliance can't be updated into this version, and the owner
         must manually deploy this OVA to a new appliance.
         
        .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      • setNewDeployableAppliance

        public AvailableUpdates.Builder setNewDeployableAppliance​(ApplianceVersion.Builder builderForValue)
         The newest deployable version of the appliance.
         The current appliance can't be updated into this version, and the owner
         must manually deploy this OVA to a new appliance.
         
        .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      • mergeNewDeployableAppliance

        public AvailableUpdates.Builder mergeNewDeployableAppliance​(ApplianceVersion value)
         The newest deployable version of the appliance.
         The current appliance can't be updated into this version, and the owner
         must manually deploy this OVA to a new appliance.
         
        .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      • clearNewDeployableAppliance

        public AvailableUpdates.Builder clearNewDeployableAppliance()
         The newest deployable version of the appliance.
         The current appliance can't be updated into this version, and the owner
         must manually deploy this OVA to a new appliance.
         
        .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      • getNewDeployableApplianceBuilder

        public ApplianceVersion.Builder getNewDeployableApplianceBuilder()
         The newest deployable version of the appliance.
         The current appliance can't be updated into this version, and the owner
         must manually deploy this OVA to a new appliance.
         
        .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      • getNewDeployableApplianceOrBuilder

        public ApplianceVersionOrBuilder getNewDeployableApplianceOrBuilder()
         The newest deployable version of the appliance.
         The current appliance can't be updated into this version, and the owner
         must manually deploy this OVA to a new appliance.
         
        .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
        Specified by:
        getNewDeployableApplianceOrBuilder in interface AvailableUpdatesOrBuilder
      • hasInPlaceUpdate

        public boolean hasInPlaceUpdate()
         The latest version for in place update.
         The current appliance can be updated to this version using the API or m4c
         CLI.
         
        .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;
        Specified by:
        hasInPlaceUpdate in interface AvailableUpdatesOrBuilder
        Returns:
        Whether the inPlaceUpdate field is set.
      • getInPlaceUpdate

        public ApplianceVersion getInPlaceUpdate()
         The latest version for in place update.
         The current appliance can be updated to this version using the API or m4c
         CLI.
         
        .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;
        Specified by:
        getInPlaceUpdate in interface AvailableUpdatesOrBuilder
        Returns:
        The inPlaceUpdate.
      • setInPlaceUpdate

        public AvailableUpdates.Builder setInPlaceUpdate​(ApplianceVersion value)
         The latest version for in place update.
         The current appliance can be updated to this version using the API or m4c
         CLI.
         
        .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;
      • setInPlaceUpdate

        public AvailableUpdates.Builder setInPlaceUpdate​(ApplianceVersion.Builder builderForValue)
         The latest version for in place update.
         The current appliance can be updated to this version using the API or m4c
         CLI.
         
        .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;
      • mergeInPlaceUpdate

        public AvailableUpdates.Builder mergeInPlaceUpdate​(ApplianceVersion value)
         The latest version for in place update.
         The current appliance can be updated to this version using the API or m4c
         CLI.
         
        .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;
      • clearInPlaceUpdate

        public AvailableUpdates.Builder clearInPlaceUpdate()
         The latest version for in place update.
         The current appliance can be updated to this version using the API or m4c
         CLI.
         
        .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;
      • getInPlaceUpdateBuilder

        public ApplianceVersion.Builder getInPlaceUpdateBuilder()
         The latest version for in place update.
         The current appliance can be updated to this version using the API or m4c
         CLI.
         
        .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;
      • setUnknownFields

        public final AvailableUpdates.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>
      • mergeUnknownFields

        public final AvailableUpdates.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AvailableUpdates.Builder>