public final class RepairMode extends GeneratedMessageV3 implements RepairModeOrBuilder
Configuration of the repair action.
Protobuf type google.cloud.deploy.v1.RepairMode
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
RETRY_FIELD_NUMBER
public static final int RETRY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ROLLBACK_FIELD_NUMBER
public static final int ROLLBACK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RepairMode getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RepairMode.Builder newBuilder()
newBuilder(RepairMode prototype)
public static RepairMode.Builder newBuilder(RepairMode prototype)
public static RepairMode parseDelimitedFrom(InputStream input)
public static RepairMode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RepairMode parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RepairMode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RepairMode parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RepairMode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RepairMode parseFrom(CodedInputStream input)
public static RepairMode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RepairMode parseFrom(InputStream input)
public static RepairMode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RepairMode parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RepairMode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RepairMode> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RepairMode getDefaultInstanceForType()
getModeCase()
public RepairMode.ModeCase getModeCase()
getParserForType()
public Parser<RepairMode> getParserForType()
Overrides
getRetry()
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Retry |
The retry.
|
getRetryOrBuilder()
public RetryOrBuilder getRetryOrBuilder()
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
getRollback()
public Rollback getRollback()
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Rollback |
The rollback.
|
getRollbackOrBuilder()
public RollbackOrBuilder getRollbackOrBuilder()
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasRetry()
public boolean hasRetry()
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the retry field is set.
|
hasRollback()
public boolean hasRollback()
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the rollback field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RepairMode.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RepairMode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RepairMode.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides