Class StatefulPolicyPreservedStateNetworkIp.Builder (1.51.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StatefulPolicyPreservedStateNetworkIp.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

build()

public StatefulPolicyPreservedStateNetworkIp build()
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp

buildPartial()

public StatefulPolicyPreservedStateNetworkIp buildPartial()
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp

clear()

public StatefulPolicyPreservedStateNetworkIp.Builder clear()
Returns
TypeDescription
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
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StatefulPolicyPreservedStateNetworkIp.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StatefulPolicyPreservedStateNetworkIp.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

clone()

public StatefulPolicyPreservedStateNetworkIp.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for autoDelete.

getDefaultInstanceForType()

public StatefulPolicyPreservedStateNetworkIp getDefaultInstanceForType()
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the autoDelete field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StatefulPolicyPreservedStateNetworkIp other)

public StatefulPolicyPreservedStateNetworkIp.Builder mergeFrom(StatefulPolicyPreservedStateNetworkIp other)
Parameter
NameDescription
otherStatefulPolicyPreservedStateNetworkIp
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StatefulPolicyPreservedStateNetworkIp.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StatefulPolicyPreservedStateNetworkIp.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StatefulPolicyPreservedStateNetworkIp.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The autoDelete to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for autoDelete to set.

Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StatefulPolicyPreservedStateNetworkIp.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

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

public StatefulPolicyPreservedStateNetworkIp.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StatefulPolicyPreservedStateNetworkIp.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp.Builder
Overrides