Class Upgrade (0.2.0)

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

Implements

UpgradeOrBuilder

Static Fields

INPUT_VARIABLES_FIELD_NUMBER

public static final int INPUT_VARIABLES_FIELD_NUMBER
Field Value
Type Description
int

RELEASE_FIELD_NUMBER

public static final int RELEASE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Upgrade getDefaultInstance()
Returns
Type Description
Upgrade

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Upgrade.Builder newBuilder()
Returns
Type Description
Upgrade.Builder

newBuilder(Upgrade prototype)

public static Upgrade.Builder newBuilder(Upgrade prototype)
Parameter
Name Description
prototype Upgrade
Returns
Type Description
Upgrade.Builder

parseDelimitedFrom(InputStream input)

public static Upgrade parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Upgrade
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Upgrade parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Upgrade
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Upgrade parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Upgrade
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Upgrade parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Upgrade
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Upgrade parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Upgrade
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Upgrade parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Upgrade
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Upgrade parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Upgrade
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Upgrade parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Upgrade
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Upgrade parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Upgrade
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Upgrade parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Upgrade
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Upgrade parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Upgrade
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Upgrade parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Upgrade
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Upgrade> parser()
Returns
Type Description
Parser<Upgrade>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Upgrade getDefaultInstanceForType()
Returns
Type Description
Upgrade

getInputVariables(int index)

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
Returns
Type Description
UnitVariable

getInputVariablesCount()

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

getInputVariablesList()

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];

Returns
Type Description
List<UnitVariable>

getInputVariablesOrBuilder(int index)

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
Returns
Type Description
UnitVariableOrBuilder

getInputVariablesOrBuilderList()

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>

getParserForType()

public Parser<Upgrade> getParserForType()
Returns
Type Description
Parser<Upgrade>
Overrides

getRelease()

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.

getReleaseBytes()

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Upgrade.Builder newBuilderForType()
Returns
Type Description
Upgrade.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Upgrade.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Upgrade.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Upgrade.Builder toBuilder()
Returns
Type Description
Upgrade.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException