public static final class UptimeCheckIp.Builder extends com.google.protobuf.GeneratedMessageV3.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UptimeCheckIp |
build() |
UptimeCheckIp |
buildPartial() |
UptimeCheckIp.Builder |
clear() |
UptimeCheckIp.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UptimeCheckIp.Builder |
clearRegion()
A broad region category in which the IP address is located.
|
UptimeCheckIp.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UptimeCheckIp.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
UptimeCheckIp.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UptimeCheckIp.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>public UptimeCheckIp.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>public UptimeCheckIp.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>public UptimeCheckIp.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>public UptimeCheckIp.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>public UptimeCheckIp.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>public 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.GeneratedMessageV3.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.public final UptimeCheckIp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>public final UptimeCheckIp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>Copyright © 2025 Google LLC. All rights reserved.