Class UptimeCheckConfig.PingConfig (3.37.0)

public static final class UptimeCheckConfig.PingConfig extends GeneratedMessageV3 implements UptimeCheckConfig.PingConfigOrBuilder

Information involved in sending ICMP pings alongside public HTTP/TCP checks. For HTTP, the pings are performed for each part of the redirect chain.

Protobuf type google.monitoring.v3.UptimeCheckConfig.PingConfig

Static Fields

PINGS_COUNT_FIELD_NUMBER

public static final int PINGS_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(UptimeCheckConfig.PingConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getPingsCount()

public int getPingsCount()

Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.

int32 pings_count = 1;

Returns
TypeDescription
int

The pingsCount.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.PingConfig.Builder newBuilderForType()
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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