Class UptimeCheckIp.Builder (3.48.0)

public static final class UptimeCheckIp.Builder extends 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UptimeCheckIp.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UptimeCheckIp.Builder
Overrides

build()

public UptimeCheckIp build()
Returns
Type Description
UptimeCheckIp

buildPartial()

public UptimeCheckIp buildPartial()
Returns
Type Description
UptimeCheckIp

clear()

public UptimeCheckIp.Builder clear()
Returns
Type Description
UptimeCheckIp.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UptimeCheckIp.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UptimeCheckIp.Builder
Overrides

clearIpAddress()

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;

Returns
Type Description
UptimeCheckIp.Builder

This builder for chaining.

clearLocation()

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;

Returns
Type Description
UptimeCheckIp.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UptimeCheckIp.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UptimeCheckIp.Builder
Overrides

clearRegion()

public UptimeCheckIp.Builder clearRegion()

A broad region category in which the IP address is located.

.google.monitoring.v3.UptimeCheckRegion region = 1;

Returns
Type Description
UptimeCheckIp.Builder

This builder for chaining.

clone()

public UptimeCheckIp.Builder clone()
Returns
Type Description
UptimeCheckIp.Builder
Overrides

getDefaultInstanceForType()

public UptimeCheckIp getDefaultInstanceForType()
Returns
Type Description
UptimeCheckIp

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getRegion()

public UptimeCheckRegion getRegion()

A broad region category in which the IP address is located.

.google.monitoring.v3.UptimeCheckRegion region = 1;

Returns
Type Description
UptimeCheckRegion

The region.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UptimeCheckIp other)

public UptimeCheckIp.Builder mergeFrom(UptimeCheckIp other)
Parameter
Name Description
other UptimeCheckIp
Returns
Type Description
UptimeCheckIp.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UptimeCheckIp.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UptimeCheckIp.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UptimeCheckIp.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UptimeCheckIp.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UptimeCheckIp.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UptimeCheckIp.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UptimeCheckIp.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UptimeCheckIp.Builder
Overrides

setIpAddress(String value)

public 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;

Parameter
Name Description
value String

The ipAddress to set.

Returns
Type Description
UptimeCheckIp.Builder

This builder for chaining.

setIpAddressBytes(ByteString value)

public UptimeCheckIp.Builder setIpAddressBytes(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;

Parameter
Name Description
value ByteString

The bytes for ipAddress to set.

Returns
Type Description
UptimeCheckIp.Builder

This builder for chaining.

setLocation(String value)

public 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;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
UptimeCheckIp.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public UptimeCheckIp.Builder setLocationBytes(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;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
UptimeCheckIp.Builder

This builder for chaining.

setRegion(UptimeCheckRegion value)

public UptimeCheckIp.Builder setRegion(UptimeCheckRegion value)

A broad region category in which the IP address is located.

.google.monitoring.v3.UptimeCheckRegion region = 1;

Parameter
Name Description
value UptimeCheckRegion

The region to set.

Returns
Type Description
UptimeCheckIp.Builder

This builder for chaining.

setRegionValue(int value)

public UptimeCheckIp.Builder setRegionValue(int value)

A broad region category in which the IP address is located.

.google.monitoring.v3.UptimeCheckRegion region = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for region to set.

Returns
Type Description
UptimeCheckIp.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UptimeCheckIp.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UptimeCheckIp.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UptimeCheckIp.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UptimeCheckIp.Builder
Overrides