Class FitDescriptor.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FitDescriptor build()
Returns
TypeDescription
FitDescriptor

buildPartial()

public FitDescriptor buildPartial()
Returns
TypeDescription
FitDescriptor

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFitLevel()

public FitDescriptor.Builder clearFitLevel()

Fit level.

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

Returns
TypeDescription
FitDescriptor.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FitDescriptor getDefaultInstanceForType()
Returns
TypeDescription
FitDescriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFitLevel()

public FitDescriptor.FitLevel getFitLevel()

Fit level.

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

Returns
TypeDescription
FitDescriptor.FitLevel

The fitLevel.

getFitLevelValue()

public int getFitLevelValue()

Fit level.

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

Returns
TypeDescription
int

The enum numeric value on the wire for fitLevel.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FitDescriptor other)

public FitDescriptor.Builder mergeFrom(FitDescriptor other)
Parameter
NameDescription
otherFitDescriptor
Returns
TypeDescription
FitDescriptor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FitDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FitDescriptor.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FitDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFitDescriptor.FitLevel

The fitLevel to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FitDescriptor.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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