Class AnalyzeWorkloadMoveResponse.Builder (2.6.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
TypeDescription
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
NameDescription
valuesIterable<String>

The blockers to add.

Returns
TypeDescription
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
NameDescription
valueString

The blockers to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the blockers to add.

Returns
TypeDescription
AnalyzeWorkloadMoveResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeWorkloadMoveResponse build()
Returns
TypeDescription
AnalyzeWorkloadMoveResponse

buildPartial()

public AnalyzeWorkloadMoveResponse buildPartial()
Returns
TypeDescription
AnalyzeWorkloadMoveResponse

clear()

public AnalyzeWorkloadMoveResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
AnalyzeWorkloadMoveResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeWorkloadMoveResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AnalyzeWorkloadMoveResponse.Builder
Overrides

clone()

public AnalyzeWorkloadMoveResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the blockers.

getDefaultInstanceForType()

public AnalyzeWorkloadMoveResponse getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeWorkloadMoveResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyzeWorkloadMoveResponse other)

public AnalyzeWorkloadMoveResponse.Builder mergeFrom(AnalyzeWorkloadMoveResponse other)
Parameter
NameDescription
otherAnalyzeWorkloadMoveResponse
Returns
TypeDescription
AnalyzeWorkloadMoveResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeWorkloadMoveResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalyzeWorkloadMoveResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeWorkloadMoveResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The blockers to set.

Returns
TypeDescription
AnalyzeWorkloadMoveResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AnalyzeWorkloadMoveResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AnalyzeWorkloadMoveResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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