Class CustomerOnboardingStep.Builder (0.5.0)

public static final class CustomerOnboardingStep.Builder extends GeneratedMessageV3.Builder<CustomerOnboardingStep.Builder> implements CustomerOnboardingStepOrBuilder

Container for customer onboarding information

Protobuf type google.cloud.cloudcontrolspartner.v1.CustomerOnboardingStep

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomerOnboardingStep build()
Returns
TypeDescription
CustomerOnboardingStep

buildPartial()

public CustomerOnboardingStep buildPartial()
Returns
TypeDescription
CustomerOnboardingStep

clear()

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

clearCompletionState()

public CustomerOnboardingStep.Builder clearCompletionState()

Output only. Current state of the step

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

Returns
TypeDescription
CustomerOnboardingStep.Builder

This builder for chaining.

clearCompletionTime()

public CustomerOnboardingStep.Builder clearCompletionTime()

The completion time of the onboarding step

.google.protobuf.Timestamp completion_time = 3;

Returns
TypeDescription
CustomerOnboardingStep.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public CustomerOnboardingStep.Builder clearStartTime()

The starting time of the onboarding step

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
CustomerOnboardingStep.Builder

clearStep()

public CustomerOnboardingStep.Builder clearStep()

The onboarding step

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

Returns
TypeDescription
CustomerOnboardingStep.Builder

This builder for chaining.

clone()

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

getCompletionState()

public CompletionState getCompletionState()

Output only. Current state of the 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. Current state of the 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 CustomerOnboardingStep getDefaultInstanceForType()
Returns
TypeDescription
CustomerOnboardingStep

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 CustomerOnboardingStep.Step getStep()

The onboarding step

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

Returns
TypeDescription
CustomerOnboardingStep.Step

The step.

getStepValue()

public int getStepValue()

The onboarding step

.google.cloud.cloudcontrolspartner.v1.CustomerOnboardingStep.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 CustomerOnboardingStep.Builder mergeCompletionTime(Timestamp value)

The completion time of the onboarding step

.google.protobuf.Timestamp completion_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CustomerOnboardingStep.Builder

mergeFrom(CustomerOnboardingStep other)

public CustomerOnboardingStep.Builder mergeFrom(CustomerOnboardingStep other)
Parameter
NameDescription
otherCustomerOnboardingStep
Returns
TypeDescription
CustomerOnboardingStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public CustomerOnboardingStep.Builder mergeStartTime(Timestamp value)

The starting time of the onboarding step

.google.protobuf.Timestamp start_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CustomerOnboardingStep.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompletionState(CompletionState value)

public CustomerOnboardingStep.Builder setCompletionState(CompletionState value)

Output only. Current state of the step

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

Parameter
NameDescription
valueCompletionState

The completionState to set.

Returns
TypeDescription
CustomerOnboardingStep.Builder

This builder for chaining.

setCompletionStateValue(int value)

public CustomerOnboardingStep.Builder setCompletionStateValue(int value)

Output only. Current state of the 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
CustomerOnboardingStep.Builder

This builder for chaining.

setCompletionTime(Timestamp value)

public CustomerOnboardingStep.Builder setCompletionTime(Timestamp value)

The completion time of the onboarding step

.google.protobuf.Timestamp completion_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CustomerOnboardingStep.Builder

setCompletionTime(Timestamp.Builder builderForValue)

public CustomerOnboardingStep.Builder setCompletionTime(Timestamp.Builder builderForValue)

The completion time of the onboarding step

.google.protobuf.Timestamp completion_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CustomerOnboardingStep.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public CustomerOnboardingStep.Builder setStartTime(Timestamp value)

The starting time of the onboarding step

.google.protobuf.Timestamp start_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CustomerOnboardingStep.Builder

setStartTime(Timestamp.Builder builderForValue)

public CustomerOnboardingStep.Builder setStartTime(Timestamp.Builder builderForValue)

The starting time of the onboarding step

.google.protobuf.Timestamp start_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CustomerOnboardingStep.Builder

setStep(CustomerOnboardingStep.Step value)

public CustomerOnboardingStep.Builder setStep(CustomerOnboardingStep.Step value)

The onboarding step

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

Parameter
NameDescription
valueCustomerOnboardingStep.Step

The step to set.

Returns
TypeDescription
CustomerOnboardingStep.Builder

This builder for chaining.

setStepValue(int value)

public CustomerOnboardingStep.Builder setStepValue(int value)

The onboarding step

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
CustomerOnboardingStep.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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