Class CutoverForecast.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CutoverForecast build()
Returns
TypeDescription
CutoverForecast

buildPartial()

public CutoverForecast buildPartial()
Returns
TypeDescription
CutoverForecast

clear()

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

clearEstimatedCutoverJobDuration()

public CutoverForecast.Builder clearEstimatedCutoverJobDuration()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1;

Returns
TypeDescription
CutoverForecast.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CutoverForecast getDefaultInstanceForType()
Returns
TypeDescription
CutoverForecast

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEstimatedCutoverJobDuration()

public Duration getEstimatedCutoverJobDuration()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1;

Returns
TypeDescription
Duration

The estimatedCutoverJobDuration.

getEstimatedCutoverJobDurationBuilder()

public Duration.Builder getEstimatedCutoverJobDurationBuilder()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1;

Returns
TypeDescription
Builder

getEstimatedCutoverJobDurationOrBuilder()

public DurationOrBuilder getEstimatedCutoverJobDurationOrBuilder()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1;

Returns
TypeDescription
DurationOrBuilder

hasEstimatedCutoverJobDuration()

public boolean hasEstimatedCutoverJobDuration()

Output only. Estimation of the CutoverJob duration.

.google.protobuf.Duration estimated_cutover_job_duration = 1;

Returns
TypeDescription
boolean

Whether the estimatedCutoverJobDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(CutoverForecast other)

public CutoverForecast.Builder mergeFrom(CutoverForecast other)
Parameter
NameDescription
otherCutoverForecast
Returns
TypeDescription
CutoverForecast.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CutoverForecast.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CutoverForecast.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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