Class WorkloadOnboardingStep.Builder (0.13.0)

public static final class WorkloadOnboardingStep.Builder extends GeneratedMessageV3.Builder<WorkloadOnboardingStep.Builder> implements WorkloadOnboardingStepOrBuilder

Container for workload onboarding information.

Protobuf type google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkloadOnboardingStep build()
Returns
Type Description
WorkloadOnboardingStep

buildPartial()

public WorkloadOnboardingStep buildPartial()
Returns
Type Description
WorkloadOnboardingStep

clear()

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

clearCompletionState()

public WorkloadOnboardingStep.Builder clearCompletionState()

Output only. The completion state of the onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.CompletionState completion_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkloadOnboardingStep.Builder

This builder for chaining.

clearCompletionTime()

public WorkloadOnboardingStep.Builder clearCompletionTime()

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
WorkloadOnboardingStep.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public WorkloadOnboardingStep.Builder clearStartTime()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
WorkloadOnboardingStep.Builder

clearStep()

public WorkloadOnboardingStep.Builder clearStep()

The onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep.Step step = 1;

Returns
Type Description
WorkloadOnboardingStep.Builder

This builder for chaining.

clone()

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

getCompletionState()

public CompletionState getCompletionState()

Output only. The completion state of the onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.CompletionState completion_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CompletionState

The completionState.

getCompletionStateValue()

public int getCompletionStateValue()

Output only. The completion state of the onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.CompletionState completion_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for completionState.

getCompletionTime()

public Timestamp getCompletionTime()

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
Timestamp

The completionTime.

getCompletionTimeBuilder()

public Timestamp.Builder getCompletionTimeBuilder()

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
Builder

getCompletionTimeOrBuilder()

public TimestampOrBuilder getCompletionTimeOrBuilder()

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public WorkloadOnboardingStep getDefaultInstanceForType()
Returns
Type Description
WorkloadOnboardingStep

getDescriptorForType()

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

getStartTime()

public Timestamp getStartTime()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimestampOrBuilder

getStep()

public WorkloadOnboardingStep.Step getStep()

The onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep.Step step = 1;

Returns
Type Description
WorkloadOnboardingStep.Step

The step.

getStepValue()

public int getStepValue()

The onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep.Step step = 1;

Returns
Type Description
int

The enum numeric value on the wire for step.

hasCompletionTime()

public boolean hasCompletionTime()

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Returns
Type Description
boolean

Whether the completionTime field is set.

hasStartTime()

public boolean hasStartTime()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCompletionTime(Timestamp value)

public WorkloadOnboardingStep.Builder mergeCompletionTime(Timestamp value)

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
WorkloadOnboardingStep.Builder

mergeFrom(WorkloadOnboardingStep other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public WorkloadOnboardingStep.Builder mergeStartTime(Timestamp value)

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
WorkloadOnboardingStep.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompletionState(CompletionState value)

public WorkloadOnboardingStep.Builder setCompletionState(CompletionState value)

Output only. The completion state of the onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.CompletionState completion_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CompletionState

The completionState to set.

Returns
Type Description
WorkloadOnboardingStep.Builder

This builder for chaining.

setCompletionStateValue(int value)

public WorkloadOnboardingStep.Builder setCompletionStateValue(int value)

Output only. The completion state of the onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.CompletionState completion_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for completionState to set.

Returns
Type Description
WorkloadOnboardingStep.Builder

This builder for chaining.

setCompletionTime(Timestamp value)

public WorkloadOnboardingStep.Builder setCompletionTime(Timestamp value)

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
WorkloadOnboardingStep.Builder

setCompletionTime(Timestamp.Builder builderForValue)

public WorkloadOnboardingStep.Builder setCompletionTime(Timestamp.Builder builderForValue)

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WorkloadOnboardingStep.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public WorkloadOnboardingStep.Builder setStartTime(Timestamp value)

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
WorkloadOnboardingStep.Builder

setStartTime(Timestamp.Builder builderForValue)

public WorkloadOnboardingStep.Builder setStartTime(Timestamp.Builder builderForValue)

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WorkloadOnboardingStep.Builder

setStep(WorkloadOnboardingStep.Step value)

public WorkloadOnboardingStep.Builder setStep(WorkloadOnboardingStep.Step value)

The onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep.Step step = 1;

Parameter
Name Description
value WorkloadOnboardingStep.Step

The step to set.

Returns
Type Description
WorkloadOnboardingStep.Builder

This builder for chaining.

setStepValue(int value)

public WorkloadOnboardingStep.Builder setStepValue(int value)

The onboarding step.

.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep.Step step = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for step to set.

Returns
Type Description
WorkloadOnboardingStep.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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