public static final class InstanceMoveRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder> implements InstanceMoveRequestOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceMoveRequest| Modifier and Type | Method and Description |
|---|---|
InstanceMoveRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceMoveRequest |
build() |
InstanceMoveRequest |
buildPartial() |
InstanceMoveRequest.Builder |
clear() |
InstanceMoveRequest.Builder |
clearDestinationZone()
The URL of the destination zone to move the instance.
|
InstanceMoveRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InstanceMoveRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InstanceMoveRequest.Builder |
clearTargetInstance()
The URL of the target instance to move.
|
InstanceMoveRequest.Builder |
clone() |
InstanceMoveRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDestinationZone()
The URL of the destination zone to move the instance.
|
com.google.protobuf.ByteString |
getDestinationZoneBytes()
The URL of the destination zone to move the instance.
|
String |
getTargetInstance()
The URL of the target instance to move.
|
com.google.protobuf.ByteString |
getTargetInstanceBytes()
The URL of the target instance to move.
|
boolean |
hasDestinationZone()
The URL of the destination zone to move the instance.
|
boolean |
hasTargetInstance()
The URL of the target instance to move.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InstanceMoveRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InstanceMoveRequest.Builder |
mergeFrom(InstanceMoveRequest other) |
InstanceMoveRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
InstanceMoveRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstanceMoveRequest.Builder |
setDestinationZone(String value)
The URL of the destination zone to move the instance.
|
InstanceMoveRequest.Builder |
setDestinationZoneBytes(com.google.protobuf.ByteString value)
The URL of the destination zone to move the instance.
|
InstanceMoveRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceMoveRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InstanceMoveRequest.Builder |
setTargetInstance(String value)
The URL of the target instance to move.
|
InstanceMoveRequest.Builder |
setTargetInstanceBytes(com.google.protobuf.ByteString value)
The URL of the target instance to move.
|
InstanceMoveRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InstanceMoveRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InstanceMoveRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InstanceMoveRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest.Builder mergeFrom(InstanceMoveRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public InstanceMoveRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceMoveRequest.Builder>IOExceptionpublic boolean hasDestinationZone()
The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone
optional string destination_zone = 131854653;hasDestinationZone in interface InstanceMoveRequestOrBuilderpublic String getDestinationZone()
The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone
optional string destination_zone = 131854653;getDestinationZone in interface InstanceMoveRequestOrBuilderpublic com.google.protobuf.ByteString getDestinationZoneBytes()
The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone
optional string destination_zone = 131854653;getDestinationZoneBytes in interface InstanceMoveRequestOrBuilderpublic InstanceMoveRequest.Builder setDestinationZone(String value)
The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone
optional string destination_zone = 131854653;value - The destinationZone to set.public InstanceMoveRequest.Builder clearDestinationZone()
The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone
optional string destination_zone = 131854653;public InstanceMoveRequest.Builder setDestinationZoneBytes(com.google.protobuf.ByteString value)
The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone
optional string destination_zone = 131854653;value - The bytes for destinationZone to set.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;hasTargetInstance in interface InstanceMoveRequestOrBuilderpublic 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;getTargetInstance in interface InstanceMoveRequestOrBuilderpublic com.google.protobuf.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;getTargetInstanceBytes in interface InstanceMoveRequestOrBuilderpublic 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;value - The targetInstance to set.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;public InstanceMoveRequest.Builder setTargetInstanceBytes(com.google.protobuf.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;value - The bytes for targetInstance to set.public final InstanceMoveRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>public final InstanceMoveRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceMoveRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.