Interface UptimeCheckConfig.TcpCheckOrBuilder (3.32.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the pingConfig field is set.