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| Modifier and Type | Class and Description |
|---|---|
static class |
UptimeCheckIp.Builder
Contains the region, location, and list of IP
addresses where checkers in the location run from.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
IP_ADDRESS_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static UptimeCheckIp |
getDefaultInstance() |
UptimeCheckIp |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getIpAddress()
The IP address from which the uptime check originates.
|
ByteString |
getIpAddressBytes()
The IP address from which the uptime check originates.
|
java.lang.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.
|
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.
|
Parser<UptimeCheckIp> |
getParserForType() |
UptimeCheckRegion |
getRegion()
A broad region category in which the IP address is located.
|
int |
getRegionValue()
A broad region category in which the IP address is located.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UptimeCheckIp.Builder |
newBuilder() |
static UptimeCheckIp.Builder |
newBuilder(UptimeCheckIp prototype) |
UptimeCheckIp.Builder |
newBuilderForType() |
protected UptimeCheckIp.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static UptimeCheckIp |
parseDelimitedFrom(java.io.InputStream input) |
static UptimeCheckIp |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckIp |
parseFrom(byte[] data) |
static UptimeCheckIp |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckIp |
parseFrom(java.nio.ByteBuffer data) |
static UptimeCheckIp |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckIp |
parseFrom(ByteString data) |
static UptimeCheckIp |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckIp |
parseFrom(CodedInputStream input) |
static UptimeCheckIp |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckIp |
parseFrom(java.io.InputStream input) |
static UptimeCheckIp |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<UptimeCheckIp> |
parser() |
UptimeCheckIp.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int REGION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public int getRegionValue()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;getRegionValue in interface UptimeCheckIpOrBuilderpublic UptimeCheckRegion getRegion()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;getRegion in interface UptimeCheckIpOrBuilderpublic java.lang.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;getLocation in interface UptimeCheckIpOrBuilderpublic 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;getLocationBytes in interface UptimeCheckIpOrBuilderpublic java.lang.String getIpAddress()
The IP address from which the uptime check originates. This is a full 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;getIpAddress in interface UptimeCheckIpOrBuilderpublic ByteString getIpAddressBytes()
The IP address from which the uptime check originates. This is a full 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;getIpAddressBytes in interface UptimeCheckIpOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static UptimeCheckIp parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckIp parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckIp parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckIp parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckIp parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckIp parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckIp parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckIp parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckIp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckIp parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckIp parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckIp parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic UptimeCheckIp.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static UptimeCheckIp.Builder newBuilder()
public static UptimeCheckIp.Builder newBuilder(UptimeCheckIp prototype)
public UptimeCheckIp.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected UptimeCheckIp.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static UptimeCheckIp getDefaultInstance()
public static Parser<UptimeCheckIp> parser()
public Parser<UptimeCheckIp> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public UptimeCheckIp getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder