public static final class AnalyzeWorkloadMoveResponse.Builder extends GeneratedMessageV3.Builder<AnalyzeWorkloadMoveResponse.Builder> implements AnalyzeWorkloadMoveResponseOrBuilder
Response with the analysis if the source workload can be moved to the target
workload
Protobuf type google.cloud.assuredworkloads.v1beta1.AnalyzeWorkloadMoveResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllBlockers(Iterable<String> values)
public AnalyzeWorkloadMoveResponse.Builder addAllBlockers(Iterable<String> values)
List of blockers that prevent moving the source workload to the target
workload
repeated string blockers = 1;
Parameter
Returns
addBlockers(String value)
public AnalyzeWorkloadMoveResponse.Builder addBlockers(String value)
List of blockers that prevent moving the source workload to the target
workload
repeated string blockers = 1;
Parameter
Name | Description |
value | String
The blockers to add.
|
Returns
addBlockersBytes(ByteString value)
public AnalyzeWorkloadMoveResponse.Builder addBlockersBytes(ByteString value)
List of blockers that prevent moving the source workload to the target
workload
repeated string blockers = 1;
Parameter
Name | Description |
value | ByteString
The bytes of the blockers to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeWorkloadMoveResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AnalyzeWorkloadMoveResponse build()
Returns
buildPartial()
public AnalyzeWorkloadMoveResponse buildPartial()
Returns
clear()
public AnalyzeWorkloadMoveResponse.Builder clear()
Returns
Overrides
clearBlockers()
public AnalyzeWorkloadMoveResponse.Builder clearBlockers()
List of blockers that prevent moving the source workload to the target
workload
repeated string blockers = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public AnalyzeWorkloadMoveResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeWorkloadMoveResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AnalyzeWorkloadMoveResponse.Builder clone()
Returns
Overrides
getBlockers(int index)
public String getBlockers(int index)
List of blockers that prevent moving the source workload to the target
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)
List of blockers that prevent moving the source workload to the target
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()
List of blockers that prevent moving the source workload to the target
workload
repeated string blockers = 1;
Returns
Type | Description |
int | The count of blockers.
|
getBlockersList()
public ProtocolStringList getBlockersList()
List of blockers that prevent moving the source workload to the target
workload
repeated string blockers = 1;
Returns
getDefaultInstanceForType()
public AnalyzeWorkloadMoveResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AnalyzeWorkloadMoveResponse other)
public AnalyzeWorkloadMoveResponse.Builder mergeFrom(AnalyzeWorkloadMoveResponse other)
Parameter
Returns
public AnalyzeWorkloadMoveResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeWorkloadMoveResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeWorkloadMoveResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBlockers(int index, String value)
public AnalyzeWorkloadMoveResponse.Builder setBlockers(int index, String value)
List of blockers that prevent moving the source workload to the target
workload
repeated string blockers = 1;
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The blockers to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeWorkloadMoveResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeWorkloadMoveResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeWorkloadMoveResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides