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

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

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

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

        public IsInstanceUpgradeableResponse.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<IsInstanceUpgradeableResponse.Builder>
        Throws:
        IOException
      • setUpgradeable

        public IsInstanceUpgradeableResponse.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 IsInstanceUpgradeableResponseOrBuilder
        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 IsInstanceUpgradeableResponseOrBuilder
        Returns:
        The bytes for upgradeVersion.
      • setUpgradeVersion

        public IsInstanceUpgradeableResponse.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 IsInstanceUpgradeableResponse.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 IsInstanceUpgradeableResponse.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 IsInstanceUpgradeableResponse.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 IsInstanceUpgradeableResponse.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 IsInstanceUpgradeableResponseOrBuilder
        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 IsInstanceUpgradeableResponseOrBuilder
        Returns:
        The bytes for upgradeImage.
      • setUpgradeImage

        public IsInstanceUpgradeableResponse.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 IsInstanceUpgradeableResponse.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 IsInstanceUpgradeableResponse.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.