Class UptimeCheckConfig.TcpCheck (3.20.0)

public static final class UptimeCheckConfig.TcpCheck extends GeneratedMessageV3 implements UptimeCheckConfig.TcpCheckOrBuilder

Information required for a TCP Uptime check request.

Protobuf type google.monitoring.v3.UptimeCheckConfig.TcpCheck

Static Fields

PING_CONFIG_FIELD_NUMBER

public static final int PING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UptimeCheckConfig.TcpCheck getDefaultInstance()
Returns
TypeDescription
UptimeCheckConfig.TcpCheck

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UptimeCheckConfig.TcpCheck.Builder newBuilder()
Returns
TypeDescription
UptimeCheckConfig.TcpCheck.Builder

newBuilder(UptimeCheckConfig.TcpCheck prototype)

public static UptimeCheckConfig.TcpCheck.Builder newBuilder(UptimeCheckConfig.TcpCheck prototype)
Parameter
NameDescription
prototypeUptimeCheckConfig.TcpCheck
Returns
TypeDescription
UptimeCheckConfig.TcpCheck.Builder

parseDelimitedFrom(InputStream input)

public static UptimeCheckConfig.TcpCheck parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.TcpCheck parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UptimeCheckConfig.TcpCheck parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.TcpCheck parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UptimeCheckConfig.TcpCheck parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.TcpCheck parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UptimeCheckConfig.TcpCheck parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.TcpCheck parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UptimeCheckConfig.TcpCheck parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.TcpCheck parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UptimeCheckConfig.TcpCheck parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.TcpCheck parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.TcpCheck
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UptimeCheckConfig.TcpCheck> parser()
Returns
TypeDescription
Parser<TcpCheck>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UptimeCheckConfig.TcpCheck getDefaultInstanceForType()
Returns
TypeDescription
UptimeCheckConfig.TcpCheck

getParserForType()

public Parser<UptimeCheckConfig.TcpCheck> getParserForType()
Returns
TypeDescription
Parser<TcpCheck>
Overrides

getPingConfig()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasPingConfig()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UptimeCheckConfig.TcpCheck.Builder newBuilderForType()
Returns
TypeDescription
UptimeCheckConfig.TcpCheck.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UptimeCheckConfig.TcpCheck.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UptimeCheckConfig.TcpCheck.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UptimeCheckConfig.TcpCheck.Builder toBuilder()
Returns
TypeDescription
UptimeCheckConfig.TcpCheck.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException