Class PreservedStatePreservedNetworkIp.Builder (1.54.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearIpAddress()

public PreservedStatePreservedNetworkIp.Builder clearIpAddress()

Ip address representation

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

Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PreservedStatePreservedNetworkIp.Builder clone()
Returns
Type Description
PreservedStatePreservedNetworkIp.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 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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreservedStatePreservedNetworkIp.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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