Class ComputeEngineMigrationTarget.Builder (0.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ComputeEngineMigrationTarget build()
Returns
TypeDescription
ComputeEngineMigrationTarget

buildPartial()

public ComputeEngineMigrationTarget buildPartial()
Returns
TypeDescription
ComputeEngineMigrationTarget

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ComputeEngineMigrationTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ComputeEngineMigrationTarget.Builder

clone()

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

getDefaultInstanceForType()

public ComputeEngineMigrationTarget getDefaultInstanceForType()
Returns
TypeDescription
ComputeEngineMigrationTarget

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getShape()

public ComputeEngineShapeDescriptor getShape()

Description of the suggested shape for the migration target.

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

Returns
TypeDescription
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
TypeDescription
ComputeEngineShapeDescriptor.Builder

getShapeOrBuilder()

public ComputeEngineShapeDescriptorOrBuilder getShapeOrBuilder()

Description of the suggested shape for the migration target.

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

Returns
TypeDescription
ComputeEngineShapeDescriptorOrBuilder

hasShape()

public boolean hasShape()

Description of the suggested shape for the migration target.

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

Returns
TypeDescription
boolean

Whether the shape field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ComputeEngineMigrationTarget other)

public ComputeEngineMigrationTarget.Builder mergeFrom(ComputeEngineMigrationTarget other)
Parameter
NameDescription
otherComputeEngineMigrationTarget
Returns
TypeDescription
ComputeEngineMigrationTarget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ComputeEngineMigrationTarget.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueComputeEngineShapeDescriptor
Returns
TypeDescription
ComputeEngineMigrationTarget.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ComputeEngineMigrationTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueComputeEngineShapeDescriptor
Returns
TypeDescription
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
NameDescription
builderForValueComputeEngineShapeDescriptor.Builder
Returns
TypeDescription
ComputeEngineMigrationTarget.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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