Class RollbackTargetResponse.Builder (1.52.0)

public static final class RollbackTargetResponse.Builder extends GeneratedMessageV3.Builder<RollbackTargetResponse.Builder> implements RollbackTargetResponseOrBuilder

The response object from RollbackTarget.

Protobuf type google.cloud.deploy.v1.RollbackTargetResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RollbackTargetResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RollbackTargetResponse.Builder
Overrides

build()

public RollbackTargetResponse build()
Returns
Type Description
RollbackTargetResponse

buildPartial()

public RollbackTargetResponse buildPartial()
Returns
Type Description
RollbackTargetResponse

clear()

public RollbackTargetResponse.Builder clear()
Returns
Type Description
RollbackTargetResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RollbackTargetResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RollbackTargetResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RollbackTargetResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RollbackTargetResponse.Builder
Overrides

clearRollbackConfig()

public RollbackTargetResponse.Builder clearRollbackConfig()

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Returns
Type Description
RollbackTargetResponse.Builder

clone()

public RollbackTargetResponse.Builder clone()
Returns
Type Description
RollbackTargetResponse.Builder
Overrides

getDefaultInstanceForType()

public RollbackTargetResponse getDefaultInstanceForType()
Returns
Type Description
RollbackTargetResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRollbackConfig()

public RollbackTargetConfig getRollbackConfig()

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Returns
Type Description
RollbackTargetConfig

The rollbackConfig.

getRollbackConfigBuilder()

public RollbackTargetConfig.Builder getRollbackConfigBuilder()

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Returns
Type Description
RollbackTargetConfig.Builder

getRollbackConfigOrBuilder()

public RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder()

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Returns
Type Description
RollbackTargetConfigOrBuilder

hasRollbackConfig()

public boolean hasRollbackConfig()

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Returns
Type Description
boolean

Whether the rollbackConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RollbackTargetResponse other)

public RollbackTargetResponse.Builder mergeFrom(RollbackTargetResponse other)
Parameter
Name Description
other RollbackTargetResponse
Returns
Type Description
RollbackTargetResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RollbackTargetResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RollbackTargetResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RollbackTargetResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RollbackTargetResponse.Builder
Overrides

mergeRollbackConfig(RollbackTargetConfig value)

public RollbackTargetResponse.Builder mergeRollbackConfig(RollbackTargetConfig value)

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Parameter
Name Description
value RollbackTargetConfig
Returns
Type Description
RollbackTargetResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RollbackTargetResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RollbackTargetResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RollbackTargetResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RollbackTargetResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RollbackTargetResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RollbackTargetResponse.Builder
Overrides

setRollbackConfig(RollbackTargetConfig value)

public RollbackTargetResponse.Builder setRollbackConfig(RollbackTargetConfig value)

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Parameter
Name Description
value RollbackTargetConfig
Returns
Type Description
RollbackTargetResponse.Builder

setRollbackConfig(RollbackTargetConfig.Builder builderForValue)

public RollbackTargetResponse.Builder setRollbackConfig(RollbackTargetConfig.Builder builderForValue)

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Parameter
Name Description
builderForValue RollbackTargetConfig.Builder
Returns
Type Description
RollbackTargetResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RollbackTargetResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RollbackTargetResponse.Builder
Overrides