Class PreservedStatePreservedNetworkIp (1.53.0)

public final class PreservedStatePreservedNetworkIp extends GeneratedMessageV3 implements PreservedStatePreservedNetworkIpOrBuilder

Protobuf type google.cloud.compute.v1.PreservedStatePreservedNetworkIp

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PreservedStatePreservedNetworkIp

Static Fields

AUTO_DELETE_FIELD_NUMBER

public static final int AUTO_DELETE_FIELD_NUMBER
Field Value
Type Description
int

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PreservedStatePreservedNetworkIp getDefaultInstance()
Returns
Type Description
PreservedStatePreservedNetworkIp

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PreservedStatePreservedNetworkIp.Builder newBuilder()
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

newBuilder(PreservedStatePreservedNetworkIp prototype)

public static PreservedStatePreservedNetworkIp.Builder newBuilder(PreservedStatePreservedNetworkIp prototype)
Parameter
Name Description
prototype PreservedStatePreservedNetworkIp
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

parseDelimitedFrom(InputStream input)

public static PreservedStatePreservedNetworkIp parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PreservedStatePreservedNetworkIp parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreservedStatePreservedNetworkIp parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreservedStatePreservedNetworkIp parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PreservedStatePreservedNetworkIp parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PreservedStatePreservedNetworkIp parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreservedStatePreservedNetworkIp
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PreservedStatePreservedNetworkIp> parser()
Returns
Type Description
Parser<PreservedStatePreservedNetworkIp>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getIpAddress()

public PreservedStatePreservedNetworkIpIpAddress getIpAddress()

Ip address representation

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

Returns
Type Description
PreservedStatePreservedNetworkIpIpAddress

The ipAddress.

getIpAddressOrBuilder()

public PreservedStatePreservedNetworkIpIpAddressOrBuilder getIpAddressOrBuilder()

Ip address representation

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

Returns
Type Description
PreservedStatePreservedNetworkIpIpAddressOrBuilder

getParserForType()

public Parser<PreservedStatePreservedNetworkIp> getParserForType()
Returns
Type Description
Parser<PreservedStatePreservedNetworkIp>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PreservedStatePreservedNetworkIp.Builder newBuilderForType()
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreservedStatePreservedNetworkIp.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PreservedStatePreservedNetworkIp.Builder toBuilder()
Returns
Type Description
PreservedStatePreservedNetworkIp.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException