Class StatefulPolicyPreservedStateNetworkIp.Builder (1.54.0)

public static final class StatefulPolicyPreservedStateNetworkIp.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StatefulPolicyPreservedStateNetworkIp.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public StatefulPolicyPreservedStateNetworkIp.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StatefulPolicyPreservedStateNetworkIp.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StatefulPolicyPreservedStateNetworkIp.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public StatefulPolicyPreservedStateNetworkIp.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StatefulPolicyPreservedStateNetworkIp.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StatefulPolicyPreservedStateNetworkIp.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides