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

    Modifier and Type
    Method
    Description
    Contains information needed to add pings to a TCP check.
    Contains information needed to add pings to a TCP check.
    int
    The TCP port on the server against which to run the check.
    boolean
    Contains information needed to add pings to a TCP check.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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

       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;