Class Upgrade (0.2.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
public final class Upgrade extends GeneratedMessageV3 implements UpgradeOrBuilder
Upgrade is the unit operation that upgrades a provisioned unit, which may
also include the underlying resources represented by a Unit. Can only execute
if the Unit is currently provisioned.
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int INPUT_VARIABLES_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RELEASE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Upgrade getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Upgrade . Builder newBuilder ()
public static Upgrade . Builder newBuilder ( Upgrade prototype )
Parameter
Name
Description
prototype
Upgrade
public static Upgrade parseDelimitedFrom ( InputStream input )
public static Upgrade parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Upgrade parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static Upgrade parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Upgrade parseFrom ( ByteString data )
public static Upgrade parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Upgrade parseFrom ( CodedInputStream input )
public static Upgrade parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Upgrade parseFrom ( InputStream input )
public static Upgrade parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Upgrade parseFrom ( ByteBuffer data )
public static Upgrade parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Upgrade> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Upgrade getDefaultInstanceForType ()
public UnitVariable getInputVariables ( int index )
Optional. Set of input variables. Maximum 100. (optional)
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
public int getInputVariablesCount ()
Optional. Set of input variables. Maximum 100. (optional)
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
public List<UnitVariable> getInputVariablesList ()
Optional. Set of input variables. Maximum 100. (optional)
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
public UnitVariableOrBuilder getInputVariablesOrBuilder ( int index )
Optional. Set of input variables. Maximum 100. (optional)
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
public List <? extends UnitVariableOrBuilder > getInputVariablesOrBuilderList ()
Optional. Set of input variables. Maximum 100. (optional)
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
List <? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableOrBuilder >
public Parser<Upgrade> getParserForType ()
Overrides
public String getRelease ()
Optional. Reference to the Release object to use for the Unit. (optional).
string release = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The release.
public ByteString getReleaseBytes ()
Optional. Reference to the Release object to use for the Unit. (optional).
string release = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for release.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Upgrade . Builder newBuilderForType ()
protected Upgrade . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Upgrade . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,[]]