func (x *Event_Type) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(Event_Type_value, data, "Event_Type") if err != nil { return err } *x = Event_Type(value) return nil }
func (x *HealthCheck_Priority) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(HealthCheck_Priority_value, data, "HealthCheck_Priority") if err != nil { return err } *x = HealthCheck_Priority(value) return nil }
func (x *PlatformError_ErrorType) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(PlatformError_ErrorType_value, data, "PlatformError_ErrorType") if err != nil { return err } *x = PlatformError_ErrorType(value) return nil }