public static final class Rollback.Builder extends GeneratedMessageV3.Builder<Rollback.Builder> implements RollbackOrBuilder
Rolls back a Rollout
.
Protobuf type google.events.cloud.deploy.v1.Rollback
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Rollback.BuilderImplements
RollbackOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Rollback.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
build()
public Rollback build()
Returns | |
---|---|
Type | Description |
Rollback |
buildPartial()
public Rollback buildPartial()
Returns | |
---|---|
Type | Description |
Rollback |
clear()
public Rollback.Builder clear()
Returns | |
---|---|
Type | Description |
Rollback.Builder |
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;
Returns | |
---|---|
Type | Description |
Rollback.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Rollback.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Rollback.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
clone()
public Rollback.Builder clone()
Returns | |
---|---|
Type | Description |
Rollback.Builder |
getDefaultInstanceForType()
public Rollback getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Rollback |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for destinationPhase. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Rollback other)
public Rollback.Builder mergeFrom(Rollback other)
Parameter | |
---|---|
Name | Description |
other |
Rollback |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Rollback.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Rollback.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Rollback.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
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;
Parameter | |
---|---|
Name | Description |
value |
String The destinationPhase to set. |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
This builder for chaining. |
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destinationPhase to set. |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Rollback.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Rollback.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Rollback.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Rollback.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Rollback.Builder |