Class WorkloadOnboardingStep.Builder (0.1.0)

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

Container for workload onboarding information.

Protobuf type google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkloadOnboardingStep build()
Returns
TypeDescription
WorkloadOnboardingStep

buildPartial()

public WorkloadOnboardingStep buildPartial()
Returns
TypeDescription
WorkloadOnboardingStep

clear()

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

clearCompletionState()

public WorkloadOnboardingStep.Builder clearCompletionState()

Output only. The completion state of the onboarding step.

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

Returns
TypeDescription
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
TypeDescription
WorkloadOnboardingStep.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public WorkloadOnboardingStep.Builder clearStartTime()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
WorkloadOnboardingStep.Builder

clearStep()

public WorkloadOnboardingStep.Builder clearStep()

The onboarding step.

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

Returns
TypeDescription
WorkloadOnboardingStep.Builder

This builder for chaining.

clone()

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

getCompletionState()

public CompletionState getCompletionState()

Output only. The completion state of the onboarding step.

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

Returns
TypeDescription
CompletionState

The completionState.

getCompletionStateValue()

public int getCompletionStateValue()

Output only. The completion state of the onboarding step.

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

Returns
TypeDescription
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
TypeDescription
Timestamp

The completionTime.

getCompletionTimeBuilder()

public Timestamp.Builder getCompletionTimeBuilder()

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Returns
TypeDescription
Builder

getCompletionTimeOrBuilder()

public TimestampOrBuilder getCompletionTimeOrBuilder()

The completion time of the onboarding step.

.google.protobuf.Timestamp completion_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public WorkloadOnboardingStep getDefaultInstanceForType()
Returns
TypeDescription
WorkloadOnboardingStep

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStartTime()

public Timestamp getStartTime()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getStep()

public WorkloadOnboardingStep.Step getStep()

The onboarding step.

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

Returns
TypeDescription
WorkloadOnboardingStep.Step

The step.

getStepValue()

public int getStepValue()

The onboarding step.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
WorkloadOnboardingStep.Builder

mergeFrom(WorkloadOnboardingStep other)

public WorkloadOnboardingStep.Builder mergeFrom(WorkloadOnboardingStep other)
Parameter
NameDescription
otherWorkloadOnboardingStep
Returns
TypeDescription
WorkloadOnboardingStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WorkloadOnboardingStep.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
WorkloadOnboardingStep.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompletionState(CompletionState value)

public WorkloadOnboardingStep.Builder setCompletionState(CompletionState value)

Output only. The completion state of the onboarding step.

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

Parameter
NameDescription
valueCompletionState

The completionState to set.

Returns
TypeDescription
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.v1.CompletionState completion_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkloadOnboardingStep.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public WorkloadOnboardingStep.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkloadOnboardingStep.Builder

setStep(WorkloadOnboardingStep.Step value)

public WorkloadOnboardingStep.Builder setStep(WorkloadOnboardingStep.Step value)

The onboarding step.

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

Parameter
NameDescription
valueWorkloadOnboardingStep.Step

The step to set.

Returns
TypeDescription
WorkloadOnboardingStep.Builder

This builder for chaining.

setStepValue(int value)

public WorkloadOnboardingStep.Builder setStepValue(int value)

The onboarding step.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
WorkloadOnboardingStep.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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