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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UptimeCheckIp.Builder newBuilder()
newBuilder(UptimeCheckIp prototype)
public static UptimeCheckIp.Builder newBuilder(UptimeCheckIp prototype)
public static UptimeCheckIp parseDelimitedFrom(InputStream input)
public static UptimeCheckIp parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UptimeCheckIp parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckIp parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UptimeCheckIp parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckIp parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckIp parseFrom(CodedInputStream input)
public static UptimeCheckIp parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckIp parseFrom(InputStream input)
public static UptimeCheckIp parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UptimeCheckIp parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckIp parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UptimeCheckIp> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UptimeCheckIp getDefaultInstanceForType()
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()
Overrides
getRegion()
public UptimeCheckRegion getRegion()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UptimeCheckIp.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UptimeCheckIp.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UptimeCheckIp.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides