Class PreservedStatePreservedNetworkIp.Builder (1.49.0)

public static final class PreservedStatePreservedNetworkIp.Builder extends GeneratedMessageV3.Builder<PreservedStatePreservedNetworkIp.Builder> implements PreservedStatePreservedNetworkIpOrBuilder

Protobuf type google.cloud.compute.v1.PreservedStatePreservedNetworkIp

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public PreservedStatePreservedNetworkIp build()
Returns
TypeDescription
PreservedStatePreservedNetworkIp

buildPartial()

public PreservedStatePreservedNetworkIp buildPartial()
Returns
TypeDescription
PreservedStatePreservedNetworkIp

clear()

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

clearIpAddress()

public PreservedStatePreservedNetworkIp.Builder clearIpAddress()

Ip address representation

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PreservedStatePreservedNetworkIp.Builder clone()
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;

getIpAddressOrBuilder()

public PreservedStatePreservedNetworkIpIpAddressOrBuilder getIpAddressOrBuilder()

Ip address representation

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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