Interface UptimeCheckConfig.TcpCheckOrBuilder (3.50.0)

public static interface UptimeCheckConfig.TcpCheckOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPingConfig()

public abstract UptimeCheckConfig.PingConfig getPingConfig()

Contains information needed to add pings to a TCP check.

.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 2;

Returns
Type Description
UptimeCheckConfig.PingConfig

The pingConfig.

getPingConfigOrBuilder()

public abstract UptimeCheckConfig.PingConfigOrBuilder getPingConfigOrBuilder()

Contains information needed to add pings to a TCP check.

.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 2;

Returns
Type Description
UptimeCheckConfig.PingConfigOrBuilder

getPort()

public abstract int getPort()

The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.

int32 port = 1;

Returns
Type Description
int

The port.

hasPingConfig()

public abstract boolean hasPingConfig()

Contains information needed to add pings to a TCP check.

.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 2;

Returns
Type Description
boolean

Whether the pingConfig field is set.