Class WorkloadOnboardingStep (0.3.0)

public final class WorkloadOnboardingStep extends GeneratedMessageV3 implements WorkloadOnboardingStepOrBuilder

Container for workload onboarding information.

Protobuf type google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingStep

Static Fields

COMPLETION_STATE_FIELD_NUMBER

public static final int COMPLETION_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

COMPLETION_TIME_FIELD_NUMBER

public static final int COMPLETION_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STEP_FIELD_NUMBER

public static final int STEP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkloadOnboardingStep getDefaultInstance()
Returns
TypeDescription
WorkloadOnboardingStep

getDescriptor()

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

newBuilder()

public static WorkloadOnboardingStep.Builder newBuilder()
Returns
TypeDescription
WorkloadOnboardingStep.Builder

newBuilder(WorkloadOnboardingStep prototype)

public static WorkloadOnboardingStep.Builder newBuilder(WorkloadOnboardingStep prototype)
Parameter
NameDescription
prototypeWorkloadOnboardingStep
Returns
TypeDescription
WorkloadOnboardingStep.Builder

parseDelimitedFrom(InputStream input)

public static WorkloadOnboardingStep parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadOnboardingStep parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WorkloadOnboardingStep parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkloadOnboardingStep parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkloadOnboardingStep parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkloadOnboardingStep parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkloadOnboardingStep parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadOnboardingStep parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WorkloadOnboardingStep parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadOnboardingStep parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WorkloadOnboardingStep parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkloadOnboardingStep parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadOnboardingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WorkloadOnboardingStep> parser()
Returns
TypeDescription
Parser<WorkloadOnboardingStep>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

getParserForType()

public Parser<WorkloadOnboardingStep> getParserForType()
Returns
TypeDescription
Parser<WorkloadOnboardingStep>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

The starting time of the onboarding step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Timestamp

The startTime.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WorkloadOnboardingStep.Builder newBuilderForType()
Returns
TypeDescription
WorkloadOnboardingStep.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkloadOnboardingStep.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WorkloadOnboardingStep.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WorkloadOnboardingStep.Builder toBuilder()
Returns
TypeDescription
WorkloadOnboardingStep.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException