Class DeleteMigratingVmRequest.Builder (1.18.0)

public static final class DeleteMigratingVmRequest.Builder extends GeneratedMessageV3.Builder<DeleteMigratingVmRequest.Builder> implements DeleteMigratingVmRequestOrBuilder

Request message for 'DeleteMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.DeleteMigratingVmRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteMigratingVmRequest build()
Returns
TypeDescription
DeleteMigratingVmRequest

buildPartial()

public DeleteMigratingVmRequest buildPartial()
Returns
TypeDescription
DeleteMigratingVmRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteMigratingVmRequest.Builder clearName()

Required. The name of the MigratingVm.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteMigratingVmRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteMigratingVmRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteMigratingVmRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the MigratingVm.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the MigratingVm.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteMigratingVmRequest other)

public DeleteMigratingVmRequest.Builder mergeFrom(DeleteMigratingVmRequest other)
Parameter
NameDescription
otherDeleteMigratingVmRequest
Returns
TypeDescription
DeleteMigratingVmRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteMigratingVmRequest.Builder setName(String value)

Required. The name of the MigratingVm.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteMigratingVmRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteMigratingVmRequest.Builder setNameBytes(ByteString value)

Required. The name of the MigratingVm.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteMigratingVmRequest.Builder

This builder for chaining.

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

public DeleteMigratingVmRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteMigratingVmRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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