Class ComputeEngineMigrationTarget.Builder (0.65.0)

public static final class ComputeEngineMigrationTarget.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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