Class CheckInstanceUpgradabilityResponse.Builder

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

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

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

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

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

        public CheckInstanceUpgradabilityResponse.Builder setUpgradeable​(boolean value)
         If an instance is upgradeable.
         
        bool upgradeable = 1;
        Parameters:
        value - The upgradeable to set.
        Returns:
        This builder for chaining.
      • getUpgradeVersion

        public String getUpgradeVersion()
         The version this instance will be upgraded to if calling the upgrade
         endpoint. This field will only be populated if field upgradeable is true.
         
        string upgrade_version = 2;
        Specified by:
        getUpgradeVersion in interface CheckInstanceUpgradabilityResponseOrBuilder
        Returns:
        The upgradeVersion.
      • getUpgradeVersionBytes

        public com.google.protobuf.ByteString getUpgradeVersionBytes()
         The version this instance will be upgraded to if calling the upgrade
         endpoint. This field will only be populated if field upgradeable is true.
         
        string upgrade_version = 2;
        Specified by:
        getUpgradeVersionBytes in interface CheckInstanceUpgradabilityResponseOrBuilder
        Returns:
        The bytes for upgradeVersion.
      • setUpgradeVersion

        public CheckInstanceUpgradabilityResponse.Builder setUpgradeVersion​(String value)
         The version this instance will be upgraded to if calling the upgrade
         endpoint. This field will only be populated if field upgradeable is true.
         
        string upgrade_version = 2;
        Parameters:
        value - The upgradeVersion to set.
        Returns:
        This builder for chaining.
      • clearUpgradeVersion

        public CheckInstanceUpgradabilityResponse.Builder clearUpgradeVersion()
         The version this instance will be upgraded to if calling the upgrade
         endpoint. This field will only be populated if field upgradeable is true.
         
        string upgrade_version = 2;
        Returns:
        This builder for chaining.
      • setUpgradeVersionBytes

        public CheckInstanceUpgradabilityResponse.Builder setUpgradeVersionBytes​(com.google.protobuf.ByteString value)
         The version this instance will be upgraded to if calling the upgrade
         endpoint. This field will only be populated if field upgradeable is true.
         
        string upgrade_version = 2;
        Parameters:
        value - The bytes for upgradeVersion to set.
        Returns:
        This builder for chaining.
      • setUpgradeInfo

        public CheckInstanceUpgradabilityResponse.Builder setUpgradeInfo​(String value)
         Additional information about upgrade.
         
        string upgrade_info = 3;
        Parameters:
        value - The upgradeInfo to set.
        Returns:
        This builder for chaining.
      • setUpgradeInfoBytes

        public CheckInstanceUpgradabilityResponse.Builder setUpgradeInfoBytes​(com.google.protobuf.ByteString value)
         Additional information about upgrade.
         
        string upgrade_info = 3;
        Parameters:
        value - The bytes for upgradeInfo to set.
        Returns:
        This builder for chaining.
      • getUpgradeImage

        public String getUpgradeImage()
         The new image self link this instance will be upgraded to if calling the
         upgrade endpoint. This field will only be populated if field upgradeable
         is true.
         
        string upgrade_image = 4;
        Specified by:
        getUpgradeImage in interface CheckInstanceUpgradabilityResponseOrBuilder
        Returns:
        The upgradeImage.
      • getUpgradeImageBytes

        public com.google.protobuf.ByteString getUpgradeImageBytes()
         The new image self link this instance will be upgraded to if calling the
         upgrade endpoint. This field will only be populated if field upgradeable
         is true.
         
        string upgrade_image = 4;
        Specified by:
        getUpgradeImageBytes in interface CheckInstanceUpgradabilityResponseOrBuilder
        Returns:
        The bytes for upgradeImage.
      • setUpgradeImage

        public CheckInstanceUpgradabilityResponse.Builder setUpgradeImage​(String value)
         The new image self link this instance will be upgraded to if calling the
         upgrade endpoint. This field will only be populated if field upgradeable
         is true.
         
        string upgrade_image = 4;
        Parameters:
        value - The upgradeImage to set.
        Returns:
        This builder for chaining.
      • clearUpgradeImage

        public CheckInstanceUpgradabilityResponse.Builder clearUpgradeImage()
         The new image self link this instance will be upgraded to if calling the
         upgrade endpoint. This field will only be populated if field upgradeable
         is true.
         
        string upgrade_image = 4;
        Returns:
        This builder for chaining.
      • setUpgradeImageBytes

        public CheckInstanceUpgradabilityResponse.Builder setUpgradeImageBytes​(com.google.protobuf.ByteString value)
         The new image self link this instance will be upgraded to if calling the
         upgrade endpoint. This field will only be populated if field upgradeable
         is true.
         
        string upgrade_image = 4;
        Parameters:
        value - The bytes for upgradeImage to set.
        Returns:
        This builder for chaining.