Class WorkloadOnboardingState.Builder (0.13.0)

public static final class WorkloadOnboardingState.Builder extends GeneratedMessageV3.Builder<WorkloadOnboardingState.Builder> implements WorkloadOnboardingStateOrBuilder

Container for workload onboarding steps.

Protobuf type google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingState

Static Methods

getDescriptor()

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

Methods

addAllOnboardingSteps(Iterable<? extends WorkloadOnboardingStep> values)

public WorkloadOnboardingState.Builder addAllOnboardingSteps(Iterable<? extends WorkloadOnboardingStep> values)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep>
Returns
Type Description
WorkloadOnboardingState.Builder

addOnboardingSteps(WorkloadOnboardingStep value)

public WorkloadOnboardingState.Builder addOnboardingSteps(WorkloadOnboardingStep value)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameter
Name Description
value WorkloadOnboardingStep
Returns
Type Description
WorkloadOnboardingState.Builder

addOnboardingSteps(WorkloadOnboardingStep.Builder builderForValue)

public WorkloadOnboardingState.Builder addOnboardingSteps(WorkloadOnboardingStep.Builder builderForValue)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameter
Name Description
builderForValue WorkloadOnboardingStep.Builder
Returns
Type Description
WorkloadOnboardingState.Builder

addOnboardingSteps(int index, WorkloadOnboardingStep value)

public WorkloadOnboardingState.Builder addOnboardingSteps(int index, WorkloadOnboardingStep value)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameters
Name Description
index int
value WorkloadOnboardingStep
Returns
Type Description
WorkloadOnboardingState.Builder

addOnboardingSteps(int index, WorkloadOnboardingStep.Builder builderForValue)

public WorkloadOnboardingState.Builder addOnboardingSteps(int index, WorkloadOnboardingStep.Builder builderForValue)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameters
Name Description
index int
builderForValue WorkloadOnboardingStep.Builder
Returns
Type Description
WorkloadOnboardingState.Builder

addOnboardingStepsBuilder()

public WorkloadOnboardingStep.Builder addOnboardingStepsBuilder()

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Returns
Type Description
WorkloadOnboardingStep.Builder

addOnboardingStepsBuilder(int index)

public WorkloadOnboardingStep.Builder addOnboardingStepsBuilder(int index)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkloadOnboardingStep.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkloadOnboardingState build()
Returns
Type Description
WorkloadOnboardingState

buildPartial()

public WorkloadOnboardingState buildPartial()
Returns
Type Description
WorkloadOnboardingState

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOnboardingSteps()

public WorkloadOnboardingState.Builder clearOnboardingSteps()

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Returns
Type Description
WorkloadOnboardingState.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public WorkloadOnboardingState getDefaultInstanceForType()
Returns
Type Description
WorkloadOnboardingState

getDescriptorForType()

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

getOnboardingSteps(int index)

public WorkloadOnboardingStep getOnboardingSteps(int index)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkloadOnboardingStep

getOnboardingStepsBuilder(int index)

public WorkloadOnboardingStep.Builder getOnboardingStepsBuilder(int index)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkloadOnboardingStep.Builder

getOnboardingStepsBuilderList()

public List<WorkloadOnboardingStep.Builder> getOnboardingStepsBuilderList()

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Returns
Type Description
List<Builder>

getOnboardingStepsCount()

public int getOnboardingStepsCount()

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Returns
Type Description
int

getOnboardingStepsList()

public List<WorkloadOnboardingStep> getOnboardingStepsList()

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Returns
Type Description
List<WorkloadOnboardingStep>

getOnboardingStepsOrBuilder(int index)

public WorkloadOnboardingStepOrBuilder getOnboardingStepsOrBuilder(int index)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkloadOnboardingStepOrBuilder

getOnboardingStepsOrBuilderList()

public List<? extends WorkloadOnboardingStepOrBuilder> getOnboardingStepsOrBuilderList()

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Returns
Type Description
List<? extends com.google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStepOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkloadOnboardingState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkloadOnboardingState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkloadOnboardingState.Builder
Overrides

removeOnboardingSteps(int index)

public WorkloadOnboardingState.Builder removeOnboardingSteps(int index)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkloadOnboardingState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOnboardingSteps(int index, WorkloadOnboardingStep value)

public WorkloadOnboardingState.Builder setOnboardingSteps(int index, WorkloadOnboardingStep value)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameters
Name Description
index int
value WorkloadOnboardingStep
Returns
Type Description
WorkloadOnboardingState.Builder

setOnboardingSteps(int index, WorkloadOnboardingStep.Builder builderForValue)

public WorkloadOnboardingState.Builder setOnboardingSteps(int index, WorkloadOnboardingStep.Builder builderForValue)

List of workload onboarding steps.

repeated .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep onboarding_steps = 1;

Parameters
Name Description
index int
builderForValue WorkloadOnboardingStep.Builder
Returns
Type Description
WorkloadOnboardingState.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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