Class ComputeEngineMigrationTarget.Builder (0.34.0)

public static final class ComputeEngineMigrationTarget.Builder extends GeneratedMessageV3.Builder<ComputeEngineMigrationTarget.Builder> implements ComputeEngineMigrationTargetOrBuilder

Compute engine migration target.

Protobuf type google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ComputeEngineMigrationTarget build()
Returns
Type Description
ComputeEngineMigrationTarget

buildPartial()

public ComputeEngineMigrationTarget buildPartial()
Returns
Type Description
ComputeEngineMigrationTarget

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearShape()

public ComputeEngineMigrationTarget.Builder clearShape()

Description of the suggested shape for the migration target.

.google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;

Returns
Type Description
ComputeEngineMigrationTarget.Builder

clone()

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

getDefaultInstanceForType()

public ComputeEngineMigrationTarget getDefaultInstanceForType()
Returns
Type Description
ComputeEngineMigrationTarget

getDescriptorForType()

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

getShape()

public ComputeEngineShapeDescriptor getShape()

Description of the suggested shape for the migration target.

.google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;

Returns
Type Description
ComputeEngineShapeDescriptor

The shape.

getShapeBuilder()

public ComputeEngineShapeDescriptor.Builder getShapeBuilder()

Description of the suggested shape for the migration target.

.google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;

Returns
Type Description
ComputeEngineShapeDescriptor.Builder

getShapeOrBuilder()

public ComputeEngineShapeDescriptorOrBuilder getShapeOrBuilder()

Description of the suggested shape for the migration target.

.google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;

Returns
Type Description
ComputeEngineShapeDescriptorOrBuilder

hasShape()

public boolean hasShape()

Description of the suggested shape for the migration target.

.google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;

Returns
Type Description
boolean

Whether the shape field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ComputeEngineMigrationTarget other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeShape(ComputeEngineShapeDescriptor value)

public ComputeEngineMigrationTarget.Builder mergeShape(ComputeEngineShapeDescriptor value)

Description of the suggested shape for the migration target.

.google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;

Parameter
Name Description
value ComputeEngineShapeDescriptor
Returns
Type Description
ComputeEngineMigrationTarget.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setShape(ComputeEngineShapeDescriptor value)

public ComputeEngineMigrationTarget.Builder setShape(ComputeEngineShapeDescriptor value)

Description of the suggested shape for the migration target.

.google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;

Parameter
Name Description
value ComputeEngineShapeDescriptor
Returns
Type Description
ComputeEngineMigrationTarget.Builder

setShape(ComputeEngineShapeDescriptor.Builder builderForValue)

public ComputeEngineMigrationTarget.Builder setShape(ComputeEngineShapeDescriptor.Builder builderForValue)

Description of the suggested shape for the migration target.

.google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;

Parameter
Name Description
builderForValue ComputeEngineShapeDescriptor.Builder
Returns
Type Description
ComputeEngineMigrationTarget.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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