Class CutoverForecast.Builder (1.83.0)

public static final class CutoverForecast.Builder extends GeneratedMessage.Builder<CutoverForecast.Builder> implements CutoverForecastOrBuilder

CutoverForecast holds information about future CutoverJobs of a MigratingVm.

Protobuf type google.cloud.vmmigration.v1.CutoverForecast

Static Methods

getDescriptor()

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

Methods

build()

public CutoverForecast build()
Returns
Type Description
CutoverForecast

buildPartial()

public CutoverForecast buildPartial()
Returns
Type Description
CutoverForecast

clear()

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

clearEstimatedCutoverJobDuration()

public CutoverForecast.Builder clearEstimatedCutoverJobDuration()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CutoverForecast.Builder

getDefaultInstanceForType()

public CutoverForecast getDefaultInstanceForType()
Returns
Type Description
CutoverForecast

getDescriptorForType()

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

getEstimatedCutoverJobDuration()

public Duration getEstimatedCutoverJobDuration()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The estimatedCutoverJobDuration.

getEstimatedCutoverJobDurationBuilder()

public Duration.Builder getEstimatedCutoverJobDurationBuilder()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEstimatedCutoverJobDurationOrBuilder()

public DurationOrBuilder getEstimatedCutoverJobDurationOrBuilder()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

hasEstimatedCutoverJobDuration()

public boolean hasEstimatedCutoverJobDuration()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the estimatedCutoverJobDuration field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEstimatedCutoverJobDuration(Duration value)

public CutoverForecast.Builder mergeEstimatedCutoverJobDuration(Duration value)

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Duration
Returns
Type Description
CutoverForecast.Builder

mergeFrom(CutoverForecast other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEstimatedCutoverJobDuration(Duration value)

public CutoverForecast.Builder setEstimatedCutoverJobDuration(Duration value)

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Duration
Returns
Type Description
CutoverForecast.Builder

setEstimatedCutoverJobDuration(Duration.Builder builderForValue)

public CutoverForecast.Builder setEstimatedCutoverJobDuration(Duration.Builder builderForValue)

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CutoverForecast.Builder