Interface UptimeCheckConfig.HttpCheck.ResponseStatusCodeOrBuilder (3.30.0)

public static interface UptimeCheckConfig.HttpCheck.ResponseStatusCodeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getStatusClass()

public abstract UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass getStatusClass()

A class of status codes to accept.

.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass status_class = 2;

Returns
TypeDescription
UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass

The statusClass.

getStatusClassValue()

public abstract int getStatusClassValue()

A class of status codes to accept.

.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass status_class = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for statusClass.

getStatusCodeCase()

public abstract UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusCodeCase getStatusCodeCase()
Returns
TypeDescription
UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusCodeCase

getStatusValue()

public abstract int getStatusValue()

A status code to accept.

int32 status_value = 1;

Returns
TypeDescription
int

The statusValue.

hasStatusClass()

public abstract boolean hasStatusClass()

A class of status codes to accept.

.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass status_class = 2;

Returns
TypeDescription
boolean

Whether the statusClass field is set.

hasStatusValue()

public abstract boolean hasStatusValue()

A status code to accept.

int32 status_value = 1;

Returns
TypeDescription
boolean

Whether the statusValue field is set.