public static final class ComputeEngineMigrationTarget.Builder extends GeneratedMessageV3.Builder<ComputeEngineMigrationTarget.Builder> implements ComputeEngineMigrationTargetOrBuilder
Compute engine migration target.
Protobuf type google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeEngineMigrationTarget.BuilderImplements
ComputeEngineMigrationTargetOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public ComputeEngineMigrationTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ComputeEngineMigrationTarget.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeEngineMigrationTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ComputeEngineMigrationTarget.Builder |
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 |
getDefaultInstanceForType()
public ComputeEngineMigrationTarget getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ComputeEngineMigrationTarget |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeEngineMigrationTarget.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ComputeEngineMigrationTarget.Builder |
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 |
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 |
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 |
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 |