Class PreservedStatePreservedNetworkIp (1.44.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
TypeDescription
int

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PreservedStatePreservedNetworkIp getDefaultInstance()
Returns
TypeDescription
PreservedStatePreservedNetworkIp

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PreservedStatePreservedNetworkIp.Builder newBuilder()
Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder

newBuilder(PreservedStatePreservedNetworkIp prototype)

public static PreservedStatePreservedNetworkIp.Builder newBuilder(PreservedStatePreservedNetworkIp prototype)
Parameter
NameDescription
prototypePreservedStatePreservedNetworkIp
Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder

parseDelimitedFrom(InputStream input)

public static PreservedStatePreservedNetworkIp parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PreservedStatePreservedNetworkIp parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreservedStatePreservedNetworkIp parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreservedStatePreservedNetworkIp parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PreservedStatePreservedNetworkIp parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PreservedStatePreservedNetworkIp parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreservedStatePreservedNetworkIp parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreservedStatePreservedNetworkIp
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PreservedStatePreservedNetworkIp> parser()
Returns
TypeDescription
Parser<PreservedStatePreservedNetworkIp>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

getIpAddress()

public PreservedStatePreservedNetworkIpIpAddress getIpAddress()

Ip address representation

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

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddress

The ipAddress.

getIpAddressOrBuilder()

public PreservedStatePreservedNetworkIpIpAddressOrBuilder getIpAddressOrBuilder()

Ip address representation

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

Returns
TypeDescription
PreservedStatePreservedNetworkIpIpAddressOrBuilder

getParserForType()

public Parser<PreservedStatePreservedNetworkIp> getParserForType()
Returns
TypeDescription
Parser<PreservedStatePreservedNetworkIp>
Overrides

getSerializedSize()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PreservedStatePreservedNetworkIp.Builder newBuilderForType()
Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreservedStatePreservedNetworkIp.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PreservedStatePreservedNetworkIp.Builder toBuilder()
Returns
TypeDescription
PreservedStatePreservedNetworkIp.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException