Class PreservedStatePreservedNetworkIp.Builder (1.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PreservedStatePreservedNetworkIp build()
Returns
TypeDescription
PreservedStatePreservedNetworkIp

buildPartial()

public PreservedStatePreservedNetworkIp buildPartial()
Returns
TypeDescription
PreservedStatePreservedNetworkIp

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIpAddress()

public PreservedStatePreservedNetworkIp.Builder clearIpAddress()

Ip address representation

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

Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIpAddress()

public PreservedStatePreservedNetworkIpIpAddress getIpAddress()

Ip address representation

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

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress

The ipAddress.

getIpAddressBuilder()

public PreservedStatePreservedNetworkIpIpAddress.Builder getIpAddressBuilder()

Ip address representation

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

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress.Builder

getIpAddressOrBuilder()

public PreservedStatePreservedNetworkIpIpAddressOrBuilder getIpAddressOrBuilder()

Ip address representation

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the autoDelete field is set.

hasIpAddress()

public boolean hasIpAddress()

Ip address representation

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

Returns
TypeDescription
boolean

Whether the ipAddress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreservedStatePreservedNetworkIp other)

public PreservedStatePreservedNetworkIp.Builder mergeFrom(PreservedStatePreservedNetworkIp other)
Parameter
NameDescription
otherPreservedStatePreservedNetworkIp
Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PreservedStatePreservedNetworkIp.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePreservedStatePreservedNetworkIpIpAddress
Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The autoDelete to set.

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

The bytes for autoDelete to set.

Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PreservedStatePreservedNetworkIp.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePreservedStatePreservedNetworkIpIpAddress
Returns
TypeDescription
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
NameDescription
builderForValuePreservedStatePreservedNetworkIpIpAddress.Builder
Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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