Interface UptimeCheckConfig.HttpCheck.ResponseStatusCodeOrBuilder (3.50.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
Type Description
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
Type Description
int

The enum numeric value on the wire for statusClass.

getStatusCodeCase()

public abstract UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusCodeCase getStatusCodeCase()
Returns
Type Description
UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusCodeCase

getStatusValue()

public abstract int getStatusValue()

A status code to accept.

int32 status_value = 1;

Returns
Type Description
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
Type Description
boolean

Whether the statusClass field is set.

hasStatusValue()

public abstract boolean hasStatusValue()

A status code to accept.

int32 status_value = 1;

Returns
Type Description
boolean

Whether the statusValue field is set.