Class AnalyzeWorkloadMoveResponse.Builder (2.43.0)

public static final class AnalyzeWorkloadMoveResponse.Builder extends GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeWorkloadMoveResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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