Class PreservedStatePreservedNetworkIp.Builder (1.93.0)

public static final class PreservedStatePreservedNetworkIp.Builder extends GeneratedMessage.Builder<PreservedStatePreservedNetworkIp.Builder> implements PreservedStatePreservedNetworkIpOrBuilder

Protobuf type google.cloud.compute.v1.PreservedStatePreservedNetworkIp

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public PreservedStatePreservedNetworkIp build()
Returns
Type Description
PreservedStatePreservedNetworkIp

buildPartial()

public PreservedStatePreservedNetworkIp buildPartial()
Returns
Type Description
PreservedStatePreservedNetworkIp

clear()

public PreservedStatePreservedNetworkIp.Builder clear()
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder
Overrides

clearAutoDelete()

public PreservedStatePreservedNetworkIp.Builder clearAutoDelete()

These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Check the AutoDelete enum for the list of possible values.

optional string auto_delete = 464761403;

Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

This builder for chaining.

clearIpAddress()

public PreservedStatePreservedNetworkIp.Builder clearIpAddress()

Ip address representation

optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;

Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

getAutoDelete()

public String getAutoDelete()

These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Check the AutoDelete enum for the list of possible values.

optional string auto_delete = 464761403;

Returns
Type Description
String

The autoDelete.

getAutoDeleteBytes()

public ByteString getAutoDeleteBytes()

These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Check the AutoDelete enum for the list of possible values.

optional string auto_delete = 464761403;

Returns
Type Description
ByteString

The bytes for autoDelete.

getDefaultInstanceForType()

public PreservedStatePreservedNetworkIp getDefaultInstanceForType()
Returns
Type Description
PreservedStatePreservedNetworkIp

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIpAddress()

public PreservedStatePreservedNetworkIpIpAddress getIpAddress()

Ip address representation

optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;

Returns
Type Description
PreservedStatePreservedNetworkIpIpAddress

The ipAddress.

getIpAddressBuilder()

public PreservedStatePreservedNetworkIpIpAddress.Builder getIpAddressBuilder()

Ip address representation

optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;

Returns
Type Description
PreservedStatePreservedNetworkIpIpAddress.Builder

getIpAddressOrBuilder()

public PreservedStatePreservedNetworkIpIpAddressOrBuilder getIpAddressOrBuilder()

Ip address representation

optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;

Returns
Type Description
PreservedStatePreservedNetworkIpIpAddressOrBuilder

hasAutoDelete()

public boolean hasAutoDelete()

These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Check the AutoDelete enum for the list of possible values.

optional string auto_delete = 464761403;

Returns
Type Description
boolean

Whether the autoDelete field is set.

hasIpAddress()

public boolean hasIpAddress()

Ip address representation

optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;

Returns
Type Description
boolean

Whether the ipAddress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreservedStatePreservedNetworkIp other)

public PreservedStatePreservedNetworkIp.Builder mergeFrom(PreservedStatePreservedNetworkIp other)
Parameter
Name Description
other PreservedStatePreservedNetworkIp
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PreservedStatePreservedNetworkIp.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PreservedStatePreservedNetworkIp.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder
Overrides

mergeIpAddress(PreservedStatePreservedNetworkIpIpAddress value)

public PreservedStatePreservedNetworkIp.Builder mergeIpAddress(PreservedStatePreservedNetworkIpIpAddress value)

Ip address representation

optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;

Parameter
Name Description
value PreservedStatePreservedNetworkIpIpAddress
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

setAutoDelete(String value)

public PreservedStatePreservedNetworkIp.Builder setAutoDelete(String value)

These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Check the AutoDelete enum for the list of possible values.

optional string auto_delete = 464761403;

Parameter
Name Description
value String

The autoDelete to set.

Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

This builder for chaining.

setAutoDeleteBytes(ByteString value)

public PreservedStatePreservedNetworkIp.Builder setAutoDeleteBytes(ByteString value)

These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Check the AutoDelete enum for the list of possible values.

optional string auto_delete = 464761403;

Parameter
Name Description
value ByteString

The bytes for autoDelete to set.

Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

This builder for chaining.

setIpAddress(PreservedStatePreservedNetworkIpIpAddress value)

public PreservedStatePreservedNetworkIp.Builder setIpAddress(PreservedStatePreservedNetworkIpIpAddress value)

Ip address representation

optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;

Parameter
Name Description
value PreservedStatePreservedNetworkIpIpAddress
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

setIpAddress(PreservedStatePreservedNetworkIpIpAddress.Builder builderForValue)

public PreservedStatePreservedNetworkIp.Builder setIpAddress(PreservedStatePreservedNetworkIpIpAddress.Builder builderForValue)

Ip address representation

optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;

Parameter
Name Description
builderForValue PreservedStatePreservedNetworkIpIpAddress.Builder
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder