Class RollbackTargetConfig (1.28.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
TypeDescription
int

STARTING_PHASE_ID_FIELD_NUMBER

public static final int STARTING_PHASE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RollbackTargetConfig getDefaultInstance()
Returns
TypeDescription
RollbackTargetConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RollbackTargetConfig.Builder newBuilder()
Returns
TypeDescription
RollbackTargetConfig.Builder

newBuilder(RollbackTargetConfig prototype)

public static RollbackTargetConfig.Builder newBuilder(RollbackTargetConfig prototype)
Parameter
NameDescription
prototypeRollbackTargetConfig
Returns
TypeDescription
RollbackTargetConfig.Builder

parseDelimitedFrom(InputStream input)

public static RollbackTargetConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RollbackTargetConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RollbackTargetConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RollbackTargetConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RollbackTargetConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RollbackTargetConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RollbackTargetConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RollbackTargetConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RollbackTargetConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RollbackTargetConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RollbackTargetConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RollbackTargetConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RollbackTargetConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RollbackTargetConfig> parser()
Returns
TypeDescription
Parser<RollbackTargetConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RollbackTargetConfig getDefaultInstanceForType()
Returns
TypeDescription
RollbackTargetConfig

getParserForType()

public Parser<RollbackTargetConfig> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RolloutOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the rollout field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RollbackTargetConfig.Builder newBuilderForType()
Returns
TypeDescription
RollbackTargetConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RollbackTargetConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RollbackTargetConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RollbackTargetConfig.Builder toBuilder()
Returns
TypeDescription
RollbackTargetConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException