Class RollbackTargetResponse.Builder (1.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RollbackTargetResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RollbackTargetResponse.Builder
Overrides

build()

public RollbackTargetResponse build()
Returns
TypeDescription
RollbackTargetResponse

buildPartial()

public RollbackTargetResponse buildPartial()
Returns
TypeDescription
RollbackTargetResponse

clear()

public RollbackTargetResponse.Builder clear()
Returns
TypeDescription
RollbackTargetResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RollbackTargetResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RollbackTargetResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RollbackTargetResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RollbackTargetResponse.Builder

clone()

public RollbackTargetResponse.Builder clone()
Returns
TypeDescription
RollbackTargetResponse.Builder
Overrides

getDefaultInstanceForType()

public RollbackTargetResponse getDefaultInstanceForType()
Returns
TypeDescription
RollbackTargetResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the rollbackConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RollbackTargetResponse other)

public RollbackTargetResponse.Builder mergeFrom(RollbackTargetResponse other)
Parameter
NameDescription
otherRollbackTargetResponse
Returns
TypeDescription
RollbackTargetResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RollbackTargetResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RollbackTargetResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RollbackTargetResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRollbackTargetConfig
Returns
TypeDescription
RollbackTargetResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RollbackTargetResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RollbackTargetResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RollbackTargetResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RollbackTargetResponse.Builder
Overrides

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

public RollbackTargetResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueRollbackTargetConfig
Returns
TypeDescription
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
NameDescription
builderForValueRollbackTargetConfig.Builder
Returns
TypeDescription
RollbackTargetResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RollbackTargetResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RollbackTargetResponse.Builder
Overrides