Class UptimeCheckConfig.PingConfig.Builder (3.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UptimeCheckConfig.PingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder
Overrides

build()

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

buildPartial()

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

clear()

public UptimeCheckConfig.PingConfig.Builder clear()
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UptimeCheckConfig.PingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UptimeCheckConfig.PingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UptimeCheckConfig.PingConfig.Builder

This builder for chaining.

clone()

public UptimeCheckConfig.PingConfig.Builder clone()
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UptimeCheckConfig.PingConfig other)

public UptimeCheckConfig.PingConfig.Builder mergeFrom(UptimeCheckConfig.PingConfig other)
Parameter
NameDescription
otherUptimeCheckConfig.PingConfig
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UptimeCheckConfig.PingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UptimeCheckConfig.PingConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UptimeCheckConfig.PingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UptimeCheckConfig.PingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pingsCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UptimeCheckConfig.PingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UptimeCheckConfig.PingConfig.Builder
Overrides