Send feedback
Class AnalyzeWorkloadMoveResponse.Builder (2.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.1.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-06 UTC."],[],[]]