public static final class InstanceMoveRequest.Builder extends GeneratedMessageV3.Builder<InstanceMoveRequest.Builder> implements InstanceMoveRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstanceMoveRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceMoveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstanceMoveRequest build()
buildPartial()
public InstanceMoveRequest buildPartial()
clear()
public InstanceMoveRequest.Builder clear()
Overrides
clearDestinationZone()
public InstanceMoveRequest.Builder clearDestinationZone()
clearField(Descriptors.FieldDescriptor field)
public InstanceMoveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceMoveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTargetInstance()
public InstanceMoveRequest.Builder clearTargetInstance()
The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string target_instance = 289769347;
clone()
public InstanceMoveRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public InstanceMoveRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDestinationZone()
public String getDestinationZone()
Returns |
---|
Type | Description |
String | The destinationZone.
|
getDestinationZoneBytes()
public ByteString getDestinationZoneBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for destinationZone.
|
getTargetInstance()
public String getTargetInstance()
The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string target_instance = 289769347;
Returns |
---|
Type | Description |
String | The targetInstance.
|
getTargetInstanceBytes()
public ByteString getTargetInstanceBytes()
The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string target_instance = 289769347;
Returns |
---|
Type | Description |
ByteString | The bytes for targetInstance.
|
hasDestinationZone()
public boolean hasDestinationZone()
Returns |
---|
Type | Description |
boolean | Whether the destinationZone field is set.
|
hasTargetInstance()
public boolean hasTargetInstance()
The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string target_instance = 289769347;
Returns |
---|
Type | Description |
boolean | Whether the targetInstance field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstanceMoveRequest other)
public InstanceMoveRequest.Builder mergeFrom(InstanceMoveRequest other)
public InstanceMoveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceMoveRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceMoveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDestinationZone(String value)
public InstanceMoveRequest.Builder setDestinationZone(String value)
Parameter |
---|
Name | Description |
value | String
The destinationZone to set.
|
setDestinationZoneBytes(ByteString value)
public InstanceMoveRequest.Builder setDestinationZoneBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for destinationZone to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceMoveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceMoveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTargetInstance(String value)
public InstanceMoveRequest.Builder setTargetInstance(String value)
The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string target_instance = 289769347;
Parameter |
---|
Name | Description |
value | String
The targetInstance to set.
|
setTargetInstanceBytes(ByteString value)
public InstanceMoveRequest.Builder setTargetInstanceBytes(ByteString value)
The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string target_instance = 289769347;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for targetInstance to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceMoveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides