Class CutoverForecast.Builder (0.16.0)

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

CutoverForecast holds information about future CutoverJobs of a MigratingVm.

Protobuf type google.events.cloud.vmmigration.v1.CutoverForecast

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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;

Returns
Type Description
CutoverForecast.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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;

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;

Returns
Type Description
Builder

getEstimatedCutoverJobDurationOrBuilder()

public DurationOrBuilder getEstimatedCutoverJobDurationOrBuilder()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1;

Returns
Type Description
DurationOrBuilder

hasEstimatedCutoverJobDuration()

public boolean hasEstimatedCutoverJobDuration()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1;

Returns
Type Description
boolean

Whether the estimatedCutoverJobDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CutoverForecast.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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;

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CutoverForecast.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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