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
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UptimeCheckIp getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UptimeCheckIp.Builder newBuilder()
Returns
newBuilder(UptimeCheckIp prototype)
public static UptimeCheckIp.Builder newBuilder(UptimeCheckIp prototype)
Parameter
Returns
public static UptimeCheckIp parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UptimeCheckIp parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UptimeCheckIp parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckIp parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UptimeCheckIp parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckIp parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UptimeCheckIp parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UptimeCheckIp parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UptimeCheckIp parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UptimeCheckIp parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UptimeCheckIp parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckIp parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UptimeCheckIp> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UptimeCheckIp getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<UptimeCheckIp> getParserForType()
Returns
Overrides
getRegion()
public UptimeCheckRegion getRegion()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UptimeCheckIp.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UptimeCheckIp.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UptimeCheckIp.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions