public static final class UptimeCheckIp.Builder extends com.google.protobuf.GeneratedMessage.Builder<UptimeCheckIp.Builder> 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 | Method and Description |
|---|---|
UptimeCheckIp |
build() |
UptimeCheckIp |
buildPartial() |
UptimeCheckIp.Builder |
clear() |
UptimeCheckIp.Builder |
clearIpAddress()
The IP address from which the Uptime check originates.
|
UptimeCheckIp.Builder |
clearLocation()
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.
|
UptimeCheckIp.Builder |
clearRegion()
A broad region category in which the IP address is located.
|
UptimeCheckIp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getIpAddress()
The IP address from which the Uptime check originates.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
The IP address from which the Uptime check originates.
|
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.
|
com.google.protobuf.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.
|
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.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UptimeCheckIp.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UptimeCheckIp.Builder |
mergeFrom(com.google.protobuf.Message other) |
UptimeCheckIp.Builder |
mergeFrom(UptimeCheckIp other) |
UptimeCheckIp.Builder |
setIpAddress(String value)
The IP address from which the Uptime check originates.
|
UptimeCheckIp.Builder |
setIpAddressBytes(com.google.protobuf.ByteString value)
The IP address from which the Uptime check originates.
|
UptimeCheckIp.Builder |
setLocation(String value)
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.
|
UptimeCheckIp.Builder |
setLocationBytes(com.google.protobuf.ByteString value)
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.
|
UptimeCheckIp.Builder |
setRegion(UptimeCheckRegion value)
A broad region category in which the IP address is located.
|
UptimeCheckIp.Builder |
setRegionValue(int value)
A broad region category in which the IP address is located.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UptimeCheckIp.Builder>public UptimeCheckIp.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<UptimeCheckIp.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UptimeCheckIp.Builder>public UptimeCheckIp getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UptimeCheckIp build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UptimeCheckIp buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UptimeCheckIp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UptimeCheckIp.Builder>public UptimeCheckIp.Builder mergeFrom(UptimeCheckIp other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<UptimeCheckIp.Builder>public UptimeCheckIp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UptimeCheckIp.Builder>IOExceptionpublic int getRegionValue()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;getRegionValue in interface UptimeCheckIpOrBuilderpublic UptimeCheckIp.Builder setRegionValue(int value)
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;value - The enum numeric value on the wire for region to set.public UptimeCheckRegion getRegion()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;getRegion in interface UptimeCheckIpOrBuilderpublic UptimeCheckIp.Builder setRegion(UptimeCheckRegion value)
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;value - The region to set.public UptimeCheckIp.Builder clearRegion()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;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;getLocation in interface UptimeCheckIpOrBuilderpublic com.google.protobuf.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 UptimeCheckIp.Builder setLocation(String value)
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;value - The location to set.public UptimeCheckIp.Builder clearLocation()
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;public UptimeCheckIp.Builder setLocationBytes(com.google.protobuf.ByteString value)
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;value - The bytes for location to set.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;getIpAddress in interface UptimeCheckIpOrBuilderpublic com.google.protobuf.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;getIpAddressBytes in interface UptimeCheckIpOrBuilderpublic UptimeCheckIp.Builder setIpAddress(String value)
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;value - The ipAddress to set.public UptimeCheckIp.Builder clearIpAddress()
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;public UptimeCheckIp.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
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;value - The bytes for ipAddress to set.Copyright © 2026 Google LLC. All rights reserved.