Class UptimeCheckConfig.PingConfig.Builder (3.48.0)

public static final class UptimeCheckConfig.PingConfig.Builder extends GeneratedMessageV3.Builder<UptimeCheckConfig.PingConfig.Builder> 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 Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UptimeCheckConfig.PingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides

build()

public UptimeCheckConfig.PingConfig build()
Returns
Type Description
UptimeCheckConfig.PingConfig

buildPartial()

public UptimeCheckConfig.PingConfig buildPartial()
Returns
Type Description
UptimeCheckConfig.PingConfig

clear()

public UptimeCheckConfig.PingConfig.Builder clear()
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UptimeCheckConfig.PingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UptimeCheckConfig.PingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides

clearPingsCount()

public UptimeCheckConfig.PingConfig.Builder clearPingsCount()

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

int32 pings_count = 1;

Returns
Type Description
UptimeCheckConfig.PingConfig.Builder

This builder for chaining.

clone()

public UptimeCheckConfig.PingConfig.Builder clone()
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides

getDefaultInstanceForType()

public UptimeCheckConfig.PingConfig getDefaultInstanceForType()
Returns
Type Description
UptimeCheckConfig.PingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPingsCount()

public int getPingsCount()

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

int32 pings_count = 1;

Returns
Type Description
int

The pingsCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UptimeCheckConfig.PingConfig other)

public UptimeCheckConfig.PingConfig.Builder mergeFrom(UptimeCheckConfig.PingConfig other)
Parameter
Name Description
other UptimeCheckConfig.PingConfig
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UptimeCheckConfig.PingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UptimeCheckConfig.PingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UptimeCheckConfig.PingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UptimeCheckConfig.PingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides

setPingsCount(int value)

public UptimeCheckConfig.PingConfig.Builder setPingsCount(int value)

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

int32 pings_count = 1;

Parameter
Name Description
value int

The pingsCount to set.

Returns
Type Description
UptimeCheckConfig.PingConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UptimeCheckConfig.PingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UptimeCheckConfig.PingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UptimeCheckConfig.PingConfig.Builder
Overrides