Class UptimeCheckIp (3.22.0)

public final class UptimeCheckIp extends GeneratedMessageV3 implements UptimeCheckIpOrBuilder

Contains the region, location, and list of IP addresses where checkers in the location run from.

Protobuf type google.monitoring.v3.UptimeCheckIp

Static Fields

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UptimeCheckIp getDefaultInstance()
Returns
TypeDescription
UptimeCheckIp

getDescriptor()

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

newBuilder()

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

newBuilder(UptimeCheckIp prototype)

public static UptimeCheckIp.Builder newBuilder(UptimeCheckIp prototype)
Parameter
NameDescription
prototypeUptimeCheckIp
Returns
TypeDescription
UptimeCheckIp.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UptimeCheckIp getDefaultInstanceForType()
Returns
TypeDescription
UptimeCheckIp

getIpAddress()

public String getIpAddress()

The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.

string ip_address = 3;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.

string ip_address = 3;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getLocation()

public String getLocation()

A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.

string location = 2;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.

string location = 2;

Returns
TypeDescription
ByteString

The bytes for location.

getParserForType()

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

getRegion()

public UptimeCheckRegion getRegion()

A broad region category in which the IP address is located.

.google.monitoring.v3.UptimeCheckRegion region = 1;

Returns
TypeDescription
UptimeCheckRegion

The region.

getRegionValue()

public int getRegionValue()

A broad region category in which the IP address is located.

.google.monitoring.v3.UptimeCheckRegion region = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for region.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 UptimeCheckIp.Builder newBuilderForType()
Returns
TypeDescription
UptimeCheckIp.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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