public static final class Rollback.Builder extends GeneratedMessageV3.Builder<Rollback.Builder> implements RollbackOrBuilder
Rolls back a Rollout
.
Protobuf type google.cloud.deploy.v1.Rollback
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Rollback.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Rollback buildPartial()
clear()
public Rollback.Builder clear()
Overrides
clearDestinationPhase()
public Rollback.Builder clearDestinationPhase()
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public Rollback.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Rollback.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Rollback.Builder clone()
Overrides
getDefaultInstanceForType()
public Rollback getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDestinationPhase()
public String getDestinationPhase()
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The destinationPhase.
|
getDestinationPhaseBytes()
public ByteString getDestinationPhaseBytes()
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for destinationPhase.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Rollback other)
public Rollback.Builder mergeFrom(Rollback other)
public Rollback.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Rollback.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Rollback.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDestinationPhase(String value)
public Rollback.Builder setDestinationPhase(String value)
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The destinationPhase to set.
|
setDestinationPhaseBytes(ByteString value)
public Rollback.Builder setDestinationPhaseBytes(ByteString value)
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for destinationPhase to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Rollback.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Rollback.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Rollback.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides