Class StatefulPolicyPreservedStateNetworkIp.Builder (1.93.0)

public static final class StatefulPolicyPreservedStateNetworkIp.Builder extends GeneratedMessage.Builder<StatefulPolicyPreservedStateNetworkIp.Builder> implements StatefulPolicyPreservedStateNetworkIpOrBuilder

Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp

Static Methods

getDescriptor()

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

Methods

build()

public StatefulPolicyPreservedStateNetworkIp build()
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp

buildPartial()

public StatefulPolicyPreservedStateNetworkIp buildPartial()
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp

clear()

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

clearAutoDelete()

public StatefulPolicyPreservedStateNetworkIp.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
StatefulPolicyPreservedStateNetworkIp.Builder

This builder for chaining.

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 StatefulPolicyPreservedStateNetworkIp getDefaultInstanceForType()
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StatefulPolicyPreservedStateNetworkIp other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAutoDelete(String value)

public StatefulPolicyPreservedStateNetworkIp.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
StatefulPolicyPreservedStateNetworkIp.Builder

This builder for chaining.

setAutoDeleteBytes(ByteString value)

public StatefulPolicyPreservedStateNetworkIp.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
StatefulPolicyPreservedStateNetworkIp.Builder

This builder for chaining.