Class BetaTelemetryDestinationStateDisabled
-
- All Implemented Interfaces:
public final class BetaTelemetryDestinationStateDisabledThe API doesn't deliver anything to the telemetry destination.
Spans produced while it is disabled aren't delivered later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaTelemetryDestinationStateDisabled.BuilderA builder for BetaTelemetryDestinationStateDisabled.
-
Method Summary
Modifier and Type Method Description final BetaTelemetryDestinationDisabledReasonreason()Whether a caller or the API disabled the destination and, when the API did, why. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("disabled")final JsonField<BetaTelemetryDestinationDisabledReason>_reason()Returns the raw JSON value of reason. final Map<String, JsonValue>_additionalProperties()final BetaTelemetryDestinationStateDisabled.BuildertoBuilder()final BetaTelemetryDestinationStateDisabledvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaTelemetryDestinationStateDisabled.Builderbuilder()Returns a mutable builder for constructing an instance of BetaTelemetryDestinationStateDisabled. final static BetaTelemetryDestinationStateDisabledof(BetaTelemetryDestinationDisabledReason reason)Returns an immutable instance of BetaTelemetryDestinationStateDisabled with the required reason set to the given value. final static BetaTelemetryDestinationStateDisabledof(BetaTelemetryDestinationDisabledReasonCaller caller)Alias for calling of with BetaTelemetryDestinationDisabledReason.ofCaller(caller).final static BetaTelemetryDestinationStateDisabledof(BetaTelemetryDestinationDisabledReasonSustainedFailure sustainedFailure)Alias for calling of with BetaTelemetryDestinationDisabledReason.ofSustainedFailure(sustainedFailure).final static BetaTelemetryDestinationStateDisabledof(BetaTelemetryDestinationDisabledReasonInvalidAddress invalidAddress)Alias for calling of with BetaTelemetryDestinationDisabledReason.ofInvalidAddress(invalidAddress).final static BetaTelemetryDestinationStateDisabledof(BetaTelemetryDestinationDisabledReasonRedirect redirect)Alias for calling of with BetaTelemetryDestinationDisabledReason.ofRedirect(redirect).-
-
Method Detail
-
reason
final BetaTelemetryDestinationDisabledReason reason()
Whether a caller or the API disabled the destination and, when the API did, why. Read-only.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("disabled")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_reason
final JsonField<BetaTelemetryDestinationDisabledReason> _reason()
Returns the raw JSON value of reason.
Unlike reason, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaTelemetryDestinationStateDisabled.Builder toBuilder()
-
validate
final BetaTelemetryDestinationStateDisabled 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 BetaTelemetryDestinationStateDisabled.Builder builder()
Returns a mutable builder for constructing an instance of BetaTelemetryDestinationStateDisabled.
The following fields are required:
.reason()
-
of
final static BetaTelemetryDestinationStateDisabled of(BetaTelemetryDestinationDisabledReason reason)
Returns an immutable instance of BetaTelemetryDestinationStateDisabled with the required reason set to the given value.
-
of
final static BetaTelemetryDestinationStateDisabled of(BetaTelemetryDestinationDisabledReasonCaller caller)
Alias for calling of with
BetaTelemetryDestinationDisabledReason.ofCaller(caller).
-
of
final static BetaTelemetryDestinationStateDisabled of(BetaTelemetryDestinationDisabledReasonSustainedFailure sustainedFailure)
Alias for calling of with
BetaTelemetryDestinationDisabledReason.ofSustainedFailure(sustainedFailure).
-
of
final static BetaTelemetryDestinationStateDisabled of(BetaTelemetryDestinationDisabledReasonInvalidAddress invalidAddress)
Alias for calling of with
BetaTelemetryDestinationDisabledReason.ofInvalidAddress(invalidAddress).
-
of
final static BetaTelemetryDestinationStateDisabled of(BetaTelemetryDestinationDisabledReasonRedirect redirect)
Alias for calling of with
BetaTelemetryDestinationDisabledReason.ofRedirect(redirect).
-
-
-
-