Class WorkloadOnboardingState.Builder (0.5.0)

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

Container for workload onboarding steps.

Protobuf type google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllOnboardingSteps(Iterable<? extends WorkloadOnboardingStep> values)

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

List of workload onboarding steps.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep>
Returns
TypeDescription
WorkloadOnboardingState.Builder

addOnboardingSteps(WorkloadOnboardingStep value)

public WorkloadOnboardingState.Builder addOnboardingSteps(WorkloadOnboardingStep value)

List of workload onboarding steps.

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

Parameter
NameDescription
valueWorkloadOnboardingStep
Returns
TypeDescription
WorkloadOnboardingState.Builder

addOnboardingSteps(WorkloadOnboardingStep.Builder builderForValue)

public WorkloadOnboardingState.Builder addOnboardingSteps(WorkloadOnboardingStep.Builder builderForValue)

List of workload onboarding steps.

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

Parameter
NameDescription
builderForValueWorkloadOnboardingStep.Builder
Returns
TypeDescription
WorkloadOnboardingState.Builder

addOnboardingSteps(int index, WorkloadOnboardingStep value)

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

List of workload onboarding steps.

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

Parameters
NameDescription
indexint
valueWorkloadOnboardingStep
Returns
TypeDescription
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.v1beta.WorkloadOnboardingStep onboarding_steps = 1;

Parameters
NameDescription
indexint
builderForValueWorkloadOnboardingStep.Builder
Returns
TypeDescription
WorkloadOnboardingState.Builder

addOnboardingStepsBuilder()

public WorkloadOnboardingStep.Builder addOnboardingStepsBuilder()

List of workload onboarding steps.

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

Returns
TypeDescription
WorkloadOnboardingStep.Builder

addOnboardingStepsBuilder(int index)

public WorkloadOnboardingStep.Builder addOnboardingStepsBuilder(int index)

List of workload onboarding steps.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkloadOnboardingStep.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkloadOnboardingState build()
Returns
TypeDescription
WorkloadOnboardingState

buildPartial()

public WorkloadOnboardingState buildPartial()
Returns
TypeDescription
WorkloadOnboardingState

clear()

public WorkloadOnboardingState.Builder clear()
Returns
TypeDescription
WorkloadOnboardingState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOnboardingSteps()

public WorkloadOnboardingState.Builder clearOnboardingSteps()

List of workload onboarding steps.

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

Returns
TypeDescription
WorkloadOnboardingState.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public WorkloadOnboardingState.Builder clone()
Returns
TypeDescription
WorkloadOnboardingState.Builder
Overrides

getDefaultInstanceForType()

public WorkloadOnboardingState getDefaultInstanceForType()
Returns
TypeDescription
WorkloadOnboardingState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOnboardingSteps(int index)

public WorkloadOnboardingStep getOnboardingSteps(int index)

List of workload onboarding steps.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkloadOnboardingStep

getOnboardingStepsBuilder(int index)

public WorkloadOnboardingStep.Builder getOnboardingStepsBuilder(int index)

List of workload onboarding steps.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkloadOnboardingStep.Builder

getOnboardingStepsBuilderList()

public List<WorkloadOnboardingStep.Builder> getOnboardingStepsBuilderList()

List of workload onboarding steps.

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

Returns
TypeDescription
List<Builder>

getOnboardingStepsCount()

public int getOnboardingStepsCount()

List of workload onboarding steps.

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

Returns
TypeDescription
int

getOnboardingStepsList()

public List<WorkloadOnboardingStep> getOnboardingStepsList()

List of workload onboarding steps.

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

Returns
TypeDescription
List<WorkloadOnboardingStep>

getOnboardingStepsOrBuilder(int index)

public WorkloadOnboardingStepOrBuilder getOnboardingStepsOrBuilder(int index)

List of workload onboarding steps.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkloadOnboardingStepOrBuilder

getOnboardingStepsOrBuilderList()

public List<? extends WorkloadOnboardingStepOrBuilder> getOnboardingStepsOrBuilderList()

List of workload onboarding steps.

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

Returns
TypeDescription
List<? extends com.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStepOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkloadOnboardingState other)

public WorkloadOnboardingState.Builder mergeFrom(WorkloadOnboardingState other)
Parameter
NameDescription
otherWorkloadOnboardingState
Returns
TypeDescription
WorkloadOnboardingState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkloadOnboardingState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkloadOnboardingState.Builder
Overrides

removeOnboardingSteps(int index)

public WorkloadOnboardingState.Builder removeOnboardingSteps(int index)

List of workload onboarding steps.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkloadOnboardingState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WorkloadOnboardingState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta.WorkloadOnboardingStep onboarding_steps = 1;

Parameters
NameDescription
indexint
valueWorkloadOnboardingStep
Returns
TypeDescription
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.v1beta.WorkloadOnboardingStep onboarding_steps = 1;

Parameters
NameDescription
indexint
builderForValueWorkloadOnboardingStep.Builder
Returns
TypeDescription
WorkloadOnboardingState.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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