Class FitDescriptor.Builder (0.35.0)

public static final class FitDescriptor.Builder extends GeneratedMessageV3.Builder<FitDescriptor.Builder> implements FitDescriptorOrBuilder

Describes the fit level of an asset for migration to a specific target.

Protobuf type google.cloud.migrationcenter.v1.FitDescriptor

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FitDescriptor build()
Returns
Type Description
FitDescriptor

buildPartial()

public FitDescriptor buildPartial()
Returns
Type Description
FitDescriptor

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFitLevel()

public FitDescriptor.Builder clearFitLevel()

Fit level.

.google.cloud.migrationcenter.v1.FitDescriptor.FitLevel fit_level = 1;

Returns
Type Description
FitDescriptor.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FitDescriptor getDefaultInstanceForType()
Returns
Type Description
FitDescriptor

getDescriptorForType()

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

getFitLevel()

public FitDescriptor.FitLevel getFitLevel()

Fit level.

.google.cloud.migrationcenter.v1.FitDescriptor.FitLevel fit_level = 1;

Returns
Type Description
FitDescriptor.FitLevel

The fitLevel.

getFitLevelValue()

public int getFitLevelValue()

Fit level.

.google.cloud.migrationcenter.v1.FitDescriptor.FitLevel fit_level = 1;

Returns
Type Description
int

The enum numeric value on the wire for fitLevel.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FitDescriptor other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FitDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FitDescriptor.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setFitLevel(FitDescriptor.FitLevel value)

public FitDescriptor.Builder setFitLevel(FitDescriptor.FitLevel value)

Fit level.

.google.cloud.migrationcenter.v1.FitDescriptor.FitLevel fit_level = 1;

Parameter
Name Description
value FitDescriptor.FitLevel

The fitLevel to set.

Returns
Type Description
FitDescriptor.Builder

This builder for chaining.

setFitLevelValue(int value)

public FitDescriptor.Builder setFitLevelValue(int value)

Fit level.

.google.cloud.migrationcenter.v1.FitDescriptor.FitLevel fit_level = 1;

Parameter
Name Description
value int

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

Returns
Type Description
FitDescriptor.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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