Class AnalyzeWorkloadMoveResponse.Builder (2.83.0)

public static final class AnalyzeWorkloadMoveResponse.Builder extends GeneratedMessage.Builder<AnalyzeWorkloadMoveResponse.Builder> implements AnalyzeWorkloadMoveResponseOrBuilder

A response that includes the analysis of the hypothetical resource move.

Protobuf type google.cloud.assuredworkloads.v1beta1.AnalyzeWorkloadMoveResponse

Static Methods

getDescriptor()

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

Methods

addAllBlockers(Iterable<String> values)

public AnalyzeWorkloadMoveResponse.Builder addAllBlockers(Iterable<String> values)

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.

repeated string blockers = 1;

Parameter
Name Description
values Iterable<String>

The blockers to add.

Returns
Type Description
AnalyzeWorkloadMoveResponse.Builder

This builder for chaining.

addBlockers(String value)

public AnalyzeWorkloadMoveResponse.Builder addBlockers(String value)

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.

repeated string blockers = 1;

Parameter
Name Description
value String

The blockers to add.

Returns
Type Description
AnalyzeWorkloadMoveResponse.Builder

This builder for chaining.

addBlockersBytes(ByteString value)

public AnalyzeWorkloadMoveResponse.Builder addBlockersBytes(ByteString value)

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.

repeated string blockers = 1;

Parameter
Name Description
value ByteString

The bytes of the blockers to add.

Returns
Type Description
AnalyzeWorkloadMoveResponse.Builder

This builder for chaining.

build()

public AnalyzeWorkloadMoveResponse build()
Returns
Type Description
AnalyzeWorkloadMoveResponse

buildPartial()

public AnalyzeWorkloadMoveResponse buildPartial()
Returns
Type Description
AnalyzeWorkloadMoveResponse

clear()

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

clearBlockers()

public AnalyzeWorkloadMoveResponse.Builder clearBlockers()

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.

repeated string blockers = 1;

Returns
Type Description
AnalyzeWorkloadMoveResponse.Builder

This builder for chaining.

getBlockers(int index)

public String getBlockers(int index)

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.

repeated string blockers = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The blockers at the given index.

getBlockersBytes(int index)

public ByteString getBlockersBytes(int index)

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.

repeated string blockers = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the blockers at the given index.

getBlockersCount()

public int getBlockersCount()

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.

repeated string blockers = 1;

Returns
Type Description
int

The count of blockers.

getBlockersList()

public ProtocolStringList getBlockersList()

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.

repeated string blockers = 1;

Returns
Type Description
ProtocolStringList

A list containing the blockers.

getDefaultInstanceForType()

public AnalyzeWorkloadMoveResponse getDefaultInstanceForType()
Returns
Type Description
AnalyzeWorkloadMoveResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzeWorkloadMoveResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBlockers(int index, String value)

public AnalyzeWorkloadMoveResponse.Builder setBlockers(int index, String value)

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.

repeated string blockers = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The blockers to set.

Returns
Type Description
AnalyzeWorkloadMoveResponse.Builder

This builder for chaining.