Class BetaTelemetryDestinationTestFailure
-
- All Implemented Interfaces:
public final class BetaTelemetryDestinationTestFailureThe test span was not delivered.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaTelemetryDestinationTestFailure.BuilderA builder for BetaTelemetryDestinationTestFailure.
-
Method Summary
Modifier and Type Method Description final Stringerror()A message that describes why the test span was not delivered, including the HTTP status code when the destination returned one. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("failure")final JsonField<String>_error()Returns the raw JSON value of error. final Map<String, JsonValue>_additionalProperties()final BetaTelemetryDestinationTestFailure.BuildertoBuilder()final BetaTelemetryDestinationTestFailurevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaTelemetryDestinationTestFailure.Builderbuilder()Returns a mutable builder for constructing an instance of BetaTelemetryDestinationTestFailure. final static BetaTelemetryDestinationTestFailureof(String error)Returns an immutable instance of BetaTelemetryDestinationTestFailure with the required error set to the given value. -
-
Method Detail
-
error
final String error()
A message that describes why the test span was not delivered, including the HTTP status code when the destination returned one. Examples:
HTTP error (status 403),timeout,TLS failure. It has the same form as the destination'sdelivery_health.last_errorand never contains the destination's response body, any header value, a network address, or TLS details.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("failure")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_error
final JsonField<String> _error()
Returns the raw JSON value of error.
Unlike error, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaTelemetryDestinationTestFailure.Builder toBuilder()
-
validate
final BetaTelemetryDestinationTestFailure validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaTelemetryDestinationTestFailure.Builder builder()
Returns a mutable builder for constructing an instance of BetaTelemetryDestinationTestFailure.
The following fields are required:
.error()
-
of
final static BetaTelemetryDestinationTestFailure of(String error)
Returns an immutable instance of BetaTelemetryDestinationTestFailure with the required error set to the given value.
-
-
-
-