Package com.google.monitoring.v3
Interface UptimeCheckConfig.TcpCheckOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UptimeCheckConfig.TcpCheck
,UptimeCheckConfig.TcpCheck.Builder
- Enclosing class:
- UptimeCheckConfig
public static interface UptimeCheckConfig.TcpCheckOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UptimeCheckConfig.PingConfig
getPingConfig()
Contains information needed to add pings to a TCP check.UptimeCheckConfig.PingConfigOrBuilder
getPingConfigOrBuilder()
Contains information needed to add pings to a TCP check.int
getPort()
The TCP port on the server against which to run the check.boolean
hasPingConfig()
Contains information needed to add pings to a TCP check.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPort
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:
- The port.
-
hasPingConfig
boolean hasPingConfig()
Contains information needed to add pings to a TCP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 2;
- Returns:
- Whether the pingConfig field is set.
-
getPingConfig
UptimeCheckConfig.PingConfig getPingConfig()
Contains information needed to add pings to a TCP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 2;
- Returns:
- The pingConfig.
-
getPingConfigOrBuilder
UptimeCheckConfig.PingConfigOrBuilder getPingConfigOrBuilder()
Contains information needed to add pings to a TCP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 2;
-
-