Class RollbackTargetConfig (1.46.0)

public final class RollbackTargetConfig extends GeneratedMessageV3 implements RollbackTargetConfigOrBuilder

Configs for the Rollback rollout.

Protobuf type google.cloud.deploy.v1.RollbackTargetConfig

Static Fields

ROLLOUT_FIELD_NUMBER

public static final int ROLLOUT_FIELD_NUMBER
Field Value
Type Description
int

STARTING_PHASE_ID_FIELD_NUMBER

public static final int STARTING_PHASE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RollbackTargetConfig getDefaultInstance()
Returns
Type Description
RollbackTargetConfig

getDescriptor()

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

newBuilder()

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

newBuilder(RollbackTargetConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RollbackTargetConfig getDefaultInstanceForType()
Returns
Type Description
RollbackTargetConfig

getParserForType()

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

getRollout()

public Rollout getRollout()

Optional. The rollback Rollout to create.

.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Rollout

The rollout.

getRolloutOrBuilder()

public RolloutOrBuilder getRolloutOrBuilder()

Optional. The rollback Rollout to create.

.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RolloutOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartingPhaseId()

public String getStartingPhaseId()

Optional. The starting phase ID for the Rollout. If unspecified, the Rollout will start in the stable phase.

string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The startingPhaseId.

getStartingPhaseIdBytes()

public ByteString getStartingPhaseIdBytes()

Optional. The starting phase ID for the Rollout. If unspecified, the Rollout will start in the stable phase.

string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for startingPhaseId.

hasRollout()

public boolean hasRollout()

Optional. The rollback Rollout to create.

.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rollout field is set.

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 RollbackTargetConfig.Builder newBuilderForType()
Returns
Type Description
RollbackTargetConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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