Class UptimeCheckIp (3.49.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
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UptimeCheckIp getDefaultInstance()
Returns
Type Description
UptimeCheckIp

getDescriptor()

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

newBuilder()

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

newBuilder(UptimeCheckIp prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UptimeCheckIp getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for location.

getParserForType()

public Parser<UptimeCheckIp> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for region.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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