Package com.google.cloud.compute.v1
Class GlobalAddressesMoveRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
- com.google.cloud.compute.v1.GlobalAddressesMoveRequest.Builder
-
- All Implemented Interfaces:
GlobalAddressesMoveRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GlobalAddressesMoveRequest
public static final class GlobalAddressesMoveRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder> implements GlobalAddressesMoveRequestOrBuilder
Protobuf typegoogle.cloud.compute.v1.GlobalAddressesMoveRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalAddressesMoveRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GlobalAddressesMoveRequestbuild()GlobalAddressesMoveRequestbuildPartial()GlobalAddressesMoveRequest.Builderclear()GlobalAddressesMoveRequest.BuilderclearDescription()An optional destination address description if intended to be different from the source.GlobalAddressesMoveRequest.BuilderclearDestinationAddress()The URL of the destination address to move to.GlobalAddressesMoveRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GlobalAddressesMoveRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GlobalAddressesMoveRequest.Builderclone()GlobalAddressesMoveRequestgetDefaultInstanceForType()StringgetDescription()An optional destination address description if intended to be different from the source.com.google.protobuf.ByteStringgetDescriptionBytes()An optional destination address description if intended to be different from the source.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDestinationAddress()The URL of the destination address to move to.com.google.protobuf.ByteStringgetDestinationAddressBytes()The URL of the destination address to move to.booleanhasDescription()An optional destination address description if intended to be different from the source.booleanhasDestinationAddress()The URL of the destination address to move to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GlobalAddressesMoveRequest.BuildermergeFrom(GlobalAddressesMoveRequest other)GlobalAddressesMoveRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GlobalAddressesMoveRequest.BuildermergeFrom(com.google.protobuf.Message other)GlobalAddressesMoveRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GlobalAddressesMoveRequest.BuildersetDescription(String value)An optional destination address description if intended to be different from the source.GlobalAddressesMoveRequest.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional destination address description if intended to be different from the source.GlobalAddressesMoveRequest.BuildersetDestinationAddress(String value)The URL of the destination address to move to.GlobalAddressesMoveRequest.BuildersetDestinationAddressBytes(com.google.protobuf.ByteString value)The URL of the destination address to move to.GlobalAddressesMoveRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GlobalAddressesMoveRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GlobalAddressesMoveRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
clear
public GlobalAddressesMoveRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
getDefaultInstanceForType
public GlobalAddressesMoveRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GlobalAddressesMoveRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GlobalAddressesMoveRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GlobalAddressesMoveRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
setField
public GlobalAddressesMoveRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
clearField
public GlobalAddressesMoveRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
clearOneof
public GlobalAddressesMoveRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
setRepeatedField
public GlobalAddressesMoveRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
addRepeatedField
public GlobalAddressesMoveRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
mergeFrom
public GlobalAddressesMoveRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GlobalAddressesMoveRequest.Builder>
-
mergeFrom
public GlobalAddressesMoveRequest.Builder mergeFrom(GlobalAddressesMoveRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
mergeFrom
public GlobalAddressesMoveRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GlobalAddressesMoveRequest.Builder>- Throws:
IOException
-
hasDescription
public boolean hasDescription()
An optional destination address description if intended to be different from the source.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceGlobalAddressesMoveRequestOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional destination address description if intended to be different from the source.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceGlobalAddressesMoveRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional destination address description if intended to be different from the source.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceGlobalAddressesMoveRequestOrBuilder- Returns:
- The bytes for description.
-
setDescription
public GlobalAddressesMoveRequest.Builder setDescription(String value)
An optional destination address description if intended to be different from the source.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public GlobalAddressesMoveRequest.Builder clearDescription()
An optional destination address description if intended to be different from the source.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public GlobalAddressesMoveRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional destination address description if intended to be different from the source.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDestinationAddress
public boolean hasDestinationAddress()
The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/address Note that destination project must be different from the source project. So /global/addresses/address is not valid partial url.
optional string destination_address = 371693763;- Specified by:
hasDestinationAddressin interfaceGlobalAddressesMoveRequestOrBuilder- Returns:
- Whether the destinationAddress field is set.
-
getDestinationAddress
public String getDestinationAddress()
The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/address Note that destination project must be different from the source project. So /global/addresses/address is not valid partial url.
optional string destination_address = 371693763;- Specified by:
getDestinationAddressin interfaceGlobalAddressesMoveRequestOrBuilder- Returns:
- The destinationAddress.
-
getDestinationAddressBytes
public com.google.protobuf.ByteString getDestinationAddressBytes()
The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/address Note that destination project must be different from the source project. So /global/addresses/address is not valid partial url.
optional string destination_address = 371693763;- Specified by:
getDestinationAddressBytesin interfaceGlobalAddressesMoveRequestOrBuilder- Returns:
- The bytes for destinationAddress.
-
setDestinationAddress
public GlobalAddressesMoveRequest.Builder setDestinationAddress(String value)
The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/address Note that destination project must be different from the source project. So /global/addresses/address is not valid partial url.
optional string destination_address = 371693763;- Parameters:
value- The destinationAddress to set.- Returns:
- This builder for chaining.
-
clearDestinationAddress
public GlobalAddressesMoveRequest.Builder clearDestinationAddress()
The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/address Note that destination project must be different from the source project. So /global/addresses/address is not valid partial url.
optional string destination_address = 371693763;- Returns:
- This builder for chaining.
-
setDestinationAddressBytes
public GlobalAddressesMoveRequest.Builder setDestinationAddressBytes(com.google.protobuf.ByteString value)
The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/address Note that destination project must be different from the source project. So /global/addresses/address is not valid partial url.
optional string destination_address = 371693763;- Parameters:
value- The bytes for destinationAddress to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GlobalAddressesMoveRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
mergeUnknownFields
public final GlobalAddressesMoveRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GlobalAddressesMoveRequest.Builder>
-
-